티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5810],{4788:(e,t,i)=>{i.d(t,{K:()=>a,SpaceLayoutContextProvider:()=>s});var n=i(54568),r=i(7620);let l=r.createContext({basePath:””});function s(e){let{basePath:t,children:i}=e,s=r.useMemo(()=>({basePath:t}),[t]);return(0,n.jsx)(l.Provider,{value:s,children:i})}function a(){let e=r.useContext(l);if(!e)throw Error(“SpaceLayoutContext not found”);return e.basePath}},10083:(e,t,i)=>{i.r(t),i.d(t,{PageFeedbackForm:()=>u});var n=i(54568),r=i(5772),l=i(7620),s=i(88118),a=i(96021),o=i(98743),c=i(24578),d=i(54217);function u(e){let{className:t}=e,i=(0,s.ok)(),u=(0,c.jt)(),p=l.useRef(null),[m,f]=l.useState(),[g,x]=l.useState(!1),b=e=>{f(e),u({type:”page_post_feedback”,feedback:{rating:e}})};return l.useEffect(()=>{if(m){var e;null==(e=p.current)||e.focus()}},[m]),(0,n.jsxs)(“div”,{className:(0,o.P)(“flex flex-col gap-3 text-sm”,t),children:[(0,n.jsxs)(“div”,{className:”flex flex-wrap items-center gap-2″,children:[(0,n.jsx)(“p”,{children:(0,a.t)(i,”was_this_helpful”)}),(0,n.jsxs)(d.e2,{className:”rounded-full border border-tint bg-tint-base”,children:[(0,n.jsx)(h,{rating:r.op7.Good,label:(0,a.s)(i,”was_this_helpful_positive”),onClick:()=>b(r.op7.Good),active:m===r.op7.Good,disabled:void 0!==m}),(0,n.jsx)(h,{rating:r.op7.Ok,label:(0,a.s)(i,”was_this_helpful_neutral”),onClick:()=>b(r.op7.Ok),active:m===r.op7.Ok,disabled:void 0!==m}),(0,n.jsx)(h,{rating:r.op7.Bad,label:(0,a.s)(i,”was_this_helpful_negative”),onClick:()=>b(r.op7.Bad),active:m===r.op7.Bad,disabled:void 0!==m})]})]}),m?(0,n.jsx)(d.pd,{ref:p,label:(0,a.s)(i,”was_this_helpful_comment”),multiline:!0,submitButton:!0,rows:3,name:”page-feedback-comment”,onSubmit:e=>{x(!0),u({type:”page_post_feedback_comment”,feedback:{rating:m,comment:e}})},maxLength:512,minLength:3,disabled:g,submitMessage:(0,a.s)(i,”was_this_helpful_thank_you”),className:”animate-blur-in”,resize:!0}):null]})}function h(e){var t;let{rating:i,label:r,onClick:l,active:s,disabled:a,…o}=e,c=null!=(t=({bad:(0,n.jsx)(p,{}),ok:(0,n.jsx)(m,{}),good:(0,n.jsx)(f,{})})[i])?t:null;return(0,n.jsx)(d.$n,{className:”first:pl-2.5 last:pr-2.5″,type:”button”,variant:”blank”,label:r,onClick:l,active:s,disabled:a,iconOnly:!0,…o,icon:c})}let p=()=>(0,n.jsxs)(“svg”,{width:”18″,height:”18″,viewBox:”0 0 18 18″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,n.jsx)(“circle”,{cx:”9″,cy:”9″,r:”9″,fill:”currentColor”,fillOpacity:”0.2″}),(0,n.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M5 8.25C4.58579 8.25 4.25 7.91421 4.25 7.5V6C4.25 5.58579 4.58579 5.25 5 5.25C5.41421 5.25 5.75 5.58579 5.75 6V7.5C5.75 7.91421 5.41421 8.25 5 8.25ZM4.66782 13.3737C4.87421 13.5572 5.19025 13.5386 5.3737 13.3322C7.30371 11.1609 10.6963 11.1609 12.6263 13.3322C12.8098 13.5386 13.1258 13.5572 13.3322 13.3737C13.5386 13.1902 13.5572 12.8742 13.3737 12.6678C11.0459 10.049 6.9541 10.049 4.6263 12.6678C4.44284 12.8742 4.46143 13.1902 4.66782 13.3737ZM12.25 7.5C12.25 7.91421 12.5858 8.25 13 8.25C13.4142 8.25 13.75 7.91421 13.75 7.5V6C13.75 5.58579 13.4142 5.25 13 5.25C12.5858 5.25 12.25 5.58579 12.25 6V7.5Z”,fill:”currentColor”})]}),m=()=>(0,n.jsxs)(“svg”,{width:”18″,height:”18″,viewBox:”0 0 18 18″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,n.jsx)(“circle”,{cx:”9″,cy:”9″,r:”9″,fill:”currentColor”,fillOpacity:”0.2″}),(0,n.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M5 8.25C4.58579 8.25 4.25 7.91421 4.25 7.5V6C4.25 5.58579 4.58579 5.25 5 5.25C5.41421 5.25 5.75 5.58579 5.75 6V7.5C5.75 7.91421 5.41421 8.25 5 8.25ZM4.5 12C4.5 11.7239 4.72386 11.5 5 11.5H13C13.2761 11.5 13.5 11.7239 13.5 12C13.5 12.2761 13.2761 12.5 13 12.5H5C4.72386 12.5 4.5 12.2761 4.5 12ZM12.25 7.5C12.25 7.91421 12.5858 8.25 13 8.25C13.4142 8.25 13.75 7.91421 13.75 7.5V6C13.75 5.58579 13.4142 5.25 13 5.25C12.5858 5.25 12.25 5.58579 12.25 6V7.5Z”,fill:”currentColor”})]}),f=()=>(0,n.jsxs)(“svg”,{width:”18″,height:”18″,viewBox:”0 0 18 18″,fill:”none”,xmlns:”http://www.w3.org/2000/svg”,children:[(0,n.jsx)(“circle”,{cx:”9″,cy:”9″,r:”9″,fill:”currentColor”,fillOpacity:”0.2″}),(0,n.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M5 8.25C4.58579 8.25 4.25 7.91421 4.25 7.5V6C4.25 5.58579 4.58579 5.25 5 5.25C5.41421 5.25 5.75 5.58579 5.75 6V7.5C5.75 7.91421 5.41421 8.25 5 8.25ZM4.66782 11.6263C4.87421 11.4428 5.19025 11.4614 5.3737 11.6678C7.30371 13.8391 10.6963 13.8391 12.6263 11.6678C12.8098 11.4614 13.1258 11.4428 13.3322 11.6263C13.5386 11.8098 13.5572 12.1258 13.3737 12.3322C11.0459 14.951 6.9541 14.951 4.6263 12.3322C4.44284 12.1258 4.46143 11.8098 4.66782 11.6263ZM12.25 7.5C12.25 7.91421 12.5858 8.25 13 8.25C13.4142 8.25 13.75 7.91421 13.75 7.5V6C13.75 5.58579 13.4142 5.25 13 5.25C12.5858 5.25 12.25 5.58579 12.25 6V7.5Z”,fill:”currentColor”})]})},27851:(e,t,i)=>{i.d(t,{PageClientLayout:()=>s});var n=i(62942),r=i(7620),l=i(62574);function s(e){let{pageMetaLinks:t}=e;return(0,l.eb)(),function(e){let{pageMetaLinks:t}=e;r.useEffect(()=>{l.f$.setState({metaLinks:t})},[t])}({pageMetaLinks:t}),function(){let e=(0,n.useRouter)(),t=(0,n.usePathname)(),i=(0,n.useSearchParams)();r.useEffect(()=>{if(null==i?void 0:i.has(“fallback”)){var n;let r=new URLSearchParams(i.toString());r.delete(“fallback”),e.push(“”.concat(t,”?”).concat(r.toString()).concat(null!=(n=window.location.hash)?n:””))}},[e,t,i])}(),null}},30711:(e,t,i)=>{i.r(t),i.d(t,{ThemeToggler:()=>o});var n=i(54568),r=i(68309),l=i(7620),s=i(88118),a=i(54217);function o(){let e=(0,s.ok)(),[t,i]=l.useState(!1),{theme:o,setTheme:d}=(0,r.D)();l.useEffect(()=>{i(!0)},[]);let u=e=>{d(e)};return(0,n.jsxs)(a.e2,{role:”radiogroup”,className:”gap-2″,combinedShape:!1,children:[(0,n.jsx)(c,{active:t&&”light”===o,icon:”sun-bright”,onClick:()=>u(“light”),title:(0,s.si)(e,”switch_to_light_theme”)}),(0,n.jsx)(c,{active:t&&”system”===o,icon:”desktop”,onClick:()=>u(“system”),title:(0,s.si)(e,”switch_to_system_theme”)}),(0,n.jsx)(c,{active:t&&”dark”===o,icon:”moon”,onClick:()=>u(“dark”),title:(0,s.si)(e,”switch_to_dark_theme”)})]})}function c(e){let{icon:t,onClick:i,title:r,active:l}=e;return(0,n.jsx)(a.$n,{type:”button”,role:”radio”,onClick:i,label:r,”aria-checked”:l,variant:”blank”,size:”small”,active:l,icon:t,iconOnly:!0})}},32292:(e,t,i)=>{i.r(t),i.d(t,{SitePageNotFound:()=>h});var n=i(54568),r=i(24578),l=i(88118),s=i(98743),a=i(5772),o=i(62942),c=i(7620),d=i(4788),u=i(62574);function h(){let e=(0,d.K)(),t=(0,l.ok)(),i=(0,o.useRouter)(),h=(0,o.useSearchParams)(),p=null==h?void 0:h.get(“fallback”);return(0,c.useEffect)(()=>{p&&i.replace(e)},[e,p,i]),(0,n.jsx)(u.G8,{page:null,children:(0,n.jsxs)(“div”,{className:(0,s.P)(“flex-1″,”flex”,”flex-row”,”items-center”,”justify-center”,”py-9″,”min-h-[calc(100vh-64px)] lg:min-h-fit”),children:[(0,n.jsxs)(“div”,{className:(0,s.P)(“max-w-80”),children:[(0,n.jsx)(“h2”,{className:(0,s.P)(“text-2xl”,”font-semibold”,”mb-2″),children:(0,l.t)(t,”notfound_title”)}),(0,n.jsx)(“p”,{className:(0,s.P)(“text-base”,”mb-4″),children:(0,l.t)(t,”notfound”)})]}),(0,n.jsx)(r.ax,{displayContext:a.qTF.Site})]})})}},41341:(e,t,i)=>{i.d(t,{PreservePageLayout:()=>r});var n=i(7620);function r(e){let{siteWidthWide:t}=e;return n.useLayoutEffect(()=>{let e=document.querySelector(“header”);e&&(t?e.classList.add(“site-width-wide”):e.classList.remove(“site-width-wide”))},[t]),null}},46662:(e,t,i)=>{i.d(t,{PageActionsDropdown:()=>M});var n=i(54568),r=i(90983),l=i(4093),s=i(88118),a=i(82745),o=i(7620),c=i(55809),d=i(50273),u=i(64824),h=i(6988),p=i(26768),m=i(13368);function f(e){let{assistant:t,type:i}=e,r=(0,c.J4)(),l=(0,s.ok)();return(0,n.jsx)(S,{type:i,icon:t.icon,label:t.label,shortLabel:(0,s.si)(l,”ask”),description:(0,s.si)(l,”ai_chat_ask_about_page”,t.label),disabled:r.loading,onClick:()=>{t.open((0,s.si)(l,”ai_chat_suggested_questions_about_this_page”))}})}let g=new Map;function x(e){return(0,m.P)((e=>{let t,i=g.get(e);if(i)return i;let n=(t=null,(0,p.y)()(e=>({copied:!1,loading:!1,setLoading:t=>e({loading:t}),copy:async(i,n)=>{let{onSuccess:r}=n||{};t&&clearTimeout(t),await navigator.clipboard.writeText(i),e({copied:!0}),t=setTimeout(()=>{e({copied:!1}),null==r||r(),t=null},1500)}})));return g.set(e,n),n})(e))}let b=new h.A({maxSize:10});function v(e){let{markdownPageURL:t,type:i,isDefaultAction:r}=e,a=(0,s.ok)(),o=(0,l.useDropdownMenuClose)(),{copied:c,loading:d,setLoading:u,copy:h}=x(“markdown”),p=async()=>{u(!0);let e=await fetch(t).then(e=>e.text());return b.set(t,e),u(!1),e},m=async e=>{r||e.preventDefault(),h(b.get(t)||await p(),{onSuccess:()=>{“dropdown-menu-item”!==i||r||o()}})};return(0,n.jsx)(S,{type:i,icon:c?”check”:”copy”,label:c?(0,s.si)(a,”code_copied”):(0,s.si)(a,”copy_page”),shortLabel:c?(0,s.si)(a,”code_copied”):(0,s.si)(a,”code_copy”),description:(0,s.si)(a,”copy_page_markdown”),onClick:m,loading:d})}function w(e){let{markdownPageURL:t,type:i}=e,r=(0,s.ok)();return(0,n.jsx)(S,{type:i,icon:”markdown”,label:(0,s.si)(r,”view_page_markdown”),description:(0,s.si)(r,”view_page_plaintext”),href:t})}function j(e){let{provider:t,url:i,type:r}=e,l=(0,s.ok)(),a=”chatgpt”===t?”ChatGPT”:”Claude”;return(0,n.jsx)(S,{type:r,icon:t,label:(0,s.si)(l,”open_in”,a),shortLabel:a,description:(0,s.si)(l,”ai_chat_ask_about_page”,a),href:function(e,t,i){let n=encodeURIComponent((0,s.si)(i,”open_in_llms_pre_prompt”,t));switch(e){case”chatgpt”:return”https://chat.openai.com/?q=”.concat(n);case”claude”:return”https://claude.ai/new?q=”.concat(n);default:(0,u.default)(e)}}(t,i,l)})}function k(e){let{type:t,provider:i,url:r}=e,l=(0,s.ok)();return(0,n.jsx)(S,{type:t,icon:”gitlab”===i?”gitlab”:”github”,label:(0,s.si)(l,”edit_on_git”,”github”===i?”GitHub”:”gitlab”===i?”GitLab”:”Git”),shortLabel:(0,s.si)(l,”edit”),href:r})}function y(e){let{mcpURL:t,type:i}=e,r=(0,s.ok)();return(0,n.jsx)(N,{type:i,data:t,label:(0,s.si)(r,”connect_with_mcp”),description:(0,s.si)(r,”copy_mcp_url”),icon:”mcp”})}function _(e){let{siteTitle:t,provider:i,mcpURL:r,type:l}=e,a=(0,s.ok)(),c=o.useMemo(()=>{if(“vscode”===i)return{label:”VSCode”,icon:”vscode”,url:”vscode:mcp/install?”.concat(encodeURIComponent(JSON.stringify({name:t,url:r})))};(0,u.default)(i)},[i,r,t]);return(0,n.jsx)(S,{type:l,href:c.url,label:(0,s.si)(a,”connect_mcp_to”,c.label),description:(0,s.si)(a,”install_mcp_on”,c.label),icon:c.icon})}function C(e){let{url:t,type:i}=e,r=(0,s.ok)();return(0,n.jsx)(S,{type:i,icon:”file-pdf”,label:(0,s.si)(r,”pdf_download”),href:t,target:”_self”})}function P(e){let{url:t,type:i}=e,r=(0,s.ok)();return(0,n.jsx)(S,{type:i,icon:”rss”,label:(0,s.si)(r,”rss_feed”),description:(0,s.si)(r,”open_rss_feed”),href:t,target:”_blank”})}function N(e){let{type:t,data:i,label:r,description:a,icon:o}=e,c=(0,l.useDropdownMenuClose)(),d=(0,s.ok)(),{copied:u,copy:h}=x(r.toLowerCase().replace(/\s+/g,”_”));return(0,n.jsx)(S,{type:t,icon:u?”check”:o,label:u?(0,s.si)(d,”code_copied”):r,description:a,onClick:e=>{e.preventDefault(),h(i,{onSuccess:()=>{“dropdown-menu-item”===t&&c()}})}})}function S(e){let{type:t,icon:i,label:s,shortLabel:o,onClick:c,href:u,target:h=”_blank”,description:p,disabled:m,loading:f}=e;return”button”===t?(0,n.jsx)(r.Button,{icon:f?(0,n.jsx)(a.Icon,{icon:”spinner-third”,className:”size-4 animate-spin”}):i,size:”xsmall”,variant:”secondary”,label:null!=s?s:o,className:”bg-tint-base”,onClick:c,href:u,target:u?h:void 0,disabled:m||f,children:o}):(0,n.jsxs)(l.DropdownMenuItem,{className:”flex items-stretch gap-2.5 p-2″,href:u,target:h,onClick:c,disabled:m||f,children:[(0,n.jsx)(“div”,{className:”flex size-5 items-center justify-center text-tint”,children:f?(0,n.jsx)(a.Icon,{icon:”spinner-third”,className:”size-4 shrink-0 animate-spin”}):i?”string”==typeof i?(0,n.jsx)(a.Icon,{icon:i,iconStyle:d.p.Regular,className:”size-4 shrink-0 fill-transparent stroke-current”}):i:null}),(0,n.jsxs)(“div”,{className:”flex flex-1 flex-col gap-0.5″,children:[(0,n.jsxs)(“span”,{className:”flex items-center gap-1 text-tint-strong”,children:[(0,n.jsx)(“span”,{className:”truncate font-medium text-sm”,children:s}),u&&”_blank”===h?(0,n.jsx)(a.Icon,{icon:”arrow-up-right”,className:”size-3 shrink-0 text-tint-subtle”}):null]}),p&&(0,n.jsx)(“span”,{className:”text-tint text-xs”,children:p})]})]})}function M(e){let t=(0,o.useRef)(null),i=(0,s.ok)(),d=function(e){let{urls:t,actions:i}=e,r=(0,c.OD)().assistants.filter(e=>!0===e.ui&&e.pageAction);if(t.rss)return(0,n.jsx)(P,{url:t.rss,type:”button”});let l=r[0];return l?(0,n.jsx)(f,{assistant:l,type:”button”}):t.editOnGit?(0,n.jsx)(k,{type:”button”,provider:t.editOnGit.provider,url:t.editOnGit.url}):i.markdown?(0,n.jsx)(v,{isDefaultAction:!l,markdownPageURL:t.markdown,type:”button”}):null}(e),u=function(e){let{siteTitle:t,urls:i,actions:r}=e,s=(0,c.OD)().assistants.filter(e=>!0===e.ui&&e.pageAction);return[…s.map(e=>(0,n.jsx)(f,{assistant:e,type:”dropdown-menu-item”},e.label)),r.markdown?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(l.DropdownMenuSeparator,{className:”first:hidden”}),(0,n.jsx)(v,{isDefaultAction:!s.length,markdownPageURL:i.markdown,type:”dropdown-menu-item”}),(0,n.jsx)(w,{markdownPageURL:i.markdown,type:”dropdown-menu-item”})]},”markdown”):null,r.externalAI?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(l.DropdownMenuSeparator,{className:”first:hidden”}),(0,n.jsx)(j,{provider:”chatgpt”,url:i.html,type:”dropdown-menu-item”}),(0,n.jsx)(j,{provider:”claude”,url:i.html,type:”dropdown-menu-item”})]},”externalAI”):null,r.mcp&&i.mcp?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(l.DropdownMenuSeparator,{className:”first:hidden”}),(0,n.jsx)(y,{mcpURL:i.mcp,type:”dropdown-menu-item”}),(0,n.jsx)(_,{provider:”vscode”,mcpURL:i.mcp,siteTitle:t,type:”dropdown-menu-item”})]},”mcp”):null,i.editOnGit||i.pdf||i.rss?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)(l.DropdownMenuSeparator,{className:”first:hidden”}),i.editOnGit?(0,n.jsx)(k,{type:”dropdown-menu-item”,provider:i.editOnGit.provider,url:i.editOnGit.url}):null,i.rss?(0,n.jsx)(P,{url:i.rss,type:”dropdown-menu-item”}):null,i.pdf?(0,n.jsx)(C,{url:i.pdf,type:”dropdown-menu-item”}):null]},”editOnGit”):null].filter(Boolean)}(e);return d||u.length>0?(0,n.jsxs)(r.ButtonGroup,{ref:t,className:e.className,children:[d,u.length>0?(0,n.jsx)(l.DropdownMenu,{align:”end”,className:”!min-w-60 max-w-max”,button:(0,n.jsx)(r.Button,{icon:(0,n.jsx)(a.Icon,{icon:”chevron-down”,className:”size-text-sm transition-transform group-data-[state=open]/button:rotate-180″}),label:(0,s.si)(i,d?”more”:”actions”),iconOnly:!!d,size:”xsmall”,variant:”secondary”,className:”bg-tint-base”}),children:u}):null]}):null}},66321:(e,t,i)=>{i.r(t),i.d(t,{useCoverPosition:()=>l});var n=i(7620),r=i(60357);function l(e,t){var i,l,s,a;let o=(0,n.useRef)(null),[c,d]=(0,n.useState)(null),[u,h]=(0,n.useState)(!e.light.size&&!(null==(i=e.dark)?void 0:i.size)),p=(0,r.wY)({ref:o});(0,n.useLayoutEffect)(()=>{var t;if((null==(t=e.dark)?void 0:t.size)||e.light.size)return;h(!0);let i=e.dark||e.light,n=new Image;n.onload=()=>{d({width:n.naturalWidth,height:n.naturalHeight}),h(!1)},n.onerror=()=>{h(!1)},n.src=i.src},[e.light,e.dark]);let m=null!=(a=null!=(s=null==(l=e.dark)?void 0:l.size)?s:e.light.size)?a:c,f=(m&&p.height&&p.width?Math.max(p.width/m.width,p.height/m.height):1)||1,g=m&&p.height?m.height*f:null,x=g&&p.height?Math.max(0,(g-p.height)/2/f):0;return{containerRef:o,objectPositionY:(0,n.useMemo)(()=>{if(!p.height||!m||m.height*f<=p.height||0===x)return 50;let e=Math.max(-x,Math.min(x,t));return(x-e)/(2*x)*100},[p.height,m,x,f,t]),isLoading:!m||u}}},70855:(e,t,i)=>{i.d(t,{ScrollSectionsList:()=>c});var n=i(54568),r=i(7620),l=i(62574),s=i(98743),a=i(54217),o=i(90526);function c(e){let{sections:t}=e,i=r.useMemo(()=>t.map(e=>{let{id:t}=e;return t}),[t]),c=(0,a.rz)(),d=(0,l.W1)(i,{rootMargin:”-“.concat(o.vV,”px 0px -40% 0px”),threshold:.9,enabled:c}),u=r.useRef(null),h=r.useRef(null);return r.useEffect(()=>{if(d&&h.current&&u.current){var e;null==(e=u.current)||e.scrollTo({top:h.current.offsetTop-100,behavior:”smooth”})}},[d]),(0,n.jsx)(“ul”,{className:”relative flex flex-col border-tint-subtle sidebar-list-line:border-l pb-5 xl:max-2xl:page-api-block:mt-0 xl:max-2xl:page-api-block:p-2″,ref:u,children:t.map(e=>(0,n.jsx)(“li”,{className:(0,s.P)(“flex”,”flex-row”,”relative”,”h-fit”,”mt-2″,”first:mt-0″,”mb-0.5″,e.depth>1&&[“ml-3″,”my-0″,”sidebar-list-line:ml-0”]),ref:d===e.id?h:null,children:(0,n.jsxs)(“a”,{href:”#”.concat(e.id),className:(0,s.P)(“relative”,”z-10″,”text-sm”,”w-full”,”py-1″,”px-3″,”transition-all”,”duration-200″,”rounded-md”,”straight-corners:rounded-none”,”circular-corners:rounded-2xl”,”sidebar-list-line:rounded-l-none!”,”hover:bg-tint-hover”,”theme-gradient:hover:bg-tint-12/1″,”hover:text-tint-strong”,”contrast-more:hover:ring-1″,”contrast-more:hover:ring-inset”,”contrast-more:hover:ring-current”,”sidebar-list-line:border-l-2″,”border-transparent”,”sidebar-list-line:-left-px”,e.depth>1&&[“subitem”,”sidebar-list-line:pl-6″,”opacity-8″,”contrast-more:opacity-11″,”sidebar-list-default:rounded-l-none!”,”sidebar-list-default:border-l”,”sidebar-list-default:border-tint”],d===e.id&&[“text-primary-subtle”,”hover:text-primary”,”contrast-more:text-primary”,”contrast-more:hover:text-primary-strong”,”hover:bg-primary-hover”,”theme-muted:hover:bg-primary-active”,”[html.sidebar-filled.theme-bold.tint_&]:hover:bg-primary-active”,”theme-gradient:hover:bg-primary-active”,”tint:font-semibold”,”contrast-more:font-semibold”,”sidebar-list-line:border-primary-9″,”sidebar-list-default:border-tint”,”sidebar-list-pill:bg-primary”,”[html.theme-muted.sidebar-list-pill_&]:bg-primary-hover”,”[html.theme-gradient.sidebar-list-pill_&]:bg-primary-active”]),children:[e.tag?(0,n.jsx)(“span”,{className:”-mt-0.5 openapi-method text-xs! openapi-method-“.concat(e.tag.toLowerCase()),children:e.tag}):null,(0,n.jsx)(“span”,{className:(0,s.P)(e.deprecated&&[“line-through”,”opacity-50″,”contrast-more:opacity-60″]),children:e.title})]})},e.id))})}},75555:(e,t,i)=>{i.r(t),i.d(t,{PageContext:()=>l,PageContextProvider:()=>s,usePageContext:()=>a});var n=i(54568),r=i(7620);let l=r.createContext(null);function s(e){let{pageId:t,spaceId:i,title:s,children:a}=e,o=r.useMemo(()=>({pageId:t,spaceId:i,title:s}),[t,i,s]);return(0,n.jsx)(l.Provider,{value:o,children:a})}function a(){let e=r.useContext(l);if(!e)throw Error(“usePageContext must be used within a PageContextProvider”);return e}},90654:(e,t,i)=>{i.r(t),i.d(t,{default:()=>n});let n={src:”https://static-2v.gitbook.com/_next/static/media/default-page-cover.a2ccd7e9.svg”,height:1081,width:1920,blurWidth:0,blurHeight:0}},95369:(e,t,i)=>{i.r(t),i.d(t,{Ad:()=>p});var n=i(54568),r=i(5772),l=i(7620),s=i(88118),a=i(98743),o=i(24578);let c=”undefined”!=typeof IntersectionObserver;var d=i(54217),u=i(25316);let h=(0,u.createServerReference)(“40885a9934cd444bc0da69446c17d5b31a250d602a”,u.callServer,void 0,u.findSourceMapURL,”renderAd”);function p(e){let{zoneId:t,spaceId:i,placement:s,ignore:d,siteAdsStatus:u,style:p,mode:f=”auto”}=e,g=l.useRef(null),[x,b]=l.useState(void 0),v=(0,o.jt)();l.useEffect(()=>{(null==x?void 0:x.insightsAd)&&v({type:”ad_display”,ad:x.insightsAd})},[x,v]);let w=function(e,t){let[i,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(!c)return void n(!0);if(!e.current)return;let i=new IntersectionObserver(e=>{let[t]=e;(null==t?void 0:t.isIntersecting)&&(n(!0),i.disconnect())},{root:null==t?void 0:t.root,rootMargin:null==t?void 0:t.rootMargin,threshold:null==t?void 0:t.threshold});return i.observe(e.current),()=>i.disconnect()},[e,null==t?void 0:t.root,null==t?void 0:t.rootMargin,null==t?void 0:t.threshold]),i}(g,{threshold:.1});return l.useEffect(()=>{if(!w)return;let e=!1,i=new URL(window.location.href).searchParams.get(“ads_preview”),n=!!i,l=n?”CVAIKKQM”:t,a=”placeholder”===i||u&&(u===r.ckC.Pending||u===r.ckC.InReview);if(l||a)return(async()=>{let t=a?await h({source:”placeholder”}):l?await h({placement:s,ignore:d||n,zoneId:l,mode:f,source:”live”}):void 0;!e&&t&&b(t)})(),()=>{e=!0}},[w,t,d,s,f,u]),(0,n.jsx)(“div”,{ref:g,className:(0,a.P)(p),”data-visual-test”:”removed”,children:x?(0,n.jsxs)(n.Fragment,{children:[x.children,(0,n.jsx)(m,{spaceId:i})]}):null})}function m(e){let{spaceId:t}=e,i=(0,s.ok)(),l=new URL(“https://www.gitbook.com”);return l.searchParams.set(“utm_source”,”content”),l.searchParams.set(“utm_medium”,”sponsored-by-gitbook”),l.searchParams.set(“utm_campaign”,t),(0,n.jsx)(“p”,{className:(0,a.P)(“mt-2″,”mr-2″,”text-xs”,”text-right”,”text-tint-subtle”),children:(0,n.jsx)(d.N_,{target:”_blank”,href:l.toString(),className:(0,a.P)(“hover:underline”),insights:{type:”trademark_click”,placement:r.H9D.Ad},children:(0,s.t)(i,”sponsored_via_gitbook”)})})}},99447:(e,t,i)=>{i.d(t,{PageCoverImage:()=>a});var n=i(54568),r=i(98743),l=i(66321);let s={width:1990,height:480};function a(e){let{imgs:t,y:i,height:a}=e,{containerRef:o,objectPositionY:c,isLoading:d}=(0,l.useCoverPosition)(t,i);return d?(0,n.jsx)(“div”,{className:”h-full w-full overflow-hidden”,ref:o,children:(0,n.jsx)(“div”,{className:”h-full w-full animate-pulse bg-gradient-to-br from-gray-100 to-gray-200 dark:from-gray-800 dark:to-gray-900″})}):(0,n.jsxs)(“div”,{className:”h-full w-full overflow-hidden”,ref:o,style:{height:a},children:[(0,n.jsx)(“img”,{src:t.light.src,srcSet:t.light.srcSet,sizes:t.light.sizes,fetchPriority:”high”,alt:”Page cover”,className:(0,r.P)(“w-full”,”object-cover”,t.dark?”dark:hidden”:””),style:{aspectRatio:a?void 0:””.concat(s.width,”/”).concat(s.height),objectPosition:”50% “.concat(c,”%”),height:a}}),t.dark&&(0,n.jsx)(“img”,{src:t.dark.src,srcSet:t.dark.srcSet,sizes:t.dark.sizes,fetchPriority:”low”,alt:”Page cover”,className:(0,r.P)(“w-full”,”object-cover”,”dark:inline”,”hidden”),style:{aspectRatio:a?void 0:””.concat(s.width,”/”).concat(s.height),objectPosition:”50% “.concat(c,”%”),height:a}})]})}}}]);