diff --git a/404.html b/404.html index 55246e2..246c891 100644 --- a/404.html +++ b/404.html @@ -5,8 +5,8 @@ Page Not Found - Posthoc - The visualisation framework for search - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/assets/images/pixel-nano-04a072696c6f8996f330fd9779e64bcf.png b/assets/images/pixel-nano-04a072696c6f8996f330fd9779e64bcf.png new file mode 100644 index 0000000..c958c77 Binary files /dev/null and b/assets/images/pixel-nano-04a072696c6f8996f330fd9779e64bcf.png differ diff --git a/assets/images/select-pixel-nano-e0e83961a56d22f9bf26a4a6462e30df.png b/assets/images/select-pixel-nano-e0e83961a56d22f9bf26a4a6462e30df.png new file mode 100644 index 0000000..1482f60 Binary files /dev/null and b/assets/images/select-pixel-nano-e0e83961a56d22f9bf26a4a6462e30df.png differ diff --git a/assets/js/1df93b7f.e1faa7c2.js b/assets/js/1df93b7f.5007bde8.js similarity index 69% rename from assets/js/1df93b7f.e1faa7c2.js rename to assets/js/1df93b7f.5007bde8.js index c5d4534..59338f8 100644 --- a/assets/js/1df93b7f.e1faa7c2.js +++ b/assets/js/1df93b7f.5007bde8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[3237],{7903:(e,t,r)=>{r.d(t,{e:()=>o,f:()=>n});const o=e=>({display:"grid",gridAutoFlow:"row",gridTemplateColumns:`repeat(auto-fill, minmax(min(100%, ${e}px), 1fr))`}),n=e=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center","> *":{width:e}})},4158:(e,t,r)=>{r.r(t),r.d(t,{default:()=>re});var o=r(8445),n=r(8660),i=r(5616),a=r(9417),s=r(8269),l=r(4055),c=r(5861),d=r(2734),h=r(3584),p=r(5387),x=r(6486),u=(r(9867),r(7294)),m=r(748),g=r(1036),b=r(9445),f=r(8523),y=r(7699),v=r(5273),w=r(8298),j=r(3946),k=r(8070),Z=r(6303),S=r(3935);const C=JSON.parse('{"org":"ShortestPathLab","orgUrl":"https://pathfinding.ai","name":"Posthoc","openAppLabel":"Open Posthoc","logoUrl":"/img/logo192.png","closeVideo":"Close video","playVideo":"Play ICAPS24 demo","backdropVideoUrl":"media/clip.webm","backdropVideoMime":"video/webm","demoVideoUrl":"https://youtu.be/Nz2_Z9hqrmM?si=rv0p8uk3JX1SzYsV","demoVideoThumbnail":"/img/primer-thumbnail.png","demoVideoMime":"video/webm","appUrl":"https://posthoc-app.pathfinding.ai","sections":[{"key":"docs","label":"Docs","url":"./docs/overview"},{"key":"blog","label":"Blog","url":"./blog"},{"key":"github","label":"GitHub","url":"https://github.com/shortestpathlab/posthoc-app"},{"key":"discord","label":"Discord","url":"https://discord.gg/BHuPspePDK"}],"gallery":[{"tagline":"Analyse","url":"/img/gallery/complex-view.png","workspace":"/content/starcraft.min.workspace","label":"Post-game breakdown","author":"Ryan Hechenberger","avatar":"https://github.com/heavenfall.png","description":"Explore the decisions of AI units in a recorded StarCraft game."},{"tagline":"Showcase","url":"/img/gallery/image-7.png","label":"Animation demo","workspace":"/content/apple.min.workspace","author":"Mark Carlson","avatar":null,"description":"See how Mark leveraged Posthoc\'s expressiveness to visualise a compression scheme based on run-length encoding."},{"tagline":"Explore","url":"/img/gallery/polyanya.png","label":"Polyanya","workspace":"/content/polyanya.workspace","author":"ShortestPathLab","avatar":"https://github.com/ShortestPathLab.png","description":"See this Euclidean path planning algorithm in action on a navigation mesh."},{"tagline":"Understand","url":"/img/gallery/astar.png","label":"A* search","workspace":"/content/astar.min.workspace","author":"ShortestPathLab","avatar":"https://github.com/ShortestPathLab.png","description":"Get to know Posthoc by taking apart and inspecting the classic A* algorithm on a small grid map."},{"tagline":"Understand","url":"/img/gallery/network-bidirectional-a-star.png","label":"Network bidirectional A*","workspace":"/content/network-bidirectional-a-star.workspace","author":"ShortestPathLab","avatar":"https://github.com/ShortestPathLab.png","description":"By searching from both source and goal nodes, this A* variant converges to an optimal path noticeably faster."},{"tagline":"Explore","url":"/img/gallery/image-3.png","workspace":"/content/dps.workspace","label":"Dual Euclidean path search","description":"DPS is an exciting new approach for Euclidean pathfinding. See how it works on a small poly map problem.","avatar":"https://github.com/heavenfall.png","author":"Ryan Hechenberger"},{"tagline":"Demonstrate","url":"/img/gallery/mcp.png","label":"Minimum communication policy","workspace":"/content/mcp.min.workspace","description":"See how agents handle execution delays via a minimum communication policy.","avatar":"https://github.com/YueZhang-studyuse.png","author":"Yue Zhang"}],"galleryCallToAction":"See more examples in Posthoc","heroTitle":"Intuitively explore decision-making in search","heroSubtitle":"Posthoc is a way to create simple and effective visualisations from logs to help you understand search.","heroCallToAction":"Get started","heroCallToActionUrl":"./docs/get-started","endCallToActionTitle":"Ready to try Posthoc?","demoSectionTitle":"Best system demonstration at ICAPS 24","demoSectionSubtitle":"We\'re excited to present Posthoc to the search and planning community","featuresSectionTitle":"Features","featuresSectionSubtitle":"featuresSectionSubtitle","teamSectionTitle":"Team","teamSectionSubtitle":"Built with passion by ShortestPathLab @ Monash University","features":[{"image":null,"title":"","subtitle":""}],"docsSectionTitle":"docsSectionTitle","docsSectionSubtitle":"docsSectionSubtitle","docsUrlGeneric":"./docs/overview","docs":[{"key":"os","label":"OS","options":[{"key":"linux","label":"Linux"},{"key":"windows","label":"Windows"},{"key":"macos","label":"MacOS"},{"key":"other","label":"Other"}]},{"key":"lang","label":"Language","options":[{"key":"cpp","label":"C++"},{"key":"python","label":"Python"},{"key":"rust","label":"Rust"},{"key":"other","label":"Other"}]}],"docsCallToAction":"See Posthoc docs for %os in %lang","docsCallToActionGeneric":"See how Posthoc works for you","showVideo":"Demo","footerLinks":[{"title":"Posthoc","links":[{"label":"Open Posthoc","url":"https://posthoc.pathfinding.ai"},{"label":"Docs","url":"./docs/overview"},{"label":"GitHub","url":"https://github.com/shortestpathlab/posthoc-app"}]},{"title":"ShortestPathLab","links":[{"label":"Home","url":"https://pathfinding.ai/"},{"label":"Benchmarks","url":"https://benchmarks.pathfinding.ai/"},{"label":"Tracker","url":"https://tracker.pathfinding.ai/"},{"label":"GitHub","url":"https://github.com/ShortestPathLab"}]},{"title":"Monash Optimisation","links":[{"label":"Home","url":"https://www.monash.edu"}]}],"team":[{"name":"Kevin Zheng","title":"Dept. of Data Science & AI","avatar":"/img/kzheng.png","github":"https://pathfinding.ai/team/kevin-zheng/"},{"name":"Daniel Harabor","title":"Dept. of Data Science & AI","avatar":"https://research.monash.edu/files-asset/19414730/Screen_Shot_2016_12_13_at_9.08.09_AM.png?w=160&f=webp","github":"https://harabor.net/daniel"},{"name":"Michael Wybrow","title":"Dept. of Human Centred Computing","avatar":"https://research.monash.edu/files-asset/248360374/profile+photo?w=160&f=webp","github":"https://research.monash.edu/en/persons/michael-wybrow"}],"teamContributorTitle":"Posthoc was a multi-year project made possible by the hard work and dedication from many student contributors. We\'re grateful to the following individuals whose efforts contributed to early prototypes of the system:","teamSupporterTitle":"We also thank the following people for their many helpful suggestions, feedback, and support:","contributors":["Can Wang","Francis Anthony","Jay Wingate","Karan Batta","Leo Whitehead","Rory Tobin-Underwood"],"supporters":["Mike Chen","Yue Zhang","Thomas Nobes","Ryan Hechenberger","Mark Carlson","Andy Li","Jayden Filipi","Bojie Shen","Shizhe Zhao","Jason Nyugen","Jonathan Morag","Cole Peeters","Julian Lee","Tim Wang"],"footerCopyright":"Copyright \xa9 2024 Monash University"}');var P=r(5893);function A(e){return(0,P.jsx)("img",{src:C.logoUrl,width:28,height:28,...e})}var T=r(9860);const I=function(e){return void 0===e&&(e=1),(0,x.times)(e,(()=>(0,P.jsx)(i.Z,{flex:1})))};var W=r(3421),L=r(1730);function R(){return(0,L.Z)("(max-width: 580px)")}const z=960;function E(){return(0,P.jsx)(i.Z,{sx:{width:"100%",position:"sticky",top:0,left:0,height:72,zIndex:e=>e.zIndex.appBar},children:(0,P.jsx)(m.Z,{children:()=>(0,P.jsx)(D,{})})})}function D(){const[e,t]=(0,T.y)(),r=R(),o=(0,W.l7)(),[n,l]=(0,u.useState)(!0),d=(0,w.Z)({target:document.body});(0,u.useEffect)((()=>{let e=!1;const t=()=>{const r=document.documentElement.scrollTop+document.body.scrollTop;l(0===r),e||requestAnimationFrame(t)};return t(),()=>{e=!0}}),[l]);const h=C.sections.map((e=>{let{url:t,label:r}=e;return(0,P.jsx)(a.Z,{sx:{py:1.5,px:2,borderRadius:32},href:t,children:(0,P.jsx)(c.Z,{color:"text.primary",variant:"button",children:r})})})),p=(0,P.jsx)(a.Z,{startIcon:(0,P.jsx)(g.Z,{sx:{color:"primary.main"}}),sx:{py:1.5,px:2,borderRadius:32},href:C.appUrl,target:"_blank",children:(0,P.jsx)(c.Z,{color:"text.primary",variant:"button",children:C.openAppLabel})}),x=(0,P.jsx)(j.Z,{sx:{color:"text.primary"},onClick:()=>t("dark"===e?"light":"dark"),children:"dark"===e?(0,P.jsx)(b.Z,{}):(0,P.jsx)(f.Z,{})});return(0,P.jsx)(s.Z,{sx:{width:"100%",transition:e=>e.transitions.create(["box-shadow","padding-top","transform"]),...n?{paddingTop:r?0:2}:{...o(1),borderBottom:e=>`1px solid ${e.palette.divider}`,borderRadius:0},...d&&{transform:"translateY(-100%)"}},children:(0,P.jsxs)(s.Z,{gap:1,alignItems:"center",direction:"row",sx:{p:2,px:1.5,mx:"auto",width:z+32,maxWidth:"100%",height:72},children:[(0,P.jsx)(i.Z,{sx:{pr:2,pl:.5,height:28,minWidth:28},children:(0,P.jsx)(A,{})}),r?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(i.Z,{sx:{flex:1}}),p,(0,P.jsx)(k.ZP,{variant:"popover",children:e=>(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(j.Z,{...(0,Z.vW)(e),children:(0,P.jsx)(y.Z,{})}),(0,S.createPortal)((0,P.jsx)(i.Z,{sx:{...e.isOpen?{opacity:1}:{opacity:0,pointerEvents:"none"},...o(0),transition:e=>e.transitions.create(["opacity","backdrop-filter"]),position:"fixed",zIndex:e=>e.zIndex.modal,top:0,left:0,width:"100dvw",height:"100vh",borderRadius:0},children:(0,P.jsxs)(s.Z,{gap:4,p:2.5,alignItems:"flex-end",children:[(0,P.jsx)(j.Z,{onClick:e.close,children:(0,P.jsx)(v.Z,{})}),x,h,p]})}),document.body)]})})]}):(0,P.jsxs)(P.Fragment,{children:[h,I(),p,x]})]})})}function U(e){let{image:t,title:r,subtitle:o,...n}=e;const a=(0,W.l7)();return(0,P.jsxs)(s.Z,{justifyContent:"center",alignItems:"center",gap:1,...n,sx:{...a(1),p:8,textAlign:"center",...n.sx},children:[t??(0,P.jsx)(i.Z,{height:64}),(0,P.jsx)(c.Z,{variant:"h3",children:r??"Title"}),(0,P.jsx)(c.Z,{variant:"subtitle2",children:o??"Subtitle"})]})}var M=r(1519),V=r(7903);function H(){const e=R(),t=(0,W.l7)();return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(i.Z,{p:3,sx:{...t(1),borderRadius:0},children:(0,P.jsxs)(s.Z,{gap:4,sx:{maxWidth:"100%",width:z,px:e?0:3,py:4,m:"0 auto"},children:[(0,P.jsxs)(s.Z,{direction:"row",gap:8,children:[(0,P.jsx)(A,{width:32,height:32,style:{filter:"saturate(0%)"}}),(0,P.jsx)(s.Z,{sx:(0,V.e)(180),gap:8,flex:1,children:C.footerLinks.map((e=>{let{title:t,links:r}=e;return(0,P.jsxs)(s.Z,{gap:1,sx:{flex:1},children:[(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.secondary",sx:{pb:2},children:t}),r.map((e=>{let{label:t,url:r}=e;return(0,P.jsx)(a.Z,{href:r,sx:{width:"100%",px:2,mx:-2,py:1,justifyContent:"flex-start",textAlign:"left"},children:(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.primary",children:t})})}))]})}))})]}),I(),(0,P.jsx)(M.Z,{sx:{opacity:.25}}),(0,P.jsx)(c.Z,{textAlign:"right",variant:"subtitle2",color:"text.secondary",children:C.footerCopyright})]})})})}var B=r(6274),O=r(1796),_=r(9142),F=r(5072),$=r.n(F);const N=e=>{const t=e.getBoundingClientRect();return t.left+t.width/2},G=3;function J(){const e=(0,W.l7)(),t=R(),r=(0,L.Z)("(min-width: 1200px)"),[o,n]=(0,u.useState)(null),[d,h]=(0,u.useState)(!1);(0,u.useEffect)((()=>{if(o){let e,t,r=!1;const n=new Set,i=new Map,a=()=>{n.clear();const e=new IntersectionObserver((e=>{for(const t of e)t.target instanceof HTMLDivElement&&(t.isIntersecting?(t.target.style.visibility="visible",n.add(t.target)):(t.target.style.visibility="hidden",n.delete(t.target)))}),{root:o});return o.childNodes.forEach((t=>{t instanceof HTMLDivElement&&(e.observe(t),i.set(t,t.offsetLeft+t.clientWidth/2))})),e},s=()=>{t?.disconnect?.(),t=a(),e=N(o)},l=()=>{r||(n.forEach((t=>{const r=e-i.get(t)+o.scrollLeft;t.style.setProperty("--factor-near",`${(0,x.clamp)(1-(r*G/innerWidth)**2,0,1)}`),t.style.setProperty("--factor",`${r}`)})),requestAnimationFrame(l))},c=new MutationObserver(s),d=new ResizeObserver(s);return window.addEventListener("resize",s),d.observe(o),c.observe(o,{childList:!0}),s(),l(),h(!0),()=>{t.disconnect(),c.disconnect(),d.disconnect(),window.removeEventListener("resize",s),r=!0}}}),[o,h]),(0,u.useEffect)((()=>{if(o){const e=o.childNodes.item((0,x.floor)(o.childNodes.length/2));o.scrollLeft=e.offsetLeft-o.offsetWidth/2+e.clientWidth/2}}),[o]);const p=o=>(0,P.jsx)(i.Z,{onClick:e=>{e.target.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},sx:{p:r?0:.001*o,minWidth:o+8*(r?0:.001*o)*2,scrollSnapAlign:"center"},children:(0,P.jsxs)(s.Z,{sx:{cursor:"pointer",...e(1),aspectRatio:t?.625:1.6,width:"100%",textAlign:"center",gap:4,justifyContent:"center",alignItems:"center",px:4,borderRadius:4,transform:r?"scale(calc(90% + calc(10% * var(--factor-near))))":"none"},children:[(0,P.jsx)(c.Z,{variant:"h2",sx:{color:"text.primary"},children:C.galleryCallToAction}),(0,P.jsx)(a.Z,{onClick:()=>open(C.appUrl,"_blank"),color:"secondary",sx:{py:2,px:4,borderRadius:32,fontWeight:500},variant:"contained",startIcon:(0,P.jsx)(g.Z,{}),children:C.openAppLabel})]})});return(0,P.jsx)(_.ZP,{style:{width:"100%",minHeight:"20vw",height:"fit-content"},children:e=>{let{width:o}=e;return(0,P.jsx)(B.Z,{in:d,children:(0,P.jsxs)(s.Z,{ref:n,direction:"row",sx:{width:"100vw",marginLeft:"calc(50% - 50vw)",overflowX:"scroll",scrollSnapType:"x mandatory",pb:2},children:[(0,P.jsx)(i.Z,{sx:{minWidth:`calc(50vw - ${o/2}px)`}}),p(o),C.gallery.map(((e,n)=>{let{label:d,url:h,description:p,workspace:x,author:u,tagline:m,avatar:g}=e;return(0,P.jsx)(i.Z,{"data-index":n,onClick:e=>{e.target.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},sx:{p:r?0:.001*o,minWidth:o+8*(r?0:.001*o)*2,scrollSnapAlign:"center"},children:(0,P.jsxs)(a.Z,{disableRipple:!0,sx:{cursor:"default",boxShadow:e=>`0px 16px 32px ${(0,O.Fq)(e.palette.background.default,.25)}`,aspectRatio:t?.625:1.6,width:"100%",borderRadius:4,position:"relative",overflow:"hidden",backgroundColor:"#0a0c10",backgroundImage:`url(${h})`,backgroundSize:"cover",backgroundPosition:"calc(50% + calc(var(--factor) * +0.5px)) 50%",transform:r?"scale(calc(90% + calc(10% * var(--factor-near))))":"none"},children:[r?(0,P.jsx)(i.Z,{sx:{position:"absolute",zIndex:-1,bottom:0,left:0,right:0,height:500,pointerEvents:"none",width:"100%",opacity:"var(--factor-near)",backgroundImage:"linear-gradient(to top, #0a0c10DD, transparent)",borderRadius:4}}):(0,P.jsx)(i.Z,{sx:{position:"absolute",zIndex:1,top:0,left:0,bottom:0,right:0,opacity:"var(--factor-near)",backgroundColor:"#0a0c10BB",pointerEvents:"none"}}),(0,P.jsxs)(s.Z,{sx:{zIndex:2,position:"absolute",textAlign:"left",gap:2,p:4,bottom:0,left:0,right:0,justifyContent:r?"space-between":"flex-start",alignItems:r?"flex-end":"flex-start",opacity:"var(--factor-near)",flexDirection:r?"row":"column"},children:[(0,P.jsxs)(s.Z,{sx:{gap:2},children:[(0,P.jsx)(c.Z,{sx:{mb:-2,color:"primary.light",fontSize:"1rem",fontWeight:500},variant:"overline",children:m}),(0,P.jsx)(c.Z,{variant:"h2",sx:{fontWeight:400,color:"white"},children:d}),(0,P.jsxs)(s.Z,{direction:"row",sx:{gap:1,alignItems:"center"},children:[(0,P.jsx)(l.Z,{sx:{width:24,height:24},src:g}),(0,P.jsx)(c.Z,{variant:"subtitle2",sx:{color:"white"},children:u??"Anonymous"})]}),(0,P.jsx)(c.Z,{variant:"body1",sx:{maxWidth:420,color:"white"},children:p})]}),(0,P.jsx)(a.Z,{onClick:()=>open(`${C.appUrl}?workspace=${encodeURIComponent($()(location.href,x))}`,"_blank"),color:"primary",sx:{mt:2,py:1.5,px:3,borderRadius:32,fontWeight:500},variant:"contained",children:"Open in Posthoc"})]})]})})})),p(o),(0,P.jsx)(i.Z,{sx:{minWidth:`calc(50vw - ${o/2}px)`}})]})})}})}var q=r(6091);function Y(){return(0,P.jsx)(a.Z,{sx:{py:1.5,px:3,borderRadius:32},variant:"contained",endIcon:(0,P.jsx)(q.Z,{}),href:C.heroCallToActionUrl,children:C.heroCallToAction})}var K=r(3795);function X(){const e=R();return(0,P.jsxs)(s.Z,{gap:4,justifyContent:"center",alignItems:"flex-start",sx:{textAlign:"left",maxWidth:"100dvw",height:"60svh",minHeight:520,pt:24,pb:16},children:[I(),(0,P.jsxs)(c.Z,{sx:{zIndex:1,mb:-2,color:"text.secondary",fontSize:"1rem",fontWeight:500},variant:"overline",children:[(0,P.jsx)(K.Z,{href:C.orgUrl,sx:{textDecorationStyle:"dotted",color:"text.primary"},children:C.org})," ","/ ",C.name]}),(0,P.jsx)(c.Z,{sx:{zIndex:1,maxWidth:720},variant:"h1",color:"text.primary",children:C.heroTitle}),(0,P.jsx)(c.Z,{sx:{zIndex:1,maxWidth:480},variant:e?"body1":"subtitle1",color:"text.primary",children:C.heroSubtitle}),(0,P.jsxs)(s.Z,{direction:"row",flexWrap:"wrap",gap:4,sx:{pt:e?0:4},children:[(0,P.jsx)(Y,{}),(0,P.jsx)(a.Z,{href:C.demoVideoUrl,startIcon:(0,P.jsx)(o.Z,{}),sx:{color:"text.primary",py:1.5,px:3,borderRadius:32,ml:-2.5},children:C.showVideo})]}),I(4)]})}function Q(e){let{title:t,subtitle:r,anchor:o}=e;return(0,P.jsxs)(s.Z,{id:o,alignItems:"left",gap:2,sx:{pt:16,pb:8},children:[(0,P.jsx)(c.Z,{variant:"h2",color:"text.primary",children:t??"Title"}),r&&(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.primary",children:r})]})}function ee(){const e=R(),[t]=(0,T.y)();return(0,P.jsxs)(i.Z,{sx:{backgroundColor:"background.default",backgroundImage:"radial-gradient(46.56% 45.08% at 56.04% 55.33%, rgb(138 161 255 / 8%) 0, transparent 100%), radial-gradient(46.69% 41.74% at 69.64% 60.81%, rgb(223 127 226 / 8%) 0, transparent 100%), radial-gradient(59.78% 45.73% at 30.42% 58.68%, rgb(115 182 234 / 8%) 0, transparent 100%), radial-gradient(32.53% 31.57% at 50% 66.82%, rgb(102 63 115 / 8%) 0, transparent 100%)",backgroundSize:"100vw 100vh",backgroundPosition:"50% 45vh",backgroundRepeat:"no-repeat",transition:e=>e.transitions.create("background-color",{duration:e.transitions.duration.complex})},children:[(0,P.jsx)(E,{}),(0,P.jsxs)(i.Z,{children:[(0,P.jsxs)(i.Z,{sx:{textAlign:"center",maxWidth:"100%",width:z+64,px:e?3:4,m:"0 auto",pb:12},children:[(0,P.jsxs)(i.Z,{sx:{pb:9},children:[(0,P.jsx)(X,{}),(0,P.jsx)(J,{}),(0,P.jsx)(Q,{title:C.demoSectionTitle,subtitle:C.demoSectionSubtitle}),(0,P.jsx)(a.Z,{onClick:()=>open(C.demoVideoUrl),sx:{p:0,width:z,mx:"auto",maxWidth:"100%",aspectRatio:e?.625:1.6,overflow:"hidden",borderRadius:4,backgroundImage:`url(${C.demoVideoThumbnail})`,backgroundSize:"cover",backgroundPosition:"center"},children:(0,P.jsx)(a.Z,{color:"primary",sx:{mx:"auto",py:2,px:4,borderRadius:32,fontWeight:"dark"===t?600:500,pointerEvents:"none"},startIcon:(0,P.jsx)(o.Z,{}),variant:"contained",children:C.playVideo})})]}),(0,P.jsxs)(i.Z,{sx:{pb:4},children:[(0,P.jsx)(Q,{title:C.endCallToActionTitle}),(0,P.jsx)(Y,{})]}),(0,P.jsxs)(i.Z,{sx:{pb:16},children:[(0,P.jsx)(Q,{anchor:"team",title:(0,P.jsx)(n.Z,{}),subtitle:C.teamSectionSubtitle}),(0,P.jsx)(s.Z,{gap:4,sx:(0,V.e)(260),children:(0,x.map)(C.team,(e=>{let{avatar:t,name:r,title:o,github:n}=e;return(0,P.jsx)(a.Z,{sx:{p:0},href:n,children:(0,P.jsx)(U,{sx:{py:6,width:"100%",height:"100%",color:"text.primary"},image:(0,P.jsx)(l.Z,{src:t,sx:{mb:4,width:64,height:64}}),title:r,subtitle:(0,P.jsx)("span",{style:{whiteSpace:"pre"},children:o})})})}))}),(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.secondary",sx:{py:8,maxWidth:720,mx:"auto"},children:C.teamContributorTitle}),(0,P.jsx)(s.Z,{gap:4,sx:(0,V.f)(150),children:(0,x.map)(C.contributors,(e=>(0,P.jsx)(c.Z,{color:"text.primary",variant:"subtitle2",children:e})))}),(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.secondary",sx:{py:8,maxWidth:720,mx:"auto"},children:C.teamSupporterTitle}),(0,P.jsx)(s.Z,{gap:4,sx:(0,V.f)(150),children:(0,x.map)(C.supporters,(e=>(0,P.jsx)(c.Z,{color:"text.primary",variant:"subtitle2",children:e})))})]})]}),(0,P.jsx)(H,{})]})]})}function te(){const{palette:e}=(0,d.Z)();return function(){const{palette:e}=(0,d.Z)(),t=e.background.default;(0,u.useEffect)((()=>{let e=document.querySelector('meta[name="theme-color"]');e||(e=document.createElement("meta"),e.setAttribute("name","theme-color"),document.head.appendChild(e)),e.setAttribute("content",t)}),[t])}(),(0,u.useEffect)((()=>{document.body.style.backgroundColor=e.background.default,document.body.style.color=e.text.primary}),[e.background.default,e.text.primary]),(0,P.jsx)(h.ZP,{children:(0,P.jsx)(ee,{})})}function re(){return(0,P.jsx)(p.Z,{children:(0,P.jsx)(te,{})})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[3237],{7903:(e,t,r)=>{r.d(t,{e:()=>o,f:()=>n});const o=e=>({display:"grid",gridAutoFlow:"row",gridTemplateColumns:`repeat(auto-fill, minmax(min(100%, ${e}px), 1fr))`}),n=e=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center","> *":{width:e}})},4158:(e,t,r)=>{r.r(t),r.d(t,{default:()=>re});var o=r(8445),n=r(8660),i=r(5616),a=r(9417),s=r(8269),l=r(4055),c=r(5861),d=r(2734),h=r(3584),p=r(5387),x=r(6486),u=(r(9867),r(7294)),m=r(748),g=r(1036),b=r(9445),f=r(8523),y=r(7699),v=r(5273),w=r(8298),j=r(3946),k=r(8070),Z=r(6303),S=r(3935);const C=JSON.parse('{"org":"ShortestPathLab","orgUrl":"https://pathfinding.ai","name":"Posthoc","openAppLabel":"Open Posthoc","logoUrl":"/img/logo192.png","closeVideo":"Close video","playVideo":"Play ICAPS24 demo","backdropVideoUrl":"media/clip.webm","backdropVideoMime":"video/webm","demoVideoUrl":"https://youtu.be/Nz2_Z9hqrmM?si=rv0p8uk3JX1SzYsV","demoVideoThumbnail":"/img/primer-thumbnail.png","demoVideoMime":"video/webm","appUrl":"https://posthoc-app.pathfinding.ai","sections":[{"key":"docs","label":"Docs","url":"./docs/overview"},{"key":"blog","label":"Blog","url":"./blog"},{"key":"github","label":"GitHub","url":"https://github.com/shortestpathlab/posthoc-app"},{"key":"discord","label":"Discord","url":"https://discord.gg/BHuPspePDK"}],"gallery":[{"tagline":"Analyse","url":"/img/gallery/complex-view.png","workspace":"/content/starcraft.min.workspace","label":"Post-game breakdown","author":"Ryan Hechenberger","avatar":"https://github.com/heavenfall.png","description":"Explore the decisions of AI units in a recorded StarCraft game."},{"tagline":"Showcase","url":"/img/gallery/image-7.png","label":"Animation demo","workspace":"/content/apple.min.workspace","author":"Mark Carlson","avatar":null,"description":"See how Mark leveraged Posthoc\'s expressiveness to visualise a compression scheme based on run-length encoding."},{"tagline":"Explore","url":"/img/gallery/polyanya.png","label":"Polyanya","workspace":"/content/polyanya.workspace","author":"ShortestPathLab","avatar":"https://github.com/ShortestPathLab.png","description":"See this Euclidean path planning algorithm in action on a navigation mesh."},{"tagline":"Understand","url":"/img/gallery/astar.png","label":"A* search","workspace":"/content/astar.min.workspace","author":"ShortestPathLab","avatar":"https://github.com/ShortestPathLab.png","description":"Get to know Posthoc by taking apart and inspecting the classic A* algorithm on a small grid map."},{"tagline":"Understand","url":"/img/gallery/network-bidirectional-a-star.png","label":"Network bidirectional A*","workspace":"/content/network-bidirectional-a-star.workspace","author":"ShortestPathLab","avatar":"https://github.com/ShortestPathLab.png","description":"By searching from both source and goal nodes, this A* variant converges to an optimal path noticeably faster."},{"tagline":"Explore","url":"/img/gallery/image-3.png","workspace":"/content/dps.workspace","label":"Dual Euclidean path search","description":"DPS is an exciting new approach for Euclidean pathfinding. See how it works on a small poly map problem.","avatar":"https://github.com/heavenfall.png","author":"Ryan Hechenberger"},{"tagline":"Demonstrate","url":"/img/gallery/mcp.png","label":"Minimum communication policy","workspace":"/content/mcp.min.workspace","description":"See how agents handle execution delays via a minimum communication policy.","avatar":"https://github.com/YueZhang-studyuse.png","author":"Yue Zhang"}],"galleryCallToAction":"See more examples in Posthoc","heroTitle":"Intuitively explore decision-making in search","heroSubtitle":"Posthoc is a way to create simple and effective visualisations from logs to help you understand search.","heroCallToAction":"Get started","heroCallToActionUrl":"./docs/get-started","endCallToActionTitle":"Ready to try Posthoc?","demoSectionTitle":"Best system demonstration at ICAPS 24","demoSectionSubtitle":"We\'re excited to present Posthoc to the search and planning community","featuresSectionTitle":"Features","featuresSectionSubtitle":"featuresSectionSubtitle","teamSectionTitle":"Team","teamSectionSubtitle":"Built with passion by ShortestPathLab @ Monash University","features":[{"image":null,"title":"","subtitle":""}],"docsSectionTitle":"docsSectionTitle","docsSectionSubtitle":"docsSectionSubtitle","docsUrlGeneric":"./docs/overview","docs":[{"key":"os","label":"OS","options":[{"key":"linux","label":"Linux"},{"key":"windows","label":"Windows"},{"key":"macos","label":"MacOS"},{"key":"other","label":"Other"}]},{"key":"lang","label":"Language","options":[{"key":"cpp","label":"C++"},{"key":"python","label":"Python"},{"key":"rust","label":"Rust"},{"key":"other","label":"Other"}]}],"docsCallToAction":"See Posthoc docs for %os in %lang","docsCallToActionGeneric":"See how Posthoc works for you","showVideo":"Demo","footerLinks":[{"title":"Posthoc","links":[{"label":"Open Posthoc","url":"https://posthoc.pathfinding.ai"},{"label":"Docs","url":"./docs/overview"},{"label":"GitHub","url":"https://github.com/shortestpathlab/posthoc-app"}]},{"title":"ShortestPathLab","links":[{"label":"Home","url":"https://pathfinding.ai/"},{"label":"Benchmarks","url":"https://benchmarks.pathfinding.ai/"},{"label":"Tracker","url":"https://tracker.pathfinding.ai/"},{"label":"GitHub","url":"https://github.com/ShortestPathLab"}]},{"title":"Monash Optimisation","links":[{"label":"Home","url":"https://www.monash.edu"}]}],"team":[{"name":"Kevin Zheng","title":"Dept. of Data Science & AI","avatar":"/img/kzheng.png","github":"https://pathfinding.ai/team/kevin-zheng/"},{"name":"Daniel Harabor","title":"Dept. of Data Science & AI","avatar":"https://research.monash.edu/files-asset/19414730/Screen_Shot_2016_12_13_at_9.08.09_AM.png?w=160&f=webp","github":"https://harabor.net/daniel"},{"name":"Michael Wybrow","title":"Dept. of Human Centred Computing","avatar":"https://research.monash.edu/files-asset/248360374/profile+photo?w=160&f=webp","github":"https://research.monash.edu/en/persons/michael-wybrow"}],"teamContributorTitle":"Posthoc was a multi-year project made possible by the hard work and dedication from many student contributors. We\'re grateful to the following individuals whose efforts contributed to early prototypes of the system:","teamSupporterTitle":"We also thank the following people for their many helpful suggestions, feedback, and support:","contributors":["Can Wang","Francis Anthony","Jay Wingate","Karan Batta","Leo Whitehead","Rory Tobin-Underwood"],"supporters":["Mike Chen","Yue Zhang","Thomas Nobes","Ryan Hechenberger","Mark Carlson","Andy Li","Jayden Filipi","Bojie Shen","Shizhe Zhao","Jason Nyugen","Jonathan Morag","Cole Peeters","Julian Lee","Tim Wang"],"footerCopyright":"Copyright \xa9 2024 Monash University"}');var P=r(5893);function A(e){return(0,P.jsx)("img",{src:C.logoUrl,width:28,height:28,...e})}var T=r(9860);const I=function(e){return void 0===e&&(e=1),(0,x.times)(e,(()=>(0,P.jsx)(i.Z,{flex:1})))};var W=r(3421),L=r(1730);function R(){return(0,L.Z)("(max-width: 580px)")}const z=960;function E(){return(0,P.jsx)(i.Z,{sx:{width:"100%",position:"sticky",top:0,left:0,height:72,zIndex:e=>e.zIndex.appBar},children:(0,P.jsx)(m.Z,{children:()=>(0,P.jsx)(D,{})})})}function D(){const[e,t]=(0,T.y)(),r=R(),o=(0,W.l7)(),[n,l]=(0,u.useState)(!0),d=(0,w.Z)({target:document.body});(0,u.useEffect)((()=>{let e=!1;const t=()=>{const r=document.documentElement.scrollTop+document.body.scrollTop;l(0===r),e||requestAnimationFrame(t)};return t(),()=>{e=!0}}),[l]);const h=C.sections.map((e=>{let{url:t,label:r}=e;return(0,P.jsx)(a.Z,{sx:{py:1.5,px:2,borderRadius:32},href:t,children:(0,P.jsx)(c.Z,{color:"text.primary",variant:"button",children:r})})})),p=(0,P.jsx)(a.Z,{startIcon:(0,P.jsx)(g.Z,{sx:{color:"primary.main"}}),sx:{py:1.5,px:2,borderRadius:32},href:C.appUrl,target:"_blank",children:(0,P.jsx)(c.Z,{color:"text.primary",variant:"button",children:C.openAppLabel})}),x=(0,P.jsx)(j.Z,{sx:{color:"text.primary"},onClick:()=>t("dark"===e?"light":"dark"),children:"dark"===e?(0,P.jsx)(b.Z,{}):(0,P.jsx)(f.Z,{})});return(0,P.jsx)(s.Z,{sx:{width:"100%",transition:e=>e.transitions.create(["box-shadow","padding-top","transform"]),...n?{paddingTop:r?0:2}:{...o(1),borderBottom:e=>`1px solid ${e.palette.divider}`,borderRadius:0},...d&&{transform:"translateY(-100%)"}},children:(0,P.jsxs)(s.Z,{gap:1,alignItems:"center",direction:"row",sx:{p:2,px:1.5,mx:"auto",width:z+32,maxWidth:"100%",height:72},children:[(0,P.jsx)(i.Z,{sx:{pr:2,pl:.5,height:28,minWidth:28},children:(0,P.jsx)(A,{})}),r?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(i.Z,{sx:{flex:1}}),p,(0,P.jsx)(k.ZP,{variant:"popover",children:e=>(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(j.Z,{...(0,Z.vW)(e),children:(0,P.jsx)(y.Z,{})}),(0,S.createPortal)((0,P.jsx)(i.Z,{sx:{...e.isOpen?{opacity:1}:{opacity:0,pointerEvents:"none"},...o(0),transition:e=>e.transitions.create(["opacity","backdrop-filter"]),position:"fixed",zIndex:e=>e.zIndex.modal,top:0,left:0,width:"100dvw",height:"100vh",borderRadius:0},children:(0,P.jsxs)(s.Z,{gap:4,p:2.5,alignItems:"flex-end",children:[(0,P.jsx)(j.Z,{onClick:e.close,children:(0,P.jsx)(v.Z,{})}),x,h,p]})}),document.body)]})})]}):(0,P.jsxs)(P.Fragment,{children:[h,I(),p,x]})]})})}function U(e){let{image:t,title:r,subtitle:o,...n}=e;const a=(0,W.l7)();return(0,P.jsxs)(s.Z,{justifyContent:"center",alignItems:"center",gap:1,...n,sx:{...a(1),p:8,textAlign:"center",...n.sx},children:[t??(0,P.jsx)(i.Z,{height:64}),(0,P.jsx)(c.Z,{variant:"h3",children:r??"Title"}),(0,P.jsx)(c.Z,{variant:"subtitle2",children:o??"Subtitle"})]})}var M=r(1519),V=r(7903);function H(){const e=R(),t=(0,W.l7)();return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(i.Z,{p:3,sx:{...t(1),borderRadius:0},children:(0,P.jsxs)(s.Z,{gap:4,sx:{maxWidth:"100%",width:z,px:e?0:3,py:4,m:"0 auto"},children:[(0,P.jsxs)(s.Z,{direction:"row",gap:8,children:[(0,P.jsx)(A,{width:32,height:32,style:{filter:"saturate(0%)"}}),(0,P.jsx)(s.Z,{sx:(0,V.e)(180),gap:8,flex:1,children:C.footerLinks.map((e=>{let{title:t,links:r}=e;return(0,P.jsxs)(s.Z,{gap:1,sx:{flex:1},children:[(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.secondary",sx:{pb:2},children:t}),r.map((e=>{let{label:t,url:r}=e;return(0,P.jsx)(a.Z,{href:r,sx:{width:"100%",px:2,mx:-2,py:1,justifyContent:"flex-start",textAlign:"left"},children:(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.primary",children:t})})}))]})}))})]}),I(),(0,P.jsx)(M.Z,{sx:{opacity:.25}}),(0,P.jsx)(c.Z,{textAlign:"right",variant:"subtitle2",color:"text.secondary",children:C.footerCopyright})]})})})}var B=r(6274),O=r(1796),_=r(9142),F=r(5072),$=r.n(F);const N=e=>{const t=e.getBoundingClientRect();return t.left+t.width/2},G=3;function J(){const e=(0,W.l7)(),t=R(),r=(0,L.Z)("(min-width: 1200px)"),[o,n]=(0,u.useState)(null),[d,h]=(0,u.useState)(!1);(0,u.useEffect)((()=>{if(o){let e,t,r=!1;const n=new Set,i=new Map,a=()=>{n.clear();const e=new IntersectionObserver((e=>{for(const t of e)t.target instanceof HTMLDivElement&&(t.isIntersecting?(t.target.style.visibility="visible",n.add(t.target)):(t.target.style.visibility="hidden",n.delete(t.target)))}),{root:o});return o.childNodes.forEach((t=>{t instanceof HTMLDivElement&&(e.observe(t),i.set(t,t.offsetLeft+t.clientWidth/2))})),e},s=()=>{t?.disconnect?.(),t=a(),e=N(o)},l=()=>{r||(n.forEach((t=>{const r=e-i.get(t)+o.scrollLeft;t.style.setProperty("--factor-near",`${(0,x.clamp)(1-(r*G/innerWidth)**2,0,1)}`),t.style.setProperty("--factor",`${r}`)})),requestAnimationFrame(l))},c=new MutationObserver(s),d=new ResizeObserver(s);return window.addEventListener("resize",s),d.observe(o),c.observe(o,{childList:!0}),s(),l(),h(!0),()=>{t.disconnect(),c.disconnect(),d.disconnect(),window.removeEventListener("resize",s),r=!0}}}),[o,h]),(0,u.useEffect)((()=>{if(o){const e=o.childNodes.item((0,x.floor)(o.childNodes.length/2));o.scrollLeft=e.offsetLeft-o.offsetWidth/2+e.clientWidth/2}}),[o]);const p=o=>(0,P.jsx)(i.Z,{onClick:e=>{e.target.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},sx:{p:r?0:.001*o,minWidth:o+8*(r?0:.001*o)*2,scrollSnapAlign:"center"},children:(0,P.jsxs)(s.Z,{sx:{cursor:"pointer",...e(1),aspectRatio:t?.625:1.6,width:"100%",textAlign:"center",gap:4,justifyContent:"center",alignItems:"center",px:4,borderRadius:4,transform:r?"scale(calc(90% + calc(10% * var(--factor-near))))":"none"},children:[(0,P.jsx)(c.Z,{variant:"h2",sx:{color:"text.primary"},children:C.galleryCallToAction}),(0,P.jsx)(a.Z,{onClick:()=>open(C.appUrl,"_blank"),color:"secondary",sx:{py:2,px:4,borderRadius:32,fontWeight:500},variant:"contained",startIcon:(0,P.jsx)(g.Z,{}),children:C.openAppLabel})]})});return(0,P.jsx)(_.ZP,{style:{width:"100%",minHeight:"20vw",height:"fit-content"},children:e=>{let{width:o}=e;return(0,P.jsx)(B.Z,{in:d,children:(0,P.jsxs)(s.Z,{ref:n,direction:"row",sx:{width:"100vw",marginLeft:"calc(50% - 50vw)",overflowX:"scroll",scrollSnapType:"x mandatory",pb:2},children:[(0,P.jsx)(i.Z,{sx:{minWidth:`calc(50vw - ${o/2}px)`}}),p(o),C.gallery.map(((e,n)=>{let{label:d,url:h,description:p,workspace:x,author:u,tagline:m,avatar:g}=e;return(0,P.jsx)(i.Z,{"data-index":n,onClick:e=>{e.target.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},sx:{p:r?0:.001*o,minWidth:o+8*(r?0:.001*o)*2,scrollSnapAlign:"center"},children:(0,P.jsxs)(a.Z,{disableRipple:!0,sx:{cursor:"default",boxShadow:e=>`0px 16px 32px ${(0,O.Fq)(e.palette.background.default,.25)}`,aspectRatio:t?.625:1.6,width:"100%",borderRadius:4,position:"relative",overflow:"hidden",backgroundColor:"#0a0c10",backgroundImage:`url(${h})`,backgroundSize:"cover",backgroundPosition:"calc(50% + calc(var(--factor) * +0.5px)) 50%",transform:r?"scale(calc(90% + calc(10% * var(--factor-near))))":"none"},children:[r?(0,P.jsx)(i.Z,{sx:{position:"absolute",zIndex:-1,bottom:0,left:0,right:0,height:"80%",pointerEvents:"none",width:"100%",opacity:"var(--factor-near)",backgroundImage:"linear-gradient(to top, #0a0c10DD, transparent)",borderRadius:4}}):(0,P.jsx)(i.Z,{sx:{position:"absolute",zIndex:1,top:0,left:0,bottom:0,right:0,opacity:"var(--factor-near)",backgroundColor:"#0a0c10BB",pointerEvents:"none"}}),(0,P.jsxs)(s.Z,{sx:{zIndex:2,position:"absolute",textAlign:"left",gap:2,p:4,bottom:0,left:0,right:0,justifyContent:r?"space-between":"flex-start",alignItems:r?"flex-end":"flex-start",opacity:"var(--factor-near)",flexDirection:r?"row":"column"},children:[(0,P.jsxs)(s.Z,{sx:{gap:2},children:[(0,P.jsx)(c.Z,{sx:{mb:-2,color:"primary.light",fontSize:"1rem",fontWeight:500},variant:"overline",children:m}),(0,P.jsx)(c.Z,{variant:"h2",sx:{fontWeight:400,color:"white"},children:d}),(0,P.jsxs)(s.Z,{direction:"row",sx:{gap:1,alignItems:"center"},children:[(0,P.jsx)(l.Z,{sx:{width:24,height:24},src:g}),(0,P.jsx)(c.Z,{variant:"subtitle2",sx:{color:"white"},children:u??"Anonymous"})]}),(0,P.jsx)(c.Z,{variant:"body1",sx:{maxWidth:420,color:"white"},children:p})]}),(0,P.jsx)(a.Z,{onClick:()=>open(`${C.appUrl}?workspace=${encodeURIComponent($()(location.href,x))}`,"_blank"),color:"primary",sx:{mt:2,py:1.5,px:3,borderRadius:32,fontWeight:500},variant:"contained",children:"Open in Posthoc"})]})]})})})),p(o),(0,P.jsx)(i.Z,{sx:{minWidth:`calc(50vw - ${o/2}px)`}})]})})}})}var q=r(6091);function Y(){return(0,P.jsx)(a.Z,{sx:{py:1.5,px:3,borderRadius:32},variant:"contained",endIcon:(0,P.jsx)(q.Z,{}),href:C.heroCallToActionUrl,children:C.heroCallToAction})}var K=r(3795);function X(){const e=R();return(0,P.jsxs)(s.Z,{gap:4,justifyContent:"center",alignItems:"flex-start",sx:{textAlign:"left",maxWidth:"100dvw",height:"60svh",minHeight:520,pt:24,pb:16},children:[I(),(0,P.jsxs)(c.Z,{sx:{zIndex:1,mb:-2,color:"text.secondary",fontSize:"1rem",fontWeight:500},variant:"overline",children:[(0,P.jsx)(K.Z,{href:C.orgUrl,sx:{textDecorationStyle:"dotted",color:"text.primary"},children:C.org})," ","/ ",C.name]}),(0,P.jsx)(c.Z,{sx:{zIndex:1,maxWidth:720},variant:"h1",color:"text.primary",children:C.heroTitle}),(0,P.jsx)(c.Z,{sx:{zIndex:1,maxWidth:480},variant:e?"body1":"subtitle1",color:"text.primary",children:C.heroSubtitle}),(0,P.jsxs)(s.Z,{direction:"row",flexWrap:"wrap",gap:4,sx:{pt:e?0:4},children:[(0,P.jsx)(Y,{}),(0,P.jsx)(a.Z,{href:C.demoVideoUrl,startIcon:(0,P.jsx)(o.Z,{}),sx:{color:"text.primary",py:1.5,px:3,borderRadius:32,ml:-2.5},children:C.showVideo})]}),I(4)]})}function Q(e){let{title:t,subtitle:r,anchor:o}=e;return(0,P.jsxs)(s.Z,{id:o,alignItems:"left",gap:2,sx:{pt:16,pb:8},children:[(0,P.jsx)(c.Z,{variant:"h2",color:"text.primary",children:t??"Title"}),r&&(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.primary",children:r})]})}function ee(){const e=R(),[t]=(0,T.y)();return(0,P.jsxs)(i.Z,{sx:{backgroundColor:"background.default",backgroundImage:"radial-gradient(46.56% 45.08% at 56.04% 55.33%, rgb(138 161 255 / 8%) 0, transparent 100%), radial-gradient(46.69% 41.74% at 69.64% 60.81%, rgb(223 127 226 / 8%) 0, transparent 100%), radial-gradient(59.78% 45.73% at 30.42% 58.68%, rgb(115 182 234 / 8%) 0, transparent 100%), radial-gradient(32.53% 31.57% at 50% 66.82%, rgb(102 63 115 / 8%) 0, transparent 100%)",backgroundSize:"100vw 100vh",backgroundPosition:"50% 45vh",backgroundRepeat:"no-repeat",transition:e=>e.transitions.create("background-color",{duration:e.transitions.duration.complex})},children:[(0,P.jsx)(E,{}),(0,P.jsxs)(i.Z,{children:[(0,P.jsxs)(i.Z,{sx:{textAlign:"center",maxWidth:"100%",width:z+64,px:e?3:4,m:"0 auto",pb:12},children:[(0,P.jsxs)(i.Z,{sx:{pb:9},children:[(0,P.jsx)(X,{}),(0,P.jsx)(J,{}),(0,P.jsx)(Q,{title:C.demoSectionTitle,subtitle:C.demoSectionSubtitle}),(0,P.jsx)(a.Z,{onClick:()=>open(C.demoVideoUrl),sx:{p:0,width:z,mx:"auto",maxWidth:"100%",aspectRatio:e?.625:1.6,overflow:"hidden",borderRadius:4,backgroundImage:`url(${C.demoVideoThumbnail})`,backgroundSize:"cover",backgroundPosition:"center"},children:(0,P.jsx)(a.Z,{color:"primary",sx:{mx:"auto",py:2,px:4,borderRadius:32,fontWeight:"dark"===t?600:500,pointerEvents:"none"},startIcon:(0,P.jsx)(o.Z,{}),variant:"contained",children:C.playVideo})})]}),(0,P.jsxs)(i.Z,{sx:{pb:4},children:[(0,P.jsx)(Q,{title:C.endCallToActionTitle}),(0,P.jsx)(Y,{})]}),(0,P.jsxs)(i.Z,{sx:{pb:16},children:[(0,P.jsx)(Q,{anchor:"team",title:(0,P.jsx)(n.Z,{}),subtitle:C.teamSectionSubtitle}),(0,P.jsx)(s.Z,{gap:4,sx:(0,V.e)(260),children:(0,x.map)(C.team,(e=>{let{avatar:t,name:r,title:o,github:n}=e;return(0,P.jsx)(a.Z,{sx:{p:0},href:n,children:(0,P.jsx)(U,{sx:{py:6,width:"100%",height:"100%",color:"text.primary"},image:(0,P.jsx)(l.Z,{src:t,sx:{mb:4,width:64,height:64}}),title:r,subtitle:(0,P.jsx)("span",{style:{whiteSpace:"pre"},children:o})})})}))}),(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.secondary",sx:{py:8,maxWidth:720,mx:"auto"},children:C.teamContributorTitle}),(0,P.jsx)(s.Z,{gap:4,sx:(0,V.f)(150),children:(0,x.map)(C.contributors,(e=>(0,P.jsx)(c.Z,{color:"text.primary",variant:"subtitle2",children:e})))}),(0,P.jsx)(c.Z,{variant:"subtitle2",color:"text.secondary",sx:{py:8,maxWidth:720,mx:"auto"},children:C.teamSupporterTitle}),(0,P.jsx)(s.Z,{gap:4,sx:(0,V.f)(150),children:(0,x.map)(C.supporters,(e=>(0,P.jsx)(c.Z,{color:"text.primary",variant:"subtitle2",children:e})))})]})]}),(0,P.jsx)(H,{})]})]})}function te(){const{palette:e}=(0,d.Z)();return function(){const{palette:e}=(0,d.Z)(),t=e.background.default;(0,u.useEffect)((()=>{let e=document.querySelector('meta[name="theme-color"]');e||(e=document.createElement("meta"),e.setAttribute("name","theme-color"),document.head.appendChild(e)),e.setAttribute("content",t)}),[t])}(),(0,u.useEffect)((()=>{document.body.style.backgroundColor=e.background.default,document.body.style.color=e.text.primary}),[e.background.default,e.text.primary]),(0,P.jsx)(h.ZP,{children:(0,P.jsx)(ee,{})})}function re(){return(0,P.jsx)(p.Z,{children:(0,P.jsx)(te,{})})}}}]); \ No newline at end of file diff --git a/assets/js/785e7c5b.2145777b.js b/assets/js/785e7c5b.ea6a9f4e.js similarity index 62% rename from assets/js/785e7c5b.2145777b.js rename to assets/js/785e7c5b.ea6a9f4e.js index 802f1c4..8572aea 100644 --- a/assets/js/785e7c5b.2145777b.js +++ b/assets/js/785e7c5b.ea6a9f4e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[9529],{1070:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>a,contentTitle:()=>d,default:()=>h,frontMatter:()=>i,metadata:()=>o,toc:()=>l});var t=s(5893),n=s(1151);const i={sidebar_position:4},d="Extensions",o={id:"visualiser/3-1-user-guide/extensions",title:"Extensions",description:"Adapters",source:"@site/docs/3-visualiser/3-1-user-guide/extensions.md",sourceDirName:"3-visualiser/3-1-user-guide",slug:"/visualiser/3-1-user-guide/extensions",permalink:"/docs/visualiser/3-1-user-guide/extensions",draft:!1,unlisted:!1,editUrl:"https://github.com/ShortestPathLab/posthoc/tree/master/docs/3-visualiser/3-1-user-guide/extensions.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Layers",permalink:"/docs/visualiser/3-1-user-guide/layers"},next:{title:"Pixel renderer",permalink:"/docs/visualiser/pixel-renderer"}},a={},l=[{value:"Adapters",id:"adapters",level:2},{value:"Built-in adapters",id:"built-in-adapters",level:3},{value:"Other adapters",id:"other-adapters",level:3},{value:"Renderers",id:"renderers",level:2},{value:"Built-in renderers",id:"built-in-renderers",level:3},{value:"Map support",id:"map-support",level:2}];function c(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"extensions",children:"Extensions"}),"\n",(0,t.jsx)(r.h2,{id:"adapters",children:"Adapters"}),"\n",(0,t.jsxs)(r.p,{children:["Adapters implement the ",(0,t.jsx)(r.a,{href:"/docs/visualiser-adapter-protocol",children:"Visualiser Adapter Protocol"})," to connect solvers to Posthoc."]}),"\n",(0,t.jsx)(r.h3,{id:"built-in-adapters",children:"Built-in adapters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Name"}),(0,t.jsx)(r.th,{children:"URL"}),(0,t.jsx)(r.th,{children:"Connection Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Basic Maps"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"internal://basic-maps"})}),(0,t.jsx)(r.td,{children:"Internal"}),(0,t.jsx)(r.td,{children:"A collection of basic grid maps."})]})})]}),"\n",(0,t.jsx)(r.h3,{id:"other-adapters",children:"Other adapters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Name"}),(0,t.jsx)(r.th,{children:"URL"}),(0,t.jsx)(r.th,{children:"Connection Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Warthog (WebAssembly)"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"https://cdn.jsdelivr.net/gh/ShortestPathLab/posthoc-app@adapter-warthog-wasm-dist/warthog-wasm.mjs"})}),(0,t.jsx)(r.td,{children:"Web Worker"}),(0,t.jsx)(r.td,{children:"Solver adapter for Warthog & Roadhog"})]})})]}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.a,{href:"https://github.com/ShortestPathLab/posthoc-app",children:"You can find more adapters here."})}),"\n",(0,t.jsx)(r.h2,{id:"renderers",children:"Renderers"}),"\n",(0,t.jsxs)(r.p,{children:["Renderers are used by the ",(0,t.jsx)(r.strong,{children:"viewport"})," view to render visualisations. They're defined by the primitives they support. For example, the ",(0,t.jsx)(r.strong,{children:"Pixel"})," renderer supports drawing ",(0,t.jsx)(r.code,{children:"rect"}),", ",(0,t.jsx)(r.code,{children:"circle"})," etc., so any map or search trace that compiles to those primitives can be drawn by ",(0,t.jsx)(r.strong,{children:"Pixel"}),". The API for renderers are yet to be finalised. We'll soon let you define custom renderers."]}),"\n",(0,t.jsx)(r.h3,{id:"built-in-renderers",children:"Built-in renderers"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Name"}),(0,t.jsx)(r.th,{children:"URL"}),(0,t.jsx)(r.th,{children:"Connection Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Pixel"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"internal://d2-renderer"})}),(0,t.jsx)(r.td,{children:"Internal"}),(0,t.jsxs)(r.td,{children:["Comfortably performant 2D renderer. Provides ",(0,t.jsx)(r.code,{children:"rect"}),", ",(0,t.jsx)(r.code,{children:"circle"}),", ",(0,t.jsx)(r.code,{children:"path"}),", ",(0,t.jsx)(r.code,{children:"polygon"}),"."]})]})})]}),"\n",(0,t.jsx)(r.h2,{id:"map-support",children:"Map support"}),"\n",(0,t.jsx)(r.p,{children:"Maps are an escape-hatch from search traces, and allows you to hard-code a visualisation for any filetype."}),"\n",(0,t.jsxs)(r.p,{children:["Posthoc supports the following map formats by default. This list also shows up in ",(0,t.jsx)(r.strong,{children:"Settings view > Extensions > Map support"}),". We'll soon let you define custom formats via extensions."]}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.a,{href:"./layers#built-in-map-formats",children:"Read about built-in map support here."})})]})}function h(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>o,a:()=>d});var t=s(7294);const n={},i=t.createContext(n);function d(e){const r=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),t.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[9529],{1070:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>l,contentTitle:()=>d,default:()=>h,frontMatter:()=>i,metadata:()=>o,toc:()=>a});var t=s(5893),n=s(1151);const i={sidebar_position:4},d="Extensions",o={id:"visualiser/3-1-user-guide/extensions",title:"Extensions",description:"Adapters",source:"@site/docs/3-visualiser/3-1-user-guide/extensions.md",sourceDirName:"3-visualiser/3-1-user-guide",slug:"/visualiser/3-1-user-guide/extensions",permalink:"/docs/visualiser/3-1-user-guide/extensions",draft:!1,unlisted:!1,editUrl:"https://github.com/ShortestPathLab/posthoc/tree/master/docs/3-visualiser/3-1-user-guide/extensions.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Layers",permalink:"/docs/visualiser/3-1-user-guide/layers"},next:{title:"Pixel renderer",permalink:"/docs/visualiser/pixel-renderer"}},l={},a=[{value:"Adapters",id:"adapters",level:2},{value:"Built-in adapters",id:"built-in-adapters",level:3},{value:"Other adapters",id:"other-adapters",level:3},{value:"Renderers",id:"renderers",level:2},{value:"Built-in renderers",id:"built-in-renderers",level:3},{value:"Map support",id:"map-support",level:2}];function c(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"extensions",children:"Extensions"}),"\n",(0,t.jsx)(r.h2,{id:"adapters",children:"Adapters"}),"\n",(0,t.jsxs)(r.p,{children:["Adapters implement the ",(0,t.jsx)(r.a,{href:"/docs/visualiser-adapter-protocol",children:"Visualiser Adapter Protocol"})," to connect solvers to Posthoc."]}),"\n",(0,t.jsx)(r.h3,{id:"built-in-adapters",children:"Built-in adapters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Name"}),(0,t.jsx)(r.th,{children:"URL"}),(0,t.jsx)(r.th,{children:"Connection Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Basic Maps"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"internal://basic-maps"})}),(0,t.jsx)(r.td,{children:"Internal"}),(0,t.jsx)(r.td,{children:"A collection of basic grid maps."})]})})]}),"\n",(0,t.jsx)(r.h3,{id:"other-adapters",children:"Other adapters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Name"}),(0,t.jsx)(r.th,{children:"URL"}),(0,t.jsx)(r.th,{children:"Connection Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"Warthog (WebAssembly)"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"https://cdn.jsdelivr.net/gh/ShortestPathLab/posthoc-app@adapter-warthog-wasm-dist/warthog-wasm.mjs"})}),(0,t.jsx)(r.td,{children:"Web Worker"}),(0,t.jsx)(r.td,{children:"Solver adapter for Warthog & Roadhog"})]})})]}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.a,{href:"https://github.com/ShortestPathLab/posthoc-app",children:"You can find more adapters here."})}),"\n",(0,t.jsx)(r.h2,{id:"renderers",children:"Renderers"}),"\n",(0,t.jsxs)(r.p,{children:["Renderers are used by the ",(0,t.jsx)(r.strong,{children:"viewport"})," view to render visualisations. They're defined by the primitives they support. For example, the ",(0,t.jsx)(r.strong,{children:"Pixel"})," renderer supports drawing ",(0,t.jsx)(r.code,{children:"rect"}),", ",(0,t.jsx)(r.code,{children:"circle"})," etc., so any map or search trace that compiles to those primitives can be drawn by ",(0,t.jsx)(r.strong,{children:"Pixel"}),". The API for renderers are yet to be finalised. We'll soon let you define custom renderers."]}),"\n",(0,t.jsx)(r.h3,{id:"built-in-renderers",children:"Built-in renderers"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Name"}),(0,t.jsx)(r.th,{children:"URL"}),(0,t.jsx)(r.th,{children:"Connection Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsxs)(r.tbody,{children:[(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/docs/visualiser/pixel-renderer",children:"Pixel"})}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"internal://d2-renderer"})}),(0,t.jsx)(r.td,{children:"Internal"}),(0,t.jsxs)(r.td,{children:["Comfortably performant 2D renderer. Provides ",(0,t.jsx)(r.code,{children:"rect"}),", ",(0,t.jsx)(r.code,{children:"circle"}),", ",(0,t.jsx)(r.code,{children:"path"}),", ",(0,t.jsx)(r.code,{children:"polygon"}),"."]})]}),(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/docs/visualiser/pixel-nano-renderer",children:"Pixel Nano"})}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.code,{children:"internal://d2-minimal-renderer"})}),(0,t.jsx)(r.td,{children:"Internal"}),(0,t.jsxs)(r.td,{children:["Simple 2D renderer. Provides ",(0,t.jsx)(r.code,{children:"rect"}),", ",(0,t.jsx)(r.code,{children:"circle"}),", ",(0,t.jsx)(r.code,{children:"path"}),", ",(0,t.jsx)(r.code,{children:"polygon"}),"."]})]})]})]}),"\n",(0,t.jsx)(r.h2,{id:"map-support",children:"Map support"}),"\n",(0,t.jsx)(r.p,{children:"Maps are an escape-hatch from search traces, and allows you to hard-code a visualisation for any filetype."}),"\n",(0,t.jsxs)(r.p,{children:["Posthoc supports the following map formats by default. This list also shows up in ",(0,t.jsx)(r.strong,{children:"Settings view > Extensions > Map support"}),". We'll soon let you define custom formats via extensions."]}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.a,{href:"./layers#built-in-map-formats",children:"Read about built-in map support here."})})]})}function h(e={}){const{wrapper:r}={...(0,n.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},1151:(e,r,s)=>{s.d(r,{Z:()=>o,a:()=>d});var t=s(7294);const n={},i=t.createContext(n);function d(e){const r=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:d(e.components),t.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7cccdef3.0dff0d1c.js b/assets/js/7cccdef3.0dff0d1c.js deleted file mode 100644 index 4824510..0000000 --- a/assets/js/7cccdef3.0dff0d1c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[8145],{7980:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>x,frontMatter:()=>n,metadata:()=>t,toc:()=>h});var s=i(5893),d=i(1151);const n={sidebar_position:3},l="Pixel renderer",t={id:"visualiser/pixel-renderer",title:"Pixel renderer",description:"Pixel is the 2D renderer that's built into Posthoc. It's designed for large-scale pathfinding search problems. It stays performant when there are millions of elements.",source:"@site/docs/3-visualiser/pixel-renderer.md",sourceDirName:"3-visualiser",slug:"/visualiser/pixel-renderer",permalink:"/docs/visualiser/pixel-renderer",draft:!1,unlisted:!1,editUrl:"https://github.com/ShortestPathLab/posthoc/tree/master/docs/3-visualiser/pixel-renderer.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Extensions",permalink:"/docs/visualiser/3-1-user-guide/extensions"},next:{title:"Contributing",permalink:"/docs/visualiser/contributing"}},c={},h=[{value:"Coordinate system",id:"coordinate-system",level:2},{value:"Performance",id:"performance",level:2},{value:"API",id:"api",level:2},{value:"Primitives",id:"primitives",level:3},{value:"rect",id:"rect",level:4},{value:"circle",id:"circle",level:4},{value:"path",id:"path",level:4},{value:"polygon",id:"polygon",level:4},{value:"Pixel standalone",id:"pixel-standalone",level:3}];function o(e){const r={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",img:"img",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h1,{id:"pixel-renderer",children:"Pixel renderer"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"Pixel"})," is the 2D renderer that's built into Posthoc. It's designed for large-scale pathfinding search problems. It stays performant when there are millions of elements."]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.img,{alt:"Alt text",src:i(3135).Z+"",width:"2560",height:"1600"})}),"\n",(0,s.jsx)(r.h2,{id:"coordinate-system",children:"Coordinate system"}),"\n",(0,s.jsxs)(r.p,{children:["In ",(0,s.jsx)(r.strong,{children:"Pixel"}),", the ",(0,s.jsx)(r.code,{children:"x"})," axis is horizontal, spanning left to right, and the ",(0,s.jsx)(r.code,{children:"y"})," axis is vertical, spanning top to bottom. Lengths are measured in ",(0,s.jsx)(r.code,{children:"px"})," units."]}),"\n",(0,s.jsx)(r.h2,{id:"performance",children:"Performance"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"Pixel"})," uses multi-threaded, tile-based rendering with viewport culling. You can zoom in and out infinitely without loss in quality.\nIt also uses dynamic resolution, dropping the resolution down when the framerate decreases to help make playback smoother."]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.img,{alt:"Alt text",src:i(8241).Z+"",width:"2560",height:"1600"})}),"\n",(0,s.jsxs)(r.p,{children:["If you find that ",(0,s.jsx)(r.strong,{children:"Pixel"})," is starting to get laggy, here are some tips to improve rendering performance."]}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Turn off acrylic"}),(0,s.jsx)("br",{}),"The ",(0,s.jsx)(r.strong,{children:"Settings > General > Acrylic"})," option can decrease general UI performance. You can turn this off to make ",(0,s.jsx)(r.strong,{children:"Pixel"})," faster."]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Combine elements"}),(0,s.jsx)("br",{}),(0,s.jsx)(r.strong,{children:"Pixel"}),"'s performance declines roughly linearly with the amount of elements. You can try to minimise the amount of elements by combining them. For example, draw a single large rectangle rather than several small rectangles."]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Avoid text"}),(0,s.jsx)("br",{}),"Text rendering is considerably slower than shapes. Consider storing additional information in ",(0,s.jsx)(r.code,{children:"$info"})," instead."]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"api",children:"API"}),"\n",(0,s.jsx)(r.h3,{id:"primitives",children:"Primitives"}),"\n",(0,s.jsx)(r.h4,{id:"rect",children:(0,s.jsx)(r.code,{children:"rect"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"x"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Horizontal position of the top left corner of this rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"y"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Vertical position of the top left corner of this rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"width"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Width of this rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"height"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Height of the rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this rect."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this rect."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"string"})}),(0,s.jsx)(r.td,{children:"Display a label on top of this element. By default, its baseline left-aligned to the top left corner of the rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-x"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount horizontally."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-y"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount vertically."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-size"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsxs)(r.td,{children:["Required if a label is defined. The font size of the label. ",(0,s.jsx)(r.code,{children:"1px"})," makes the label about ",(0,s.jsx)(r.code,{children:"1px"})," tall."]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-color"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required if a label is defined. The color of the label."})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"circle",children:(0,s.jsx)(r.code,{children:"circle"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"x"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{children:"Required. The horizontal position of this circle's center."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"y"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{children:"Required. The vertical position of this circle's center."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"radius"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{children:"Required. The radius of this circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"string"})}),(0,s.jsx)(r.td,{children:"Display a label on top of this element. By default, its baseline left-aligned to the center of the circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-x"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount horizontally."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-y"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount vertically."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-size"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsxs)(r.td,{children:["Required if a label is defined. The font size of the label. ",(0,s.jsx)(r.code,{children:"1px"})," makes the label about ",(0,s.jsx)(r.code,{children:"1px"})," tall."]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-color"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required if a label is defined. The color of the label."})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"path",children:(0,s.jsx)(r.code,{children:"path"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"points"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"{ x: number, y: number }[]"})}),(0,s.jsx)(r.td,{children:"Required. The points on the path."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this path."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"line-width"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"The width of this path."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this path."})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"polygon",children:(0,s.jsx)(r.code,{children:"polygon"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"points"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"{ x: number, y: number }[]"})}),(0,s.jsx)(r.td,{children:"Required. The points on this polygon."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this polygon."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this polygon."})]})]})]}),"\n",(0,s.jsx)(r.h3,{id:"pixel-standalone",children:"Pixel standalone"}),"\n",(0,s.jsx)(r.admonition,{type:"warning",children:(0,s.jsx)(r.p,{children:"This section is incomplete."})}),"\n",(0,s.jsxs)(r.p,{children:["You can use the ",(0,s.jsx)(r.strong,{children:"Pixel"})," renderer without ",(0,s.jsx)(r.strong,{children:"Posthoc"}),"."]})]})}function x(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},3135:(e,r,i)=>{i.d(r,{Z:()=>s});const s=i.p+"assets/images/image-6-0a43433df4a57628a66524ad2e4cd66a.png"},8241:(e,r,i)=>{i.d(r,{Z:()=>s});const s=i.p+"assets/images/image-7-60472e8979c06c3fa6ab103a9c84b9db.png"},1151:(e,r,i)=>{i.d(r,{Z:()=>t,a:()=>l});var s=i(7294);const d={},n=s.createContext(d);function l(e){const r=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),s.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7cccdef3.e081584d.js b/assets/js/7cccdef3.e081584d.js new file mode 100644 index 0000000..7e21c31 --- /dev/null +++ b/assets/js/7cccdef3.e081584d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[8145],{7980:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>c,contentTitle:()=>l,default:()=>x,frontMatter:()=>n,metadata:()=>t,toc:()=>h});var s=i(5893),d=i(1151);const n={sidebar_position:3,title:"Pixel renderer"},l="Pixel",t={id:"visualiser/pixel-renderer",title:"Pixel renderer",description:"Pixel is the 2D renderer that's built into Posthoc. It's designed for large-scale pathfinding search problems. It stays performant when there are millions of elements.",source:"@site/docs/3-visualiser/pixel-renderer.md",sourceDirName:"3-visualiser",slug:"/visualiser/pixel-renderer",permalink:"/docs/visualiser/pixel-renderer",draft:!1,unlisted:!1,editUrl:"https://github.com/ShortestPathLab/posthoc/tree/master/docs/3-visualiser/pixel-renderer.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3,title:"Pixel renderer"},sidebar:"tutorialSidebar",previous:{title:"Extensions",permalink:"/docs/visualiser/3-1-user-guide/extensions"},next:{title:"Pixel Nano renderer",permalink:"/docs/visualiser/pixel-nano-renderer"}},c={},h=[{value:"Coordinate system",id:"coordinate-system",level:2},{value:"Performance",id:"performance",level:2},{value:"API",id:"api",level:2},{value:"Primitives",id:"primitives",level:3},{value:"rect",id:"rect",level:4},{value:"circle",id:"circle",level:4},{value:"path",id:"path",level:4},{value:"polygon",id:"polygon",level:4},{value:"Pixel standalone",id:"pixel-standalone",level:3}];function o(e){const r={a:"a",admonition:"admonition",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",img:"img",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,d.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.h1,{id:"pixel",children:"Pixel"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"Pixel"})," is the 2D renderer that's built into Posthoc. It's designed for large-scale pathfinding search problems. It stays performant when there are millions of elements."]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.img,{alt:"Alt text",src:i(3135).Z+"",width:"2560",height:"1600"})}),"\n",(0,s.jsx)(r.h2,{id:"coordinate-system",children:"Coordinate system"}),"\n",(0,s.jsxs)(r.p,{children:["In ",(0,s.jsx)(r.strong,{children:"Pixel"}),", the ",(0,s.jsx)(r.code,{children:"x"})," axis is horizontal, spanning left to right, and the ",(0,s.jsx)(r.code,{children:"y"})," axis is vertical, spanning top to bottom. Lengths are measured in ",(0,s.jsx)(r.code,{children:"px"})," units."]}),"\n",(0,s.jsx)(r.h2,{id:"performance",children:"Performance"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"Pixel"})," uses multi-threaded, tile-based rendering with viewport culling. You can zoom in and out infinitely without loss in quality.\nIt also uses dynamic resolution, dropping the resolution down when the framerate decreases to help make playback smoother."]}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.img,{alt:"Alt text",src:i(8241).Z+"",width:"2560",height:"1600"})}),"\n",(0,s.jsxs)(r.p,{children:["If you find that ",(0,s.jsx)(r.strong,{children:"Pixel"})," is starting to get laggy, here are some tips to improve rendering performance."]}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Turn off acrylic"}),(0,s.jsx)("br",{}),"The ",(0,s.jsx)(r.strong,{children:"Settings > General > Acrylic"})," option can decrease general UI performance. You can turn this off to make ",(0,s.jsx)(r.strong,{children:"Pixel"})," faster."]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Combine elements"}),(0,s.jsx)("br",{}),(0,s.jsx)(r.strong,{children:"Pixel"}),"'s performance declines roughly linearly with the amount of elements. You can try to minimise the amount of elements by combining them. For example, draw a single large rectangle rather than several small rectangles."]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Avoid text"}),(0,s.jsx)("br",{}),"Text rendering is considerably slower than shapes. Consider storing additional information in ",(0,s.jsx)(r.code,{children:"$info"})," instead."]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"api",children:"API"}),"\n",(0,s.jsx)(r.h3,{id:"primitives",children:"Primitives"}),"\n",(0,s.jsx)(r.h4,{id:"rect",children:(0,s.jsx)(r.code,{children:"rect"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"x"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Horizontal position of the top left corner of this rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"y"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Vertical position of the top left corner of this rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"width"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Width of this rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"height"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Required. Height of the rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this rect."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this rect."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"string"})}),(0,s.jsx)(r.td,{children:"Display a label on top of this element. By default, its baseline left-aligned to the top left corner of the rectangle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-x"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount horizontally."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-y"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount vertically."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-size"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsxs)(r.td,{children:["Required if a label is defined. The font size of the label. ",(0,s.jsx)(r.code,{children:"1px"})," makes the label about ",(0,s.jsx)(r.code,{children:"1px"})," tall."]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-color"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required if a label is defined. The color of the label."})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"circle",children:(0,s.jsx)(r.code,{children:"circle"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"x"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{children:"Required. The horizontal position of this circle's center."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"y"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{children:"Required. The vertical position of this circle's center."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"radius"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"number"})}),(0,s.jsx)(r.td,{children:"Required. The radius of this circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"string"})}),(0,s.jsx)(r.td,{children:"Display a label on top of this element. By default, its baseline left-aligned to the center of the circle."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-x"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount horizontally."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-y"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"Offset the label by this amount vertically."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-size"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsxs)(r.td,{children:["Required if a label is defined. The font size of the label. ",(0,s.jsx)(r.code,{children:"1px"})," makes the label about ",(0,s.jsx)(r.code,{children:"1px"})," tall."]})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"label-color"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required if a label is defined. The color of the label."})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"path",children:(0,s.jsx)(r.code,{children:"path"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"points"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"{ x: number, y: number }[]"})}),(0,s.jsx)(r.td,{children:"Required. The points on the path."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this path."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"line-width"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (px)"]}),(0,s.jsx)(r.td,{children:"The width of this path."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this path."})]})]})]}),"\n",(0,s.jsx)(r.h4,{id:"polygon",children:(0,s.jsx)(r.code,{children:"polygon"})}),"\n",(0,s.jsxs)(r.table,{children:[(0,s.jsx)(r.thead,{children:(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.th,{children:"Property"}),(0,s.jsx)(r.th,{children:"Type"}),(0,s.jsx)(r.th,{children:"Description"})]})}),(0,s.jsxs)(r.tbody,{children:[(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"points"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"{ x: number, y: number }[]"})}),(0,s.jsx)(r.td,{children:"Required. The points on this polygon."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"fill"})}),(0,s.jsx)(r.td,{children:(0,s.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color_value",children:(0,s.jsx)(r.code,{children:"CSSColor"})})}),(0,s.jsx)(r.td,{children:"Required. Color of this polygon."})]}),(0,s.jsxs)(r.tr,{children:[(0,s.jsx)(r.td,{children:(0,s.jsx)(r.code,{children:"alpha"})}),(0,s.jsxs)(r.td,{children:[(0,s.jsx)(r.code,{children:"number"})," (0-1)"]}),(0,s.jsx)(r.td,{children:"Opaqueness of this polygon."})]})]})]}),"\n",(0,s.jsx)(r.h3,{id:"pixel-standalone",children:"Pixel standalone"}),"\n",(0,s.jsx)(r.admonition,{type:"warning",children:(0,s.jsx)(r.p,{children:"This section is incomplete."})}),"\n",(0,s.jsxs)(r.p,{children:["You can use the ",(0,s.jsx)(r.strong,{children:"Pixel"})," renderer without ",(0,s.jsx)(r.strong,{children:"Posthoc"}),"."]})]})}function x(e={}){const{wrapper:r}={...(0,d.a)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},3135:(e,r,i)=>{i.d(r,{Z:()=>s});const s=i.p+"assets/images/image-6-0a43433df4a57628a66524ad2e4cd66a.png"},8241:(e,r,i)=>{i.d(r,{Z:()=>s});const s=i.p+"assets/images/image-7-60472e8979c06c3fa6ab103a9c84b9db.png"},1151:(e,r,i)=>{i.d(r,{Z:()=>t,a:()=>l});var s=i(7294);const d={},n=s.createContext(d);function l(e){const r=s.useContext(n);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),s.createElement(n.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.4621fc34.js b/assets/js/935f2afb.4621fc34.js deleted file mode 100644 index a42250b..0000000 --- a/assets/js/935f2afb.4621fc34.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Get started","href":"/docs/get-started","docId":"get-started","unlisted":false},{"type":"link","label":"Overview","href":"/docs/overview","docId":"overview","unlisted":false},{"type":"link","label":"Search trace","href":"/docs/search-trace","docId":"search-trace","unlisted":false},{"type":"category","label":"Posthoc visualiser","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Overview","href":"/docs/visualiser/overview","docId":"visualiser/overview","unlisted":false},{"type":"category","label":"User guide","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"UI","href":"/docs/visualiser/3-1-user-guide/interface","docId":"visualiser/3-1-user-guide/interface","unlisted":false},{"type":"link","label":"Layers","href":"/docs/visualiser/3-1-user-guide/layers","docId":"visualiser/3-1-user-guide/layers","unlisted":false},{"type":"link","label":"Extensions","href":"/docs/visualiser/3-1-user-guide/extensions","docId":"visualiser/3-1-user-guide/extensions","unlisted":false}],"href":"/docs/category/user-guide"},{"type":"link","label":"Pixel renderer","href":"/docs/visualiser/pixel-renderer","docId":"visualiser/pixel-renderer","unlisted":false},{"type":"link","label":"Contributing","href":"/docs/visualiser/contributing","docId":"visualiser/contributing","unlisted":false}],"href":"/docs/category/posthoc-visualiser"},{"type":"link","label":"Visualiser Adapter Protocol \u26a0\ufe0f","href":"/docs/visualiser-adapter-protocol","docId":"visualiser-adapter-protocol","unlisted":false},{"type":"category","label":"Tutorials","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Single Agent Grid Search","href":"/docs/tutorials/single-agent-grid","docId":"tutorials/single-agent-grid","unlisted":false},{"type":"link","label":"Decision Tree","href":"/docs/tutorials/tile","docId":"tutorials/tile","unlisted":false}],"href":"/docs/category/tutorials"}]},"docs":{"get-started":{"id":"get-started","title":"Get started","description":"We\'re excited to have you here. \ud83d\ude0a","sidebar":"tutorialSidebar"},"overview":{"id":"overview","title":"Overview","description":"Posthoc is a way to build simple and effective visualisations \u2728 for sequential decision-making algorithms, such as search algorithms \ud83d\ude80.","sidebar":"tutorialSidebar"},"search-trace":{"id":"search-trace","title":"Search trace","description":"This is the centrepiece of Posthoc. \u2728","sidebar":"tutorialSidebar"},"tutorials/single-agent-grid":{"id":"tutorials/single-agent-grid","title":"Single Agent Grid Search","description":"Follow these steps to visualise a single-agent search, in our case A\\\\*, on a grid map.","sidebar":"tutorialSidebar"},"tutorials/tile":{"id":"tutorials/tile","title":"Decision Tree","description":"Posthoc comes with a built-in decision tree viewer for searches that may have no spatial embedding.","sidebar":"tutorialSidebar"},"visualiser-adapter-protocol":{"id":"visualiser-adapter-protocol","title":"Visualiser Adapter Protocol \u26a0\ufe0f","description":"The Visualiser Adapter Protocol connects solvers directly to the visualiser to enable interactivity and integrations that would otherwise not be possible with search trace files.","sidebar":"tutorialSidebar"},"visualiser/3-1-user-guide/extensions":{"id":"visualiser/3-1-user-guide/extensions","title":"Extensions","description":"Adapters","sidebar":"tutorialSidebar"},"visualiser/3-1-user-guide/interface":{"id":"visualiser/3-1-user-guide/interface","title":"UI","description":"Posthoc\'s interface is composed of views, a titlebar, and a sidebar. You can add, remove, and rearrange views to your desire.","sidebar":"tutorialSidebar"},"visualiser/3-1-user-guide/layers":{"id":"visualiser/3-1-user-guide/layers","title":"Layers","description":"Posthoc uses a layering system to help you create complex visualisations with tons of parts.","sidebar":"tutorialSidebar"},"visualiser/contributing":{"id":"visualiser/contributing","title":"Contributing","description":"We welcome new issues, discussions, and PRs on our GitHub repository.","sidebar":"tutorialSidebar"},"visualiser/overview":{"id":"visualiser/overview","title":"Overview","description":"Posthoc visualises search traces. It gives you a variety of","sidebar":"tutorialSidebar"},"visualiser/pixel-renderer":{"id":"visualiser/pixel-renderer","title":"Pixel renderer","description":"Pixel is the 2D renderer that\'s built into Posthoc. It\'s designed for large-scale pathfinding search problems. It stays performant when there are millions of elements.","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.f40837d4.js b/assets/js/935f2afb.f40837d4.js new file mode 100644 index 0000000..1e091a1 --- /dev/null +++ b/assets/js/935f2afb.f40837d4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Get started","href":"/docs/get-started","docId":"get-started","unlisted":false},{"type":"link","label":"Overview","href":"/docs/overview","docId":"overview","unlisted":false},{"type":"link","label":"Search trace","href":"/docs/search-trace","docId":"search-trace","unlisted":false},{"type":"category","label":"Posthoc visualiser","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Overview","href":"/docs/visualiser/overview","docId":"visualiser/overview","unlisted":false},{"type":"category","label":"User guide","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"UI","href":"/docs/visualiser/3-1-user-guide/interface","docId":"visualiser/3-1-user-guide/interface","unlisted":false},{"type":"link","label":"Layers","href":"/docs/visualiser/3-1-user-guide/layers","docId":"visualiser/3-1-user-guide/layers","unlisted":false},{"type":"link","label":"Extensions","href":"/docs/visualiser/3-1-user-guide/extensions","docId":"visualiser/3-1-user-guide/extensions","unlisted":false}],"href":"/docs/category/user-guide"},{"type":"link","label":"Pixel renderer","href":"/docs/visualiser/pixel-renderer","docId":"visualiser/pixel-renderer","unlisted":false},{"type":"link","label":"Pixel Nano renderer","href":"/docs/visualiser/pixel-nano-renderer","docId":"visualiser/pixel-nano-renderer","unlisted":false},{"type":"link","label":"Contributing","href":"/docs/visualiser/contributing","docId":"visualiser/contributing","unlisted":false}],"href":"/docs/category/posthoc-visualiser"},{"type":"link","label":"Visualiser Adapter Protocol \u26a0\ufe0f","href":"/docs/visualiser-adapter-protocol","docId":"visualiser-adapter-protocol","unlisted":false},{"type":"category","label":"Tutorials","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Single Agent Grid Search","href":"/docs/tutorials/single-agent-grid","docId":"tutorials/single-agent-grid","unlisted":false},{"type":"link","label":"Decision Tree","href":"/docs/tutorials/tile","docId":"tutorials/tile","unlisted":false}],"href":"/docs/category/tutorials"}]},"docs":{"get-started":{"id":"get-started","title":"Get started","description":"We\'re excited to have you here. \ud83d\ude0a","sidebar":"tutorialSidebar"},"overview":{"id":"overview","title":"Overview","description":"Posthoc is a way to build simple and effective visualisations \u2728 for sequential decision-making algorithms, such as search algorithms \ud83d\ude80.","sidebar":"tutorialSidebar"},"search-trace":{"id":"search-trace","title":"Search trace","description":"This is the centrepiece of Posthoc. \u2728","sidebar":"tutorialSidebar"},"tutorials/single-agent-grid":{"id":"tutorials/single-agent-grid","title":"Single Agent Grid Search","description":"Follow these steps to visualise a single-agent search, in our case A\\\\*, on a grid map.","sidebar":"tutorialSidebar"},"tutorials/tile":{"id":"tutorials/tile","title":"Decision Tree","description":"Posthoc comes with a built-in decision tree viewer for searches that may have no spatial embedding.","sidebar":"tutorialSidebar"},"visualiser-adapter-protocol":{"id":"visualiser-adapter-protocol","title":"Visualiser Adapter Protocol \u26a0\ufe0f","description":"The Visualiser Adapter Protocol connects solvers directly to the visualiser to enable interactivity and integrations that would otherwise not be possible with search trace files.","sidebar":"tutorialSidebar"},"visualiser/3-1-user-guide/extensions":{"id":"visualiser/3-1-user-guide/extensions","title":"Extensions","description":"Adapters","sidebar":"tutorialSidebar"},"visualiser/3-1-user-guide/interface":{"id":"visualiser/3-1-user-guide/interface","title":"UI","description":"Posthoc\'s interface is composed of views, a titlebar, and a sidebar. You can add, remove, and rearrange views to your desire.","sidebar":"tutorialSidebar"},"visualiser/3-1-user-guide/layers":{"id":"visualiser/3-1-user-guide/layers","title":"Layers","description":"Posthoc uses a layering system to help you create complex visualisations with tons of parts.","sidebar":"tutorialSidebar"},"visualiser/contributing":{"id":"visualiser/contributing","title":"Contributing","description":"We welcome new issues, discussions, and PRs on our GitHub repository.","sidebar":"tutorialSidebar"},"visualiser/overview":{"id":"visualiser/overview","title":"Overview","description":"Posthoc visualises search traces. It gives you a variety of","sidebar":"tutorialSidebar"},"visualiser/pixel-nano-renderer":{"id":"visualiser/pixel-nano-renderer","title":"Pixel Nano renderer","description":"Pixel Nano is a minimalist renderer. It works just like Pixel, except it runs on the main thread, doesn\'t support fancy features like tiling, dynamic resolution or infinite zoom, and doesn\'t scale as well for large problems.","sidebar":"tutorialSidebar"},"visualiser/pixel-renderer":{"id":"visualiser/pixel-renderer","title":"Pixel renderer","description":"Pixel is the 2D renderer that\'s built into Posthoc. It\'s designed for large-scale pathfinding search problems. It stays performant when there are millions of elements.","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/b939bac7.b4f1a0de.js b/assets/js/b939bac7.b4f1a0de.js new file mode 100644 index 0000000..a298490 --- /dev/null +++ b/assets/js/b939bac7.b4f1a0de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[4957],{9785:(e,i,n)=>{n.r(i),n.d(i,{assets:()=>a,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>l,toc:()=>d});var s=n(5893),r=n(1151);const t={sidebar_position:4,title:"Pixel Nano renderer"},o="Pixel Nano",l={id:"visualiser/pixel-nano-renderer",title:"Pixel Nano renderer",description:"Pixel Nano is a minimalist renderer. It works just like Pixel, except it runs on the main thread, doesn't support fancy features like tiling, dynamic resolution or infinite zoom, and doesn't scale as well for large problems.",source:"@site/docs/3-visualiser/pixel-nano-renderer.md",sourceDirName:"3-visualiser",slug:"/visualiser/pixel-nano-renderer",permalink:"/docs/visualiser/pixel-nano-renderer",draft:!1,unlisted:!1,editUrl:"https://github.com/ShortestPathLab/posthoc/tree/master/docs/3-visualiser/pixel-nano-renderer.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4,title:"Pixel Nano renderer"},sidebar:"tutorialSidebar",previous:{title:"Pixel renderer",permalink:"/docs/visualiser/pixel-renderer"},next:{title:"Contributing",permalink:"/docs/visualiser/contributing"}},a={},d=[{value:"Getting Pixel Nano",id:"getting-pixel-nano",level:2},{value:"Primitives",id:"primitives",level:2}];function c(e){const i={a:"a",h1:"h1",h2:"h2",img:"img",p:"p",strong:"strong",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.h1,{id:"pixel-nano",children:"Pixel Nano"}),"\n",(0,s.jsxs)(i.p,{children:[(0,s.jsx)(i.strong,{children:"Pixel Nano"})," is a minimalist renderer. It works just like ",(0,s.jsx)(i.strong,{children:"Pixel"}),", except it runs on the main thread, doesn't support fancy features like tiling, dynamic resolution or infinite zoom, and doesn't scale as well for large problems."]}),"\n",(0,s.jsx)(i.p,{children:(0,s.jsx)(i.img,{alt:"Pixel Nano",src:n(7543).Z+"",width:"2560",height:"1528"})}),"\n",(0,s.jsxs)(i.p,{children:["However because there's much less overhead to run ",(0,s.jsx)(i.strong,{children:"Pixel Nano"}),", you might find that for smaller problems, it looks and performs better."]}),"\n",(0,s.jsx)(i.h2,{id:"getting-pixel-nano",children:"Getting Pixel Nano"}),"\n",(0,s.jsxs)(i.p,{children:[(0,s.jsx)(i.strong,{children:"Pixel Nano"})," is bundled with ",(0,s.jsx)(i.strong,{children:"Posthoc"}),", but not enabled by default."]}),"\n",(0,s.jsxs)(i.p,{children:["To enable Pixel Nano, add ",(0,s.jsx)(i.a,{href:"/docs/visualiser/3-1-user-guide/extensions#built-in-renderers",children:"Pixel Nano's URL"})," to the Renderers list in ",(0,s.jsx)(i.a,{href:"/docs/visualiser/3-1-user-guide/interface#settings",children:"Posthoc's settings"}),". Then, select ",(0,s.jsx)(i.strong,{children:"Pixel Nano"})," as the renderer for a viewport:"]}),"\n",(0,s.jsx)(i.p,{children:(0,s.jsx)(i.img,{alt:"Selecting Pixel Nano",src:n(8486).Z+"",width:"361",height:"222"})}),"\n",(0,s.jsx)(i.h1,{id:"api",children:"API"}),"\n",(0,s.jsx)(i.h2,{id:"primitives",children:"Primitives"}),"\n",(0,s.jsxs)(i.p,{children:[(0,s.jsx)(i.strong,{children:"Pixel Nano"})," supports the same primitives as ",(0,s.jsx)(i.strong,{children:"Pixel"}),". ",(0,s.jsx)(i.a,{href:"/docs/visualiser/pixel-renderer#primitives",children:"See here"}),"."]})]})}function h(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,s.jsx)(i,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},7543:(e,i,n)=>{n.d(i,{Z:()=>s});const s=n.p+"assets/images/pixel-nano-04a072696c6f8996f330fd9779e64bcf.png"},8486:(e,i,n)=>{n.d(i,{Z:()=>s});const s=n.p+"assets/images/select-pixel-nano-e0e83961a56d22f9bf26a4a6462e30df.png"},1151:(e,i,n)=>{n.d(i,{Z:()=>l,a:()=>o});var s=n(7294);const r={},t=s.createContext(r);function o(e){const i=s.useContext(t);return s.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function l(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(t.Provider,{value:i},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/eae09382.996b981a.js b/assets/js/eae09382.996b981a.js new file mode 100644 index 0000000..1daf430 --- /dev/null +++ b/assets/js/eae09382.996b981a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[4857],{1299:(t,e,s)=>{s.r(e),s.d(e,{assets:()=>c,contentTitle:()=>o,default:()=>l,frontMatter:()=>r,metadata:()=>a,toc:()=>u});var i=s(5893),n=s(1151);const r={sidebar_position:5},o="Contributing",a={id:"visualiser/contributing",title:"Contributing",description:"We welcome new issues, discussions, and PRs on our GitHub repository.",source:"@site/docs/3-visualiser/contributing.md",sourceDirName:"3-visualiser",slug:"/visualiser/contributing",permalink:"/docs/visualiser/contributing",draft:!1,unlisted:!1,editUrl:"https://github.com/ShortestPathLab/posthoc/tree/master/docs/3-visualiser/contributing.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Pixel Nano renderer",permalink:"/docs/visualiser/pixel-nano-renderer"},next:{title:"Visualiser Adapter Protocol \u26a0\ufe0f",permalink:"/docs/visualiser-adapter-protocol"}},c={},u=[];function d(t){const e={a:"a",h1:"h1",p:"p",...(0,n.a)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e.h1,{id:"contributing",children:"Contributing"}),"\n",(0,i.jsxs)(e.p,{children:["We welcome new issues, discussions, and PRs on our ",(0,i.jsx)(e.a,{href:"https://github.com/ShortestPathLab/posthoc-app",children:"GitHub repository"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Check out our roadmap ",(0,i.jsx)(e.a,{href:"https://github.com/orgs/path-visualiser/projects/2/views/2",children:"here"}),"."]})]})}function l(t={}){const{wrapper:e}={...(0,n.a)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(d,{...t})}):d(t)}},1151:(t,e,s)=>{s.d(e,{Z:()=>a,a:()=>o});var i=s(7294);const n={},r=i.createContext(n);function o(t){const e=i.useContext(r);return i.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function a(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(n):t.components||n:o(t.components),i.createElement(r.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/eae09382.d2ea1da4.js b/assets/js/eae09382.d2ea1da4.js deleted file mode 100644 index 4f5df91..0000000 --- a/assets/js/eae09382.d2ea1da4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[4857],{1299:(t,e,s)=>{s.r(e),s.d(e,{assets:()=>a,contentTitle:()=>o,default:()=>l,frontMatter:()=>n,metadata:()=>c,toc:()=>u});var i=s(5893),r=s(1151);const n={sidebar_position:4},o="Contributing",c={id:"visualiser/contributing",title:"Contributing",description:"We welcome new issues, discussions, and PRs on our GitHub repository.",source:"@site/docs/3-visualiser/contributing.md",sourceDirName:"3-visualiser",slug:"/visualiser/contributing",permalink:"/docs/visualiser/contributing",draft:!1,unlisted:!1,editUrl:"https://github.com/ShortestPathLab/posthoc/tree/master/docs/3-visualiser/contributing.md",tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Pixel renderer",permalink:"/docs/visualiser/pixel-renderer"},next:{title:"Visualiser Adapter Protocol \u26a0\ufe0f",permalink:"/docs/visualiser-adapter-protocol"}},a={},u=[];function d(t){const e={a:"a",h1:"h1",p:"p",...(0,r.a)(),...t.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e.h1,{id:"contributing",children:"Contributing"}),"\n",(0,i.jsxs)(e.p,{children:["We welcome new issues, discussions, and PRs on our ",(0,i.jsx)(e.a,{href:"https://github.com/ShortestPathLab/posthoc-app",children:"GitHub repository"}),"."]}),"\n",(0,i.jsxs)(e.p,{children:["Check out our roadmap ",(0,i.jsx)(e.a,{href:"https://github.com/orgs/path-visualiser/projects/2/views/2",children:"here"}),"."]})]})}function l(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(d,{...t})}):d(t)}},1151:(t,e,s)=>{s.d(e,{Z:()=>c,a:()=>o});var i=s(7294);const r={},n=i.createContext(r);function o(t){const e=i.useContext(n);return i.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function c(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:o(t.components),i.createElement(n.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.035cd694.js b/assets/js/main.035cd694.js deleted file mode 100644 index e3f7e08..0000000 --- a/assets/js/main.035cd694.js +++ /dev/null @@ -1,75 +0,0 @@ -/*! For license information please see main.035cd694.js.LICENSE.txt */ -(self.webpackChunkdocs_2=self.webpackChunkdocs_2||[]).push([[179],{8417:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?c(w,--v):0,g--,10===b&&(g=1,m--),b}function _(){return b=v2||C(b)>3?"":" "}function R(e,t){for(;--t&&_()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return j(e,O()+(t<6&&32==E()&&32==_()))}function N(e){for(;_();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&N(b);break;case 40:41===e&&N(e);break;case 92:_()}return v}function L(e,t){for(;_()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+j(t,v-1)+"*"+i(47===e?e:_())}function D(e){for(;!C(E());)_();return j(e,v)}var F="-ms-",M="-moz-",B="-webkit-",z="comm",Z="rule",$="decl",U="@keyframes";function q(e,t){for(var n="",r=p(e),o=0;o0&&d(M)-y&&h(b>32?K(M+";",r,n,y-1):K(s(M," ","")+";",r,n,y-2),p);break;case 59:M+=";";default:if(h(F=Q(M,t,n,m,g,o,f,P,A=[],N=[],y),a),123===C)if(0===g)V(M,t,F,F,A,a,y,f,N);else switch(99===v&&110===c(M,3)?100:v){case 100:case 108:case 109:case 115:V(e,F,F,r&&h(Q(e,F,F,0,0,o,f,P,o,A=[],y),N),o,N,y,f,r?A:N);break;default:V(M,F,F,F,[""],N,0,f,N)}}m=g=b=0,x=j=1,P=M="",y=l;break;case 58:y=1+d(M),b=w;default:if(x<1)if(123==C)--x;else if(125==C&&0==x++&&125==S())continue;switch(M+=i(C),C*x){case 38:j=g>0?1:(M+="\f",-1);break;case 44:f[m++]=(d(M)-1)*j,j=1;break;case 64:45===E()&&(M+=T(_())),v=E(),g=y=d(P=M+=D(O())),C++;break;case 45:45===w&&2==d(M)&&(x=0)}}return a}function Q(e,t,n,r,i,a,u,c,d,h,m){for(var g=i-1,y=0===i?a:[""],v=p(y),b=0,w=0,k=0;b0?y[S]+" "+_:s(_,/&\f/g,y[S])))&&(d[k++]=E);return x(e,t,n,0===i?Z:c,d,h,m)}function G(e,t,n){return x(e,t,n,z,i(b),f(e,2,-2),0)}function K(e,t,n,r){return x(e,t,n,$,f(e,0,r),f(e,r+1,-1),r)}var Y=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!C(o);)_();return j(e,v)},X=function(e,t){return A(function(e,t){var n=-1,r=44;do{switch(C(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Y(v-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=_());return e}(P(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=X(t,o),a=n.props,l=0,s=0;l6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+M+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,d(e)-3-(~u(e,"!important")&&10))){case 107:return s(e,":",":"+B)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===c(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return B+e+F+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+F+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+F+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+F+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case $:e.return=ne(e.value,e.length);break;case U:return q([k(e,{value:s(e.value,"@","@"+B)})],r);case Z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([k(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([k(e,{props:[s(t,/:(plac\w+)/,":"+B+"input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,F+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,l={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:()=>r})},6498:(e,t,n)=>{"use strict";n.d(t,{C:()=>l,T:()=>u,i:()=>i,w:()=>s});var r=n(7294),o=n(8417),i=(n(8137),n(7278),!0),a=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);var l=a.Provider,s=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(s=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var u=r.createContext({})},917:(e,t,n)=>{"use strict";n.d(t,{F4:()=>c,iv:()=>u,xB:()=>s});var r=n(6498),o=n(7294),i=n(444),a=n(7278),l=n(8137),s=(n(8417),n(8679),(0,r.w)((function(e,t){var n=e.styles,s=(0,l.O)([n],void 0,o.useContext(r.T));if(!r.i){for(var u,c=s.name,f=s.styles,d=s.next;void 0!==d;)c+=" "+d.name,f+=d.styles,d=d.next;var p=!0===t.compat,h=t.insert("",{name:c,styles:f},t.sheet,p);return p?null:o.createElement("style",((u={})["data-emotion"]=t.key+"-global "+c,u.dangerouslySetInnerHTML={__html:h},u.nonce=t.sheet.nonce,u))}var m=o.useRef();return(0,a.j)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+s.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}}),[t]),(0,a.j)((function(){var e=m.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==s.next&&(0,i.My)(t,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",s,n,!1)}}),[t,s.name]),null})));function u(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{O:()=>h});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(5042),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.Z)((function(e){return l(e)?e:e.replace(i,"-$&").toLowerCase()})),c=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return d={name:t,styles:n,next:d},t}))}return 1===r[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return d={name:n.name,styles:n.styles,next:d},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)d={name:r.name,styles:r.styles,next:d},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:d}}},7278:(e,t,n)=>{"use strict";var r;n.d(t,{L:()=>a,j:()=>l});var o=n(7294),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},444:(e,t,n)=>{"use strict";n.d(t,{My:()=>i,fp:()=>r,hC:()=>o});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},8523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(8169),o=n(5893);const i=(0,r.Z)((0,o.jsx)("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkModeOutlined")},9445:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(8169),o=n(5893);const i=(0,r.Z)((0,o.jsx)("path",{d:"M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightModeOutlined")},5616:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(7462),o=n(3366),i=n(7294),a=n(828),l=n(3390),s=n(6523),u=n(9707),c=n(6682),f=n(5893);const d=["className","component"];var p=n(1983),h=n(1229),m=n(606);const g=(0,n(1977).Z)("MuiBox",["root"]),y=(0,h.Z)(),v=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:p="MuiBox-root",generateClassName:h}=e,m=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(s.Z);return i.forwardRef((function(e,i){const l=(0,c.Z)(n),s=(0,u.Z)(e),{className:g,component:y="div"}=s,v=(0,o.Z)(s,d);return(0,f.jsx)(m,(0,r.Z)({as:y,ref:i,className:(0,a.Z)(g,h?h(p):p),theme:t&&l[t]||l},v))}))}({themeId:m.Z,defaultTheme:y,defaultClassName:g.root,generateClassName:p.Z.generate}),b=v},2213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>W});var r=n(7462),o=n(3366),i=n(7294),a=n(3961),l=n(8510),s=n(948),u=n(1657),c=n(1705),f=n(4895);const d=function(e){const t=i.useRef(e);return(0,f.Z)((()=>{t.current=e})),i.useRef(((...e)=>(0,t.current)(...e))).current};var p=n(9632);var h=n(5068),m=n(220);function g(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function y(e,t,n){return null!=n[t]?n[t]:e.props[t]}function v(e,t,n){var r=g(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r{if(!u&&null!=c){const e=setTimeout(c,f);return()=>{clearTimeout(e)}}}),[c,u,f]),(0,_.jsx)("span",{className:h,style:m,children:(0,_.jsx)("span",{className:g})})};var O=n(1977);const j=(0,O.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),C=["center","classes","className"];let P,A,T,I,R=e=>e;const N=(0,k.F4)(P||(P=R` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),L=(0,k.F4)(A||(A=R` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),D=(0,k.F4)(T||(T=R` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),F=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),M=(0,s.ZP)(E,{name:"MuiTouchRipple",slot:"Ripple"})(I||(I=R` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),j.rippleVisible,N,550,(({theme:e})=>e.transitions.easing.easeInOut),j.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),j.child,j.childLeaving,L,550,(({theme:e})=>e.transitions.easing.easeInOut),j.childPulsate,D,(({theme:e})=>e.transitions.easing.easeInOut)),B=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTouchRipple"}),{center:l=!1,classes:s={},className:c}=n,f=(0,o.Z)(n,C),[d,p]=i.useState([]),h=i.useRef(0),m=i.useRef(null);i.useEffect((()=>{m.current&&(m.current(),m.current=null)}),[d]);const g=i.useRef(!1),y=(0,S.Z)(),v=i.useRef(null),b=i.useRef(null),w=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;p((e=>[...e,(0,_.jsx)(M,{classes:{ripple:(0,a.Z)(s.ripple,j.ripple),rippleVisible:(0,a.Z)(s.rippleVisible,j.rippleVisible),ripplePulsate:(0,a.Z)(s.ripplePulsate,j.ripplePulsate),child:(0,a.Z)(s.child,j.child),childLeaving:(0,a.Z)(s.childLeaving,j.childLeaving),childPulsate:(0,a.Z)(s.childPulsate,j.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])),h.current+=1,m.current=i}),[s]),k=i.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:o=l||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&g.current)return void(g.current=!1);"touchstart"===(null==e?void 0:e.type)&&(g.current=!0);const a=i?null:b.current,s=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,f;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(o)f=Math.sqrt((2*s.width**2+s.height**2)/3),f%2==0&&(f+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-c),c)+2;f=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===v.current&&(v.current=()=>{w({pulsate:r,rippleX:u,rippleY:c,rippleSize:f,cb:n})},y.start(80,(()=>{v.current&&(v.current(),v.current=null)}))):w({pulsate:r,rippleX:u,rippleY:c,rippleSize:f,cb:n})}),[l,w,y]),E=i.useCallback((()=>{k({},{pulsate:!0})}),[k]),O=i.useCallback(((e,t)=>{if(y.clear(),"touchend"===(null==e?void 0:e.type)&&v.current)return v.current(),v.current=null,void y.start(0,(()=>{O(e,t)}));v.current=null,p((e=>e.length>0?e.slice(1):e)),m.current=t}),[y]);return i.useImperativeHandle(t,(()=>({pulsate:E,start:k,stop:O})),[E,k,O]),(0,_.jsx)(F,(0,r.Z)({className:(0,a.Z)(j.root,s.root,c),ref:b},f,{children:(0,_.jsx)(x,{component:null,exit:!0,children:d})}))}));var z=n(3339);function Z(e){return(0,z.ZP)("MuiButtonBase",e)}const $=(0,O.Z)("MuiButtonBase",["root","disabled","focusVisible"]),U=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],q=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),W=i.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:f=!1,children:h,className:m,component:g="button",disabled:y=!1,disableRipple:v=!1,disableTouchRipple:b=!1,focusRipple:w=!1,LinkComponent:x="a",onBlur:k,onClick:S,onContextMenu:E,onDragLeave:O,onFocus:j,onFocusVisible:C,onKeyDown:P,onKeyUp:A,onMouseDown:T,onMouseLeave:I,onMouseUp:R,onTouchEnd:N,onTouchMove:L,onTouchStart:D,tabIndex:F=0,TouchRippleProps:M,touchRippleRef:z,type:$}=n,W=(0,o.Z)(n,U),H=i.useRef(null),V=i.useRef(null),Q=(0,c.Z)(V,z),{isFocusVisibleRef:G,onFocus:K,onBlur:Y,ref:X}=(0,p.Z)(),[J,ee]=i.useState(!1);y&&J&&ee(!1),i.useImperativeHandle(s,(()=>({focusVisible:()=>{ee(!0),H.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const re=te&&!v&&!y;function oe(e,t,n=b){return d((r=>{t&&t(r);return!n&&V.current&&V.current[e](r),!0}))}i.useEffect((()=>{J&&w&&!v&&te&&V.current.pulsate()}),[v,w,J,te]);const ie=oe("start",T),ae=oe("stop",E),le=oe("stop",O),se=oe("stop",R),ue=oe("stop",(e=>{J&&e.preventDefault(),I&&I(e)})),ce=oe("start",D),fe=oe("stop",N),de=oe("stop",L),pe=oe("stop",(e=>{Y(e),!1===G.current&&ee(!1),k&&k(e)}),!1),he=d((e=>{H.current||(H.current=e.currentTarget),K(e),!0===G.current&&(ee(!0),C&&C(e)),j&&j(e)})),me=()=>{const e=H.current;return g&&"button"!==g&&!("A"===e.tagName&&e.href)},ge=i.useRef(!1),ye=d((e=>{w&&!ge.current&&J&&V.current&&" "===e.key&&(ge.current=!0,V.current.stop(e,(()=>{V.current.start(e)}))),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!y&&(e.preventDefault(),S&&S(e))})),ve=d((e=>{w&&" "===e.key&&V.current&&J&&!e.defaultPrevented&&(ge.current=!1,V.current.stop(e,(()=>{V.current.pulsate(e)}))),A&&A(e),S&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&S(e)}));let be=g;"button"===be&&(W.href||W.to)&&(be=x);const we={};"button"===be?(we.type=void 0===$?"button":$,we.disabled=y):(W.href||W.to||(we.role="button"),y&&(we["aria-disabled"]=y));const xe=(0,c.Z)(t,X,H);const ke=(0,r.Z)({},n,{centerRipple:f,component:g,disabled:y,disableRipple:v,disableTouchRipple:b,focusRipple:w,tabIndex:F,focusVisible:J}),Se=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,l.Z)(i,Z,o);return n&&r&&(a.root+=` ${r}`),a})(ke);return(0,_.jsxs)(q,(0,r.Z)({as:be,className:(0,a.Z)(Se.root,m),ownerState:ke,onBlur:pe,onClick:S,onContextMenu:ae,onFocus:he,onKeyDown:ye,onKeyUp:ve,onMouseDown:ie,onMouseLeave:ue,onMouseUp:se,onDragLeave:le,onTouchEnd:fe,onTouchMove:de,onTouchStart:ce,ref:xe,tabIndex:y?-1:F,type:$},we,W,{children:[h,re?(0,_.jsx)(B,(0,r.Z)({ref:Q,center:f},M)):null]}))}))},3946:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(3366),o=n(7462),i=n(7294),a=n(3961),l=n(8510),s=n(2101),u=n(948),c=n(1657),f=n(2213),d=n(8216),p=n(1977),h=n(3339);function m(e){return(0,h.ZP)("MuiIconButton",e)}const g=(0,p.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var y=n(5893);const v=["edge","children","className","color","disabled","disableFocusRipple","size"],b=(0,u.ZP)(f.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,d.Z)(n.color)}`],n.edge&&t[`edge${(0,d.Z)(n.edge)}`],t[`size${(0,d.Z)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,o.Z)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,o.Z)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,o.Z)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${g.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),w=i.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:s,className:u,color:f="default",disabled:p=!1,disableFocusRipple:h=!1,size:g="medium"}=n,w=(0,r.Z)(n,v),x=(0,o.Z)({},n,{edge:i,color:f,disabled:p,disableFocusRipple:h,size:g}),k=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&`color${(0,d.Z)(r)}`,o&&`edge${(0,d.Z)(o)}`,`size${(0,d.Z)(i)}`]};return(0,l.Z)(a,m,t)})(x);return(0,y.jsx)(b,(0,o.Z)({className:(0,a.Z)(k.root,u),centerRipple:!0,focusRipple:!h,disabled:p,ref:t},w,{ownerState:x,children:s}))}))},6949:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},6115:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={black:"#000",white:"#fff"}},3486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},7036:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},5621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},5137:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},4518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},265:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},1229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>B});var r=n(7462),o=n(3366),i=n(8758),a=n(8027),l=n(4920),s=n(6523),u=n(7172);var c=n(2101),f=n(6115),d=n(7036),p=n(4518),h=n(265),m=n(5137),g=n(6949),y=n(5621),v=n(3486);const b=["mode","contrastThreshold","tonalOffset"],w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.Z.white,default:f.Z.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.Z.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:f.Z.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function k(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,c.$n)(e.main,o):"dark"===t&&(e.dark=(0,c._j)(e.main,i)))}function S(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:l=.2}=e,s=(0,o.Z)(e,b),u=e.primary||function(e="light"){return"dark"===e?{main:g.Z[200],light:g.Z[50],dark:g.Z[400]}:{main:g.Z[700],light:g.Z[400],dark:g.Z[800]}}(t),S=e.secondary||function(e="light"){return"dark"===e?{main:p.Z[200],light:p.Z[50],dark:p.Z[400]}:{main:p.Z[500],light:p.Z[300],dark:p.Z[700]}}(t),_=e.error||function(e="light"){return"dark"===e?{main:h.Z[500],light:h.Z[300],dark:h.Z[700]}:{main:h.Z[700],light:h.Z[400],dark:h.Z[800]}}(t),E=e.info||function(e="light"){return"dark"===e?{main:y.Z[400],light:y.Z[300],dark:y.Z[700]}:{main:y.Z[700],light:y.Z[500],dark:y.Z[900]}}(t),O=e.success||function(e="light"){return"dark"===e?{main:v.Z[400],light:v.Z[300],dark:v.Z[700]}:{main:v.Z[800],light:v.Z[500],dark:v.Z[900]}}(t),j=e.warning||function(e="light"){return"dark"===e?{main:m.Z[400],light:m.Z[300],dark:m.Z[700]}:{main:"#ed6c02",light:m.Z[500],dark:m.Z[900]}}(t);function C(e){return(0,c.mi)(e,x.text.primary)>=n?x.text.primary:w.text.primary}const P=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,i.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,i.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return k(e,"light",o,l),k(e,"dark",a,l),e.contrastText||(e.contrastText=C(e.main)),e},A={dark:x,light:w};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},f.Z),mode:t,primary:P({color:u,name:"primary"}),secondary:P({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:_,name:"error"}),warning:P({color:j,name:"warning"}),info:P({color:E,name:"info"}),success:P({color:O,name:"success"}),grey:d.Z,contrastThreshold:n,getContrastText:C,augmentColor:P,tonalOffset:l},A[t]),s)}const _=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},O='"Roboto", "Helvetica", "Arial", sans-serif';function j(e,t){const n="function"==typeof t?t(e):t,{fontFamily:i=O,fontSize:l=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:d=16,allVariants:p,pxToRem:h}=n,m=(0,o.Z)(n,_);const g=l/14,y=h||(e=>e/d*g+"rem"),v=(e,t,n,o,a)=>{return(0,r.Z)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:n},i===O?{letterSpacing:(l=o/t,Math.round(1e5*l)/1e5)+"em"}:{},a,p);var l},b={h1:v(s,96,1.167,-1.5),h2:v(s,60,1.2,-.5),h3:v(u,48,1.167,0),h4:v(u,34,1.235,.25),h5:v(u,24,1.334,0),h6:v(c,20,1.6,.15),subtitle1:v(u,16,1.75,.15),subtitle2:v(c,14,1.57,.1),body1:v(u,16,1.5,.15),body2:v(u,14,1.43,.15),button:v(c,14,1.75,.4,E),caption:v(u,12,1.66,.4),overline:v(u,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:d,pxToRem:y,fontFamily:i,fontSize:l,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:c,fontWeightBold:f},b),m,{clone:!1})}function C(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const P=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],A=["duration","easing","delay"],T={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},I={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function R(e){return`${Math.round(e)}ms`}function N(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function L(e){const t=(0,r.Z)({},T,e.easing),n=(0,r.Z)({},I,e.duration);return(0,r.Z)({getAutoHeightDuration:N,create:(e=["all"],r={})=>{const{duration:i=n.standard,easing:a=t.easeInOut,delay:l=0}=r;(0,o.Z)(r,A);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof i?i:R(i)} ${a} ${"string"==typeof l?l:R(l)}`)).join(",")}},e,{easing:t,duration:n})}const D={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},F=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function M(e={},...t){const{mixins:n={},palette:c={},transitions:f={},typography:d={}}=e,p=(0,o.Z)(e,F);if(e.vars)throw new Error((0,i.Z)(18));const h=S(c),m=(0,u.Z)(e);let g=(0,a.Z)(m,{mixins:(y=m.breakpoints,v=n,(0,r.Z)({toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}}},v)),palette:h,shadows:P.slice(),typography:j(h,d),transitions:L(f),zIndex:(0,r.Z)({},D)});var y,v;return g=(0,a.Z)(g,p),g=t.reduce(((e,t)=>(0,a.Z)(e,t)),g),g.unstable_sxConfig=(0,r.Z)({},l.Z,null==p?void 0:p.unstable_sxConfig),g.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},g}const B=M},247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(1229).Z)()},606:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r="$$material"},6206:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},o=e=>r(e)&&"classes"!==e},948:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l});var r=n(8128),o=n(247),i=n(606),a=n(6206);const l=(0,r.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a.Z})},1657:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9628),o=n(247),i=n(606);function a({props:e,name:t}){return(0,r.Z)({props:e,name:t,defaultTheme:o.Z,themeId:i.Z})}},8216:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(2908).Z},8169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(7462),o=n(7294),i=n(3366),a=n(3961),l=n(8510),s=n(8216),u=n(1657),c=n(948),f=n(1977),d=n(3339);function p(e){return(0,d.ZP)("MuiSvgIcon",e)}(0,f.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(5893);const m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,s.Z)(n.color)}`],t[`fontSize${(0,s.Z)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,u,c,f,d,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(f=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?f:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}})),y=o.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiSvgIcon"}),{children:c,className:f,color:d="inherit",component:y="svg",fontSize:v="medium",htmlColor:b,inheritViewBox:w=!1,titleAccess:x,viewBox:k="0 0 24 24"}=n,S=(0,i.Z)(n,m),_=o.isValidElement(c)&&"svg"===c.type,E=(0,r.Z)({},n,{color:d,component:y,fontSize:v,instanceFontSize:e.fontSize,inheritViewBox:w,viewBox:k,hasSvgAsChild:_}),O={};w||(O.viewBox=k);const j=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,s.Z)(t)}`,`fontSize${(0,s.Z)(n)}`]};return(0,l.Z)(o,p,r)})(E);return(0,h.jsxs)(g,(0,r.Z)({as:y,className:(0,a.Z)(j.root,f),focusable:"false",color:b,"aria-hidden":!x||void 0,role:x?"img":void 0,ref:t},O,S,_&&c.props,{ownerState:E,children:[_?c.props.children:c,x?(0,h.jsx)("title",{children:x}):null]}))}));y.muiName="SvgIcon";const v=y;function b(e,t){function n(n,o){return(0,h.jsx)(v,(0,r.Z)({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=v.muiName,o.memo(o.forwardRef(n))}},1705:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(8719).Z},9632:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),o=n(9192);let i=!0,a=!1;const l=new o.V,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!s[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}const p=function(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",f,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,l.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},1234:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);var r=n(917),o=n(5893);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.xB,{styles:i})}},3390:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>S.Z,StyledEngineProvider:()=>k,ThemeContext:()=>s.T,css:()=>v.iv,default:()=>_,internal_processStyles:()=>E,keyframes:()=>v.F4});var r=n(7462),o=n(7294),i=n(5042),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=n(6498),u=n(444),c=n(8137),f=n(7278),d=l,p=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:p},m=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},g=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,f.L)((function(){return(0,u.My)(t,n,r)})),null},y=function e(t,n){var i,a,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var d=m(t,n,l),p=d||h(f),y=!p("as");return function(){var v=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{0,b.push(v[0][0]);for(var w=v.length,x=1;x{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},2101:(e,t,n)=>{"use strict";var r=n(4836);t.Fq=p,t._j=h,t.mi=function(e,t){const n=d(e),r=d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=m;var o=r(n(743)),i=r(n(7859));function a(e,t=0,n=1){return(0,i.default)(e,t,n)}function l(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(l(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.default)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,o.default)(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}const u=e=>{const t=s(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function c(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function f(e){e=s(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",u.push(t[3])),c({type:l,values:u})}function d(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(f(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=s(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,c(e)}function h(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return c(e)}function m(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return c(e)}function g(e,t=.15){return d(e)>.5?h(e,t):m(e,t)}},8128:(e,t,n)=>{"use strict";var r=n(4836);t.ZP=function(e={}){const{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:s=h}=e,c=e=>(0,u.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:n,themeId:t}))}));return c.__mui_systemSx=!0,(e,u={})=>{(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:f,slot:p,skipVariantsResolver:m,skipSx:w,overridesResolver:x=v(g(p))}=u,k=(0,i.default)(u,d),S=void 0!==m?m:p&&"Root"!==p&&"root"!==p||!1,_=w||!1;let E=h;"Root"===p||"root"===p?E=r:p?E=s:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(E=void 0);const O=(0,a.default)(e,(0,o.default)({shouldForwardProp:E,label:undefined},k)),j=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.isPlainObject)(e)?r=>b(e,(0,o.default)({},r,{theme:y({theme:r.theme,defaultTheme:n,themeId:t})})):e,C=(r,...i)=>{let a=j(r);const l=i?i.map(j):[];f&&x&&l.push((e=>{const r=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[f]||!r.components[f].styleOverrides)return null;const i=r.components[f].styleOverrides,a={};return Object.entries(i).forEach((([t,n])=>{a[t]=b(n,(0,o.default)({},e,{theme:r}))})),x(e,a)})),f&&!S&&l.push((e=>{var r;const i=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));return b({variants:null==i||null==(r=i.components)||null==(r=r[f])?void 0:r.variants},(0,o.default)({},e,{theme:i}))})),_||l.push(c);const s=l.length-i.length;if(Array.isArray(r)&&s>0){const e=new Array(s).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const u=O(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return O.withConfig&&(C.withConfig=O.withConfig),C}};var o=r(n(434)),i=r(n(7071)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},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(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(3390)),l=n(211),s=(r(n(9698)),r(n(7889)),r(n(9926))),u=r(n(386));const c=["ownerState"],f=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,s.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function v(e){return e?(t,n)=>n[e]:null}function b(e,t){let{ownerState:n}=t,r=(0,i.default)(t,c);const a="function"==typeof e?e((0,o.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap((e=>b(e,(0,o.default)({ownerState:n},r))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,f);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:n},r,n)):e.style))})),t}return a}},5408:(e,t,n)=>{"use strict";n.d(t,{L7:()=>s,P$:()=>c,VO:()=>o,W8:()=>l,dt:()=>u,k9:()=>a});var r=n(8027);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||i;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||i;return Object.keys(t).reduce(((r,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){r[e.up(i)]=n(t[i],i)}else{const e=i;r[e]=t[e]}return r}),{})}return n(t)}function l(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function s(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function u(e,...t){const n=l(e),o=[n,...t].reduce(((e,t)=>(0,r.Z)(e,t)),{});return s(Object.keys(n),o)}function c({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}},1796:(e,t,n)=>{"use strict";n.d(t,{Fq:()=>s});var r=n(8758),o=n(2358);function i(e,t=0,n=1){return(0,o.Z)(e,t,n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function s(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}},7064:(e,t,n)=>{"use strict";function r(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){return{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return n.palette.mode===e?t:{}}n.d(t,{Z:()=>r})},1512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(3366),o=n(7462);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.Z)({},e,{[t.key]:t.val})),{})};function l(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=e,s=(0,r.Z)(e,i),u=a(t),c=Object.keys(u);function f(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-l/100}${n})`}function p(e,r){const o=c.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[c[o]]?t[c[o]]:r)-l/100}${n})`}return(0,o.Z)({keys:c,values:u,up:f,down:d,between:p,only:function(e){return c.indexOf(e)+1{"use strict";n.d(t,{Z:()=>p});var r=n(7462),o=n(3366),i=n(8027),a=n(1512);const l={borderRadius:4};var s=n(8700);var u=n(6523),c=n(4920),f=n(7064);const d=["breakpoints","palette","spacing","shape"];const p=function(e={},...t){const{breakpoints:n={},palette:p={},spacing:h,shape:m={}}=e,g=(0,o.Z)(e,d),y=(0,a.Z)(n),v=function(e=8){if(e.mui)return e;const t=(0,s.hB)({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(h);let b=(0,i.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},p),spacing:v,shape:(0,r.Z)({},l,m)},g);return b.applyStyles=f.Z,b=t.reduce(((e,t)=>(0,i.Z)(e,t)),b),b.unstable_sxConfig=(0,r.Z)({},c.Z,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,u.Z)({sx:e,theme:this})},b}},9926:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z,private_createBreakpoints:()=>o.Z,unstable_applyStyles:()=>i.Z});var r=n(7172),o=n(1512),i=n(7064)},7730:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8027);const o=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},8700:(e,t,n)=>{"use strict";n.d(t,{hB:()=>h,eI:()=>p,NA:()=>m,e6:()=>v,o3:()=>b});var r=n(5408),o=n(4844),i=n(7730);const a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}const[t,n]=e.split(""),r=a[t],o=l[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...c,...f];function p(e,t,n,r){var i;const a=null!=(i=(0,o.DW)(e,t,!1))?i:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function h(e){return p(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=m(t,n),e)),{})}(u(n),o),a=e[n];return(0,r.k9)(e,a,i)}function y(e,t){const n=h(e.theme);return Object.keys(e).map((r=>g(e,t,r,n))).reduce(i.Z,{})}function v(e){return y(e,c)}function b(e){return y(e,f)}function w(e){return y(e,d)}v.propTypes={},v.filterProps=c,b.propTypes={},b.filterProps=f,w.propTypes={},w.filterProps=d},4844:(e,t,n)=>{"use strict";n.d(t,{DW:()=>i,Jq:()=>a,ZP:()=>l});var r=n(2908),o=n(5408);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}const l=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;const u=e[t],c=i(e.theme,l)||{};return(0,o.k9)(e,u,(e=>{let o=a(c,s,e);return e===o&&"string"==typeof e&&(o=a(c,s,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n?o:{[n]:o}}))};return u.propTypes={},u.filterProps=[t],u}},4920:(e,t,n)=>{"use strict";n.d(t,{Z:()=>N});var r=n(8700),o=n(4844),i=n(7730);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,i.Z)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var l=n(5408);function s(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}const c=u("border",s),f=u("borderTop",s),d=u("borderRight",s),p=u("borderBottom",s),h=u("borderLeft",s),m=u("borderColor"),g=u("borderTopColor"),y=u("borderRightColor"),v=u("borderBottomColor"),b=u("borderLeftColor"),w=u("outline",s),x=u("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r.NA)(t,e)});return(0,l.k9)(e,e.borderRadius,n)}return null};k.propTypes={},k.filterProps=["borderRadius"];a(c,f,d,p,h,m,g,y,v,b,k,w,x);const S=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.eI)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r.NA)(t,e)});return(0,l.k9)(e,e.gap,n)}return null};S.propTypes={},S.filterProps=["gap"];const _=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.eI)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r.NA)(t,e)});return(0,l.k9)(e,e.columnGap,n)}return null};_.propTypes={},_.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.eI)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r.NA)(t,e)});return(0,l.k9)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];a(S,_,E,(0,o.ZP)({prop:"gridColumn"}),(0,o.ZP)({prop:"gridRow"}),(0,o.ZP)({prop:"gridAutoFlow"}),(0,o.ZP)({prop:"gridAutoColumns"}),(0,o.ZP)({prop:"gridAutoRows"}),(0,o.ZP)({prop:"gridTemplateColumns"}),(0,o.ZP)({prop:"gridTemplateRows"}),(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));function O(e,t){return"grey"===t?t:e}a((0,o.ZP)({prop:"color",themeKey:"palette",transform:O}),(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:O}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:O}));function j(e){return e<=1&&0!==e?100*e+"%":e}const C=(0,o.ZP)({prop:"width",transform:j}),P=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||l.VO[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:j(t)}};return(0,l.k9)(e,e.maxWidth,t)}return null};P.filterProps=["maxWidth"];const A=(0,o.ZP)({prop:"minWidth",transform:j}),T=(0,o.ZP)({prop:"height",transform:j}),I=(0,o.ZP)({prop:"maxHeight",transform:j}),R=(0,o.ZP)({prop:"minHeight",transform:j}),N=((0,o.ZP)({prop:"size",cssProperty:"width",transform:j}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:j}),a(C,P,A,T,I,R,(0,o.ZP)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:O},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:O},backgroundColor:{themeKey:"palette",transform:O},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:S},rowGap:{style:E},columnGap:{style:_},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:P},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},9707:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7462),o=n(3366),i=n(8027),a=n(4920);const l=["sx"],s=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.Z;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function u(e){const{sx:t}=e,n=(0,o.Z)(e,l),{systemProps:a,otherProps:u}=s(n);let c;return c=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,i.P)(n)?(0,r.Z)({},a,n):a}:(0,r.Z)({},a,t),(0,r.Z)({},u,{sx:c})}},386:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z,extendSxProp:()=>o.Z,unstable_createStyleFunctionSx:()=>r.n,unstable_defaultSxConfig:()=>i.Z});var r=n(6523),o=n(9707),i=n(4920)},6523:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,n:()=>s});var r=n(2908),o=n(7730),i=n(4844),a=n(5408),l=n(4920);function s(){function e(e,t,n,o){const l={[e]:t,theme:n},s=o[e];if(!s)return{[e]:t};const{cssProperty:u=e,themeKey:c,transform:f,style:d}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};const p=(0,i.DW)(n,c)||{};if(d)return d(l);return(0,a.k9)(l,t,(t=>{let n=(0,i.Jq)(p,f,t);return t===n&&"string"==typeof t&&(n=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===u?n:{[u]:n}}))}return function t(n){var r;const{sx:i,theme:s={}}=n||{};if(!i)return null;const u=null!=(r=s.unstable_sxConfig)?r:l.Z;function c(n){let r=n;if("function"==typeof n)r=n(s);else if("object"!=typeof n)return n;if(!r)return null;const i=(0,a.W8)(s.breakpoints),l=Object.keys(i);let c=i;return Object.keys(r).forEach((n=>{const i=(l=r[n],f=s,"function"==typeof l?l(f):l);var l,f;if(null!=i)if("object"==typeof i)if(u[n])c=(0,o.Z)(c,e(n,i,s,u));else{const e=(0,a.k9)({theme:s},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?c=(0,o.Z)(c,e):c[n]=t({sx:i,theme:s})}else c=(0,o.Z)(c,e(n,i,s,u))})),(0,a.L7)(l,c)}return Array.isArray(i)?i.map(c):c(i)}}const u=s();u.filterProps=["sx"];const c=u},6682:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7172),o=n(4168);const i=(0,r.Z)();const a=function(e=i){return(0,o.Z)(e)}},539:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2236);function o(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}},9628:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(539),o=n(6682);function i({props:e,name:t,defaultTheme:n,themeId:i}){let a=(0,o.Z)(n);i&&(a=a[i]||a);return(0,r.Z)({theme:a,name:t,props:e})}},4168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(6498);const i=function(e=null){const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},1983:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},2908:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8758);function o(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},9698:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z});var r=n(2908)},2358:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},7859:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z});var r=n(2358)},8510:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:()=>r})},8027:(e,t,n)=>{"use strict";n.d(t,{P:()=>o,Z:()=>a});var r=n(7462);function o(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t,n={clone:!0}){const l=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},211:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z,isPlainObject:()=>r.P});var r=n(8027)},8758:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nr})},743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z});var r=n(8758)},3339:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});var r=n(1983);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.Z.generate(e)}-${t}`}},1977:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3339);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.ZP)(e,t,n)})),o}},7889:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,getFunctionName:()=>i});var r=n(217);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function l(e,t,n){const r=a(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function s(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return l(e,e.render,"ForwardRef");case r.Memo:return l(e,e.type,"memo");default:return}}}},7001:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case l:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case u:case f:case m:case h:case s:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=f,t.Memo=h},217:(e,t,n)=>{"use strict";e.exports=n(7001)},2236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7462);function o(e,t){const n=(0,r.Z)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},l),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},4895:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},8719:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);function o(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}},9192:(e,t,n)=>{"use strict";n.d(t,{V:()=>a,Z:()=>l});var r=n(7294);const o={};const i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function l(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},997:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});n(7294);var r=n(8356),o=n.n(r),i=n(6887);const a={"00a4425a":[()=>n.e(879).then(n.bind(n,528)),"@site/docs/3-visualiser/3-1-user-guide/interface.md",528],"01a85c17":[()=>Promise.all([n.e(532),n.e(4013)]).then(n.bind(n,2864)),"@theme/BlogTagsListPage",2864],"0294065e":[()=>n.e(7892).then(n.t.bind(n,3769,19)),"/home/runner/work/posthoc/posthoc/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"0af3a6e7":[()=>n.e(3756).then(n.bind(n,7670)),"@site/blog/2024-03-01-changelog/index.md?truncated=true",7670],"10eb6cfc":[()=>n.e(2006).then(n.bind(n,6564)),"@site/blog/2023-09-22-changelog/index.md",6564],"1137004f":[()=>n.e(5863).then(n.bind(n,4473)),"@site/docs/4-visualiser-adapter-protocol.md",4473],"1429b7e2":[()=>n.e(8756).then(n.t.bind(n,3181,19)),"~docs/default/category-docs-tutorialsidebar-category-user-guide-a78.json",3181],"14eb3368":[()=>Promise.all([n.e(532),n.e(9817)]).then(n.bind(n,853)),"@theme/DocCategoryGeneratedIndexPage",853],17896441:[()=>Promise.all([n.e(532),n.e(4885),n.e(7918)]).then(n.bind(n,2889)),"@theme/DocItem",2889],"1dec2e7b":[()=>n.e(1567).then(n.bind(n,3140)),"@site/docs/1-overview.md",3140],"1df93b7f":[()=>Promise.all([n.e(532),n.e(5168),n.e(9077),n.e(3237)]).then(n.bind(n,4158)),"@site/src/pages/index.tsx",4158],"2afafaf2":[()=>n.e(118).then(n.bind(n,3371)),"@site/blog/2024-05-08-changelog/index.md?truncated=true",3371],"337b83a3":[()=>n.e(1472).then(n.t.bind(n,9083,19)),"~blog/default/blog-tags-v-1-0-4-755.json",9083],"3550d18a":[()=>Promise.all([n.e(5168),n.e(8894)]).then(n.bind(n,7580)),"@site/docs/0-get-started.mdx",7580],"47a09aa0":[()=>n.e(1703).then(n.t.bind(n,446,19)),"~blog/default/blog-tags-v-1-2-0-655-list.json",446],"4cd738bd":[()=>n.e(8322).then(n.t.bind(n,4876,19)),"~docs/default/category-docs-tutorialsidebar-category-tutorials-d5c.json",4876],"51790bac":[()=>n.e(9699).then(n.t.bind(n,9745,19)),"~blog/default/blog-tags-v-1-0-4-755-list.json",9745],"5736f1a7":[()=>n.e(1311).then(n.bind(n,2836)),"@site/blog/2023-09-22-changelog/index.md?truncated=true",2836],"5e95c892":[()=>n.e(9661).then(n.bind(n,4942)),"@theme/DocsRoot",4942],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"65e6645a":[()=>Promise.all([n.e(532),n.e(9066)]).then(n.bind(n,8372)),"@site/docs/5-tutorials/single-agent-grid.mdx",8372],"676bd646":[()=>Promise.all([n.e(532),n.e(1165)]).then(n.bind(n,3378)),"@site/docs/5-tutorials/tile.mdx",3378],"6875c492":[()=>Promise.all([n.e(532),n.e(4885),n.e(864),n.e(8610)]).then(n.bind(n,4883)),"@theme/BlogTagsPostsPage",4883],"6b8f01e2":[()=>n.e(615).then(n.bind(n,9476)),"@site/blog/2024-03-01-changelog/index.md",9476],"785e7c5b":[()=>n.e(9529).then(n.bind(n,1070)),"@site/docs/3-visualiser/3-1-user-guide/extensions.md",1070],"78835da8":[()=>n.e(4573).then(n.t.bind(n,4469,19)),"/home/runner/work/posthoc/posthoc/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],"7cccdef3":[()=>n.e(8145).then(n.bind(n,7980)),"@site/docs/3-visualiser/pixel-renderer.md",7980],"814f3328":[()=>n.e(2535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"9be79d3b":[()=>n.e(8957).then(n.t.bind(n,9306,19)),"~blog/default/blog-tags-changelog-227-list.json",9306],"9c7a41f4":[()=>n.e(3480).then(n.bind(n,2211)),"@site/docs/3-visualiser/overview.md",2211],"9cde8b2f":[()=>n.e(9340).then(n.t.bind(n,7537,19)),"~docs/default/category-docs-tutorialsidebar-category-posthoc-visualiser-1e7.json",7537],"9e4087bc":[()=>n.e(3608).then(n.bind(n,8151)),"@theme/BlogArchivePage",8151],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(4885),n.e(864),n.e(3089)]).then(n.bind(n,9928)),"@theme/BlogListPage",9928],a7023ddc:[()=>n.e(1713).then(n.t.bind(n,3457,19)),"~blog/default/blog-tags-tags-4c2.json",3457],a77c6a7c:[()=>n.e(3882).then(n.t.bind(n,6263,19)),"~blog/default/blog-tags-v-1-2-4-9d7-list.json",6263],a7bd4aaa:[()=>n.e(8518).then(n.bind(n,604)),"@theme/DocVersionRoot",604],a94703ab:[()=>Promise.all([n.e(532),n.e(4368)]).then(n.bind(n,3699)),"@theme/DocRoot",3699],ae22bfdb:[()=>n.e(8337).then(n.bind(n,76)),"@site/blog/2024-05-08-changelog/index.md",76],b1f5133c:[()=>n.e(3620).then(n.bind(n,852)),"@site/docs/3-visualiser/3-1-user-guide/layers.md",852],b2b675dd:[()=>n.e(533).then(n.t.bind(n,8017,19)),"~blog/default/blog-c06.json",8017],b2f554cd:[()=>n.e(1477).then(n.t.bind(n,10,19)),"~blog/default/blog-archive-80c.json",10],ca6d0e57:[()=>n.e(6295).then(n.t.bind(n,5303,19)),"~blog/default/blog-tags-v-1-2-4-9d7.json",5303],ccc49370:[()=>Promise.all([n.e(532),n.e(4885),n.e(864),n.e(6103)]).then(n.bind(n,324)),"@theme/BlogPostPage",324],e4fc5673:[()=>n.e(223).then(n.t.bind(n,9377,19)),"~blog/default/blog-tags-v-1-2-0-655.json",9377],eae09382:[()=>n.e(4857).then(n.bind(n,1299)),"@site/docs/3-visualiser/contributing.md",1299],ef2725c4:[()=>n.e(6635).then(n.bind(n,957)),"@site/docs/2-search-trace.md",957],f9c0422f:[()=>n.e(6271).then(n.t.bind(n,8628,19)),"~blog/default/blog-tags-changelog-227.json",8628],fd2c304b:[()=>n.e(8712).then(n.t.bind(n,5745,19)),"/home/runner/work/posthoc/posthoc/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745]};var l=n(5893);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(5304),c=n(9656);function f(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e(868).then(n.bind(n,4336)),modules:["@theme/NotFound"],webpack:()=>[4336],render(e,t){const n=e.default;return(0,l.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=i[`${e}-${t}`],f={},d=[],p=[],h=(0,u.Z)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=a[n];r&&(f[t]=r[0],d.push(r[1]),p.push(r[2]))})),o().Map({loading:s,loader:f,modules:d,webpack:()=>p,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const i=r.default;if(!i)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof i&&"function"!=typeof i||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{i[e]=r[e]}));let a=o;const l=n.split(".");l.slice(0,-1).forEach((e=>{a=a[e]})),a[l[l.length-1]]=i}));const i=o.__comp;delete o.__comp;const a=o.__context;return delete o.__context,(0,l.jsx)(c.z,{value:a,children:(0,l.jsx)(i,{...o,...n})})}})}const d=[{path:"/blog",component:f("/blog","bb0"),exact:!0},{path:"/blog/1.0.4",component:f("/blog/1.0.4","af9"),exact:!0},{path:"/blog/1.2.0",component:f("/blog/1.2.0","728"),exact:!0},{path:"/blog/1.2.4",component:f("/blog/1.2.4","c23"),exact:!0},{path:"/blog/archive",component:f("/blog/archive","ee6"),exact:!0},{path:"/blog/tags",component:f("/blog/tags","fb4"),exact:!0},{path:"/blog/tags/changelog",component:f("/blog/tags/changelog","a27"),exact:!0},{path:"/blog/tags/v-1-0-4",component:f("/blog/tags/v-1-0-4","fad"),exact:!0},{path:"/blog/tags/v-1-2-0",component:f("/blog/tags/v-1-2-0","090"),exact:!0},{path:"/blog/tags/v-1-2-4",component:f("/blog/tags/v-1-2-4","ceb"),exact:!0},{path:"/docs",component:f("/docs","99a"),routes:[{path:"/docs",component:f("/docs","626"),routes:[{path:"/docs",component:f("/docs","1f8"),routes:[{path:"/docs/category/posthoc-visualiser",component:f("/docs/category/posthoc-visualiser","7e6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/category/tutorials",component:f("/docs/category/tutorials","f40"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/category/user-guide",component:f("/docs/category/user-guide","2a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/get-started",component:f("/docs/get-started","ae3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/overview",component:f("/docs/overview","285"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/search-trace",component:f("/docs/search-trace","4b0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/tutorials/single-agent-grid",component:f("/docs/tutorials/single-agent-grid","3f1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/tutorials/tile",component:f("/docs/tutorials/tile","515"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/visualiser-adapter-protocol",component:f("/docs/visualiser-adapter-protocol","c2a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/visualiser/3-1-user-guide/extensions",component:f("/docs/visualiser/3-1-user-guide/extensions","499"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/visualiser/3-1-user-guide/interface",component:f("/docs/visualiser/3-1-user-guide/interface","5a3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/visualiser/3-1-user-guide/layers",component:f("/docs/visualiser/3-1-user-guide/layers","22d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/visualiser/contributing",component:f("/docs/visualiser/contributing","0e8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/visualiser/overview",component:f("/docs/visualiser/overview","d58"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/visualiser/pixel-renderer",component:f("/docs/visualiser/pixel-renderer","50f"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/",component:f("/","384"),exact:!0},{path:"*",component:f("*")}]},5351:(e,t,n)=>{var r,o;!function(){var i,a,l,s,u,c,f,d,p,h,m,g,y,v,b,w,x,k,S,_,E,O,j,C,P,A,T,I,R,N,L=function(e){var t=new L.Builder;return t.pipeline.add(L.trimmer,L.stopWordFilter,L.stemmer),t.searchPipeline.add(L.stemmer),e.call(t,t),t.build()};L.version="2.3.9",L.utils={},L.utils.warn=(i=this,function(e){i.console&&console.warn&&console.warn(e)}),L.utils.asString=function(e){return null==e?"":e.toString()},L.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r0){var s=L.utils.clone(t)||{};s.position=[a,l],s.index=o.length,o.push(new L.Token(n.slice(a,i),s))}a=i+1}}return o},L.tokenizer.separator=/[\s\-]+/,L.Pipeline=function(){this._stack=[]},L.Pipeline.registeredFunctions=Object.create(null),L.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&L.utils.warn("Overwriting existing registered function: "+t),e.label=t,L.Pipeline.registeredFunctions[e.label]=e},L.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||L.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},L.Pipeline.load=function(e){var t=new L.Pipeline;return e.forEach((function(e){var n=L.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},L.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){L.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},L.Pipeline.prototype.after=function(e,t){L.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},L.Pipeline.prototype.before=function(e,t){L.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},L.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},L.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(ie&&(n=o),i!=e);)r=n-t,o=t+Math.floor(r/2),i=this.elements[2*o];return i==e||i>e?2*o:il?u+=2:a==l&&(t+=n[s+1]*r[u+1],s+=2,u+=2);return t},L.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},L.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t0){var i,a=o.str.charAt(0);a in o.node.edges?i=o.node.edges[a]:(i=new L.TokenSet,o.node.edges[a]=i),1==o.str.length&&(i.final=!0),r.push({node:i,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new L.TokenSet;o.node.edges["*"]=l}if(0==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new L.TokenSet;o.node.edges["*"]=s}1==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var u,c=o.str.charAt(0),f=o.str.charAt(1);f in o.node.edges?u=o.node.edges[f]:(u=new L.TokenSet,o.node.edges[f]=u),1==o.str.length&&(u.final=!0),r.push({node:u,editsRemaining:o.editsRemaining-1,str:c+o.str.slice(2)})}}}return n},L.TokenSet.fromString=function(e){for(var t=new L.TokenSet,n=t,r=0,o=e.length;r=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},L.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},L.Index.prototype.search=function(e){return this.query((function(t){new L.QueryParser(e,t).parse()}))},L.Index.prototype.query=function(e){for(var t=new L.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),i=Object.create(null),a=Object.create(null),l=0;l1?1:e},L.Builder.prototype.k1=function(e){this._k1=e},L.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o=this.length)return L.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},L.QueryLexer.prototype.width=function(){return this.pos-this.start},L.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},L.QueryLexer.prototype.backup=function(){this.pos-=1},L.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=L.QueryLexer.EOS&&this.backup()},L.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(L.QueryLexer.TERM)),e.ignore(),e.more())return L.QueryLexer.lexText},L.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(L.QueryLexer.EDIT_DISTANCE),L.QueryLexer.lexText},L.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(L.QueryLexer.BOOST),L.QueryLexer.lexText},L.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(L.QueryLexer.TERM)},L.QueryLexer.termSeparator=L.tokenizer.separator,L.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==L.QueryLexer.EOS)return L.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return L.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(L.QueryLexer.TERM),L.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(L.QueryLexer.TERM),L.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(L.QueryLexer.PRESENCE),L.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(L.QueryLexer.PRESENCE),L.QueryLexer.lexText;if(t.match(L.QueryLexer.termSeparator))return L.QueryLexer.lexTerm}else e.escapeCharacter()}},L.QueryParser=function(e,t){this.lexer=new L.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},L.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=L.QueryParser.parseClause;e;)e=e(this);return this.query},L.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},L.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},L.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},L.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case L.QueryLexer.PRESENCE:return L.QueryParser.parsePresence;case L.QueryLexer.FIELD:return L.QueryParser.parseField;case L.QueryLexer.TERM:return L.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new L.QueryParseError(n,t.start,t.end)}},L.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=L.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=L.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new L.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new L.QueryParseError(n,t.start,t.end)}switch(r.type){case L.QueryLexer.FIELD:return L.QueryParser.parseField;case L.QueryLexer.TERM:return L.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new L.QueryParseError(n,r.start,r.end)}}},L.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o){r="expecting term, found nothing";throw new L.QueryParseError(r,t.start,t.end)}if(o.type===L.QueryLexer.TERM)return L.QueryParser.parseTerm;r="expecting term, found '"+o.type+"'";throw new L.QueryParseError(r,o.start,o.end)}},L.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new L.QueryParseError(r,n.start,n.end)}else e.nextClause()}},L.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new L.QueryParseError(r,o.start,o.end)}else e.nextClause()}},L.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new L.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case L.QueryLexer.TERM:return e.nextClause(),L.QueryParser.parseTerm;case L.QueryLexer.FIELD:return e.nextClause(),L.QueryParser.parseField;case L.QueryLexer.EDIT_DISTANCE:return L.QueryParser.parseEditDistance;case L.QueryLexer.BOOST:return L.QueryParser.parseBoost;case L.QueryLexer.PRESENCE:return e.nextClause(),L.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new L.QueryParseError(r,o.start,o.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return L})?r.call(t,n,t,e):r)||(e.exports=o)}()},8121:(e,t,n)=>{"use strict";n.d(t,{_:()=>i,t:()=>a});var r=n(7294),o=n(5893);const i=r.createContext(!1);function a(e){let{children:t}=e;const[n,a]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{a(!0)}),[]),(0,o.jsx)(i.Provider,{value:n,children:t})}},4571:(e,t,n)=>{"use strict";var r=n(7294),o=n(745),i=n(3727),a=n(405),l=n(6136);const s=[n(984),n(2251),n(9957),n(6930)];var u=n(997),c=n(6550),f=n(8790),d=n(5387),p=n(1514),h=n(9962),m=n(9524),g=n(107),y=n(5463),v=n(626),b=n(8181),w=n(246),x=n(3905),k=n(3647),S=n(5893);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,h.Z)(),r=(0,v.l)(),o=n[e].htmlLang,i=e=>e.replace("-","_");return(0,S.jsxs)(p.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,S.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,S.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,S.jsx)("meta",{property:"og:locale",content:i(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,S.jsx)("meta",{property:"og:locale:alternate",content:i(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,h.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,m.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,S.jsxs)(p.Z,{children:[(0,S.jsx)("meta",{property:"og:url",content:o}),(0,S.jsx)("link",{rel:"canonical",href:o})]})}function O(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,g.L)();return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(p.Z,{children:[(0,S.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,S.jsx)("body",{className:b.h})]}),n&&(0,S.jsx)(y.d,{image:n}),(0,S.jsx)(E,{}),(0,S.jsx)(_,{}),(0,S.jsx)(k.Z,{tag:w.HX,locale:e}),(0,S.jsx)(p.Z,{children:t.map(((e,t)=>(0,S.jsx)("meta",{...e},t)))})]})}const j=new Map;function C(e){if(j.has(e.pathname))return{...e,pathname:j.get(e.pathname)};if((0,f.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return j.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,t),{...e,pathname:t}}var P=n(8121),A=n(694),T=n(1270);function I(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const R=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,T.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,i=t.search===n.search;if(r&&o&&!i)return;const{hash:a}=t;if(a){const e=decodeURIComponent(a.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),I("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function N(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,f.f)(u.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class L extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?I("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=I("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),N(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,S.jsx)(R,{previousLocation:this.previousLocation,location:t,children:(0,S.jsx)(c.AW,{location:t,render:()=>e})})}}const D=L,F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",B="__docusaurus-base-url-issue-banner-suggestion-container";function z(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var K=n(5304);const Y=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,f.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(Q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,K.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?G(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),N(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,S.jsx)(a.B6,{children:(0,S.jsx)(i.VK,{children:(0,S.jsx)(V,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{o.hydrateRoot(e,t,{onRecoverableError:n})}));else{const i=o.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{i.render(t)}))}};N(window.location.pathname).then(l)}},694:(e,t,n)=>{"use strict";n.d(t,{_:()=>f,M:()=>d});var r=n(7294),o=n(6809);const i=JSON.parse('{"@cmfcmf/docusaurus-search-local":{"default":{"titleBoost":5,"contentBoost":1,"tagsBoost":3,"parentCategoriesBoost":2,"indexDocSidebarParentCategories":0,"maxSearchResults":8}},"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"get-started","docs":[{"id":"get-started","path":"/docs/get-started","sidebar":"tutorialSidebar"},{"id":"overview","path":"/docs/overview","sidebar":"tutorialSidebar"},{"id":"search-trace","path":"/docs/search-trace","sidebar":"tutorialSidebar"},{"id":"tutorials/single-agent-grid","path":"/docs/tutorials/single-agent-grid","sidebar":"tutorialSidebar"},{"id":"tutorials/tile","path":"/docs/tutorials/tile","sidebar":"tutorialSidebar"},{"id":"visualiser-adapter-protocol","path":"/docs/visualiser-adapter-protocol","sidebar":"tutorialSidebar"},{"id":"visualiser/3-1-user-guide/extensions","path":"/docs/visualiser/3-1-user-guide/extensions","sidebar":"tutorialSidebar"},{"id":"visualiser/3-1-user-guide/interface","path":"/docs/visualiser/3-1-user-guide/interface","sidebar":"tutorialSidebar"},{"id":"visualiser/3-1-user-guide/layers","path":"/docs/visualiser/3-1-user-guide/layers","sidebar":"tutorialSidebar"},{"id":"visualiser/contributing","path":"/docs/visualiser/contributing","sidebar":"tutorialSidebar"},{"id":"visualiser/overview","path":"/docs/visualiser/overview","sidebar":"tutorialSidebar"},{"id":"visualiser/pixel-renderer","path":"/docs/visualiser/pixel-renderer","sidebar":"tutorialSidebar"},{"id":"/category/posthoc-visualiser","path":"/docs/category/posthoc-visualiser","sidebar":"tutorialSidebar"},{"id":"/category/user-guide","path":"/docs/category/user-guide","sidebar":"tutorialSidebar"},{"id":"/category/tutorials","path":"/docs/category/tutorials","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docs/get-started","label":"get-started"}}}}],"breadcrumbs":true}}}'),a=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.1.1","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.1"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.1.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.1"},"@cmfcmf/docusaurus-search-local":{"type":"package","name":"@cmfcmf/docusaurus-search-local","version":"1.1.0"}}}');var u=n(5893);const c={siteConfig:o.default,siteMetadata:s,globalData:i,i18n:a,codeTranslations:l},f=r.createContext(c);function d(e){let{children:t}=e;return(0,u.jsx)(f.Provider,{value:c,children:t})}},748:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);var r=n(1048),o=n(5893);function i(e){let{children:t,fallback:n}=e;return(0,r.Z)()?(0,o.jsx)(o.Fragment,{children:t?.()}):n??null}},3256:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),o=n(6136),i=n(1514),a=n(3905),l=n(856),s=n(5893);function u(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,s.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,s.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,s.jsx)(c,{error:t})]})}function c(e){let{error:t}=e;const n=(0,a.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function f(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)(p,{fallback:()=>(0,s.jsx)(u,{error:t,tryAgain:n}),children:[(0,s.jsx)(i.Z,{children:(0,s.jsx)("title",{children:"Page Error"})}),(0,s.jsx)(l.Z,{children:(0,s.jsx)(u,{error:t,tryAgain:n})})]})}const d=e=>(0,s.jsx)(f,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??d)(e)}return e??null}}},6136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},1514:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);var r=n(405),o=n(5893);function i(e){return(0,o.jsx)(r.ql,{...e})}},4791:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),o=n(3727),i=n(3905),a=n(9962),l=n(2735),s=n(6136),u=n(168),c=n(9524),f=n(5893);function d(e,t){let{isNavLink:n,to:d,href:p,activeClassName:h,isActive:m,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...v}=e;const{siteConfig:{trailingSlash:b,baseUrl:w}}=(0,a.Z)(),{withBaseUrl:x}=(0,c.C)(),k=(0,u.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const _=d||p;const E=(0,l.Z)(_),O=_?.replace("pathname://","");let j=void 0!==O?(C=O,y&&(e=>e.startsWith("/"))(C)?x(C):C):void 0;var C;j&&E&&(j=(0,i.applyTrailingSlash)(j,{trailingSlash:b,baseUrl:w}));const P=(0,r.useRef)(!1),A=n?o.OL:o.rU,T=s.Z.canUseIntersectionObserver,I=(0,r.useRef)(),R=()=>{P.current||null==j||(window.docusaurus.preload(j),P.current=!0)};(0,r.useEffect)((()=>(!T&&E&&null!=j&&window.docusaurus.prefetch(j),()=>{T&&I.current&&I.current.disconnect()})),[I,j,T,E]);const N=j?.startsWith("#")??!1,L=!v.target||"_self"===v.target,D=!j||!E||!L||N;return g||!N&&D||k.collectLink(j),v.id&&k.collectAnchor(v.id),D?(0,f.jsx)("a",{ref:S,href:j,..._&&!E&&{target:"_blank",rel:"noopener noreferrer"},...v}):(0,f.jsx)(A,{...v,onMouseEnter:R,onTouchStart:R,innerRef:e=>{S.current=e,T&&e&&E&&(I.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(I.current.unobserve(e),I.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),I.current.observe(e))},to:j,...n&&{isActive:m,activeClassName:h}})}const p=r.forwardRef(d)},7325:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,I:()=>s});var r=n(7294),o=n(5893);function i(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var a=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return a[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return i(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const a=l({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:i(a,r)})}},6875:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},2735:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>o,b:()=>r})},9524:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,Z:()=>l});var r=n(7294),o=n(9962),i=n(2735);function a(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:a=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,i.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return a?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=a();return n(e,t)}},168:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294);n(5893);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),i=()=>(0,r.useContext)(o);function a(){return i()}},9962:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(694);function i(){return(0,r.useContext)(o._)}},1610:(e,t,n)=>{"use strict";n.d(t,{OD:()=>i,eZ:()=>a});var r=n(9962),o=n(6875);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function a(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}},1048:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294),o=n(8121);function i(){return(0,r.useContext)(o._)}},1270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);const o=n(6136).Z.canUseDOM?r.useLayoutEffect:r.useEffect},5304:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[i,a]=n;const l=o?`${o}.${i}`:i;r(a)?e(a,l):t[l]=a}))}(e),t}},9656:(e,t,n)=>{"use strict";n.d(t,{_:()=>i,z:()=>a});var r=n(7294),o=n(5893);const i=r.createContext(null);function a(e){let{children:t,value:n}=e;const a=r.useContext(i),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:a,value:n})),[a,n]);return(0,o.jsx)(i.Provider,{value:l,children:t})}},868:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>m,gA:()=>f,WS:()=>d,_r:()=>u,Jo:()=>g,zh:()=>c,yW:()=>h,gB:()=>p});var r=n(6550),o=n(1610);const i=e=>e.versions.find((e=>e.isLast));function a(e,t){const n=i(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}function l(e,t){const n=a(e,t),o=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const s={},u=()=>(0,o.OD)("docusaurus-plugin-content-docs")??s,c=e=>(0,o.eZ)("docusaurus-plugin-content-docs",e,{failfast:!0});function f(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),i=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!i&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return i}(t,n,e)}function d(e){void 0===e&&(e={});const t=f(e),{pathname:n}=(0,r.TH)();if(!t)return;return{activePlugin:t,activeVersion:a(t.pluginData,n)}}function p(e){return c(e).versions}function h(e){const t=c(e);return i(t)}function m(e){const t=c(e),{pathname:n}=(0,r.TH)();return l(t,n)}function g(e){const t=c(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=i(e);return{latestDocSuggestion:l(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},9957:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(4865),o=n.n(r);o().configure({showSpinner:!1});const i={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},2251:(e,t,n)=>{"use strict";n.r(t);var r=n(4965),o=n(6809);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(6854),n(6726)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},3899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(6905),o=n(7325),i=n(107),a=n(4791),l=n(168);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(5893);function c(e){let{as:t,id:n,...c}=e;const f=(0,l.Z)(),{navbar:{hideOnScroll:d}}=(0,i.L)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});f.collectAnchor(n);const p=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.Z)("anchor",d?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(a.Z,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200b"})]})}},4082:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var o=n(5893);function i(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},856:(e,t,n)=>{"use strict";n.d(t,{Z:()=>la});var r=n(7294),o=n(6905),i=n(3256),a=n(5463),l=n(6550),s=n(7325),u=n(3266),c=n(5893);const f="__docusaurus_skipToContent_fallback";function d(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(f);t&&d(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&d(e.current)})),{containerRef:e,onClick:n}}const h=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??h,{containerRef:n,onClick:r}=p();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,c.jsx)("a",{...e,href:`#${f}`,onClick:r,children:t})})}var g=n(3702),y=n(8181);const v={skipToContent:"skipToContent_fXgn"};function b(){return(0,c.jsx)(m,{className:v.skipToContent})}var w=n(107),x=n(5830);function k(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:i,...a}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...a,children:(0,c.jsx)("g",{stroke:r,strokeWidth:o,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function _(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(k,{width:14,height:14,strokeWidth:3.1})})}const E={content:"content_knG7"};function O(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,o.Z)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const j={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function C(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,x.nT)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:i}=e;return(0,c.jsxs)("div",{className:j.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[i&&(0,c.jsx)("div",{className:j.announcementBarPlaceholder}),(0,c.jsx)(O,{className:j.announcementBarContent}),i&&(0,c.jsx)(_,{onClick:n,className:j.announcementBarClose})]})}var P=n(735),A=n(2957);var T=n(3768),I=n(3086);const R=r.createContext(null);function N(e){let{children:t}=e;const n=function(){const e=(0,P.e)(),t=(0,I.HY)(),[n,o]=(0,r.useState)(!1),i=null!==t.component,a=(0,T.D9)(i);return(0,r.useEffect)((()=>{i&&!a&&o(!0)}),[i,a]),(0,r.useEffect)((()=>{i?e.shown||o(!0):o(!1)}),[e.shown,i]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,c.jsx)(R.Provider,{value:n,children:t})}function L(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)(R);if(!e)throw new T.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),i=(0,I.HY)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:L(i)})),[o,i,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:i}=D();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=n(748),B=n(9200),z=n(9445),Z=n(8523),$=n(5616),U=n(3946),q=n(9860);function W(e){let{className:t}=e;const[n,r]=(0,q.y)(),{setColorMode:o}=(0,B.I)();return(0,w.L)().colorMode.disableSwitch?null:(0,c.jsx)(M.Z,{children:()=>(0,c.jsx)($.Z,{children:(0,c.jsx)(U.Z,{sx:{color:"text.primary"},onClick:()=>{o("light"===n?"dark":"light"),r("light"===n?"dark":"light")},children:"dark"===n?(0,c.jsx)(z.Z,{}):(0,c.jsx)(Z.Z,{})})})})}var H=n(6811);function V(){return(0,c.jsx)(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,P.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(k,{color:"var(--ifm-color-emphasis-600)"})})}function G(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(V,{}),(0,c.jsx)(W,{className:"margin-right--md"}),(0,c.jsx)(Q,{})]})}var K=n(4791),Y=n(9524),X=n(2735);function J(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var ee=n(4082);function te(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:i,html:a,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const f=(0,Y.Z)(r),d=(0,Y.Z)(t),p=(0,Y.Z)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,X.Z)(o),m=a?{dangerouslySetInnerHTML:{__html:a}}:{children:(0,c.jsxs)(c.Fragment,{children:[i,h&&(0,c.jsx)(ee.Z,{...l&&{width:12,height:12}})]})};return o?(0,c.jsx)(K.Z,{href:s?p:o,...u,...m}):(0,c.jsx)(K.Z,{to:f,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?J(n,t.pathname):t.pathname.startsWith(d)},...u,...m})}function ne(e){let{className:t,isDropdownItem:n=!1,...r}=e;const i=(0,c.jsx)(te,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:i}):i}function re(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(te,{className:(0,o.Z)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const o=t?re:ne;return(0,c.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(4639),ae=n(9003),le=n(9962);const se={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,ae.Mg)(e.to,t)||!!J(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function ce(e){let{items:t,position:n,className:i,onClick:a,...l}=e;const s=(0,r.useRef)(null),[u,f]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(te,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,o.Z)("navbar__link",i),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),f(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(bi,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function fe(e){let{items:t,className:n,position:i,onClick:a,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,le.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),f=ue(t,u),{collapsed:d,toggleCollapsed:p,setCollapsed:h}=(0,ie.u)({initialState:()=>!f});return(0,r.useEffect)((()=>{f&&h(!f)}),[u,f,h]),(0,c.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":d}),children:[(0,c.jsx)(te,{role:"button",className:(0,o.Z)(se.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),p()},children:s.children??s.label}),(0,c.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:d,children:t.map(((e,t)=>(0,r.createElement)(bi,{mobile:!0,isDropdownItem:!0,onClick:a,activeClassName:"menu__link--active",...e,key:t})))})]})}function de(e){let{mobile:t=!1,...n}=e;const r=t?fe:ce;return(0,c.jsx)(r,{...n})}var pe=n(626);function he(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const me="iconLanguage_nlXk";var ge=n(3935);function ye(e,t){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t=3||2===n&&r>=4||1===n&&r>=10}(e);function n(n,r,o){if(t&&void 0!==o){var i=o[0].__autocomplete_algoliaCredentials,a={"X-Algolia-Application-Id":i.appId,"X-Algolia-API-Key":i.apiKey};e.apply(void 0,[n].concat(Ce(r),[{headers:a}]))}else e.apply(void 0,[n].concat(Ce(r)))}return{init:function(t,n){e("init",{appId:t,apiKey:n})},setUserToken:function(t){e("setUserToken",t)},clickedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&n("clickedObjectIDsAfterSearch",Ne(t),t[0].items)},clickedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&n("clickedObjectIDs",Ne(t),t[0].items)},clickedFilters:function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&e.apply(void 0,["clickedFilters"].concat(n))},convertedObjectIDsAfterSearch:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&n("convertedObjectIDsAfterSearch",Ne(t),t[0].items)},convertedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&n("convertedObjectIDs",Ne(t),t[0].items)},convertedFilters:function(){for(var t=arguments.length,n=new Array(t),r=0;r0&&e.apply(void 0,["convertedFilters"].concat(n))},viewedObjectIDs:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&t.reduce((function(e,t){var n=t.items,r=Ae(t,Oe);return[].concat(Ce(e),Ce(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=[],r=0;r0&&e.apply(void 0,["viewedFilters"].concat(n))}}}function De(e){var t=e.items.reduce((function(e,t){var n;return e[t.__autocomplete_indexName]=(null!==(n=e[t.__autocomplete_indexName])&&void 0!==n?n:[]).concat(t),e}),{});return Object.keys(t).map((function(e){return{index:e,items:t[e],algoliaSource:["autocomplete"]}}))}function Fe(e){return e.objectID&&e.__autocomplete_indexName&&e.__autocomplete_queryID}function Me(e){return Me="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},Me(e)}function Be(e){return function(e){if(Array.isArray(e))return ze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&He({onItemsChange:r,items:n,insights:s,state:t}))}}),0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(e){var t=e.setContext,n=e.onSelect,r=e.onActive;function u(e){t({algoliaInsightsPlugin:{__algoliaSearchParameters:$e($e({},a?{clickAnalytics:!0}:{}),e?{userToken:e}:{}),insights:s}})}l("addAlgoliaAgent","insights-plugin"),u(),l("onUserTokenChange",u),l("getUserToken",null,(function(e,t){u(t)})),n((function(e){var t=e.item,n=e.state,r=e.event,i=e.source;Fe(t)&&o({state:n,event:r,insights:s,item:t,insightsEvents:[$e({eventName:"Item Selected"},ke({item:t,items:i.getItems().filter(Fe)}))]})})),r((function(e){var t=e.item,n=e.source,r=e.state,o=e.event;Fe(t)&&i({state:r,event:o,insights:s,item:t,insightsEvents:[$e({eventName:"Item Active"},ke({item:t,items:n.getItems().filter(Fe)}))]})}))},onStateChange:function(e){var t=e.state;c({state:t})},__autocomplete_pluginOptions:e}}function Qe(){var e,t=arguments.length>1?arguments[1]:void 0;return[].concat(Be(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]),["autocomplete-internal"],Be(null!==(e=t.algoliaInsightsPlugin)&&void 0!==e&&e.__automaticInsights?["autocomplete-automatic"]:[]))}function Ge(e){return Ge="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},Ge(e)}function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ye(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==Ge(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Ge(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ge(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xe(e,t,n){var r,o=t.initialState;return{getState:function(){return o},dispatch:function(r,i){var a=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0},reshape:function(e){return e.sources}},e),{},{id:null!==(n=e.id)&&void 0!==n?n:at(),plugins:o,initialState:mt({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},e.initialState),onStateChange:function(t){var n;null===(n=e.onStateChange)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onStateChange)||void 0===n?void 0:n.call(e,t)}))},onSubmit:function(t){var n;null===(n=e.onSubmit)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onSubmit)||void 0===n?void 0:n.call(e,t)}))},onReset:function(t){var n;null===(n=e.onReset)||void 0===n||n.call(e,t),o.forEach((function(e){var n;return null===(n=e.onReset)||void 0===n?void 0:n.call(e,t)}))},getSources:function(n){return Promise.all([].concat(dt(o.map((function(e){return e.getSources}))),[e.getSources]).filter(Boolean).map((function(e){return function(e,t){var n=[];return Promise.resolve(e(t)).then((function(e){return Array.isArray(e),Promise.all(e.filter((function(e){return Boolean(e)})).map((function(e){if(e.sourceId,n.includes(e.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(e.sourceId)," is not unique."));n.push(e.sourceId);var t={getItemInputValue:function(e){return e.state.query},getItemUrl:function(){},onSelect:function(e){(0,e.setIsOpen)(!1)},onActive:xe,onResolve:xe};Object.keys(t).forEach((function(e){t[e].__default=!0}));var r=st(st({},t),e);return Promise.resolve(r)})))}))}(e,n)}))).then((function(e){return Je(e)})).then((function(e){return e.map((function(e){return mt(mt({},e),{},{onSelect:function(n){e.onSelect(n),t.forEach((function(e){var t;return null===(t=e.onSelect)||void 0===t?void 0:t.call(e,n)}))},onActive:function(n){e.onActive(n),t.forEach((function(e){var t;return null===(t=e.onActive)||void 0===t?void 0:t.call(e,n)}))},onResolve:function(n){e.onResolve(n),t.forEach((function(e){var t;return null===(t=e.onResolve)||void 0===t?void 0:t.call(e,n)}))}})}))}))},navigator:mt({navigate:function(e){var t=e.itemUrl;r.location.assign(t)},navigateNewTab:function(e){var t=e.itemUrl,n=r.open(t,"_blank","noopener");null==n||n.focus()},navigateNewWindow:function(e){var t=e.itemUrl;r.open(t,"_blank","noopener")}},e.navigator)})}function vt(e){return vt="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},vt(e)}function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wt(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ut,qt,Wt,Ht=null,Vt=(Ut=-1,qt=-1,Wt=void 0,function(e){var t=++Ut;return Promise.resolve(e).then((function(e){return Wt&&t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var nn=/((gt|sm)-|galaxy nexus)|samsung[- ]|samsungbrowser/i;function rn(e){return rn="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},rn(e)}var on=["props","refresh","store"],an=["inputElement","formElement","panelElement"],ln=["inputElement"],sn=["inputElement","maxLength"],un=["source"],cn=["item","source"];function fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dn(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function mn(e){var t=e.props,n=e.refresh,r=e.store,o=hn(e,on);return{getEnvironmentProps:function(e){var n=e.inputElement,o=e.formElement,i=e.panelElement;function a(e){!r.getState().isOpen&&r.pendingRequests.isEmpty()||e.target===n||!1===[o,i].some((function(t){return n=t,r=e.target,n===r||n.contains(r);var n,r}))&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())}return dn({onTouchStart:a,onMouseDown:a,onTouchMove:function(e){!1!==r.getState().isOpen&&n===t.environment.document.activeElement&&e.target!==n&&n.blur()}},hn(e,an))},getRootProps:function(e){return dn({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?r.getState().collections.map((function(e){var n=e.source;return Gt(t.id,"list",n)})).join(" "):void 0,"aria-labelledby":Gt(t.id,"label")},e)},getFormProps:function(e){e.inputElement;return dn({action:"",noValidate:!0,role:"search",onSubmit:function(i){var a;i.preventDefault(),t.onSubmit(dn({event:i,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),null===(a=e.inputElement)||void 0===a||a.blur()},onReset:function(i){var a;i.preventDefault(),t.onReset(dn({event:i,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),null===(a=e.inputElement)||void 0===a||a.focus()}},hn(e,ln))},getLabelProps:function(e){return dn({htmlFor:Gt(t.id,"input"),id:Gt(t.id,"label")},e)},getInputProps:function(e){var i;function a(e){(t.openOnFocus||Boolean(r.getState().query))&&Qt(dn({event:e,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var l=e||{},s=(l.inputElement,l.maxLength),u=void 0===s?512:s,c=hn(l,sn),f=Dt(r.getState()),d=function(e){return Boolean(e&&e.match(nn))}((null===(i=t.environment.navigator)||void 0===i?void 0:i.userAgent)||""),p=t.enterKeyHint||(null!=f&&f.itemUrl&&!d?"go":"search");return dn({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&null!==r.getState().activeItemId?Gt(t.id,"item-".concat(r.getState().activeItemId),null==f?void 0:f.source):void 0,"aria-controls":r.getState().isOpen?r.getState().collections.map((function(e){var n=e.source;return Gt(t.id,"list",n)})).join(" "):void 0,"aria-labelledby":Gt(t.id,"label"),value:r.getState().completion||r.getState().query,id:Gt(t.id,"input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:p,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:u,type:"search",onChange:function(e){Qt(dn({event:e,props:t,query:e.currentTarget.value.slice(0,u),refresh:n,store:r},o))},onKeyDown:function(e){!function(e){var t=e.event,n=e.props,r=e.refresh,o=e.store,i=tn(e,Yt);if("ArrowUp"===t.key||"ArrowDown"===t.key){var a=function(){var e=Dt(o.getState()),t=n.environment.document.getElementById(Gt(n.id,"item-".concat(o.getState().activeItemId),null==e?void 0:e.source));t&&(t.scrollIntoViewIfNeeded?t.scrollIntoViewIfNeeded(!1):t.scrollIntoView(!1))},l=function(){var e=Dt(o.getState());if(null!==o.getState().activeItemId&&e){var n=e.item,a=e.itemInputValue,l=e.itemUrl,s=e.source;s.onActive(Jt({event:t,item:n,itemInputValue:a,itemUrl:l,refresh:r,source:s,state:o.getState()},i))}};t.preventDefault(),!1===o.getState().isOpen&&(n.openOnFocus||Boolean(o.getState().query))?Qt(Jt({event:t,props:n,query:o.getState().query,refresh:r,store:o},i)).then((function(){o.dispatch(t.key,{nextActiveItemId:n.defaultActiveItemId}),l(),setTimeout(a,0)})):(o.dispatch(t.key,{}),l(),a())}else if("Escape"===t.key)t.preventDefault(),o.dispatch(t.key,null),o.pendingRequests.cancelAll();else if("Tab"===t.key)o.dispatch("blur",null),o.pendingRequests.cancelAll();else if("Enter"===t.key){if(null===o.getState().activeItemId||o.getState().collections.every((function(e){return 0===e.items.length})))return void(n.debug||o.pendingRequests.cancelAll());t.preventDefault();var s=Dt(o.getState()),u=s.item,c=s.itemInputValue,f=s.itemUrl,d=s.source;if(t.metaKey||t.ctrlKey)void 0!==f&&(d.onSelect(Jt({event:t,item:u,itemInputValue:c,itemUrl:f,refresh:r,source:d,state:o.getState()},i)),n.navigator.navigateNewTab({itemUrl:f,item:u,state:o.getState()}));else if(t.shiftKey)void 0!==f&&(d.onSelect(Jt({event:t,item:u,itemInputValue:c,itemUrl:f,refresh:r,source:d,state:o.getState()},i)),n.navigator.navigateNewWindow({itemUrl:f,item:u,state:o.getState()}));else if(t.altKey);else{if(void 0!==f)return d.onSelect(Jt({event:t,item:u,itemInputValue:c,itemUrl:f,refresh:r,source:d,state:o.getState()},i)),void n.navigator.navigate({itemUrl:f,item:u,state:o.getState()});Qt(Jt({event:t,nextState:{isOpen:!1},props:n,query:c,refresh:r,store:o},i)).then((function(){d.onSelect(Jt({event:t,item:u,itemInputValue:c,itemUrl:f,refresh:r,source:d,state:o.getState()},i))}))}}}(dn({event:e,props:t,refresh:n,store:r},o))},onFocus:a,onBlur:xe,onClick:function(n){e.inputElement!==t.environment.document.activeElement||r.getState().isOpen||a(n)}},c)},getPanelProps:function(e){return dn({onMouseDown:function(e){e.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},e)},getListProps:function(e){var n=e||{},r=n.source,o=hn(n,un);return dn({role:"listbox","aria-labelledby":Gt(t.id,"label"),id:Gt(t.id,"list",r)},o)},getItemProps:function(e){var i=e.item,a=e.source,l=hn(e,cn);return dn({id:Gt(t.id,"item-".concat(i.__autocomplete_id),a),role:"option","aria-selected":r.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(e){if(i.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",i.__autocomplete_id);var t=Dt(r.getState());if(null!==r.getState().activeItemId&&t){var a=t.item,l=t.itemInputValue,s=t.itemUrl,u=t.source;u.onActive(dn({event:e,item:a,itemInputValue:l,itemUrl:s,refresh:n,source:u,state:r.getState()},o))}}},onMouseDown:function(e){e.preventDefault()},onClick:function(e){var l=a.getItemInputValue({item:i,state:r.getState()}),s=a.getItemUrl({item:i,state:r.getState()});(s?Promise.resolve():Qt(dn({event:e,nextState:{isOpen:!1},props:t,query:l,refresh:n,store:r},o))).then((function(){a.onSelect(dn({event:e,item:i,itemInputValue:l,itemUrl:s,refresh:n,source:a,state:r.getState()},o))}))}},l)}}}var gn="1.12.1",yn=[{segment:"autocomplete-core",version:gn}];function vn(e){return vn="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},vn(e)}function bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wn(e){for(var t=1;t=n?null===r?null:0:o}function En(e){return En="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},En(e)}function On(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jn(e){for(var t=1;t=5&&((o||!e&&5===r)&&(a.push(r,0,o,n),r=6),e&&(a.push(r,e,0,n),r=6)),o=""},s=0;s"===t?(r=1,o=""):o=t+o[0]:i?t===i?i="":o+=t:'"'===t||"'"===t?i=t:">"===t?(l(),r=1):r&&("="===t?(r=5,n=o,o=""):"/"===t&&(r<5||">"===e[s][u+1])?(l(),3===r&&(a=a[0]),r=a,(a=a[0]).push(2,0,r),r=0):" "===t||"\t"===t||"\n"===t||"\r"===t?(l(),r=2):o+=t),3===r&&"!--"===o&&(r=4,a=a[0])}return l(),a}(e)),t),arguments,[])).length>1?t:t[0]}var Mn=function(e){var t=e.environment,n=t.document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("class","aa-SubmitIcon"),n.setAttribute("viewBox","0 0 24 24"),n.setAttribute("width","20"),n.setAttribute("height","20"),n.setAttribute("fill","currentColor");var r=t.document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d","M16.041 15.856c-0.034 0.026-0.067 0.055-0.099 0.087s-0.060 0.064-0.087 0.099c-1.258 1.213-2.969 1.958-4.855 1.958-1.933 0-3.682-0.782-4.95-2.050s-2.050-3.017-2.050-4.95 0.782-3.682 2.050-4.95 3.017-2.050 4.95-2.050 3.682 0.782 4.95 2.050 2.050 3.017 2.050 4.95c0 1.886-0.745 3.597-1.959 4.856zM21.707 20.293l-3.675-3.675c1.231-1.54 1.968-3.493 1.968-5.618 0-2.485-1.008-4.736-2.636-6.364s-3.879-2.636-6.364-2.636-4.736 1.008-6.364 2.636-2.636 3.879-2.636 6.364 1.008 4.736 2.636 6.364 3.879 2.636 6.364 2.636c2.125 0 4.078-0.737 5.618-1.968l3.675 3.675c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414z"),n.appendChild(r),n},Bn=function(e){var t=e.environment,n=t.document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("class","aa-ClearIcon"),n.setAttribute("viewBox","0 0 24 24"),n.setAttribute("width","18"),n.setAttribute("height","18"),n.setAttribute("fill","currentColor");var r=t.document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d","M5.293 6.707l5.293 5.293-5.293 5.293c-0.391 0.391-0.391 1.024 0 1.414s1.024 0.391 1.414 0l5.293-5.293 5.293 5.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-5.293-5.293 5.293-5.293c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-5.293 5.293-5.293-5.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414z"),n.appendChild(r),n},zn=function(e){var t=e.environment.document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("class","aa-LoadingIcon"),t.setAttribute("viewBox","0 0 100 100"),t.setAttribute("width","20"),t.setAttribute("height","20"),t.innerHTML='\n \n',t},Zn=["ontouchstart","ontouchend","ontouchmove","ontouchcancel"];function $n(e,t,n){e[t]=null===n?"":"number"!=typeof n?n:n+"px"}function Un(e){this._listeners[e.type](e)}function qn(e,t,n){var r,o,i=e[t];if("style"===t)if("string"==typeof n)e.style=n;else if(null===n)e.style="";else for(t in n)i&&n[t]===i[t]||$n(e.style,t,n[t]);else"o"===t[0]&&"n"===t[1]?(r=t!==(t=t.replace(/Capture$/,"")),((o=t.toLowerCase())in e||Zn.includes(o))&&(t=o),t=t.slice(2),e._listeners||(e._listeners={}),e._listeners[t]=n,n?i||e.addEventListener(t,Un,r):e.removeEventListener(t,Un,r)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function Wn(e){return"onChange"===e?"onInput":e}function Hn(e,t){for(var n in t)qn(e,Wn(n),t[n])}function Vn(e,t){for(var n in t)"o"===n[0]&&"n"===n[1]||qn(e,Wn(n),t[n])}var Qn=["children"];function Gn(e){return function(e){if(Array.isArray(e))return Kn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Kn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Xn(e){return function(t,n){var r=n.children,o=void 0===r?[]:r,i=Yn(n,Qn),a=e.document.createElement(t);return Hn(a,i),a.append.apply(a,Gn(o)),a}}function Jn(e){return Jn="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},Jn(e)}var er=["autocompleteScopeApi","environment","classNames","getInputProps","getInputPropsCore","isDetached","state"];function tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nr(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ir=function(e){var t=e.autocompleteScopeApi,n=e.environment,r=(e.classNames,e.getInputProps),o=e.getInputPropsCore,i=e.isDetached,a=e.state,l=or(e,er),s=Xn(n)("input",l),u=r(nr({state:a,props:o({inputElement:s}),inputElement:s},t));return Hn(s,nr(nr({},u),{},{onKeyDown:function(e){i&&"Tab"===e.key||u.onKeyDown(e)}})),s};function ar(e){return ar="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},ar(e)}function lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sr(e){for(var t=1;t2&&(a.children=arguments.length>3?cr.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return _r(e,a,r,o,null)}function _r(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++dr:o,__i:-1,__u:0};return null==o&&null!=fr.vnode&&fr.vnode(i),i}function Er(e){return e.children}function Or(e,t){this.props=e,this.context=t}function jr(e,t){if(null==t)return e.__?jr(e.__,e.__i+1):null;for(var n;tt&&pr.sort(gr));Ar.__r=0}function Tr(e,t,n,r,o,i,a,l,s,u,c){var f,d,p,h,m,g=r&&r.__k||vr,y=t.length;for(n.__d=s,Ir(n,t,g),s=n.__d,f=0;f0?_r(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,l=Nr(o,n,a=r+f,c),o.__i=l,i=null,-1!==l&&(c--,(i=n[l])&&(i.__u|=131072)),null==i||null===i.__v?(-1==l&&f--,"function"!=typeof o.type&&(o.__u|=65536)):l!==a&&(l===a+1?f++:l>a?c>s-a?f+=l-a:f--:f=l(null!=s&&0==(131072&s.__u)?1:0))for(;a>=0||l=0){if((s=t[a])&&0==(131072&s.__u)&&o==s.key&&i===s.type)return a;a--}if(l0&&void 0!==arguments[0]?arguments[0]:[];return{get:function(){return e},add:function(t){var n=e[e.length-1];(null==n?void 0:n.isHighlighted)===t.isHighlighted?e[e.length-1]={value:n.value+t.value,isHighlighted:n.isHighlighted}:e.push(t)}}}(n?[{value:n,isHighlighted:!1}]:[]);return t.forEach((function(e){var t=e.split(Qr);r.add({value:t[0],isHighlighted:!0}),""!==t[1]&&r.add({value:t[1],isHighlighted:!1})})),r.get()}function Kr(e){return function(e){if(Array.isArray(e))return Yr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yr(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n",""":'"',"'":"'"},to=new RegExp(/\w/i),no=/&(amp|quot|lt|gt|#39);/g,ro=RegExp(no.source);function oo(e,t){var n,r,o,i=e[t],a=(null===(n=e[t+1])||void 0===n?void 0:n.isHighlighted)||!0,l=(null===(r=e[t-1])||void 0===r?void 0:r.isHighlighted)||!0;return to.test((o=i.value)&&ro.test(o)?o.replace(no,(function(e){return eo[e]})):o)||l!==a?i.isHighlighted:l}function io(e){return io="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},io(e)}function ao(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lo(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Eo={clearButton:"aa-ClearButton",detachedCancelButton:"aa-DetachedCancelButton",detachedContainer:"aa-DetachedContainer",detachedFormContainer:"aa-DetachedFormContainer",detachedOverlay:"aa-DetachedOverlay",detachedSearchButton:"aa-DetachedSearchButton",detachedSearchButtonIcon:"aa-DetachedSearchButtonIcon",detachedSearchButtonPlaceholder:"aa-DetachedSearchButtonPlaceholder",detachedSearchButtonQuery:"aa-DetachedSearchButtonQuery",form:"aa-Form",input:"aa-Input",inputWrapper:"aa-InputWrapper",inputWrapperPrefix:"aa-InputWrapperPrefix",inputWrapperSuffix:"aa-InputWrapperSuffix",item:"aa-Item",label:"aa-Label",list:"aa-List",loadingIndicator:"aa-LoadingIndicator",panel:"aa-Panel",panelLayout:"aa-PanelLayout aa-Panel--scrollable",root:"aa-Autocomplete",source:"aa-Source",sourceFooter:"aa-SourceFooter",sourceHeader:"aa-SourceHeader",sourceNoResults:"aa-SourceNoResults",submitButton:"aa-SubmitButton"},Oo=function(e,t){var n=e.children;(0,e.render)(n,t)},jo={createElement:Sr,Fragment:Er,render:Wr};function Co(e){var t=e.panelPlacement,n=e.container,r=e.form,o=e.environment,i=n.getBoundingClientRect(),a=(o.pageYOffset||o.document.documentElement.scrollTop||o.document.body.scrollTop||0)+i.top+i.height;switch(t){case"start":return{top:a,left:i.left};case"end":return{top:a,right:o.document.documentElement.clientWidth-(i.left+i.width)};case"full-width":return{top:a,left:0,right:0,width:"unset",maxWidth:"unset"};case"input-wrapper-width":var l=r.getBoundingClientRect();return{top:a,left:l.left,right:o.document.documentElement.clientWidth-(l.left+l.width),width:"unset",maxWidth:"unset"};default:throw new Error("[Autocomplete] The `panelPlacement` value ".concat(JSON.stringify(t)," is not valid."))}}function Po(e){return Po="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},Po(e)}function Ao(){return Ao=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Go(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ko(e){for(var t=1;t0;if(!d.value.core.openOnFocus&&!t.query)return n;var r=Boolean(u.current||d.value.renderer.renderNoResults);return!n&&r||n},__autocomplete_metadata:{userAgents:No,options:e}}))})),m=ve(Ko({collections:[],completion:null,context:{},isOpen:!1,query:"",activeItemId:null,status:"idle"},d.value.core.initialState)),g={getEnvironmentProps:d.value.renderer.getEnvironmentProps,getFormProps:d.value.renderer.getFormProps,getInputProps:d.value.renderer.getInputProps,getItemProps:d.value.renderer.getItemProps,getLabelProps:d.value.renderer.getLabelProps,getListProps:d.value.renderer.getListProps,getPanelProps:d.value.renderer.getPanelProps,getRootProps:d.value.renderer.getRootProps},y={setActiveItemId:h.value.setActiveItemId,setQuery:h.value.setQuery,setCollections:h.value.setCollections,setIsOpen:h.value.setIsOpen,setStatus:h.value.setStatus,setContext:h.value.setContext,refresh:h.value.refresh,navigator:h.value.navigator},v=l((function(){return Fn.bind(d.value.renderer.renderer.createElement)})),b=l((function(){return function(e){var t=e.autocomplete,n=e.autocompleteScopeApi,r=e.classNames,o=e.environment,i=e.isDetached,a=e.placeholder,l=void 0===a?"Search":a,s=e.propGetters,u=e.setIsModalOpen,c=e.state,f=e.translations,d=Xn(o),p=s.getRootProps(sr({state:c,props:t.getRootProps({})},n)),h=d("div",sr({class:r.root},p)),m=d("div",{class:r.detachedContainer,onMouseDown:function(e){e.stopPropagation()}}),g=d("div",{class:r.detachedOverlay,children:[m],onMouseDown:function(){u(!1),t.setIsOpen(!1)}}),y=s.getLabelProps(sr({state:c,props:t.getLabelProps({})},n)),v=d("button",{class:r.submitButton,type:"submit",title:f.submitButtonTitle,children:[Mn({environment:o})]}),b=d("label",sr({class:r.label,children:[v]},y)),w=d("button",{class:r.clearButton,type:"reset",title:f.clearButtonTitle,children:[Bn({environment:o})]}),x=d("div",{class:r.loadingIndicator,children:[zn({environment:o})]}),k=ir({class:r.input,environment:o,state:c,getInputProps:s.getInputProps,getInputPropsCore:t.getInputProps,autocompleteScopeApi:n,isDetached:i}),S=d("div",{class:r.inputWrapperPrefix,children:[b,x]}),_=d("div",{class:r.inputWrapperSuffix,children:[w]}),E=d("div",{class:r.inputWrapper,children:[k]}),O=s.getFormProps(sr({state:c,props:t.getFormProps({inputElement:k})},n)),j=d("form",sr({class:r.form,children:[S,E,_]},O)),C=s.getPanelProps(sr({state:c,props:t.getPanelProps({})},n)),P=d("div",sr({class:r.panel},C)),A=d("div",{class:r.detachedSearchButtonQuery,textContent:c.query}),T=d("div",{class:r.detachedSearchButtonPlaceholder,hidden:Boolean(c.query),textContent:l});if(i){var I=d("div",{class:r.detachedSearchButtonIcon,children:[Mn({environment:o})]}),R=d("button",{type:"button",class:r.detachedSearchButton,onClick:function(){u(!0)},children:[I,T,A]}),N=d("button",{type:"button",class:r.detachedCancelButton,textContent:f.detachedCancelButtonText,onTouchStart:function(e){e.stopPropagation()},onClick:function(){t.setIsOpen(!1),u(!1)}}),L=d("div",{class:r.detachedFormContainer,children:[j,N]});m.appendChild(L),h.appendChild(R)}else h.appendChild(j);return{detachedContainer:m,detachedOverlay:g,detachedSearchButtonQuery:A,detachedSearchButtonPlaceholder:T,inputWrapper:E,input:k,root:h,form:j,label:b,submitButton:v,clearButton:w,loadingIndicator:x,panel:P}}({autocomplete:h.value,autocompleteScopeApi:y,classNames:d.value.renderer.classNames,environment:d.value.core.environment,isDetached:p.value,placeholder:d.value.core.placeholder,propGetters:g,setIsModalOpen:S,state:m.current,translations:d.value.renderer.translations})}));function w(){Hn(b.value.panel,{style:p.value?{}:Co({panelPlacement:d.value.renderer.panelPlacement,container:b.value.root,form:b.value.form,environment:d.value.core.environment})})}function x(e){m.current=e;var t={autocomplete:h.value,autocompleteScopeApi:y,classNames:d.value.renderer.classNames,components:d.value.renderer.components,container:d.value.renderer.container,html:v.value,dom:b.value,panelContainer:p.value?b.value.detachedContainer:d.value.renderer.panelContainer,propGetters:g,state:m.current,renderer:d.value.renderer.renderer},n=!ot(e)&&!u.current&&d.value.renderer.renderNoResults||d.value.renderer.render;!function(e){var t=e.autocomplete,n=e.autocompleteScopeApi,r=e.dom,o=e.propGetters,i=e.state;Vn(r.root,o.getRootProps(Io({state:i,props:t.getRootProps({})},n))),Vn(r.input,o.getInputProps(Io({state:i,props:t.getInputProps({inputElement:r.input}),inputElement:r.input},n))),Hn(r.label,{hidden:"stalled"===i.status}),Hn(r.loadingIndicator,{hidden:"stalled"!==i.status}),Hn(r.clearButton,{hidden:!i.query}),Hn(r.detachedSearchButtonQuery,{textContent:i.query}),Hn(r.detachedSearchButtonPlaceholder,{hidden:Boolean(i.query)})}(t),function(e,t){var n=t.autocomplete,r=t.autocompleteScopeApi,o=t.classNames,i=t.html,a=t.dom,l=t.panelContainer,s=t.propGetters,u=t.state,c=t.components,f=t.renderer;if(u.isOpen){l.contains(a.panel)||"loading"===u.status||l.appendChild(a.panel),a.panel.classList.toggle("aa-Panel--stalled","stalled"===u.status);var d=u.collections.filter((function(e){var t=e.source,n=e.items;return t.templates.noResults||n.length>0})).map((function(e,t){var a=e.source,l=e.items;return f.createElement("section",{key:t,className:o.source,"data-autocomplete-source-id":a.sourceId},a.templates.header&&f.createElement("div",{className:o.sourceHeader},a.templates.header({components:c,createElement:f.createElement,Fragment:f.Fragment,items:l,source:a,state:u,html:i})),a.templates.noResults&&0===l.length?f.createElement("div",{className:o.sourceNoResults},a.templates.noResults({components:c,createElement:f.createElement,Fragment:f.Fragment,source:a,state:u,html:i})):f.createElement("ul",Ao({className:o.list},s.getListProps(Io({state:u,props:n.getListProps({source:a})},r))),l.map((function(e){var t=n.getItemProps({item:e,source:a});return f.createElement("li",Ao({key:t.id,className:o.item},s.getItemProps(Io({state:u,props:t},r))),a.templates.item({components:c,createElement:f.createElement,Fragment:f.Fragment,item:e,state:u,html:i}))}))),a.templates.footer&&f.createElement("div",{className:o.sourceFooter},a.templates.footer({components:c,createElement:f.createElement,Fragment:f.Fragment,items:l,source:a,state:u,html:i})))})),p=f.createElement(f.Fragment,null,f.createElement("div",{className:o.panelLayout},d),f.createElement("div",{className:"aa-GradientBottom"})),h=d.reduce((function(e,t){return e[t.props["data-autocomplete-source-id"]]=t,e}),{});e(Io(Io({children:p,state:u,sections:d,elements:h},f),{},{components:c,html:i},r),a.panel)}else l.contains(a.panel)&&l.removeChild(a.panel)}(n,t)}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o();var t,n,r=d.value.renderer,a=r.components,l=Qo(r,Ho);c.current=Bo(l,d.value.core,{components:(t=a,n=function(e){return!e.value.hasOwnProperty("__autocomplete_componentName")},Object.entries(t).reduce((function(e,t){var r=qo(t,2),o=r[0],i=r[1];return n({key:o,value:i})?$o($o({},e),{},Uo({},o,i)):e}),{})),initialState:m.current},e),s(),i(),h.value.refresh().then((function(){x(m.current)}))}function S(e){requestAnimationFrame((function(){var t=d.value.core.environment.document.body.contains(b.value.detachedOverlay);e!==t&&(e?(d.value.core.environment.document.body.appendChild(b.value.detachedOverlay),d.value.core.environment.document.body.classList.add("aa-Detached"),b.value.input.focus()):(d.value.core.environment.document.body.removeChild(b.value.detachedOverlay),d.value.core.environment.document.body.classList.remove("aa-Detached")))}))}return r((function(){var e=h.value.getEnvironmentProps({formElement:b.value.form,panelElement:b.value.panel,inputElement:b.value.input});return Hn(d.value.core.environment,e),function(){Hn(d.value.core.environment,Object.keys(e).reduce((function(e,t){return Ko(Ko({},e),{},Yo({},t,void 0))}),{}))}})),r((function(){var e=p.value?d.value.core.environment.document.body:d.value.renderer.panelContainer,t=p.value?b.value.detachedOverlay:b.value.panel;return p.value&&m.current.isOpen&&S(!0),x(m.current),function(){e.contains(t)&&e.removeChild(t)}})),r((function(){var e=d.value.renderer.container;return e.appendChild(b.value.root),function(){e.removeChild(b.value.root)}})),r((function(){var e=ye((function(e){x(e.state)}),0);return f.current=function(t){var n=t.state,r=t.prevState;(p.value&&r.isOpen!==n.isOpen&&S(n.isOpen),p.value||!n.isOpen||r.isOpen||w(),n.query!==r.query)&&d.value.core.environment.document.querySelectorAll(".aa-Panel--scrollable").forEach((function(e){0!==e.scrollTop&&(e.scrollTop=0)}));e({state:n})},function(){f.current=void 0}})),r((function(){var e=ye((function(){var e=p.value;p.value=d.value.core.environment.matchMedia(d.value.renderer.detachedMediaQuery).matches,e!==p.value?k({}):requestAnimationFrame(w)}),20);return d.value.core.environment.addEventListener("resize",e),function(){d.value.core.environment.removeEventListener("resize",e)}})),r((function(){if(!p.value)return function(){};function e(e){b.value.detachedContainer.classList.toggle("aa-DetachedContainer--modal",e)}function t(t){e(t.matches)}var n=d.value.core.environment.matchMedia(getComputedStyle(d.value.core.environment.document.documentElement).getPropertyValue("--aa-detached-modal-media-query"));e(n.matches);var r=Boolean(n.addEventListener);return r?n.addEventListener("change",t):n.addListener(t),function(){r?n.removeEventListener("change",t):n.removeListener(t)}})),r((function(){return requestAnimationFrame(w),function(){}})),Ko(Ko({},y),{},{update:k,destroy:function(){o()}})}var Jo=n(1514);const ei=n(5351),ti=ei;var ni=n(813),ri=n.n(ni);function oi(){const e=(0,l.TH)(),t=(0,l.k6)(),{siteConfig:{baseUrl:n}}=(0,le.Z)(),[o,i]=(0,r.useState)({terms:[],isDocsOrBlog:!1});return(0,r.useEffect)((()=>{if(!e.state?.cmfcmfhighlight||0===e.state.cmfcmfhighlight.terms.length)return;i(e.state.cmfcmfhighlight);const{cmfcmfhighlight:n,...r}=e.state;t.replace({...e,state:r})}),[e.state?.cmfcmfhighlight,t,e]),(0,r.useEffect)((()=>{if(0===o.terms.length)return;const e=o.isDocsOrBlog?document.getElementsByTagName("article")[0]:document.getElementsByTagName("main")[0];if(!e)return;const t=new(ri())(e),n={ignoreJoiners:!0};return t.mark(o.terms,n),()=>t.unmark(n)}),[o,n]),null}var ii=n(1610),ai=n(1048),li=n(246);function si(e){let{document:t}=e;const[n,r]=t.sectionRoute.split("#");let o=n;return r&&(o+="#"+r),o}const ui={documents:[],index:ti((function(){this.ref("id"),this.field("title"),this.field("content")}))};const ci=()=>{const e=(0,ai.Z)(),[t,n]=(0,r.useState)((()=>!!e&&"dark"===document.documentElement.getAttribute("data-theme")));(0,r.useEffect)((()=>{const e=new MutationObserver((()=>{n("dark"===document.documentElement.getAttribute("data-theme"))}));return e.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}),()=>e.disconnect()}),[]);const{siteConfig:{baseUrl:o}}=(0,le.Z)(),{titleBoost:i,contentBoost:a,tagsBoost:u,parentCategoriesBoost:c,indexDocSidebarParentCategories:f,maxSearchResults:d}=(0,ii.eZ)("@cmfcmf/docusaurus-search-local"),p=(0,l.k6)(),{tags:h}=(0,li._q)(),m=(0,r.useRef)(h);(0,r.useEffect)((()=>{m.current=h}),[h]);const g=(0,r.useRef)({}),y=async e=>{const t=g.current[e];switch(t?.state){case"ready":return t;case void 0:{const t=[];g.current[e]={state:"loading",callbacks:t};const n=await async function(e,t){{let r;try{const n=await fetch(`${e}search-index-${t}.json`);if(!n.ok)return ui;r=await n.json()}catch(n){return ui}return{documents:r.documents,index:ti.Index.load(r.index)}}}(o,e);return t.forEach((e=>e(n))),g.current[e]={state:"ready",...n}}case"loading":return new Promise((e=>{t.callbacks.push(e)}))}},v=(0,s.I)({message:"cmfcmf/d-s-l.searchBar.placeholder",description:"Placeholder shown in the searchbar"}),b=(0,r.useRef)(null),w=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(b.current)return w.current=Xo({container:b.current,placeholder:v,renderer:{createElement:r.createElement,Fragment:r.Fragment,render:ge.render},navigator:{navigate(e){let{item:t,itemUrl:n}=e;p.push(n,{cmfcmfhighlight:{terms:t.terms,isDocsOrBlog:"docs"===t.document.type||"blog"===t.document.type}})}},detachedMediaQuery:"",defaultActiveItemId:0,translations:{clearButtonTitle:(0,s.I)({message:"cmfcmf/d-s-l.searchBar.clearButtonTitle",description:"Title of the button to clear the current search input"}),detachedCancelButtonText:(0,s.I)({message:"cmfcmf/d-s-l.searchBar.detachedCancelButtonText",description:"Text of the button to close the detached search window"}),submitButtonTitle:(0,s.I)({message:"cmfcmf/d-s-l.searchBar.submitButtonTitle",description:"Title of the button to submit a new search"})},getSources(e){let{query:t}=e;return[{sourceId:"search-results",templates:{item(e){let{item:t}=e;const n=si(t);return r.createElement("a",{href:n,className:"aa-ItemLink",onClick:e=>{e.preventDefault(),p.push(n,{cmfcmfhighlight:{terms:t.terms,isDocsOrBlog:"docs"===t.document.type||"blog"===t.document.type}})}},r.createElement("div",{className:"aa-ItemContent"},r.createElement("div",{className:"aa-ItemContentBody"},r.createElement("div",{className:"aa-ItemContentTitle"},t.document.sectionTitle),t.document.pageTitle!==t.document.sectionTitle&&r.createElement("div",{className:"aa-ItemContentDescription"},t.document.pageTitle))),r.createElement("div",{className:"aa-ItemActions"},r.createElement("button",{className:"aa-ItemActionButton aa-DesktopOnly aa-ActiveOnly",type:"button",title:"Select"},r.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor"},r.createElement("path",{d:"M18.984 6.984h2.016v6h-15.188l3.609 3.609-1.406 1.406-6-6 6-6 1.406 1.406-3.609 3.609h13.172v-4.031z"})))))},noResults:()=>r.createElement("div",{className:"aa-ItemContent"},r.createElement("div",{className:"aa-ItemContentBody"},(0,s.I)({message:"cmfcmf/d-s-l.searchBar.noResults",description:"message shown if no results are found"})))},getItemUrl(e){let{item:t}=e;return si(t)},async getItems(){const e=m.current,n=await Promise.all(e.map((e=>y(e)))),r=(e=>ei.tokenizer(e).map((e=>e.str)))(t);return n.flatMap((e=>{let{index:t,documents:n}=e;return t.query((e=>{e.term(r,{fields:["title"],boost:i}),e.term(r,{fields:["title"],boost:i,wildcard:ti.Query.wildcard.TRAILING}),e.term(r,{fields:["content"],boost:a}),e.term(r,{fields:["content"],boost:a,wildcard:ti.Query.wildcard.TRAILING}),e.term(r,{fields:["tags"],boost:u}),e.term(r,{fields:["tags"],boost:u,wildcard:ti.Query.wildcard.TRAILING}),f&&(e.term(r,{fields:["sidebarParentCategories"],boost:c}),e.term(r,{fields:["sidebarParentCategories"],boost:c,wildcard:ti.Query.wildcard.TRAILING}))})).slice(0,d).map((e=>({document:n.find((t=>t.id.toString()===e.ref)),score:e.score,terms:r})))})).sort(((e,t)=>t.score-e.score)).slice(0,d)}}]}}),()=>w.current?.destroy()}),[d]),r.createElement(r.Fragment,null,r.createElement(Jo.Z,null,r.createElement("body",{"data-theme":t?"dark":"light"})),r.createElement(oi,null),r.createElement("div",{className:"dsla-search-wrapper"},r.createElement("div",{className:"dsla-search-field",ref:b,"data-tags":h.join(",")})))},fi={navbarSearchContainer:"navbarSearchContainer_Bca1"};function di(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,o.Z)(n,fi.navbarSearchContainer),children:t})}var pi=n(868),hi=n(8259);var mi=n(6409);const gi=e=>e.docs.find((t=>t.id===e.mainDocId));const yi={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...i}=e;const{i18n:{currentLocale:a,locales:u,localeConfigs:f}}=(0,le.Z)(),d=(0,pe.l)(),{search:p,hash:h}=(0,l.TH)(),m=[...n,...u.map((e=>{const n=`${`pathname://${d.createUrl({locale:e,fullyQualified:!1})}`}${p}${h}${o}`;return{label:f[e].label,lang:f[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===a?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):f[a].label;return(0,c.jsx)(de,{...i,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(he,{className:me}),g]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(di,{className:n,children:(0,c.jsx)(ci,{})})},dropdown:de,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:i=!1}=e;const a=i?"li":"div";return(0,c.jsx)(a,{className:(0,o.Z)({navbar__item:!r&&!i,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:i}=(0,pi.Iw)(r),a=(0,hi.vY)(t,r),l=i?.path===a?.path;return null===a||a.unlisted&&!l?null:(0,c.jsx)(oe,{exact:!0,...o,isActive:()=>l||!!i?.sidebar&&i.sidebar===a.sidebar,label:n??a.id,to:a.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:i}=(0,pi.Iw)(r),a=(0,hi.oz)(t,r).link;if(!a)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(oe,{exact:!0,...o,isActive:()=>i?.sidebar===t,label:n??a.label,to:a.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const i=(0,hi.lO)(r)[0],a=t??i.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(i).path;return(0,c.jsx)(oe,{...o,label:a,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:i,...a}=e;const{search:u,hash:f}=(0,l.TH)(),d=(0,pi.Iw)(n),p=(0,pi.gB)(n),{savePreferredVersionName:h}=(0,mi.J)(n),m=p.map((e=>{const t=d.alternateDocVersions[e.name]??gi(e);return{label:e.label,to:`${t.path}${u}${f}`,isActive:()=>e===d.activeVersion,onClick:()=>h(e.name)}})),g=[...o,...m,...i],y=(0,hi.lO)(n)[0],v=t&&g.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):y.label,b=t&&g.length>1?void 0:gi(y).path;return g.length<=1?(0,c.jsx)(oe,{...a,mobile:t,label:v,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(de,{...a,mobile:t,label:v,to:b,items:g,isActive:r?()=>!1:void 0})}},vi=yi;function bi(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=vi[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(o,{...n})}function wi(){const e=(0,P.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(bi,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function xi(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function ki(){const e=0===(0,w.L)().navbar.items.length,t=D();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(xi,{onClick:()=>t.hide()}),t.content]})}function Si(){const e=(0,P.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(F,{header:(0,c.jsx)(G,{}),primaryMenu:(0,c.jsx)(wi,{}),secondaryMenu:(0,c.jsx)(ki,{})}):null}const _i={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ei(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function Oi(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:i}}=(0,w.L)(),a=(0,P.e)(),{navbarRef:l,isNavbarVisible:f}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),i=(0,r.useRef)(0),a=(0,r.useCallback)((e=>{null!==e&&(i.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,r)=>{let{scrollY:a}=t;if(!e)return;if(a=l?n(!1):a+u{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:a,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[_i.navbarHideable,!f&&_i.navbarHidden],{"navbar--dark":"dark"===i,"navbar--primary":"primary"===i,"navbar-sidebar--show":a.shown}),children:[t,(0,c.jsx)(Ei,{onClick:a.toggle}),(0,c.jsx)(Si,{})]})}var ji=n(3905);const Ci={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Pi(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Ai(e){let{error:t}=e;const n=(0,ji.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:Ci.errorBoundaryError,children:n})}class Ti extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Ii="right";function Ri(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ni(){const{toggle:e,shown:t}=(0,P.e)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(Ri,{})})}const Li={colorModeToggle:"colorModeToggle_DEke"};function Di(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Ti,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(bi,{...e})},t)))})}function Fi(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Mi(){const e=(0,P.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Ii)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,c.jsx)(Fi,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Ni,{}),(0,c.jsx)(V,{}),(0,c.jsx)(Di,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Di,{items:r}),(0,c.jsx)(W,{className:Li.colorModeToggle}),!o&&(0,c.jsx)(di,{children:(0,c.jsx)(ci,{})})]})})}function Bi(){return(0,c.jsx)(Oi,{children:(0,c.jsx)(Mi,{})})}function zi(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:i,...a}=t,l=(0,Y.Z)(n),s=(0,Y.Z)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(K.Z,{className:"footer__link-item",...r?{href:i?s:r}:{to:l},...a,children:[o,r&&!(0,X.Z)(r)&&(0,c.jsx)(ee.Z,{})]})}function Zi(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(zi,{item:t})},t.href??t.to)}function $i(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(Zi,{item:e},t)))})]})}function Ui(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)($i,{column:e},t)))})}function qi(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Wi(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(zi,{item:t})}function Hi(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(Wi,{item:e}),t.length!==n+1&&(0,c.jsx)(qi,{})]},n)))})})}function Vi(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Ui,{columns:t}):(0,c.jsx)(Hi,{links:t})}var Qi=n(4277);const Gi={footerLogoLink:"footerLogoLink_BH7S"};function Ki(e){let{logo:t}=e;const{withBaseUrl:n}=(0,Y.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(Qi.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function Yi(e){let{logo:t}=e;return t.href?(0,c.jsx)(K.Z,{href:t.href,className:Gi.footerLogoLink,target:t.target,children:(0,c.jsx)(Ki,{logo:t})}):(0,c.jsx)(Ki,{logo:t})}function Xi(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function Ji(e){let{style:t,links:n,logo:r,copyright:i}=e;return(0,c.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||i)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),i]})]})})}function ea(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,c.jsx)(Ji,{style:o,links:n&&n.length>0&&(0,c.jsx)(Vi,{links:n}),logo:r&&(0,c.jsx)(Yi,{logo:r}),copyright:t&&(0,c.jsx)(Xi,{copyright:t})})}const ta=r.memo(ea),na=(0,T.Qc)([B.S,x.pl,A.OC,mi.L5,a.VC,function(e){let{children:t}=e;return(0,c.jsx)(I.n2,{children:(0,c.jsx)(P.M,{children:(0,c.jsx)(N,{children:t})})})}]);function ra(e){let{children:t}=e;return(0,c.jsx)(na,{children:t})}var oa=n(3899);function ia(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(oa.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Pi,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Ai,{error:t})})]})})})}const aa={mainWrapper:"mainWrapper_z2l0"};function la(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.t)(),(0,c.jsxs)(ra,{children:[(0,c.jsx)(a.d,{title:l,description:s}),(0,c.jsx)(b,{}),(0,c.jsx)(C,{}),(0,c.jsx)(Bi,{}),(0,c.jsx)("div",{id:f,className:(0,o.Z)(g.k.wrapper.main,aa.mainWrapper,r),children:(0,c.jsx)(i.Z,{fallback:e=>(0,c.jsx)(ia,{...e}),children:t})}),!n&&(0,c.jsx)(ta,{})]})}},6811:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(4791),o=n(9524),i=n(9962),a=n(107),l=n(4277),s=n(5893);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const i={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},a=(0,s.jsx)(l.Z,{className:t.className,sources:i,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:a}):a}function c(e){const{siteConfig:{title:t}}=(0,i.Z)(),{navbar:{title:n,logo:l}}=(0,a.L)(),{imageClassName:c,titleClassName:f,...d}=e,p=(0,o.Z)(l?.href||"/"),h=n?"":t,m=l?.alt??h;return(0,s.jsxs)(r.Z,{to:p,...d,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:m,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:f,children:n})]})}},3647:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(7294);var r=n(1514),o=n(5893);function i(e){let{locale:t,version:n,tag:i}=e;const a=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),i&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:i}),a&&(0,o.jsx)("meta",{name:"docsearch:language",content:a}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),i&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:i})]})}},4277:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7294),o=n(788),i=n(1048),a=n(9200);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(5893);function u(e){let{className:t,children:n}=e;const u=(0,i.Z)(),{colorMode:c}=(0,a.I)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const i=n({theme:e,className:(0,o.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:i},e)}))})}function c(e){const{sources:t,className:n,alt:r,...o}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:i}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:i,...o})}})}},4639:(e,t,n)=>{"use strict";n.d(t,{u:()=>u,z:()=>y});var r=n(7294),o=n(6136),i=n(1270),a=n(8986),l=n(5893);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),i=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:i}}const c={display:"none",overflow:"hidden",height:"0px"},f={display:"block",overflow:"visible",height:"auto"};function d(e,t){const n=t?c:f;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const i=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,a.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!i.current)return d(e,n),void(i.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function h(e){if(!o.Z.canUseDOM)return e?c:f}function m(e){let{as:t="div",collapsed:n,children:o,animation:i,onCollapseTransitionEnd:a,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return p({collapsibleRef:c,collapsed:n,animation:i}),(0,l.jsx)(t,{ref:c,style:u?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(d(c.current,n),a?.(n))},className:s,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,a]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,i.Z)((()=>{t||a(!0)}),[t]),(0,i.Z)((()=>{o&&u(t)}),[o,t]),o?(0,l.jsx)(m,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:m;return(0,l.jsx)(r,{...n})}},5830:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>h});var r=n(7294),o=n(1048),i=n(2560),a=n(3768),l=n(107),s=n(5893);const u=(0,i.WA)("docusaurus.announcement.dismiss"),c=(0,i.WA)("docusaurus.announcement.id"),f=()=>"true"===u.get(),d=e=>u.set(String(e)),p=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,o.Z)(),[n,i]=(0,r.useState)((()=>!!t&&f()));(0,r.useEffect)((()=>{i(f())}),[]);const a=(0,r.useCallback)((()=>{d(!0),i(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&d(!1),!r&&f()||i(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:a})),[e,n,a])}();return(0,s.jsx)(p.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(p);if(!e)throw new a.i6("AnnouncementBarProvider");return e}},9200:(e,t,n)=>{"use strict";n.d(t,{I:()=>y,S:()=>g});var r=n(7294),o=n(6136),i=n(3768),a=n(2560),l=n(107),s=n(5893);const u=r.createContext(void 0),c="theme",f=(0,a.WA)(c),d={light:"light",dark:"dark"},p=e=>e===d.dark?d.dark:d.light,h=e=>o.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{f.set(p(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[o,i]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&f.del()}),[t]);const a=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(i(t),o&&m(t)):(i(n?window.matchMedia("(prefers-color-scheme: dark)").matches?d.dark:d.light:e),f.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=f.get();null!==t&&a(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,a]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:a(null)};return e.addListener(r),()=>e.removeListener(r)}),[a,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:a,get isDarkTheme(){return o===d.dark},setLightTheme(){a(d.light)},setDarkTheme(){a(d.dark)}})),[o,a])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new i.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},6409:(e,t,n)=>{"use strict";n.d(t,{J:()=>b,L5:()=>y,Oh:()=>w});var r=n(7294),o=n(868),i=n(6875),a=n(107),l=n(8259),s=n(3768),u=n(2560),c=n(5893);const f=e=>`docs-preferred-version-${e}`,d={save:(e,t,n)=>{(0,u.WA)(f(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(f(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(f(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function m(){const e=(0,o._r)(),t=(0,a.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[i,l]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=d.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[i,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=m();return(0,c.jsx)(h.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.cE?(0,c.jsx)(g,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function v(){const e=(0,r.useContext)(h);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function b(e){void 0===e&&(e=i.m);const t=(0,o.zh)(e),[n,a]=v(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{a.savePreferredVersion(e,t)}),[a,e])}}function w(){const e=(0,o._r)(),[t]=v();function n(n){const r=e[n],{preferredVersionName:o}=t[n];return r.versions.find((e=>e.name===o))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},4432:(e,t,n)=>{"use strict";n.d(t,{V:()=>u,b:()=>s});var r=n(7294),o=n(3768),i=n(5893);const a=Symbol("EmptyContext"),l=r.createContext(a);function s(e){let{children:t,name:n,items:o}=e;const a=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,i.jsx)(l.Provider,{value:a,children:t})}function u(){const e=(0,r.useContext)(l);if(e===a)throw new o.i6("DocsSidebarProvider");return e}},8801:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(7294),o=n(3768),i=n(5893);const a=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,i.jsx)(a.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(a);if(null===e)throw new o.i6("DocsVersionProvider");return e}},735:(e,t,n)=>{"use strict";n.d(t,{M:()=>d,e:()=>p});var r=n(7294),o=n(3086),i=n(3488),a=n(5238),l=n(107),s=n(3768),u=n(5893);const c=r.createContext(void 0);function f(){const e=function(){const e=(0,o.HY)(),{items:t}=(0,l.L)().navbar;return 0===t.length&&!e.component}(),t=(0,i.i)(),n=!e&&"mobile"===t,[s,u]=(0,r.useState)(!1);(0,a.Rb)((()=>{if(s)return u(!1),!1}));const c=(0,r.useCallback)((()=>{u((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&u(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:s})),[e,n,c,s])}function d(e){let{children:t}=e;const n=f();return(0,u.jsx)(c.Provider,{value:n,children:t})}function p(){const e=r.useContext(c);if(void 0===e)throw new s.i6("NavbarMobileSidebarProvider");return e}},3086:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>u,n2:()=>l});var r=n(7294),o=n(3768),i=n(5893);const a=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,i.jsx)(a.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(a);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const i=(0,r.useContext)(a);if(!i)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,l]=i,s=(0,o.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},8181:(e,t,n)=>{"use strict";n.d(t,{h:()=>o,t:()=>i});var r=n(7294);const o="navigation-with-keyboard";function i(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},3488:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(7294),o=n(6136);const i={desktop:"desktop",mobile:"mobile",ssr:"ssr"},a=996;function l(e){let{desktopBreakpoint:t=a}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?i.desktop:i.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},3702:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},8986:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},8259:(e,t,n)=>{"use strict";n.d(t,{LM:()=>h,MN:()=>j,SN:()=>O,_F:()=>v,cE:()=>d,f:()=>w,jA:()=>m,lO:()=>S,oz:()=>_,s1:()=>k,vY:()=>E,xz:()=>p});var r=n(7294),o=n(6550),i=n(8790),a=n(868),l=n(6409),s=n(8801),u=n(4432),c=n(3609),f=n(9003);const d=!!a._r;function p(e){const t=(0,s.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function h(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=h(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,o.TH)(),t=(0,u.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=x({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const g=(e,t)=>void 0!==e&&(0,f.Mg)(e,t),y=(e,t)=>e.some((e=>v(e,t)));function v(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||y(e.items,t))}function b(e,t){switch(e.type){case"category":return v(e,t)||e.items.some((e=>b(e,t)));case"link":return!e.unlisted||v(e,t);default:return!0}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>b(e,t)))),[e,t])}function x(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const i of t)if("category"===i.type&&((0,f.Mg)(i.href,n)||e(i.items))||"link"===i.type&&(0,f.Mg)(i.href,n)){return r&&"category"!==i.type||o.unshift(i),!0}return!1}(t),o}function k(){const e=(0,u.V)(),{pathname:t}=(0,o.TH)(),n=(0,a.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?x({sidebarItems:e.items,pathname:t}):null}function S(e){const{activeVersion:t}=(0,a.Iw)(e),{preferredVersion:n}=(0,l.J)(e),o=(0,a.yW)(e);return(0,r.useMemo)((()=>(0,c.j)([t,n,o].filter(Boolean))),[t,n,o])}function _(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function E(e,t){const n=S(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,c.j)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function O(e){let{route:t}=e;const n=(0,o.TH)(),r=(0,s.E)(),a=t.routes,l=a.find((e=>(0,o.LX)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,i.H)(a),sidebarName:u,sidebarItems:c}}function j(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!h(e)))}},5238:(e,t,n)=>{"use strict";n.d(t,{Rb:()=>a,_X:()=>l});var r=n(7294),o=n(6550),i=n(3768);function a(e){!function(e){const t=(0,o.k6)(),n=(0,i.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function l(e){return function(e){const t=(0,o.k6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},3609:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function o(e){return Array.from(new Set(e))}n.d(t,{j:()=>o,l:()=>r})},5463:(e,t,n)=>{"use strict";n.d(t,{FG:()=>p,d:()=>f,VC:()=>h});var r=n(7294),o=n(788),i=n(1514),a=n(9656);function l(){const e=r.useContext(a._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(9524),u=n(9962);var c=n(5893);function f(e){let{title:t,description:n,keywords:r,image:o,children:a}=e;const l=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:f}=(0,s.C)(),d=o?f(o,{absolute:!0}):void 0;return(0,c.jsxs)(i.Z,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),d&&(0,c.jsx)("meta",{property:"og:image",content:d}),d&&(0,c.jsx)("meta",{name:"twitter:image",content:d}),a]})}const d=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const a=r.useContext(d),l=(0,o.Z)(a,t);return(0,c.jsxs)(d.Provider,{value:l,children:[(0,c.jsx)(i.Z,{children:(0,c.jsx)("html",{className:l})}),n]})}function h(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const i=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(p,{className:(0,o.Z)(r,i),children:t})}},3768:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>c,Ql:()=>u,i6:()=>s,zX:()=>a});var r=n(7294),o=n(1270),i=n(5893);function a(e){const t=(0,r.useRef)(e);return(0,o.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,o.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,i.jsx)(i.Fragment,{children:e.reduceRight(((e,t)=>(0,i.jsx)(t,{children:e})),n)})}}},9003:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>a,Ns:()=>l});var r=n(7294),o=n(997),i=n(9962);function a(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,i.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.Z,baseUrl:e})),[e])}},2957:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>m,OC:()=>c,RF:()=>p,o5:()=>h});var r=n(7294),o=n(6136),i=n(1048),a=n(1270),l=n(3768),s=n(5893);const u=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function f(){const e=(0,r.useContext)(u);if(null==e)throw new l.i6("ScrollControllerProvider");return e}const d=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=f(),o=(0,r.useRef)(d()),i=(0,l.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();i(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[i,n,...t])}function h(){const e=f(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),o=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,a.Z)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:o}}function m(){const e=(0,r.useRef)(null),t=(0,i.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&ot&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},246:(e,t,n)=>{"use strict";n.d(t,{HX:()=>a,_q:()=>s,os:()=>l});var r=n(868),o=n(9962),i=n(6409);const a="default";function l(e,t){return`docs-${e}-${t}`}function s(){const{i18n:e}=(0,o.Z)(),t=(0,r._r)(),n=(0,r.WS)(),s=(0,i.Oh)();const u=[a,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,o=s[e],i=t[e].versions.find((e=>e.isLast));return l(e,(r??o??i).name)}))];return{locale:e.currentLocale,tags:u}}},2560:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>c,WA:()=>u});var r=n(7294);const o="localStorage";function i(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const i=document.createEvent("StorageEvent");i.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(i)}function a(e){if(void 0===e&&(e=o),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,l||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),l=!0),null}var t}let l=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=a(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),i({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),i({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function c(e,t){const n=(0,r.useRef)((()=>null===e?s:u(e,t))).current(),o=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(o,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},626:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(9962),o=n(6550),i=n(3905);function a(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:a,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,o.TH)(),u=(0,i.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===a?e:e.replace(`/${l}/`,"/"),f=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===a?`${c}`:`${c}${e}/`}(n)}${f}`}}}},3266:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=n(7294),o=n(6550),i=n(3768);function a(e){const t=(0,o.TH)(),n=(0,i.D9)(t),a=(0,i.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&a({location:t,previousLocation:n})}),[a,t,n])}},107:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(9962);function o(){return(0,r.Z)().siteConfig.themeConfig}},4136:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),i="/"===o||o===r?o:(a=o,n?function(e){return e.endsWith("/")?e:`${e}/`}(a):function(e){return e.endsWith("/")?e.slice(0,-1):e}(a));var a;return e.replace(o,i)}},5806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},3905:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(4136);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var i=n(5806);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},9860:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i,y:()=>a});var r=n(7294),o=n(4288);const i=(0,r.createContext)([(0,o.U)("theme")||"light",()=>{}]);function a(){return(0,r.useContext)(i)}},4288:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,t:()=>o});const r=e=>"undefined"!=typeof window&&"localStorage"in window?localStorage.getItem(e):null,o=(e,t)=>{"undefined"!=typeof window&&"localStorage"in window&&localStorage.setItem(e,t)}},3421:(e,t,n)=>{"use strict";n.d(t,{lB:()=>I,l7:()=>R});var r={};n.r(r),n.d(r,{amber:()=>v,blue:()=>c.Z,blueGrey:()=>S,brown:()=>x,common:()=>o.Z,cyan:()=>d,deepOrange:()=>w,deepPurple:()=>s,green:()=>h.Z,grey:()=>k.Z,indigo:()=>u,lightBlue:()=>f.Z,lightGreen:()=>m,lime:()=>g,orange:()=>b.Z,pink:()=>a,purple:()=>l.Z,red:()=>i.Z,teal:()=>p,yellow:()=>y});var o=n(6115),i=n(265);const a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};var l=n(4518);const s={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},u={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};var c=n(6949),f=n(5621);const d={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},p={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};var h=n(3486);const m={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},g={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},y={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"};var b=n(5137);const w={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},x={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"};var k=n(7036);const S={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};var _=n(1229),E=n(1796),O=n(6486);const{common:j,...C}=r,P=function(e,t,n){return void 0===e&&(e="blue"),void 0===t&&(t="light"),r[e][n??("dark"===t?"A100":"A700")]},A='"Inter Tight", sans-serif',T='"Inter Tight", sans-serif',I=(e,t)=>(0,_.Z)({palette:{primary:{main:t?P(t,e):"dark"===e?"#7C7EFF":"#4f51ff"},secondary:{main:t?P(t,e):"light"===e?"#000000":"#ffffff"},mode:e,background:"dark"===e?{default:"#0a0c10",paper:"#0a0c10"}:{default:"#ebecef",paper:"#ffffff"}},typography:{allVariants:{fontFamily:A,fontWeight:"dark"===e?500:550},body1:{fontSize:16},body2:{fontSize:15},h1:{fontSize:"max(28px, min(46px, min(6vw, 6vh)))",fontWeight:"dark"===e?500:550,fontFamily:T},h2:{fontSize:"max(24px, min(32px, 4vw))",fontWeight:500,fontFamily:T},h3:{fontSize:"20px",fontWeight:500,fontFamily:T},h4:{fontFamily:T},h5:{fontFamily:T},h6:{fontFamily:T},button:{textTransform:"none",fontWeight:"dark"===e?500:550,letterSpacing:0,backgroundColor:"background.paper",fontFamily:T},overline:{fontFamily:T,letterSpacing:0},subtitle1:{fontFamily:T,lineHeight:1.5},subtitle2:{fontWeight:"dark"===e?400:500,fontFamily:T}},components:{MuiButton:{styleOverrides:{root:{borderRadius:"16px",fontWeight:500}}},MuiPopover:{styleOverrides:{paper:{backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06))"}}},MuiTooltip:{styleOverrides:{tooltip:{backgroundImage:"linear-gradient(#1c2128, #1c2128)",fontFamily:A}}},MuiTypography:{styleOverrides:{body1:{fontWeight:"dark"===e?400:500,fontSize:"0.875rem"},overline:{fontWeight:"dark"===e?400:500,textTransform:"none",fontSize:"0.875rem"},h4:{marginBottom:12},h6:{fontWeight:500}}}},shadows:["",...(0,O.times)(24,(0,O.constant)(""))]});function R(){return function(e){return void 0===e&&(e=1),{borderRadius:4,backdropFilter:"blur(8px)",background:e=>{let{palette:t}=e;return(0,E.Fq)(t.background.default,.6)},backgroundSize:"32px 32px"}}}},5387:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(7462),o=n(3366),i=n(7294);const a=i.createContext(null);function l(){return i.useContext(a)}const s="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var u=n(5893);const c=function(e){const{children:t,theme:n}=e,o=l(),c=i.useMemo((()=>{const e=null===o?n:function(e,t){if("function"==typeof t)return t(e);return(0,r.Z)({},e,t)}(o,n);return null!=e&&(e[s]=null!==o),e}),[n,o]);return(0,u.jsx)(a.Provider,{value:c,children:t})};var f=n(6498),d=n(4168);const p=["value"],h=i.createContext();const m=function(e){let{value:t}=e,n=(0,o.Z)(e,p);return(0,u.jsx)(h.Provider,(0,r.Z)({value:null==t||t},n))},g={};function y(e,t,n,o=!1){return i.useMemo((()=>{const i=e&&t[e]||t;if("function"==typeof n){const a=n(i),l=e?(0,r.Z)({},t,{[e]:a}):a;return o?()=>l:l}return e?(0,r.Z)({},t,{[e]:n}):(0,r.Z)({},t,n)}),[e,t,n,o])}const v=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,d.Z)(g),i=l()||g,a=y(r,o,n),s=y(r,i,n,!0),p="rtl"===a.direction;return(0,u.jsx)(c,{theme:s,children:(0,u.jsx)(f.T.Provider,{value:a,children:(0,u.jsx)(m,{value:p,children:t})})})};var b=n(606);const w=["theme"];function x(e){let{theme:t}=e,n=(0,o.Z)(e,w);const i=t[b.Z];return(0,u.jsx)(v,(0,r.Z)({},n,{themeId:i?b.Z:void 0,theme:i||t}))}var k=n(9860),S=n(3421),_=n(4288);function E(e){let{children:t}=e;const[n,r]=(0,i.useState)((0,_.U)("theme")||"light"),o=(0,i.useMemo)((()=>(0,S.lB)(n,"deepPurple")),[n]);(0,i.useEffect)((()=>{r((0,_.U)("theme")||"light")}),[]);const a=(0,i.useMemo)((()=>[n,e=>{r(e),(0,_.t)("theme",e)}]),[n]);return(0,u.jsx)(k.Q.Provider,{value:a,children:(0,u.jsx)(x,{theme:o,children:t})})}},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>O,ob:()=>p,PP:()=>C,Ep:()=>d});var r=n(7462);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r=0;d--){var p=a[d];"."===p?i(a,d):".."===p?(i(a,d),f++):f&&(i(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function p(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,r.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),f({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,m(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,f({action:r,location:o}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var l=s(t),m=s(n),g=0;g{"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},6486:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",l="__lodash_placeholder__",s=16,u=32,c=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",s],["flip",512],["partial",u],["partialRight",c],["rearg",d]],v="[object Arguments]",b="[object Array]",w="[object Boolean]",x="[object Date]",k="[object Error]",S="[object Function]",_="[object GeneratorFunction]",E="[object Map]",O="[object Number]",j="[object Object]",C="[object Promise]",P="[object RegExp]",A="[object Set]",T="[object String]",I="[object Symbol]",R="[object WeakMap]",N="[object ArrayBuffer]",L="[object DataView]",D="[object Float32Array]",F="[object Float64Array]",M="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",Z="[object Uint8Array]",$="[object Uint8ClampedArray]",U="[object Uint16Array]",q="[object Uint32Array]",W=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,K=RegExp(Q.source),Y=RegExp(G.source),X=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,le=/\s/,se=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ke=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",je="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['\u2019]",Ie="["+_e+"]",Re="["+Ae+"]",Ne="["+Ee+"]",Le="\\d+",De="["+Oe+"]",Fe="["+je+"]",Me="[^"+_e+Ae+Le+Oe+je+Ce+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+_e+"]",Ze="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Ce+"]",qe="\\u200d",We="(?:"+Fe+"|"+Me+")",He="(?:"+Ue+"|"+Me+")",Ve="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Qe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Ne+"|"+Be+")"+"?",Ke="["+Pe+"]?",Ye=Ke+Ge+("(?:"+qe+"(?:"+[ze,Ze,$e].join("|")+")"+Ke+Ge+")*"),Xe="(?:"+[De,Ze,$e].join("|")+")"+Ye,Je="(?:"+[ze+Ne+"?",Ne,Ze,$e,Ie].join("|")+")",et=RegExp(Te,"g"),tt=RegExp(Ne,"g"),nt=RegExp(Be+"(?="+Be+")|"+Je+Ye,"g"),rt=RegExp([Ue+"?"+Fe+"+"+Ve+"(?="+[Re,Ue,"$"].join("|")+")",He+"+"+Qe+"(?="+[Re,Ue+We,"$"].join("|")+")",Ue+"?"+We+"+"+Ve,Ue+"+"+Qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Le,Xe].join("|"),"g"),ot=RegExp("["+qe+_e+Ee+Pe+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],lt=-1,st={};st[D]=st[F]=st[M]=st[B]=st[z]=st[Z]=st[$]=st[U]=st[q]=!0,st[v]=st[b]=st[N]=st[w]=st[L]=st[x]=st[k]=st[S]=st[E]=st[O]=st[j]=st[P]=st[A]=st[T]=st[R]=!1;var ut={};ut[v]=ut[b]=ut[N]=ut[L]=ut[w]=ut[x]=ut[D]=ut[F]=ut[M]=ut[B]=ut[z]=ut[E]=ut[O]=ut[j]=ut[P]=ut[A]=ut[T]=ut[I]=ut[Z]=ut[$]=ut[U]=ut[q]=!0,ut[k]=ut[S]=ut[R]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&pt.process,wt=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),xt=wt&&wt.isArrayBuffer,kt=wt&&wt.isDate,St=wt&&wt.isMap,_t=wt&&wt.isRegExp,Et=wt&&wt.isSet,Ot=wt&&wt.isTypedArray;function jt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ct(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function Nt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function rn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}var on=Qt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),an=Qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ln(e){return"\\"+ct[e]}function sn(e){return ot.test(e)}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,at))).Array,le=t.Date,_e=t.Error,Ee=t.Function,Oe=t.Math,je=t.Object,Ce=t.RegExp,Pe=t.String,Ae=t.TypeError,Te=r.prototype,Ie=Ee.prototype,Re=je.prototype,Ne=t["__core-js_shared__"],Le=Ie.toString,De=Re.hasOwnProperty,Fe=0,Me=(n=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=Re.toString,ze=Le.call(je),Ze=mt._,$e=Ce("^"+Le.call(De).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=vt?t.Buffer:o,qe=t.Symbol,We=t.Uint8Array,He=Ue?Ue.allocUnsafe:o,Ve=cn(je.getPrototypeOf,je),Qe=je.create,Ge=Re.propertyIsEnumerable,Ke=Te.splice,Ye=qe?qe.isConcatSpreadable:o,Xe=qe?qe.iterator:o,Je=qe?qe.toStringTag:o,nt=function(){try{var e=pi(je,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ct=le&&le.now!==mt.Date.now&&le.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Oe.ceil,gt=Oe.floor,yt=je.getOwnPropertySymbols,bt=Ue?Ue.isBuffer:o,wt=t.isFinite,zt=Te.join,Qt=cn(je.keys,je),bn=Oe.max,wn=Oe.min,xn=le.now,kn=t.parseInt,Sn=Oe.random,_n=Te.reverse,En=pi(t,"DataView"),On=pi(t,"Map"),jn=pi(t,"Promise"),Cn=pi(t,"Set"),Pn=pi(t,"WeakMap"),An=pi(je,"create"),Tn=Pn&&new Pn,In={},Rn=Bi(En),Nn=Bi(On),Ln=Bi(jn),Dn=Bi(Cn),Fn=Bi(Pn),Mn=qe?qe.prototype:o,Bn=Mn?Mn.valueOf:o,zn=Mn?Mn.toString:o;function Zn(e){if(nl(e)&&!Wa(e)&&!(e instanceof Wn)){if(e instanceof qn)return e;if(De.call(e,"__wrapped__"))return zi(e)}return new qn(e)}var $n=function(){function e(){}return function(t){if(!tl(t))return{};if(Qe)return Qe(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Un(){}function qn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ur(e,t,n,r,i,a){var l,s=1&t,u=2&t,c=4&t;if(n&&(l=i?n(e,r,i,a):n(e)),l!==o)return l;if(!tl(e))return e;var f=Wa(e);if(f){if(l=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&De.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return To(e,l)}else{var d=gi(e),p=d==S||d==_;if(Ga(e))return Eo(e,s);if(d==j||d==v||p&&!i){if(l=u||p?{}:vi(e),!s)return u?function(e,t){return Io(e,mi(e),t)}(e,function(e,t){return e&&Io(t,Rl(t),e)}(l,e)):function(e,t){return Io(e,hi(e),t)}(e,ir(l,e))}else{if(!ut[d])return i?e:{};l=function(e,t,n){var r=e.constructor;switch(t){case N:return Oo(e);case w:case x:return new r(+e);case L:return function(e,t){var n=t?Oo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case D:case F:case M:case B:case z:case Z:case $:case U:case q:return jo(e,n);case E:return new r;case O:case T:return new r(e);case P:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case I:return o=e,Bn?je(Bn.call(o)):{}}var o}(e,d,s)}}a||(a=new Kn);var h=a.get(e);if(h)return h;a.set(e,l),ll(e)?e.forEach((function(r){l.add(ur(r,t,n,r,e,a))})):rl(e)&&e.forEach((function(r,o){l.set(o,ur(r,t,n,o,e,a))}));var m=f?o:(c?u?ai:ii:u?Rl:Il)(e);return Pt(m||e,(function(r,o){m&&(r=e[o=r]),nr(l,o,ur(r,t,n,o,e,a))})),l}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=je(e);r--;){var i=n[r],a=t[i],l=e[i];if(l===o&&!(i in e)||!a(l))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return Ii((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Rt,a=!0,l=e.length,s=[],u=t.length;if(!l)return s;n&&(t=Lt(t,Jt(n))),r?(i=Nt,a=!1):t.length>=200&&(i=tn,a=!1,t=new Gn(t));e:for(;++o-1},Vn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(On||Vn),string:new Hn}},Qn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Qn.prototype.get=function(e){return fi(this,e).get(e)},Qn.prototype.has=function(e){return fi(this,e).has(e)},Qn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Gn.prototype.add=Gn.prototype.push=function(e){return this.__data__.set(e,a),this},Gn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new Vn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Vn){var r=n.__data__;if(!On||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Qn(r)}return n.set(e,t),this.size=n.size,this};var pr=Lo(xr),hr=Lo(kr,!0);function mr(e,t){var n=!0;return pr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r0&&n(l)?t>1?vr(l,t-1,n,r,o):Dt(o,l):r||(o[o.length]=l)}return o}var br=Do(),wr=Do(!0);function xr(e,t){return e&&br(e,t,Il)}function kr(e,t){return e&&wr(e,t,Il)}function Sr(e,t){return It(t,(function(t){return Xa(e[t])}))}function _r(e,t){for(var n=0,r=(t=xo(t,e)).length;null!=e&&nt}function Cr(e,t){return null!=e&&De.call(e,t)}function Pr(e,t){return null!=e&&t in je(e)}function Ar(e,t,n){for(var i=n?Nt:Rt,a=e[0].length,l=e.length,s=l,u=r(l),c=1/0,f=[];s--;){var d=e[s];s&&t&&(d=Lt(d,Jt(t))),c=wn(d.length,c),u[s]=!n&&(t||a>=120&&d.length>=120)?new Gn(s&&d):o}d=e[0];var p=-1,h=u[0];e:for(;++p=l?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Hr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)l!==e&&Ke.call(l,s,1),Ke.call(e,s,1);return e}function Qr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;wi(o)?Ke.call(e,o,1):po(e,o)}}return e}function Gr(e,t){return e+gt(Sn()*(t-e+1))}function Kr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Ri(Ci(e,t,os),e+"")}function Xr(e){return Xn(Zl(e))}function Jr(e,t){var n=Zl(e);return Di(n,sr(t,0,n.length))}function eo(e,t,n,r){if(!tl(e))return e;for(var i=-1,a=(t=xo(t,e)).length,l=a-1,s=e;null!=s&&++ii?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o>>1,a=e[i];null!==a&&!ul(a)&&(n?a<=t:a=200){var u=t?null:Yo(e);if(u)return dn(u);a=!1,o=tn,s=new Gn}else s=t?[]:l;e:for(;++r=r?e:oo(e,t,n)}var _o=ot||function(e){return mt.clearTimeout(e)};function Eo(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function Oo(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function jo(e,t){var n=t?Oo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Co(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=ul(e),l=t!==o,s=null===t,u=t==t,c=ul(t);if(!s&&!c&&!a&&e>t||a&&l&&u&&!s&&!c||r&&l&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e1?n[i-1]:o,l=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,l&&xi(n[0],n[1],l)&&(a=i<3?o:a,i=1),t=je(t);++r-1?i[a?t[l]:l]:o}}function Zo(e){return oi((function(t){var n=t.length,r=n,a=qn.prototype.thru;for(e&&t.reverse();r--;){var l=t[r];if("function"!=typeof l)throw new Ae(i);if(a&&!s&&"wrapper"==si(l))var s=new qn([],!0)}for(r=s?r:n;++r1&&w.reverse(),p&&cs))return!1;var c=a.get(e),f=a.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,h=2&n?new Gn:o;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(se,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Pt(y,(function(n){var r="_."+n[0];t&n[1]&&!Rt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(r),n)))}function Li(e){var t=0,n=0;return function(){var r=xn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Di(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,aa(e,n)}));function pa(e){var t=Zn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Wn&&wi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new qn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ga=Ro((function(e,t,n){De.call(e,n)?++e[n]:ar(e,n,1)}));var ya=zo(qi),va=zo(Wi);function ba(e,t){return(Wa(e)?Pt:pr)(e,ci(t,3))}function wa(e,t){return(Wa(e)?At:hr)(e,ci(t,3))}var xa=Ro((function(e,t,n){De.call(e,n)?e[n].push(t):ar(e,n,[t])}));var ka=Yr((function(e,t,n){var o=-1,i="function"==typeof t,a=Va(e)?r(e.length):[];return pr(e,(function(e){a[++o]=i?jt(t,e,n):Tr(e,t,n)})),a})),Sa=Ro((function(e,t,n){ar(e,n,t)}));function _a(e,t){return(Wa(e)?Lt:zr)(e,ci(t,3))}var Ea=Ro((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Oa=Yr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&xi(e,t[0],t[1])?t=[]:n>2&&xi(t[0],t[1],t[2])&&(t=[t[0]]),Wr(e,vr(t,1),[])})),ja=ct||function(){return mt.Date.now()};function Ca(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function Pa(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=ml(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Aa=Yr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ui(Aa));r|=u}return Jo(e,r,t,n,o)})),Ta=Yr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ui(Ta));r|=u}return Jo(t,r,e,n,o)}));function Ia(e,t,n){var r,a,l,s,u,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=a;return r=a=o,f=t,s=e.apply(i,n)}function g(e){var n=e-c;return c===o||n>=t||n<0||p&&e-f>=l}function y(){var e=ja();if(g(e))return v(e);u=Ii(y,function(e){var n=t-(e-c);return p?wn(n,l-(e-f)):n}(e))}function v(e){return u=o,h&&r?m(e):(r=a=o,s)}function b(){var e=ja(),n=g(e);if(r=arguments,a=this,c=e,n){if(u===o)return function(e){return f=e,u=Ii(y,t),d?m(e):s}(c);if(p)return _o(u),u=Ii(y,t),m(c)}return u===o&&(u=Ii(y,t)),s}return t=yl(t)||0,tl(n)&&(d=!!n.leading,l=(p="maxWait"in n)?bn(yl(n.maxWait)||0,t):l,h="trailing"in n?!!n.trailing:h),b.cancel=function(){u!==o&&_o(u),f=0,r=c=a=u=o},b.flush=function(){return u===o?s:v(ja())},b}var Ra=Yr((function(e,t){return fr(e,1,t)})),Na=Yr((function(e,t,n){return fr(e,yl(t)||0,n)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||Qn),n}function Da(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Qn;var Fa=ko((function(e,t){var n=(t=1==t.length&&Wa(t[0])?Lt(t[0],Jt(ci())):Lt(vr(t,1),Jt(ci()))).length;return Yr((function(r){for(var o=-1,i=wn(r.length,n);++o=t})),qa=Ir(function(){return arguments}())?Ir:function(e){return nl(e)&&De.call(e,"callee")&&!Ge.call(e,"callee")},Wa=r.isArray,Ha=xt?Jt(xt):function(e){return nl(e)&&Or(e)==N};function Va(e){return null!=e&&el(e.length)&&!Xa(e)}function Qa(e){return nl(e)&&Va(e)}var Ga=bt||ys,Ka=kt?Jt(kt):function(e){return nl(e)&&Or(e)==x};function Ya(e){if(!nl(e))return!1;var t=Or(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!il(e)}function Xa(e){if(!tl(e))return!1;var t=Or(e);return t==S||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==ml(e)}function el(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function tl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function nl(e){return null!=e&&"object"==typeof e}var rl=St?Jt(St):function(e){return nl(e)&&gi(e)==E};function ol(e){return"number"==typeof e||nl(e)&&Or(e)==O}function il(e){if(!nl(e)||Or(e)!=j)return!1;var t=Ve(e);if(null===t)return!0;var n=De.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Le.call(n)==ze}var al=_t?Jt(_t):function(e){return nl(e)&&Or(e)==P};var ll=Et?Jt(Et):function(e){return nl(e)&&gi(e)==A};function sl(e){return"string"==typeof e||!Wa(e)&&nl(e)&&Or(e)==T}function ul(e){return"symbol"==typeof e||nl(e)&&Or(e)==I}var cl=Ot?Jt(Ot):function(e){return nl(e)&&el(e.length)&&!!st[Or(e)]};var fl=Qo(Br),dl=Qo((function(e,t){return e<=t}));function pl(e){if(!e)return[];if(Va(e))return sl(e)?mn(e):To(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=gi(e);return(t==E?un:t==A?dn:Zl)(e)}function hl(e){return e?(e=yl(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ml(e){var t=hl(e),n=t%1;return t==t?n?t-n:t:0}function gl(e){return e?sr(ml(e),0,g):0}function yl(e){if("number"==typeof e)return e;if(ul(e))return m;if(tl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var n=ye.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function vl(e){return Io(e,Rl(e))}function bl(e){return null==e?"":co(e)}var wl=No((function(e,t){if(Ei(t)||Va(t))Io(t,Il(t),e);else for(var n in t)De.call(t,n)&&nr(e,n,t[n])})),xl=No((function(e,t){Io(t,Rl(t),e)})),kl=No((function(e,t,n,r){Io(t,Rl(t),e,r)})),Sl=No((function(e,t,n,r){Io(t,Il(t),e,r)})),_l=oi(lr);var El=Yr((function(e,t){e=je(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&xi(t[0],t[1],i)&&(r=1);++n1),t})),Io(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n}));var Fl=oi((function(e,t){return null==e?{}:function(e,t){return Hr(e,t,(function(t,n){return Cl(e,n)}))}(e,t)}));function Ml(e,t){if(null==e)return{};var n=Lt(ai(e),(function(e){return[e]}));return t=ci(t),Hr(e,n,(function(e,n){return t(e,n[0])}))}var Bl=Xo(Il),zl=Xo(Rl);function Zl(e){return null==e?[]:en(e,Il(e))}var $l=Mo((function(e,t,n){return t=t.toLowerCase(),e+(n?Ul(t):t)}));function Ul(e){return Yl(bl(e).toLowerCase())}function ql(e){return(e=bl(e))&&e.replace(xe,on).replace(tt,"")}var Wl=Mo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Hl=Mo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Vl=Fo("toLowerCase");var Ql=Mo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Gl=Mo((function(e,t,n){return e+(n?" ":"")+Yl(t)}));var Kl=Mo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Yl=Fo("toUpperCase");function Xl(e,t,n){return e=bl(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Jl=Yr((function(e,t){try{return jt(e,o,t)}catch(n){return Ya(n)?n:new _e(n)}})),es=oi((function(e,t){return Pt(t,(function(t){t=Mi(t),ar(e,t,Aa(e[t],e))})),e}));function ts(e){return function(){return e}}var ns=Zo(),rs=Zo(!0);function os(e){return e}function is(e){return Dr("function"==typeof e?e:ur(e,1))}var as=Yr((function(e,t){return function(n){return Tr(n,e,t)}})),ls=Yr((function(e,t){return function(n){return Tr(e,n,t)}}));function ss(e,t,n){var r=Il(t),o=Sr(t,r);null!=n||tl(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Sr(t,Il(t)));var i=!(tl(n)&&"chain"in n&&!n.chain),a=Xa(e);return Pt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=To(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Dt([this.value()],arguments))})})),e}function us(){}var cs=Wo(Lt),fs=Wo(Tt),ds=Wo(Bt);function ps(e){return ki(e)?Vt(Mi(e)):function(e){return function(t){return _r(t,e)}}(e)}var hs=Vo(),ms=Vo(!0);function gs(){return[]}function ys(){return!1}var vs=qo((function(e,t){return e+t}),0),bs=Ko("ceil"),ws=qo((function(e,t){return e/t}),1),xs=Ko("floor");var ks,Ss=qo((function(e,t){return e*t}),1),_s=Ko("round"),Es=qo((function(e,t){return e-t}),0);return Zn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=ml(e),function(){if(--e<1)return t.apply(this,arguments)}},Zn.ary=Ca,Zn.assign=wl,Zn.assignIn=xl,Zn.assignInWith=kl,Zn.assignWith=Sl,Zn.at=_l,Zn.before=Pa,Zn.bind=Aa,Zn.bindAll=es,Zn.bindKey=Ta,Zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},Zn.chain=pa,Zn.chunk=function(e,t,n){t=(n?xi(e,t,n):t===o)?1:bn(ml(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,l=0,s=r(ht(i/t));ai?0:i+n),(r=r===o||r>i?i:ml(r))<0&&(r+=i),r=n>r?0:gl(r);n>>0)?(e=bl(e))&&("string"==typeof t||null!=t&&!al(t))&&!(t=co(t))&&sn(e)?So(mn(e),0,n):e.split(t,n):[]},Zn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:bn(ml(t),0),Yr((function(n){var r=n[t],o=So(n,0,t);return r&&Dt(o,r),jt(e,this,o)}))},Zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ml(t))<0?0:t):[]},Zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ml(t)))<0?0:t,r):[]},Zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},Zn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},Zn.tap=function(e,t){return t(e),e},Zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return tl(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ia(e,t,{leading:r,maxWait:t,trailing:o})},Zn.thru=ha,Zn.toArray=pl,Zn.toPairs=Bl,Zn.toPairsIn=zl,Zn.toPath=function(e){return Wa(e)?Lt(e,Mi):ul(e)?[e]:To(Fi(bl(e)))},Zn.toPlainObject=vl,Zn.transform=function(e,t,n){var r=Wa(e),o=r||Ga(e)||cl(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:tl(e)&&Xa(i)?$n(Ve(e)):{}}return(o?Pt:xr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Zn.unary=function(e){return Ca(e,1)},Zn.union=na,Zn.unionBy=ra,Zn.unionWith=oa,Zn.uniq=function(e){return e&&e.length?fo(e):[]},Zn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Zn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Zn.unset=function(e,t){return null==e||po(e,t)},Zn.unzip=ia,Zn.unzipWith=aa,Zn.update=function(e,t,n){return null==e?e:ho(e,t,wo(n))},Zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ho(e,t,wo(n),r)},Zn.values=Zl,Zn.valuesIn=function(e){return null==e?[]:en(e,Rl(e))},Zn.without=la,Zn.words=Xl,Zn.wrap=function(e,t){return Ma(wo(t),e)},Zn.xor=sa,Zn.xorBy=ua,Zn.xorWith=ca,Zn.zip=fa,Zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},Zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Zn.zipWith=da,Zn.entries=Bl,Zn.entriesIn=zl,Zn.extend=xl,Zn.extendWith=kl,ss(Zn,Zn),Zn.add=vs,Zn.attempt=Jl,Zn.camelCase=$l,Zn.capitalize=Ul,Zn.ceil=bs,Zn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=yl(n))==n?n:0),t!==o&&(t=(t=yl(t))==t?t:0),sr(yl(e),t,n)},Zn.clone=function(e){return ur(e,4)},Zn.cloneDeep=function(e){return ur(e,5)},Zn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:o)},Zn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:o)},Zn.conformsTo=function(e,t){return null==t||cr(e,t,Il(t))},Zn.deburr=ql,Zn.defaultTo=function(e,t){return null==e||e!=e?t:e},Zn.divide=ws,Zn.endsWith=function(e,t,n){e=bl(e),t=co(t);var r=e.length,i=n=n===o?r:sr(ml(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Zn.eq=Za,Zn.escape=function(e){return(e=bl(e))&&Y.test(e)?e.replace(G,an):e},Zn.escapeRegExp=function(e){return(e=bl(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Zn.every=function(e,t,n){var r=Wa(e)?Tt:mr;return n&&xi(e,t,n)&&(t=o),r(e,ci(t,3))},Zn.find=ya,Zn.findIndex=qi,Zn.findKey=function(e,t){return Zt(e,ci(t,3),xr)},Zn.findLast=va,Zn.findLastIndex=Wi,Zn.findLastKey=function(e,t){return Zt(e,ci(t,3),kr)},Zn.floor=xs,Zn.forEach=ba,Zn.forEachRight=wa,Zn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Rl)},Zn.forInRight=function(e,t){return null==e?e:wr(e,ci(t,3),Rl)},Zn.forOwn=function(e,t){return e&&xr(e,ci(t,3))},Zn.forOwnRight=function(e,t){return e&&kr(e,ci(t,3))},Zn.get=jl,Zn.gt=$a,Zn.gte=Ua,Zn.has=function(e,t){return null!=e&&yi(e,t,Cr)},Zn.hasIn=Cl,Zn.head=Vi,Zn.identity=os,Zn.includes=function(e,t,n,r){e=Va(e)?e:Zl(e),n=n&&!r?ml(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),sl(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ut(e,t,n)>-1},Zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ml(n);return o<0&&(o=bn(r+o,0)),Ut(e,t,o)},Zn.inRange=function(e,t,n){return t=hl(t),n===o?(n=t,t=0):n=hl(n),function(e,t,n){return e>=wn(t,n)&&e=-9007199254740991&&e<=h},Zn.isSet=ll,Zn.isString=sl,Zn.isSymbol=ul,Zn.isTypedArray=cl,Zn.isUndefined=function(e){return e===o},Zn.isWeakMap=function(e){return nl(e)&&gi(e)==R},Zn.isWeakSet=function(e){return nl(e)&&"[object WeakSet]"==Or(e)},Zn.join=function(e,t){return null==e?"":zt.call(e,t)},Zn.kebabCase=Wl,Zn.last=Yi,Zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ml(n))<0?bn(r+i,0):wn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):$t(e,Wt,i,!0)},Zn.lowerCase=Hl,Zn.lowerFirst=Vl,Zn.lt=fl,Zn.lte=dl,Zn.max=function(e){return e&&e.length?gr(e,os,jr):o},Zn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),jr):o},Zn.mean=function(e){return Ht(e,os)},Zn.meanBy=function(e,t){return Ht(e,ci(t,2))},Zn.min=function(e){return e&&e.length?gr(e,os,Br):o},Zn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Br):o},Zn.stubArray=gs,Zn.stubFalse=ys,Zn.stubObject=function(){return{}},Zn.stubString=function(){return""},Zn.stubTrue=function(){return!0},Zn.multiply=Ss,Zn.nth=function(e,t){return e&&e.length?qr(e,ml(t)):o},Zn.noConflict=function(){return mt._===this&&(mt._=Ze),this},Zn.noop=us,Zn.now=ja,Zn.pad=function(e,t,n){e=bl(e);var r=(t=ml(t))?hn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Ho(gt(o),n)+e+Ho(ht(o),n)},Zn.padEnd=function(e,t,n){e=bl(e);var r=(t=ml(t))?hn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Sn();return wn(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Gr(e,t)},Zn.reduce=function(e,t,n){var r=Wa(e)?Ft:Gt,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Zn.reduceRight=function(e,t,n){var r=Wa(e)?Mt:Gt,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Zn.repeat=function(e,t,n){return t=(n?xi(e,t,n):t===o)?1:ml(t),Kr(bl(e),t)},Zn.replace=function(){var e=arguments,t=bl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Zn.result=function(e,t,n){var r=-1,i=(t=xo(t,e)).length;for(i||(i=1,e=o);++rh)return[];var n=g,r=wn(e,g);t=ci(t),e-=g;for(var o=Yt(r,t);++n=a)return e;var s=n-hn(r);if(s<1)return r;var u=l?So(l,0,s).join(""):e.slice(0,s);if(i===o)return u+r;if(l&&(s+=u.length-s),al(i)){if(e.slice(s).search(i)){var c,f=u;for(i.global||(i=Ce(i.source,bl(me.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;u=u.slice(0,d===o?s:d)}}else if(e.indexOf(co(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},Zn.unescape=function(e){return(e=bl(e))&&K.test(e)?e.replace(Q,yn):e},Zn.uniqueId=function(e){var t=++Fe;return bl(e)+t},Zn.upperCase=Kl,Zn.upperFirst=Yl,Zn.each=ba,Zn.eachRight=wa,Zn.first=Vi,ss(Zn,(ks={},xr(Zn,(function(e,t){De.call(Zn.prototype,t)||(ks[t]=e)})),ks),{chain:!1}),Zn.VERSION="4.17.21",Pt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Zn[e].placeholder=Zn})),Pt(["drop","take"],(function(e,t){Wn.prototype[e]=function(n){n=n===o?1:bn(ml(n),0);var r=this.__filtered__&&!t?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Pt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Pt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),Pt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(os)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=Yr((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return Tr(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(Da(ci(e)))},Wn.prototype.slice=function(e,t){e=ml(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Wn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ml(t))<0?n.dropRight(-t):n.take(t-e)),n)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(g)},xr(Wn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Zn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Zn.prototype[t]=function(){var t=this.__wrapped__,l=r?[1]:arguments,s=t instanceof Wn,u=l[0],c=s||Wa(t),f=function(e){var t=i.apply(Zn,Dt([e],l));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=s&&!p;if(!a&&c){t=m?t:new Wn(this);var g=e.apply(t,l);return g.__actions__.push({func:ha,args:[f],thisArg:o}),new qn(g,d)}return h&&m?e.apply(this,l):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),Pt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Wa(o)?o:[],e)}return this[n]((function(n){return t.apply(Wa(n)?n:[],e)}))}})),xr(Wn.prototype,(function(e,t){var n=Zn[t];if(n){var r=n.name+"";De.call(In,r)||(In[r]=[]),In[r].push({name:t,func:n})}})),In[$o(o,2).name]=[{name:"wrapper",func:o}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=To(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=To(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=To(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Wa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Zn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var r=zi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:o}),new qn(t,this.__chain__)}return this.thru(ta)},Zn.prototype.toJSON=Zn.prototype.valueOf=Zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Zn.prototype.first=Zn.prototype.head,Xe&&(Zn.prototype[Xe]=function(){return this}),Zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},813:function(e){e.exports=function(){"use strict";var e="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},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=o,this.iframesTimeout=i}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var o=e.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(i){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,o=!1,i=null,a=function a(){if(!o){o=!0,clearTimeout(i);try{r.isIframeBlank(e)||(e.removeEventListener("load",a),r.getIframeContents(e,t,n))}catch(l){n()}}};e.addEventListener("load",a),i=setTimeout(a,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},a=t.querySelectorAll("iframe"),l=a.length,s=0;a=Array.prototype.slice.call(a);var u=function(){--l<=0&&i(s)};l||u(),a.forEach((function(t){e.matches(t,o.exclude)?u():o.onIframeReady(t,(function(e){n(t)&&(s++,r(e)),u()}),u)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var o=!1,i=!1;return r.forEach((function(e,t){e.val===n&&(o=t,i=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==o||i?!1===o||i||(r[o].handled=!0):r.push({val:n,handled:!0}),!0):(!1===o&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var o=this;e.forEach((function(e){e.handled||o.getIframeContents(e.val,(function(e){o.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,o){for(var i=this,a=this.createIterator(t,e,r),l=[],s=[],u=void 0,c=void 0,f=function(){var e=i.getIteratorNode(a);return c=e.prevNode,u=e.node};f();)this.iframes&&this.forEachIframe(t,(function(e){return i.checkIframeFilter(u,c,e,l)}),(function(t){i.createInstanceOnIframe(t).forEachNode(e,(function(e){return s.push(e)}),r)})),s.push(u);s.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(l,e,n,r),o()}},{key:"forEachNode",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=this.getContexts(),a=i.length;a||o(),i.forEach((function(i){var l=function(){r.iterateThroughNodes(e,i,t,n,(function(){--a<=0&&o()}))};r.iframes?r.waitForIframes(i,l):l()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var o=!1;return n.every((function(t){return!r.call(e,t)||(o=!0,!1)})),o}return!1}}]),e}(),i=function(){function i(e){t(this,i),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(i,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var o in t)if(t.hasOwnProperty(o)){var i=t[o],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==l&&(e=e.replace(new RegExp("("+this.escapeStr(a)+"|"+this.escapeStr(l)+")","gm"+n),r+"("+this.processSynomyms(a)+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(o){n.every((function(n){if(-1!==n.indexOf(o)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,o="string"==typeof r?r:r.value,i="string"==typeof r?[]:r.limiters,a="";switch(i.forEach((function(e){a+="|"+t.escapeStr(e)})),o){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(a="\\s"+(a||this.escapeStr(n)))+"]*"+e+"[^"+a+"]*)";case"exactly":return"(^|\\s"+a+")("+e+")(?=$|\\s"+a+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var o=t.callNoMatchOnInvalidRanges(e,r),i=o.start,a=o.end;o.valid&&(e.start=i,e.length=a-i,n.push(e),r=a)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,o=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?o=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:o}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,o=!0,i=n.length,a=t-i,l=parseInt(e.start,10)-a;return(r=(l=l>i?i:l)+parseInt(e.length,10))>i&&(r=i,this.log("End range automatically set to the max value of "+i)),l<0||r-l<0||l>i||r>i?(o=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(o=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:o}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return o.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",o=e.splitText(t),i=o.splitText(n-t),a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=o.textContent,o.parentNode.replaceChild(a,o),i}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,o){var i=this;e.nodes.every((function(a,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(a.node))return!1;var u=t-a.start,c=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),d=e.value.substr(c+a.start);if(a.node=i.wrapRangeInTextNode(a.node,u,c),e.value=f+d,e.nodes.forEach((function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)})),n-=c,o(a.node.previousSibling,a.start),!(n>a.end))return!1;t=a.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,o){var i=this,a=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var o=void 0;null!==(o=e.exec(t.textContent))&&""!==o[a];)if(n(o[a],t)){var l=o.index;if(0!==a)for(var s=1;s{"use strict";n.r(t)},6930:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function o(e,t,n){return en?n:e}function i(e){return 100*(-1+e)}function a(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var i=n.render(!t),u=i.querySelector(r.barSelector),c=r.speed,f=r.easing;return i.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,a(e,c,f)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){s(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,a=t.querySelector(r.barSelector),l=e?"-100":i(n.status||0),u=document.querySelector(r.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=d(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function f(e,t){var n,r=d(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},4779:(e,t,n)=>{var r=n(5826);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,l="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],d=n[1],p=n.index;if(l+=e.slice(a,p),a=p+f.length,d)l+=d[1];else{var h=e[a],m=n[2],g=n[3],y=n[4],v=n[5],b=n[6],w=n[7];l&&(r.push(l),l="");var x=null!=m&&null!=h&&h!==m,k="+"===b||"*"===b,S="?"===b||"*"===b,_=n[2]||c,E=y||v;r.push({name:g||i++,prefix:m||"",delimiter:_,optional:S,repeat:k,partial:x,asterisk:!!w,pattern:E?u(E):w?".*":"[^"+s(_)+"]+?"})}}return a{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),o=n(9642),i=new Set;function a(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...i,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(a.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),i.add(e)}))}a.silent=!1,e.exports=a},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,i){if(n.language===r){var a=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof i&&!i(e))return e;for(var o,l=a.length;-1!==n.code.indexOf(o=t(r,l));)++l;return a[l]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,i=Object.keys(n.tokenStack);!function a(l){for(var s=0;s=i.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=i[o],f=n.tokenStack[c],d="string"==typeof u?u:u.content,p=t(r,c),h=d.indexOf(p);if(h>-1){++o;var m=d.substring(0,h),g=new e.Token(r,e.tokenize(f,n.grammar),"language-"+r,f),y=d.substring(h+p.length),v=[];m&&v.push.apply(v,a([m])),v.push(g),y&&v.push.apply(v,a([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&a(u.content)}return l}(n.tokens)}}}})}(Prism)},6726:(e,t,n)=>{var r={"./":2885};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=6726},6500:(e,t,n)=>{var r={"./":2885};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=6500},9642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var a in o(t,i),l[t]=!0,n[t])l[a]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,i.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(i,a,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var i=r[o];t[o]="string"==typeof i?{title:i}:i}}return t}(i),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var i=e[o];t(i&&i.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(s);a=a.map(u),l=(l||[]).map(u);var c=n(a),f=n(l);a.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in f||(c[t]=!0,e(t))}))}));for(var d,p=r(s),h=c;o(h);){for(var m in d={},h){var g=s[m];t(g&&g.modify,(function(e){e in f&&(d[e]=!0)}))}for(var y in f)if(!(y in c))for(var v in p(y))if(v in c){d[y]=!0;break}for(var b in h=d)c[b]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var i=o?o.series:void 0,a=o?o.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var o,c=[];for(var f in t(e))f in n&&c.push(f);if(0===c.length)o=r(e);else{var d=a(c.map((function(e){var t=u(e);return delete s[e],t})));i?o=i(d,(function(){return r(e)})):r(e)}return l[e]=o}for(var c in n)u(c);var f=[];for(var d in s)f.push(l[d]);return a(f)}(p,c,t,n)}};return w}}();e.exports=t},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={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 n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),o=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n