티스토리 수익 글 보기
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1011],{2150:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{AdminToolbarClient:()=>E,ToolbarControlsWrapper:()=>A});var n=r(54568),i=r(82745),o=r(95370),s=r(7620),a=r(25316);let l=(0,a.createServerReference)(“401a1dc09bc2b991765d7038544947ec20748b36d8″,a.callServer,void 0,a.findSourceMapURL,”hasContentBeenUpdated”);function c(e){let{revisionId:t,checkAfterLoad:r=3e5}=e,[n,i]=s.useState(!1),o=s.useCallback(async()=>{if(n)return!0;let e=await l({revisionId:t});return i(e),e},[t,n]),a=s.useCallback(async()=>{await o()&&window.location.reload()},[o]);return s.useEffect(()=>{let e=setTimeout(()=>{“visible”===document.visibilityState&&o()},r);return()=>{clearTimeout(e)}},[o,r]),s.useEffect(()=>{if(n)return;let e=()=>{“visible”===document.visibilityState&&o()};return document.addEventListener(“visibilitychange”,e),()=>{document.removeEventListener(“visibilitychange”,e)}},[o,n]),{refreshForUpdates:a,updated:n}}var d=r(24578),u=r(62574),m=r(54217),h=r(98743),g=r(50273),f=r(54549),p=r(60357),x=r(16446),b=r(92372),v=r.n(b),j=r(19467);function y(e){let{motionValues:t}=e,[r,i]=s.useState(!1),o=(0,j.B)(),a=(0,s.useRef)(null),l=(0,s.useRef)(null);(0,p.Wr)(a,e=>{var t;null!=(t=l.current)&&t.contains(e.target)||i(!1)}),s.useEffect(()=>{if(!r)return;let e=()=>i(!1);return window.addEventListener(“scroll”,e,{passive:!0}),()=>window.removeEventListener(“scroll”,e)},[r]);let c=[(null==o?void 0:o.minimize)?{id:”minimize”,icon:”minus”,label:”Minimize”,onClick:o.minimize}:null,(null==o?void 0:o.closeSession)?{id:”session-close”,icon:”xmark”,label:”Close for one session”,onClick:o.closeSession}:null,(null==o?void 0:o.closePersistent)?{id:”persistent-close”,icon:”ban”,label:”Don’t show again”,onClick:o.closePersistent}:null].filter(Boolean),d=t?{x:t.x}:void 0;return(0,n.jsx)(x.ToolbarButton,{ref:l,title:r?”Hide options”:”Hide toolbar”,onClick:()=>{i(e=>!e)},motionValues:t,icon:”eye-slash”,children:r&&(0,n.jsx)(f.P.div,{className:(0,h.P)(“pointer-events-none absolute inset-0”,v().arcMenu),style:d,children:(0,n.jsx)(“div”,{className:(0,h.P)(“pointer-events-none absolute left-0 overflow-visible”,v().arcMenuPath),ref:a,children:c.map((e,t)=>(0,n.jsx)(w,{index:t,staggerIndex:c.length-1-t,…e,onClick:()=>{var t;i(!1),null==(t=e.onClick)||t.call(e)}},e.icon))})})})}function w(e){let{index:t,staggerIndex:r=t,label:o,disabled:s,className:a,onClick:l=()=>{},icon:c,iconClassName:d}=e,u=”calc(var(–start-distance) + “.concat(t,” * var(–spread-distance))”),m=95-18*t;return(0,n.jsx)(“div”,{className:”pointer-events-none”,children:(0,n.jsxs)(“button”,{type:”button”,onClick:()=>{l()},style:{“–target-offset-distance”:u,”–arc-duration”:””.concat(.4,”s”),”–arc-delay”:””.concat((null!=r?r:0)*80,”ms”),”–rotation-offset”:””.concat(m,”deg”),offsetPath:”border-box”,offsetDistance:u,offsetAnchor:”0% 40%”,offsetRotate:”auto “.concat(m,”deg”)},className:(0,h.P)(“group”,”absolute”,”top-0″,”left-0″,”w-40″,”opacity-0″,”pointer-events-auto”,”flex”,”items-center”,”gap-2″,v().arcMenuItem,a),children:[(0,n.jsx)(“div”,{className:(0,h.P)(“flex shrink-0 items-center justify-center gap-1″,”h-8 w-8 rounded-full border”,”truncate text-sm”,”cursor-pointer transition-colors”,”group-hover:-rotate-5 group-hover:scale-105″,s?”cursor-not-allowed opacity-50″:””,”text-tint-1 dark:text-tint-12″,”bg-[linear-gradient(110deg,rgba(51,53,57,1)_0%,rgba(50,52,56,1)_100%)]”,”dark:[background:linear-gradient(110deg,rgba(255,255,255,1)_0%,rgba(240,246,248,1)_100%)]”,”border border-solid dark:border-[rgba(256,_256,_256,_0.06)]”),style:{background:”linear-gradient(rgb(51, 53, 57), rgb(50, 52, 56))”},children:(0,n.jsx)(i.Icon,{icon:c,iconStyle:g.p.Solid,className:(0,h.P)(“size-4 shrink-0 group-hover:scale-110”,d)})}),(0,n.jsx)(“span”,{className:(0,h.P)(“whitespace-nowrap rounded-lg px-3 py-1 font-normal text-sm transition-transform”,”group-hover:rotate-2 group-hover:scale-105″,”text-neutral-1 dark:text-neutral-12″,”bg-[linear-gradient(110deg,rgba(51,53,57,1)_0%,rgba(50,52,56,1)_100%)]”),children:o})]})})}var C=r(68167);function k(e){let{refreshForUpdates:t,motionValues:r}=e,[i,o]=s.useState(!1),a=s.useCallback(async()=>{o(!0);try{await t()}finally{o(!1)}},[t]);return(0,n.jsx)(x.ToolbarButton,{title:”Refresh for latest changes”,onClick:e=>{i||(e.preventDefault(),a())},disabled:i,motionValues:r,icon:”rotate”,iconClassName:i?”animate-spin”:void 0})}var _=r(52265);let N=”gitbook_toolbar_closed”,S=”gitbook_toolbar_session_closed”,P=”gitbook_toolbar_minified”,T=()=>{let e=(0,_.Hd)(S,null);return”session”===e||”persistent”===e?{hidden:!0,reason:e}:{hidden:!1,reason:void 0}},L=(e,t)=>{e&&t?(0,_.J2)(S,t):(0,_.X)(S)};function E(e){let{context:t,onPersistentClose:r,onSessionClose:i,onToggleMinify:o}=e,{minified:a,setMinified:l,shouldAutoExpand:c,hidden:u,minimize:m,closeSession:h,closePersistent:g}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onPersistentClose:t,onSessionClose:r,onToggleMinify:n}=e,[i]=s.useState(()=>(()=>{let e=(0,_.Hd)(P,null);return null==e?void(0,_.X)(P):e})()),[o,a]=s.useState(()=>void 0===i||i),[l,c]=s.useState(()=>(0,_._S)(N,!1)),[d,u]=s.useState(()=>{let e=T();return e.hidden?e.reason:void 0});s.useEffect(()=>{let e=()=>{c((0,_._S)(N,!1));let e=T();u(e.hidden?e.reason:void 0)};return window.addEventListener(“storage”,e),()=>window.removeEventListener(“storage”,e)},[]),s.useEffect(()=>{if(l){“persistent”!==d&&(L(!0,”persistent”),u(“persistent”));return}”persistent”===d&&(L(!1),u(void 0))},[l,d]);let m=e=>{a(e),(0,_.J2)(P,e),null==n||n()};return{minified:o,setMinified:m,shouldAutoExpand:void 0===i,hidden:l||”session”===d,minimize:()=>m(!0),closeSession:()=>{L(!0,”session”),u(“session”),null==r||r()},closePersistent:()=>{(0,_.AP)(N,!0),c(!0),L(!0,”persistent”),u(“persistent”),null==t||t()}}}({onPersistentClose:r,onSessionClose:i,onToggleMinify:o}),f=(0,d.m$)(),p={minimize:m,closeSession:h,closePersistent:g,shouldAutoExpand:c};return u?null:t.changeRequest?(0,n.jsx)(A,{value:p,children:(0,n.jsx)(B,{context:t,minified:a,onMinifiedChange:l})}):t.revisionId!==t.space.revision?(0,n.jsx)(A,{value:p,children:(0,n.jsx)(I,{context:t,minified:a,onMinifiedChange:l})}):(null==f?void 0:f.organizationId)===t.organizationId?(0,n.jsx)(A,{value:p,children:(0,n.jsx)(M,{context:t,minified:a,onMinifiedChange:l})}):null}function A(e){let{children:t,value:r}=e;return(0,n.jsx)(j.h,{value:r,children:(0,n.jsx)(C.IframeWrapper,{children:(0,n.jsx)(o.x,{reducedMotion:”user”,children:t})})})}function B(e){let{context:t,minified:r,onMinifiedChange:i}=e,{changeRequest:o,site:s}=t;if(!o)throw Error(“Change request is not set”);let a=o.createdBy.displayName,{refreshForUpdates:l,updated:d}=c({revisionId:o.revision});return(0,n.jsxs)(x.Toolbar,{minified:r,onMinifiedChange:i,label:”Site preview”,children:[(0,n.jsxs)(x.ToolbarBody,{children:[(0,n.jsx)(x.ToolbarTitle,{prefix:”Change #”.concat(o.number,”:”),suffix:””.concat(o.subject||”Untitled”)}),(0,n.jsx)(x.ToolbarSubtitle,{subtitle:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.Z0,{value:o.updatedAt}),” by “,a]})})]}),(0,n.jsx)(x.ToolbarSeparator,{}),(0,n.jsxs)(z,{children:[d?(0,n.jsx)(k,{refreshForUpdates:l}):null,(0,n.jsx)(R,{href:o.urls.app,siteId:s.id}),(0,n.jsx)(x.ToolbarButton,{title:”Comment in a GitBook”,href:O({href:””.concat(o.urls.app,”~/comments”),siteId:s.id,buttonId:”comment”}),icon:”comment”}),s.urls.published?(0,n.jsx)(x.ToolbarButton,{title:”Open live site”,href:O({href:s.urls.published,siteId:s.id,buttonId:”production-site”}),icon:”globe”}):null,(0,n.jsx)(x.ToolbarButton,{title:”View change request in GitBook”,href:O({href:o.urls.app,siteId:s.id,buttonId:”change-request”}),icon:”code-pull-request”})]})]})}function I(e){var t;let{context:r,minified:o,onMinifiedChange:s}=e,{revision:a,site:l}=r;if(!a)throw Error(“Revision is not set”);let c=null==(t=a.git)?void 0:t.url,d=null==c?void 0:c.includes(“github.com”);return(0,n.jsxs)(x.Toolbar,{minified:o,onMinifiedChange:s,label:”Site preview”,children:[(0,n.jsxs)(x.ToolbarBody,{children:[(0,n.jsx)(x.ToolbarTitle,{prefix:”Site version”,suffix:r.site.title}),(0,n.jsx)(x.ToolbarSubtitle,{subtitle:(0,n.jsxs)(n.Fragment,{children:[“Created “,(0,n.jsx)(m.Z0,{value:a.createdAt})]})})]}),(0,n.jsx)(x.ToolbarSeparator,{}),(0,n.jsxs)(z,{children:[(0,n.jsx)(x.ToolbarButton,{title:c?”Open commit in “.concat(d?”GitHub”:”GitLab”):(0,n.jsxs)(“div”,{className:”flex items-center gap-2″,children:[“Setup GitSync to edit using Git”,” “,(0,n.jsxs)(“div”,{className:”flex items-center gap-1 text-neutral-8 text-xs hover:text-neutral-6 hover:underline dark:text-neutral-3″,children:[(0,n.jsx)(“a”,{href:”https://gitbook.com/docs/getting-started/git-sync”,target:”_blank”,rel:”noopener noreferrer”,className:””,onClick:e=>e.stopPropagation(),children:”Learn more”}),(0,n.jsx)(i.Icon,{icon:”arrow-up-right”,className:”size-3″})]})]}),href:c,disabled:!c,icon:c?d?”github”:”gitlab”:”github”}),l.urls.published?(0,n.jsx)(x.ToolbarButton,{title:”Open live site”,href:O({href:l.urls.published,siteId:l.id,buttonId:”production-site”}),icon:”globe”}):null,(0,n.jsx)(x.ToolbarButton,{title:”View this revision in GitBook”,href:O({href:a.urls.app,siteId:l.id,buttonId:”revision”}),icon:”code-commit”})]})]})}function M(e){let{context:t,minified:r,onMinifiedChange:i}=e,{revision:o,space:s,site:a}=t,{refreshForUpdates:l,updated:d}=c({revisionId:s.revision});return(0,n.jsxs)(x.Toolbar,{minified:r,onMinifiedChange:i,label:”Only visible to your GitBook organization”,children:[(0,n.jsxs)(x.ToolbarBody,{children:[(0,n.jsx)(x.ToolbarTitle,{suffix:t.site.title}),(0,n.jsx)(x.ToolbarSubtitle,{subtitle:(0,n.jsxs)(n.Fragment,{children:[“Updated “,(0,n.jsx)(m.Z0,{value:o.createdAt})]})})]}),(0,n.jsx)(x.ToolbarSeparator,{}),(0,n.jsxs)(z,{children:[d?(0,n.jsx)(k,{refreshForUpdates:l}):null,(0,n.jsx)(R,{href:s.urls.app,siteId:a.id}),(0,n.jsx)(x.ToolbarButton,{title:”Open site in GitBook”,href:O({href:a.urls.app,siteId:a.id,buttonId:”site”}),icon:”gears”}),(0,n.jsx)(x.ToolbarButton,{title:”Customize in GitBook”,href:O({href:””.concat(a.urls.app,”/customization/general”),siteId:a.id,buttonId:”customize”}),icon:”palette”}),(0,n.jsx)(x.ToolbarButton,{title:”Open insights in GitBook”,href:O({href:””.concat(a.urls.app,”/insights”),siteId:a.id,buttonId:”insights”}),icon:”chart-simple”})]})]})}function z(e){let{children:t}=e;return(0,n.jsxs)(x.ToolbarButtonGroup,{children:[t,(0,n.jsx)(y,{})]})}function R(e){let{href:t,motionValues:r,siteId:i}=e,o=(0,u.Zq)();return(0,n.jsx)(x.ToolbarButton,{title:”Edit in GitBook”,href:O({href:””.concat(t).concat(o.startsWith(“/”)?o.slice(1):o),siteId:i,buttonId:”edit”}),icon:”pencil”,motionValues:r})}function O(e){let{href:t,siteId:r,buttonId:n}=e,i=new URL(t);return i.searchParams.set(“utm_source”,”content”),i.searchParams.set(“utm_medium”,”toolbar”),i.searchParams.set(“utm_campaign”,r),i.searchParams.set(“utm_content”,n),i.toString()}},10092:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{HeaderMobileMenu:()=>d});var n=r(54568),i=r(62942),o=r(7620),s=r(88118),a=r(40965),l=r(54217);let c=”navigation-open”;function d(e){let t=(0,s.ok)(),r=(0,i.usePathname)(),d=(0,o.useRef)(!1),[u,m]=(0,o.useState)(!1),h=(0,o.useRef)(window);return(0,a.F)(()=>{d.current=window.scrollY>=320},h),(0,o.useEffect)(()=>{document.body.classList.remove(c)},[r]),(0,n.jsx)(l.$n,{“data-testid”:”toc-button”,icon:”bars”,iconOnly:!0,variant:”blank”,label:(0,s.si)(t,”table_of_contents_button_label”),onClick:()=>{!d.current&&document.body.classList.contains(c)?(document.body.classList.remove(c),m(!1)):(document.body.classList.add(c),window.scrollTo(0,0),m(!0))},active:u,…e})}},12632:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{SiteSectionGroupItem:()=>f,SiteSectionList:()=>h,SiteSectionListItem:()=>g});var n=r(54568),i=r(82745),o=r(54549),s=r(7620),a=r(98743),l=r(93928),c=r(62574),d=r(54217),u=r(66929),m=r(85820);function h(e){let{sections:{list:t,current:r},className:i}=e;return t.length>0&&(0,n.jsx)(“nav”,{“aria-label”:”Sections”,className:(0,a.P)(“-mx-5 before:contents[] relative border-tint-subtle border-b from-transparent sidebar-filled:to-tint-subtle theme-muted:to-tint-subtle to-tint-base text-sm text-tint before:pointer-events-none before:absolute before:right-2 before:bottom-0 before:left-0 before:h-12 before:bg-linear-to-b [html.sidebar-filled.theme-bold.tint_&]:to-tint-base [html.sidebar-filled.theme-bold.tint_&]:to-tint-subtle [html.sidebar-filled.theme-muted_&]:to-tint-base”,i),children:(0,n.jsx)(u.ScrollContainer,{orientation:”vertical”,style:{maxHeight:””.concat(20,”rem”)},className:”pb-4″,active:r.id,children:(0,n.jsx)(“div”,{className:”flex w-full flex-col px-2″,children:t.map(e=>”site-section-group”===e.object?(0,n.jsx)(f,{group:e,currentSection:r},e.id):(0,n.jsx)(g,{section:e,isActive:e.id===r.id},e.id))})})})}function g(e){let{section:t,isActive:r,className:i,style:o,…s}=e;return(0,n.jsxs)(d.N_,{href:t.url,”aria-current”:r&&”page”,id:t.id,className:(0,a.P)(“group/section-link”,”flex”,”flex-row”,”items-center”,”gap-3″,”rounded-md”,”straight-corners:rounded-none”,”circular-corners:rounded-xl”,”px-3″,”py-2″,”transition-all”,”hover:bg-tint-hover”,”hover:text-tint-strong”,”contrast-more:hover:ring-1″,”contrast-more:hover:ring-tint”,r?”font-semibold text-primary-subtle hover:bg-primary-hover hover:text-primary contrast-more:text-primary contrast-more:hover:text-primary-strong contrast-more:hover:ring-1 contrast-more:hover:ring-primary-hover”:null,i),style:o,…s,children:[(0,n.jsx)(“div”,{className:(0,a.P)(“flex size-8 shrink-0 items-center justify-center rounded-md straight-corners:rounded-none bg-tint-subtle text-lg text-tint leading-none shadow-tint shadow-xs ring-1 ring-tint-subtle transition-transform group-hover/section-link:scale-110 group-hover/section-link:ring-tint-hover group-active/section-link:scale-90 group-active/section-link:shadow-none contrast-more:text-tint-strong dark:shadow-none”,r?”bg-primary tint:bg-primary-original text-primary-subtle tint:text-contrast-primary-original shadow-md shadow-primary ring-primary group-hover/section-link:ring-primary-hover, contrast-more:text-primary contrast-more:ring-2 contrast-more:ring-primary”:null),children:t.icon?(0,n.jsx)(m.D,{icon:t.icon,isActive:r}):(0,n.jsx)(“span”,{className:”text-sm opacity-8 “.concat(r&&”opacity-10”),children:t.title.substring(0,2)})}),t.title]})}function f(e){let{group:t,currentSection:r,level:o=0}=e,c=t.children.length>0,d=!!(0,l.Hd)(t,r.id),u=c&&d,[h,x]=s.useState(u);return s.useEffect(()=>{u&&x(u)},[u]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(“button”,{type:”button”,onClick:e=>{e.preventDefault(),e.stopPropagation(),x(e=>!e)},className:”group/section-link flex w-full flex-row items-center gap-3 rounded-md straight-corners:rounded-none px-3 py-2 text-left transition-all hover:bg-tint-hover hover:text-tint-strong contrast-more:hover:ring-1 contrast-more:hover:ring-tint “.concat(d?”font-semibold text-primary hover:bg-primary-hover hover:text-primary-strong contrast-more:text-primary-strong contrast-more:hover:ring-1 contrast-more:hover:ring-primary-hover”:null),children:[(0,n.jsx)(“div”,{className:(0,a.P)(“flex size-8 shrink-0 items-center justify-center rounded-md straight-corners:rounded-none bg-tint-subtle text-lg text-tint leading-none shadow-tint shadow-xs ring-1 ring-tint-subtle transition-transform group-hover/section-link:scale-110 group-hover/section-link:ring-tint-hover group-active/section-link:scale-90 group-active/section-link:shadow-none contrast-more:text-tint-strong dark:shadow-none”,d?”bg-primary text-primary shadow-md shadow-primary ring-primary group-hover/section-link:ring-primary-hover, contrast-more:text-primary-strong contrast-more:ring-2 contrast-more:ring-primary”:null),children:t.icon?(0,n.jsx)(m.D,{icon:t.icon,isActive:d}):(0,n.jsx)(“span”,{className:”text-sm opacity-8 “.concat(d&&”opacity-10”),children:t.title.substring(0,2)})}),t.title,(0,n.jsx)(“span”,{className:(0,a.P)(“ml-auto”,”group”,”relative”,”rounded-full”,”straight-corners:rounded-xs”,”w-5″,”h-5″,”after:grid-area-1-1″,”after:absolute”,”after:-top-1″,”after:grid”,”after:-left-1″,”after:w-7″,”after:h-7″,”hover:bg-tint-active”,”hover:text-current”,d&&”hover:bg-tint-hover”),children:(0,n.jsx)(i.Icon,{icon:”chevron-right”,className:(0,a.P)(“grid”,”shrink-0″,”size-3″,”m-1″,”transition-opacity”,”text-current”,”transition-transform”,”opacity-6″,”group-hover:opacity-11″,”contrast-more:opacity-11″,h?”rotate-90″:”rotate-0″)})})]}),c?(0,n.jsx)(p,{isVisible:h,children:t.children.map(e=>”site-section”===e.object?(0,n.jsx)(g,{section:e,isActive:e.id===r.id},e.id):(0,n.jsx)(f,{group:e,currentSection:r,level:o+1},e.id))}):null]})}function p(e){let{isVisible:t,children:r}=e,{show:i,hide:s,scope:a}=(0,c.E6)(t);return(0,n.jsx)(o.P.div,{ref:a,className:t?”pl-3″:”pl-3 [&_ul>li]:opacity-1″,initial:t?i:s,children:r})}},14250:(e,t,r)=>{“use strict”;r.d(t,{TableOfContentsScript:()=>i});var n=r(7620);function i(){return(0,n.useEffect)(()=>{let e=document.documentElement,t=()=>{var t;let r=document.getElementById(“site-header”),n=document.getElementById(“announcement-banner”),i=document.getElementById(“site-footer”),o=document.getElementById(“page-cover”),s=null!=(t=null==r?void 0:r.offsetHeight)?t:0,a=window.innerHeight-s,l=s;if(n&&”none”!==window.getComputedStyle(n).display){let e=n.getBoundingClientRect();e.height>0&&e.bottom>0&&(a-=Math.min(e.height,e.bottom),l+=Math.min(e.height,e.bottom))}if(i){let e=i.getBoundingClientRect();e.top0&&e.bottom>0&&(a-=Math.min(e.height,Math.max(e.bottom-s,0)),l+=Math.min(e.height,Math.max(e.bottom-s,0)))}e.style.setProperty(“–outline-height”,””.concat(a,”px”)),e.style.setProperty(“–outline-top-offset”,””.concat(l,”px”))};t(),window.addEventListener(“scroll”,t,{passive:!0}),window.addEventListener(“resize”,t,{passive:!0});let r=new MutationObserver(()=>{requestAnimationFrame(t)});return r.observe(document.documentElement,{subtree:!0,attributes:!0,attributeFilter:[“style”,”class”]}),()=>{r.disconnect(),window.removeEventListener(“scroll”,t),window.removeEventListener(“resize”,t)}},[]),null}},15242:(e,t,r)=>{“use strict”;let n;r.r(t),r.d(t,{SiteLayoutClientContexts:()=>u});var i=r(54568),o=r(68309),s=r(38098),a=r(54223),l=r(62942),c=r(7620),d=r(54217);function u(e){let{children:t,forcedTheme:r,externalLinksTarget:u,contextId:m}=e,h=(0,l.useRouter)();return(0,c.useEffect)(()=>{if(void 0===n){n=m;return}m!==n&&void 0!==n&&(n=m,h.refresh())},[m,h]),(0,i.jsx)(o.N,{attribute:”class”,disableTransitionOnChange:!0,enableSystem:!0,forcedTheme:r,children:(0,i.jsx)(s.N,{children:(0,i.jsx)(d.PA.Provider,{value:{externalLinksTarget:u},children:(0,i.jsx)(a.Lt,{children:t})})})})}},16446:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{Toolbar:()=>C,ToolbarBody:()=>k,ToolbarButton:()=>N,ToolbarButtonGroup:()=>_,ToolbarSeparator:()=>P,ToolbarSubtitle:()=>A,ToolbarTitle:()=>T});var n=r(54568),i=r(54549),o=r(61355),s=r(59681),a=r(29404),l=r(7620),c=r(98743),d=r(51567),u=r.n(d);let m=e=>{let{shouldAnimate:t=!0}=e;return(0,n.jsxs)(“svg”,{className:(0,c.P)(u().svgLogo,t?void 0:u().static),width:”28″,height:”28″,viewBox:”0 0 28 28″,”aria-hidden”:”true”,children:[(0,n.jsx)(“path”,{d:h,transform:”translate(14,14) scale(0.4)”,strokeWidth:3,pathLength:1,strokeLinecap:”round”,className:u().trace}),(0,n.jsx)(“path”,{className:(0,c.P)(u().seg,u().segA),d:h,transform:”translate(14,14) scale(0.4)”,fill:”none”,strokeWidth:3,pathLength:1,strokeLinecap:”round”,strokeDasharray:”0.18 0.82″,strokeDashoffset:0}),(0,n.jsx)(“path”,{className:(0,c.P)(u().seg,u().segB),d:h,transform:”translate(14,14) scale(0.4)”,fill:”none”,strokeWidth:3,pathLength:1,strokeLinecap:”round”,strokeDasharray:”0.20 0.80″,strokeDashoffset:-.18}),(0,n.jsx)(“path”,{className:(0,c.P)(u().seg,u().segC),d:h,transform:”translate(14,14) scale(0.4)”,fill:”none”,strokeWidth:3,pathLength:1,strokeLinecap:”round”,strokeDasharray:”0.22 0.78″,strokeDashoffset:-.38})]})},h=”M-5.07306 1.64898C-1.92626 3.46518 -0.352865 4.37328 1.37504 4.37477C3.10303 4.37628 4.67794 3.47098 7.82794 1.66027C7.82794 1.66027 27.9071 -9.88183 27.9071 -9.88183C28.8136 -10.4029 29.3724 -11.3687 29.3724 -12.4143C29.3724 -13.4598 28.8136 -14.4257 27.9071 -14.9467C27.9071 -14.9467 7.82063 -26.4931 7.82063 -26.4931C4.67414 -28.3018 3.10083 -29.2062 1.37453 -29.2055C-0.351665 -29.2048 -1.92427 -28.2992 -5.06947 -26.488C-5.06947 -26.488 -22.3372 -16.5441 -22.3372 -16.5441C-22.4651 -16.4704 -22.5291 -16.4336 -22.5888 -16.3986C-28.4872 -12.9457 -32.1315 -6.64173 -32.1802 0.192975C-32.1807 0.262075 -32.1807 0.335975 -32.1807 0.483575C-32.1807 0.631075 -32.1807 0.704875 -32.1802 0.773875C-32.1316 7.60087 -28.4955 13.899 -22.6075 17.3547C-22.548 17.3897 -22.4841 17.4266 -22.3564 17.5003C-22.3564 17.5003 -11.5399 23.7454 -11.5399 23.7454C-5.23716 27.3844 -2.08587 29.2039 1.37484 29.2051C4.83554 29.2062 7.98813 27.3889 14.2932 23.7541C14.2932 23.7541 25.7115 17.1718 25.7115 17.1718C28.8686 15.3518 30.4471 14.4418 31.3139 12.9416C32.1807 11.4414 32.1807 9.61938 32.1807 5.97517C32.1807 5.97517 32.1807 -1.06463 32.1807 -1.06463C32.1807 -2.07553 31.6332 -3.00723 30.75 -3.49913C29.8953 -3.97513 28.8536 -3.96802 28.0054 -3.48053C28.0054 -3.48053 4.59224 9.97808 4.59224 9.97808C3.02144 10.8811 2.23593 11.3326 1.37404 11.3329C0.512135 11.3331 -0.273565 10.8821 -1.84506 9.98007C-1.84506 9.98007 -17.6916 0.883775 -17.6916 0.883775C-18.4854 0.428075 -18.8823 0.200275 -19.2011 0.159175C-19.9279 0.065375 -20.6267 0.472475 -20.9036 1.15108C-21.025 1.44858 -21.0225 1.90628 -21.0176 2.82148C-21.014 3.49528 -21.0122 3.83218 -20.9492 4.14208C-20.8082 4.83607 -20.4431 5.46448 -19.91 5.93068C-19.672 6.13888 -19.3802 6.30727 -18.7966 6.64407C-18.7966 6.64407 -1.85397 16.4227 -1.85397 16.4227C-0.278465 17.332 0.509335 17.7867 1.37434 17.7869C2.23934 17.7872 3.02734 17.3329 4.60333 16.4245C4.60333 16.4245 25.3699 4.45377 25.3699 4.45377C25.9083 4.14348 26.1774 3.98828 26.3792 4.10488C26.5811 4.22148 26.5811 4.53218 26.5811 5.15357C26.5811 5.15357 26.5811 8.34667 26.5811 8.34667C26.5811 9.25768 26.5811 9.71317 26.3643 10.0883C26.1476 10.4634 25.753 10.6908 24.9637 11.1458C24.9637 11.1458 7.83524 21.0193 7.83524 21.0193C4.68194 22.837 3.10533 23.7458 1.37463 23.7451C-0.356065 23.7443 -1.93186 22.834 -5.08347 21.0134C-5.08347 21.0134 -21.1086 11.7563 -21.1086 11.7563C-21.1595 11.7269 -21.1849 11.7122 -21.2087 11.6984C-24.5687 9.73487 -26.642 6.14287 -26.6614 2.25128C-26.6616 2.22378 -26.6616 2.19438 -26.6616 2.13567C-26.6616 2.13567 -26.6616 -0.795425 -26.6616 -0.795425C-26.6616 -2.94372 -25.5174 -4.92953 -23.6587 -6.00682C-22.0163 -6.95883 -19.9905 -6.96072 -18.3463 -6.01183C-18.3463 -6.01183 -5.07306 1.64898 -5.07306 1.64898Z”;var g=r(19467),f=r(82745),p=r(50273),x=r(54217);let b=e=>({initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{duration:.1,delay:e/10+.3}}),v={spring:{type:”spring”,stiffness:130,damping:19,mass:1},parent:{hidden:{opacity:0},show:{opacity:1,transition:{delayChildren:.4,staggerChildren:.1}}},staggeringChild:{hidden:{opacity:0,scale:.7},show:{opacity:1,scale:1,transition:{duration:.3,type:”spring”}}}};var j=r(89897);let y={buttonSize:32,maxScale:1.25,influenceRadius:80,spacingMultiplier:1.3,scaleExponent:2.5,padding:10},w=e=>{e.forEach(e=>{let{scale:t,x:r}=e;t.set(1),r.set(0)})};function C(e){let{children:t,label:r,minified:s,onMinifiedChange:a}=e,d=(0,g.B)(),[u,h]=l.useState(!1),f=l.useRef(!1),p=!!(null==d?void 0:d.shouldAutoExpand),[b,j]=l.useState(p);return(l.useEffect(()=>{let e=()=>{h(!0)};if(“complete”!==document.readyState)return window.addEventListener(“load”,e),()=>window.removeEventListener(“load”,e);e()},[]),l.useEffect(()=>{if(!u||f.current)return;if(!p){f.current=!0,j(!1);return}f.current=!0;let e=setTimeout(()=>{j(!1),a(!1)},2100);return()=>clearTimeout(e)},[u,a,p]),l.useEffect(()=>{s||j(!1)},[s]),u)?(0,n.jsx)(x.m_,{label:r,children:(0,n.jsx)(i.P.div,{className:”-translate-x-1/2 fixed bottom-5 left-1/2 z-40 w-auto max-w-xl transform px-4″,children:(0,n.jsx)(o.N,{mode:”wait”,children:(0,n.jsxs)(i.P.div,{onClick:()=>{s&&(j(!1),a(!1))},layout:!0,transition:v.spring,className:(0,c.P)(s?”cursor-pointer px-2″:”pr-2 pl-3.5″,”flex”,”items-center”,”justify-center”,”min-h-11″,”min-w-12″,”h-12″,”py-2″,”backdrop-blur-sm”,”origin-center”,”border-[0.5px] border-neutral-5 border-solid dark:border-neutral-8″,”bg-[linear-gradient(45deg,rgba(39,39,39,0.8)_100%,rgba(39,39,39,0.4)_80%)]”,”dark:bg-[linear-gradient(45deg,rgba(39,39,39,0.5)_100%,rgba(39,39,39,0.3)_80%)]”),style:{borderRadius:”100px”},children:[(0,n.jsx)(i.P.div,{layout:!0,children:(0,n.jsx)(m,{shouldAnimate:b})}),s?null:t]})})})}):null}function k(e){return(0,n.jsx)(“div”,{className:”flex flex-col items-start px-3″,children:e.children})}function _(e){let{children:t}=e,r=l.useRef(null),o=l.Children.toArray(t).filter(e=>!!e),{buttonMotionValues:s}=function(e){let{childrenCount:t,containerRef:r,config:n}=e,i=l.useRef([]),o=l.useMemo(()=>({…y,…n}),[n]),s=l.useMemo(()=>Array.from({length:t},()=>({scale:(0,j.OQ)(1),x:(0,j.OQ)(0)})),[t]);return l.useEffect(()=>{let e=r.current;if(!e)return;let n=Array.from(e.querySelectorAll(“.toolbar-button”));if(n.length!==t)return void console.error(“Button count (“.concat(n.length,”) does not match children count (“).concat(t,”)”));let a=t=>{let r=Array.from(e.querySelectorAll(“.toolbar-button”));i.current.length!==r.length&&(r.forEach(e=>{e.style.transform=””}),i.current=r.map(e=>{let t=e.getBoundingClientRect();return{left:t.left,width:t.width,top:t.top,height:t.height}}));let n=e.getBoundingClientRect(),{clientX:a,clientY:l}=t;if(!(a>=n.left-o.padding&&a<=n.right+o.padding&&l>=n.top-o.padding&&l<=n.bottom+o.padding))return void w(s);let c=r.map((e,t)=>{let r=i.current[t];return r?{scale:((e,t,r,n)=>{let i,o=Math.abs(e-t);if(o>n.influenceRadius)return 1;let s=Math.min(e-r.left,r.right-e);if(o<=8)i=n.maxScale;else{let e=Math.min((o-8)/(n.influenceRadius-8),1),t=(1-e)**n.scaleExponent;i=1+(n.maxScale-1)*t}return s<10?1+s/10*(i-1):i})(a,r.left+r.width/2,n,o),translateX:0}:{scale:1,translateX:0}});c.forEach((e,t)=>{e.translateX=((e,t,r,n)=>{let i=r[e];if(!i)return 0;let o=i.left+i.width/2,s=0,a=0;return t.forEach((t,i)=>{if(i===e)return;let l=r[i];if(!l)return;let c=l.left+l.width/2,d=Math.abs(o-c);if(d<1.5*n.influenceRadius){let e=Math.max(0,1-d/(1.5*n.influenceRadius)),r=(t.scale-1)*n.buttonSize/2*n.spacingMultiplier*e;c{let r=s[t];r&&(r.scale.set(e.scale),r.x.set(e.translateX))})},l=()=>w(s);return e.addEventListener(“mousemove”,a),e.addEventListener(“mouseleave”,l),()=>{e.removeEventListener(“mousemove”,a),e.removeEventListener(“mouseleave”,l)}},[o,r,s,t]),{buttonMotionValues:s}}({childrenCount:o.length,containerRef:r});return(0,n.jsx)(i.P.div,{ref:r,variants:v.parent,initial:”hidden”,animate:”show”,className:”flex items-center gap-1 overflow-visible pr-2 pl-4″,children:o.map((e,t)=>{var r;let i=null!=(r=e.key)?r:”toolbar-button-“.concat(t);return(0,n.jsx)(S,{child:e,rawMotionValues:s[t]},i)})})}let N=l.forwardRef((e,t)=>{let{title:r,disabled:o,motionValues:a,className:l,style:d,href:u,onClick:m,icon:h,iconClassName:g,children:b}=e,j=(0,s.I)();return(0,n.jsxs)(i.P.div,{variants:v.staggeringChild,className:”relative”,ref:t,children:[b||null,(0,n.jsx)(x.m_,{label:r,children:(0,n.jsx)(i.P.a,{href:u,onClick:m,target:”_blank”,rel:”noopener noreferrer”,style:j?void 0:{scale:null==a?void 0:a.scale,x:null==a?void 0:a.x,transformOrigin:”bottom center”,zIndex:(null==a?void 0:a.scale)?10:”auto”,…d},transition:{type:”spring”,stiffness:400,damping:30},className:(0,c.P)(“toolbar-button”,l,”flex”,”relative”,”items-center”,”justify-center”,”gap-1″,”text-sm”,”rounded-full”,”truncate”,”text-tint-1″,”dark:text-tint-12″,”cursor-pointer”,”transition-colors”,”size-8″,o?”cursor-not-allowed opacity-50″:””,”border border-[rgba(256,_256,_256,_0.06)] border-solid”,”bg-[linear-gradient(45deg,rgba(51,53,57,1)_0%,rgba(50,52,56,1)_100%)]”),children:(0,n.jsx)(f.Icon,{icon:h,iconStyle:p.p.Solid,className:(0,c.P)(“size-4 shrink-0 group-hover:scale-110 group-hover:text-tint-3”,g)})})})]})});function S(e){var t,r;let{child:n,rawMotionValues:i}=e,o=(0,a.z)(null!=(t=null==i?void 0:i.scale.get())?t:1,{stiffness:400,damping:30}),s=(0,a.z)(null!=(r=null==i?void 0:i.x.get())?r:0,{stiffness:400,damping:30});return(l.useEffect(()=>{if(!i)return;let e=i.scale.on(“change”,e=>o.set(e)),t=i.x.on(“change”,e=>s.set(e));return()=>{e(),t()}},[i,o,s]),(0,l.isValidElement)(n))?l.cloneElement(n,{motionValues:{scale:o,x:s}}):null}function P(){return(0,n.jsx)(“div”,{className:”h-5 w-px bg-tint-1/3″})}function T(e){return(0,n.jsxs)(“div”,{className:”flex items-center gap-1 text-xs “,children:[e.prefix?(0,n.jsx)(L,{title:e.prefix}):null,(0,n.jsx)(E,{title:e.suffix})]})}function L(e){return(0,n.jsx)(i.P.span,{…b(0),className:”truncate font-medium text-neutral-1 dark:text-neutral-12″,children:e.title})}function E(e){return(0,n.jsx)(i.P.span,{…b(1),className:”max-w-[20ch] truncate text-neutral-1 dark:text-neutral-12″,children:e.title})}function A(e){return(0,n.jsx)(i.P.span,{…b(1),className:”text-neutral-1/80 text-xxs dark:text-neutral-12/80″,children:e.subtitle})}N.displayName=”ToolbarButton”},18440:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{PagesList:()=>N});var n=r(54568),i=r(98743),o=r(64824),s=r(5772),a=r(82745),l=r(54217);function c(e){let{page:t,style:r}=e;return t.emoji?(0,n.jsx)(l.zT,{code:t.emoji,style:[r,”text-inherit”]}):t.icon?(0,n.jsx)(a.Icon,{icon:t.icon,className:(0,i.P)(“size-[1em]”,r)}):null}function d(e){let{page:t}=e;return(0,n.jsx)(c,{page:t,style:(0,i.P)(“text-base”,”in-[.toclink]:text-tint-strong/6″,”group-aria-current-page/toclink:text-primary-subtle”,”contrast-more:group-aria-current-page/toclink:text-primary”,t.emoji?””:[“theme-bold-no-tint:text-primary-subtle”,”theme-gradient-no-tint:text-primary-subtle”,”theme-bold-tint:text-tint-subtle”,”theme-gradient-tint:text-tint-subtle”,”group-aria-current-page/toclink:text-inherit!”],”shrink-0″)})}var u=r(61355),m=r(54549),h=r(7620),g=r(62574),f=r(29578);function p(e){let{href:t,children:r,descendants:i,pathnames:o,insights:s}=e,a=(0,g.Zq)(),l=o.some(e=>e===a),c=l||o.some(e=>a.startsWith(“”.concat(e,”/”))),[d,u]=h.useState(c),m=(0,h.useRef)(!1);h.useEffect(()=>{c&&!m.current&&u(c)},[c]);let f=e=>{m.current=!0,u(e)};return i?(0,n.jsx)(b,{descendants:i,isOpen:d,setIsOpen:f,children:e=>{let{descendants:i,toggler:o}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(x,{href:t,insights:s,isActive:l,onActiveClick:()=>f(!d),children:[r,o]}),i]})}}):(0,n.jsx)(x,{href:t,insights:s,isActive:l,children:r})}function x(e){let{isActive:t,href:r,insights:i,children:o,onActiveClick:s}=e,a=(0,h.useRef)(null);return(0,f.useScrollToActiveTOCItem)({anchorRef:a,isActive:t}),(0,n.jsx)(l.N_,{ref:a,href:r,insights:i,”aria-current”:t?”page”:void 0,classNames:[“ToggleableLinkItemStyles”,…t?[“ToggleableLinkItemActiveStyles”]:[]],onClick:e=>{t&&s&&(e.preventDefault(),s())},children:o})}function b(e){let{descendants:t,isOpen:r,setIsOpen:i}=e;return e.children({toggler:(0,n.jsx)(v,{isLinkActive:r,isOpen:r,onToggle:()=>{i(e=>!e)}}),descendants:(0,n.jsx)(w,{isVisible:r,children:t})})}function v(e){let{isLinkActive:t,isOpen:r,onToggle:o}=e;return(0,n.jsx)(“span”,{className:(0,i.P)(“group”,”relative”,”rounded-full”,”straight-corners:rounded-xs”,”w-5″,”h-5″,”after:grid-area-1-1″,”after:absolute”,”after:-top-1″,”after:grid”,”after:-left-1″,”after:w-7″,”after:h-7″,”hover:bg-tint-active”,”hover:text-current”,t&&”hover:bg-tint-hover”),onClick:e=>{e.preventDefault(),e.stopPropagation(),o()},children:(0,n.jsx)(a.Icon,{icon:”chevron-right”,className:(0,i.P)(“m-1 grid size-3 shrink-0 text-current opacity-6 transition”,”group-hover:opacity-11 contrast-more:opacity-11″,r?”rotate-90″:”rotate-0″)})})}let j={opacity:1,height:”auto”},y={opacity:0,height:0};function w(e){let{isVisible:t,children:r}=e;return(0,n.jsx)(u.N,{children:t?(0,n.jsx)(m.P.div,{initial:y,animate:j,exit:y,className:”flex flex-col overflow-hidden”,children:r}):null})}function C(e){var t;let{page:r}=e;return(0,n.jsx)(“li”,{className:”flex flex-col”,children:(0,n.jsx)(p,{href:null!=(t=r.href)?t:”#”,pathnames:r.pathnames,insights:{type:”link_click”,link:{target:{kind:”page”,page:r.id},position:s.QBj.Sidebar}},descendants:r.descendants&&r.descendants.length>0?(0,n.jsx)(N,{pages:r.descendants,style:(0,i.P)(“ml-5″,”my-2″,”border-tint-subtle”,”sidebar-list-default:border-l”,”sidebar-list-line:border-l”)}):null,children:r.emoji||r.icon?(0,n.jsxs)(“span”,{className:”flex items-center gap-3″,children:[(0,n.jsx)(d,{page:r}),r.title]}):r.title})})}function k(e){let{page:t,isFirst:r}=e;return(0,n.jsxs)(“li”,{className:”flex flex-col”,children:[(0,n.jsxs)(“div”,{className:(0,i.P)(“-top-6 sticky z-1 flex items-center gap-3 px-3 pt-6″,”font-semibold text-xs uppercase tracking-wide”,”pb-3″,”-mb-1.5″,”mask-[linear-gradient(rgba(0,0,0,1)_70%,rgba(0,0,0,0))]”,”bg-tint-base”,”sidebar-filled:bg-tint-subtle”,”theme-muted:bg-tint-subtle”,”[html.sidebar-filled.theme-bold.tint_&]:bg-tint-subtle”,”[html.sidebar-filled.theme-muted_&]:bg-tint-base”,”[html.sidebar-filled.theme-bold.tint_&]:bg-tint-base”,”[html.sidebar-default.theme-gradient_&]:bg-gradient-primary”,”[html.sidebar-default.theme-gradient.tint_&]:bg-gradient-tint”,r?”-mt-6″:””),children:[(0,n.jsx)(d,{page:t}),t.title]}),t.descendants&&t.descendants.length>0?(0,n.jsx)(N,{pages:t.descendants}):null]})}function _(e){var t;let{page:r}=e;return(0,n.jsx)(“li”,{className:(0,i.P)(“flex”,”flex-col”),children:(0,n.jsxs)(l.N_,{href:null!=(t=r.href)?t:”#”,classNames:[“PageLinkItemStyles”],insights:{type:”link_click”,link:{target:r.target,position:s.QBj.Sidebar}},children:[(0,n.jsx)(d,{page:r}),r.title,(0,n.jsx)(a.Icon,{icon:”arrow-up-right-from-square”,className:(0,i.P)(“size-3″,”mr-1″,”mt-1″,”place-self-start”,”shrink-0″,”text-current”,”transition-colors”,”[&>path]:transition-opacity”,”[&>path]:opacity-[0.4]”,”group-hover:[&>path]:opacity-11″)})]})})}function N(e){let{pages:t,style:r,isRoot:s=!1}=e;return(0,n.jsx)(“ul”,{className:(0,i.P)(“flex flex-col gap-y-0.5″,r),children:t.map((e,t)=>{switch(e.type){case”document”:return(0,n.jsx)(C,{page:e},e.id);case”link”:return(0,n.jsx)(_,{page:e},e.id);case”group”:return(0,n.jsx)(k,{page:e,isFirst:s&&0===t},e.id);default:(0,o.default)(e)}})})}},19467:(e,t,r)=>{“use strict”;r.d(t,{B:()=>a,h:()=>s});var n=r(54568),i=r(7620);let o=i.createContext(null);function s(e){let{children:t,value:r}=e;return(0,n.jsx)(o.Provider,{value:r,children:t})}function a(){return i.useContext(o)}},29578:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{TOCScrollContainer:()=>a,useScrollToActiveTOCItem:()=>l});var n=r(54568),i=r(7620),o=r(5047);let s=i.createContext(null);function a(e){let t=(0,i.useRef)(null),r=(0,i.useRef)([]),o=(0,i.useCallback)(e=>t.current?(e(t.current),()=>{}):(r.current.push(e),()=>{r.current=r.current.filter(t=>t!==e)}),[]),a=(0,i.useMemo)(()=>({getContainer:o}),[o]);return(0,i.useEffect)(()=>{let e=t.current;if(e)return r.current.forEach(t=>t(e)),()=>{r.current=[]}},[]),(0,n.jsx)(s.Provider,{value:a,children:(0,n.jsx)(“div”,{ref:t,”data-testid”:”toc-scroll-container”,…e})})}function l(e){let{isActive:t,anchorRef:r}=e,{getContainer:n}=function(){let e=i.useContext(s);return(0,o.assert)(e),e}();(0,i.useEffect)(()=>{let e=r.current;if(t&&e)return n(t=>{(function(e,t){let r=e.offsetTop,n=t.scrollTop,i=n+t.clientHeight;return ri-100})(e,t)&&t.scrollTo({top:e.offsetTop-100})})},[t,n,r])}},48990:(e,t,r)=>{“use strict”;r.d(t,{SpacesDropdownMenuItems:()=>l});var n=r(54568),i=r(31417),o=r(62574),s=r(4093);function a(e){let{variantSpace:t,active:r,currentSpacePath:a}=e,l=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=(0,o.Zq)(),{metaLinks:s}=(0,o.lV)(),a=null==s?void 0:s.alternates.find(t=>{var r;return(null==(r=t.space)?void 0:r.id)===e.spaceId});if(a)return a.href;let l=e.url;if(!r&&n.startsWith(“”.concat(t,”/”)))return l;if(URL.canParse(l)){let e=new URL(l);return e.pathname=(0,i.uJ)(e.pathname,n),e.searchParams.set(“fallback”,”true”),e.toString()}return””.concat((0,i.uJ)(l,n),”?fallback=true”)}(t,a,r);return(0,n.jsx)(s.DropdownMenuItem,{href:l,active:r,children:t.title},t.id)}function l(e){let{slimSpaces:t,curPath:r}=e;return(0,n.jsx)(n.Fragment,{children:t.map(e=>(0,n.jsx)(a,{variantSpace:e,active:e.isActive,currentSpacePath:r},e.id))})}},50636:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{CookiesToast:()=>d});var n=r(54568),i=r(7620),o=r(54217),s=r(88118),a=r(96021),l=r(98743),c=r(24578);function d(e){let{privacyPolicy:t=”https://policies.gitbook.com/privacy/cookies”}=e,[r,d]=i.useState(!1),u=(0,s.ok)();if(i.useEffect(()=>{d(void 0===(0,c.$7)())},[]),!r)return null;let m=e=>{(0,c.nC)(e),window.location.reload()},h=”cookies-description”;return(0,n.jsxs)(“div”,{role:”dialog”,”data-testid”:”cookies-dialog”,”aria-modal”:”true”,”aria-label”:(0,a.s)(u,”cookies_title”),”aria-describedby”:h,className:(0,l.P)(“fixed”,”z-10″,”bg-tint-base”,”rounded-sm”,”straight-corners:rounded-none”,”circular-corners:rounded-2xl”,”ring-1″,”ring-tint-subtle”,”shadow-1xs”,”depth-flat:shadow-none”,”p-4″,”pr-8″,”bottom-4″,”right-4″,”left-16″,”max-w-md”,”text-balance”,”sm:left-auto”,”lg:chat-open:mr-80″,”xl:chat-open:mr-100″,”transition-all”,”duration-300″,”text-sm”),children:[(0,n.jsx)(“p”,{id:h,children:(0,a.t)(u,”cookies_prompt”,(0,n.jsx)(o.ah,{href:t,children:(0,a.t)(u,”cookies_prompt_privacy”)}))}),(0,n.jsx)(o.$n,{iconOnly:!0,icon:”close”,size:”small”,label:(0,a.s)(u,”close”),variant:”blank”,onClick:()=>d(!1),className:(0,l.P)(“absolute”,”top-2″,”right-2″,”hover:bg-tint-hover”)}),(0,n.jsxs)(“div”,{className:”mt-3 flex flex-row gap-2″,children:[(0,n.jsx)(o.$n,{variant:”primary”,size:”small”,”aria-label”:(0,a.s)(u,”cookies_accept”),onClick:()=>{m(!0)},label:(0,a.s)(u,”cookies_accept”)}),(0,n.jsx)(o.$n,{variant:”secondary”,size:”small”,”aria-label”:(0,a.s)(u,”cookies_reject”),onClick:()=>{m(!1)},label:(0,a.s)(u,”cookies_reject”)})]})]})}},51567:e=>{e.exports={svgLogo:”AnimatedLogo_svgLogo__OOuOH”,static:”AnimatedLogo_static__Chez_”,trace:”AnimatedLogo_trace__8cqCU”,seg:”AnimatedLogo_seg__sh9y5″,segFade:”AnimatedLogo_segFade__vBa0x”,segAMove:”AnimatedLogo_segAMove__ZrTC0″,segALen:”AnimatedLogo_segALen__CQMfb”,segA:”AnimatedLogo_segA__ZUYAw”,segB:”AnimatedLogo_segB__gwOTa”,segBMove:”AnimatedLogo_segBMove__ZnTeb”,segBLen:”AnimatedLogo_segBLen__zwaQT”,segC:”AnimatedLogo_segC__ry9Fj”,segCMove:”AnimatedLogo_segCMove___u1eI”,segCLen:”AnimatedLogo_segCLen__wGv6B”,traceFill:”AnimatedLogo_traceFill__wlZNB”}},55392:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{SiteSectionTabs:()=>h});var n=r(54568),i=r(4504),o=r(7620),s=r(54217),a=r(98743),l=r(93928),c=r(1224),d=r(90526),u=r(66929),m=r(85820);function h(e){let{sections:{list:t,current:r},className:s,children:m}=e,h=o.useRef(null),p=o.useRef(null),[x,b]=o.useState(null),[v,j]=o.useState(),y=(0,c.a)(768);return o.useEffect(()=>{let e=p.current,t=h.current;if(!v||!e||!t)return;let r=e.getBoundingClientRect().width-16;b(e.getBoundingClientRect().left-(window.innerWidth-t.getBoundingClientRect().width)/2+r/2)},[v]),t.length>0?(0,n.jsxs)(i.bL,{className:(0,a.P)(d.yx,”relative z-10 flex w-full flex-nowrap items-end”,”page-default-width:2xl:px-[calc((100%-1536px+4rem)/2)]”,s),ref:h,value:v,onValueChange:j,skipDelayDuration:500,children:[(0,n.jsx)(u.ScrollContainer,{orientation:”horizontal”,className:(0,a.P)(“grow”,”md:-ml-8 -ml-4 sm:-ml-6″,m?”after:contents[] after:absolute after:inset-y-2 after:right-0 after:border-transparent after:border-r after:transition-colors”:”md:-mr-8 -mr-4 sm:-mr-6″),active:r.id,trailingEdgeScrollClassName:m?”after:border-tint”:””,children:(0,n.jsx)(i.B8,{className:(0,a.P)(“-mx-3 flex grow gap-2 bg-transparent”,”pl-4 sm:pl-6 md:pl-8″,m?”pr-4″:”pr-4 sm:pr-6 md:pr-8″),”aria-label”:”Sections”,id:”sections”,children:t.map(e=>{let{id:t,title:o,icon:s}=e,a=”site-section-group”===e.object,c=a&&!!(0,l.Hd)(e,r.id)||t===r.id;return(0,n.jsx)(i.q7,{value:t,id:t,children:a&&e.children.length>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.l9,{asChild:!0,ref:v===t?p:void 0,onClick:e=>{v===t&&(e.preventDefault(),e.stopPropagation())},children:(0,n.jsx)(g,{isActive:c,title:o,icon:s})}),(0,n.jsx)(i.UC,{children:(0,n.jsx)(f,{items:e.children,currentSection:r})})]}):(0,n.jsx)(i.N_,{asChild:!0,children:(0,n.jsx)(g,{url:”site-section”===e.object?e.url:void 0,isActive:c,title:o,icon:s||void 0})})},t)})})}),m,(0,n.jsx)(“div”,{className:”absolute top-full left-0 z-20 flex w-full”,style:{padding:”0 “.concat(16,”px 0 “).concat(16,”px”)},children:(0,n.jsx)(i.LM,{className:(0,a.P)(“relative origin-top overflow-auto circular-corners:rounded-3xl rounded-corners:rounded-xl border border-tint bg-tint-base shadow-lg ease-in-out”,”-mt-0.5 w-full md:w-max”,”max-h-[calc(100vh-8rem)] data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in”,”[&:not([style*=’–radix-navigation-menu-viewport-width’])]:hidden”),style:{translate:!y&&x?”clamp(0px, calc(“.concat(x,”px – var(–radix-navigation-menu-viewport-width, 0px)/2), calc(100vw – var(–radix-navigation-menu-viewport-width, 0px) – “).concat(48,”px)) 0 0″):”0 0 0″,display:null===x?”none”:void 0}})})]}):null}let g=o.forwardRef(function(e,t){let{isActive:r,title:i,icon:o,url:l,…c}=e,d=void 0===l;return(0,n.jsx)(s.$n,{ref:t,size:”small”,variant:”blank”,…c,icon:o?(0,n.jsx)(m.D,{isActive:r,icon:o}):null,label:i,trailing:d?(0,n.jsx)(s.ri,{}):null,active:r,className:(0,a.P)(“group/dropdown relative my-1.5 overflow-visible”,r?”after:contents-[] after:-bottom-1.5 bg-transparent text-primary-subtle after:absolute after:inset-x-3 after:h-0.5 after:bg-primary-9″:””),href:l})});function f(e){let{items:t,currentSection:r}=e,i=t.filter(e=>”site-section”===e.object),o=t.filter(e=>”site-section-group”===e.object),s=i.length>0,l=o.length>0;return(0,n.jsxs)(“div”,{className:”flex flex-col md:flex-row”,children:[s&&(0,n.jsx)(“ul”,{className:(0,a.P)(“flex min-w-48 grid-flow-row flex-col gap-x-2 gap-y-1 self-start p-3 md:grid”,l?”bg-tint-base”:””),style:{gridTemplateColumns:”repeat(“.concat(Math.ceil(i.length/8),”, minmax(0, 1fr))”)},children:i.map(e=>(0,n.jsx)(p,{child:e,currentSection:r},e.id))}),l&&(0,n.jsx)(“ul”,{className:(0,a.P)(“flex min-w-48 flex-col items-start justify-start gap-x-8 gap-y-2 p-3 md:flex-row md:gap-y-8″,s?”border-tint-subtle bg-tint-subtle max-md:border-t md:border-l”:””),children:o.map(e=>(0,n.jsx)(p,{child:e,currentSection:r},e.id))})]})}function p(e){let{child:t,currentSection:r}=e;if(“site-section”===t.object){let{url:e,icon:i,title:o,description:l}=t,c=t.id===r.id;return(0,n.jsx)(“li”,{className:”group/section-tile flex shrink-0 grow md:max-w-68″,children:(0,n.jsx)(s.N_,{href:e,className:(0,a.P)(“grow circular-corners:rounded-2xl rounded-corners:rounded-lg px-3 py-2 transition-colors”,c?”bg-primary-active text-primary-strong”:”text-tint-strong hover:bg-tint-hover”),children:(0,n.jsxs)(“div”,{className:”mb-auto flex grow items-center gap-2″,children:[i&&(0,n.jsx)(“div”,{className:(0,a.P)(“-ml-1 self-start circular-corners:rounded-2xl rounded-corners:rounded-lg p-2 transition-colors”,c?”bg-primary-base text-primary-subtle”:”bg-tint text-tint-strong group-hover/section-tile:bg-tint-base”),children:(0,n.jsx)(m.D,{isActive:c,icon:i})}),(0,n.jsxs)(“div”,{className:”flex flex-col gap-1″,children:[o,l&&(0,n.jsx)(“p”,{className:c?”text-primary”:”text-tint”,children:l})]})]})})})}let{title:i,icon:o,children:l}=t;return(0,n.jsxs)(“li”,{className:”flex shrink-0 flex-col gap-1″,children:[(0,n.jsxs)(“div”,{className:”mt-3 mb-2 flex gap-2.5 px-3 font-semibold text-tint-subtle text-xs uppercase tracking-wider”,children:[o&&(0,n.jsx)(m.D,{className:”mt-0.5″,isActive:!1,icon:o}),i]}),(0,n.jsx)(“ul”,{className:”flex grid-flow-row flex-col gap-x-2 gap-y-1 md:grid”,style:{gridTemplateColumns:”repeat(“.concat(Math.ceil(l.length/8),”, minmax(0, auto))”)},children:l.map(e=>(0,n.jsx)(p,{child:e,currentSection:r},e.id))})]})}},68167:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{IframeWrapper:()=>i});var n=r(7620);function i(e){let{children:t}=e,[r,i]=n.useState(!1);return(n.useEffect(()=>{i(window!==window.parent)},[]),r)?null:t}},85820:(e,t,r)=>{“use strict”;r.d(t,{D:()=>s});var n=r(54568),i=r(82745),o=r(98743);function s(e){let{icon:t,isActive:r,className:s}=e;return(0,n.jsx)(i.Icon,{icon:t,className:(0,o.P)(“size-[1em] shrink-0 text-inherit opacity-8″,r&&”text-inherit opacity-10″,s)})}},92372:e=>{e.exports={arcMenu:”Toolbar_arcMenu__hEtiZ”,arcMenuPath:”Toolbar_arcMenuPath__dUNJy”,arcMenuItem:”Toolbar_arcMenuItem__E93ti”,”hide-toolbar-arc-enter”:”Toolbar_hide-toolbar-arc-enter__cf39u”}},93928:(e,t,r)=>{“use strict”;function n(e,t){var r;return null!=(r=(function e(t){let r=[];for(let n of t)”site-section”===n.object?r.push(n):”site-section-group”===n.object&&n.children&&r.push(…e(n.children));return r})(e.children).find(e=>e.id===t))?r:null}r.d(t,{Hd:()=>n})},99992:(e,t,r)=>{“use strict”;r.r(t),r.d(t,{NavigationLoader:()=>l});var n=r(54568),i=r(98743),o=r(62942),s=r(7620),a=r(62574);let l=()=>{let e=(0,a.O0)(),t=(0,o.usePathname)();return(0,s.useEffect)(()=>{document.documentElement.classList.add(“hydrated”)},[]),(0,s.useLayoutEffect)(()=>{let e=document.documentElement;e.classList.add(“route-change”);let t=requestAnimationFrame(()=>{let t=requestAnimationFrame(()=>{e.classList.remove(“route-change”)});return()=>cancelAnimationFrame(t)});return()=>cancelAnimationFrame(t)},[t]),(0,n.jsx)(“div”,{className:(0,i.P)(“pointer-events-none fixed inset-x-0 top-0 z-50 h-0.5 overflow-hidden”,e?”block”:”hidden animate-fade-out-slow”),children:(0,n.jsx)(“div”,{className:(0,i.P)(“h-full w-full origin-left animate-crawl bg-primary-solid theme-bold:bg-header-link”)})})}}}]);