PageSourceSearch

https://scayle.dev/_nuxt/9OE5wLCR.js

js scayle.dev collected 2026-10-05 18:40:06 UTC 16,109 bytes, 1 lines download raw bytes

1import{o as l,c as m,z as J,g as M,q as _,x as C,W as E,a as c,t as S,v as t,E as y,l as B,w as q,m as w,n as K,f as z,y as R,H as Q,B as W,i as ee,b as N,D as te,F as U,k as D,s as oe,r as G,d as ne,h as ae,X as se,Y as re}from"./ClAeB7_3.js";import{u as le,_ as ie}from"./CK5SY1Zs.js";import{_ as X}from"./DjAf2FQ8.js";import{_ as ce}from"./D7DFYrco.js";import{u as Y}from"./DjxVoScJ.js";import{_ as de}from"./DGGSFTrZ.js";import{_ as ue}from"./D5gD4rQb.js";import pe from"./DFnafGsb.js";import{_ as ge}from"./CVGuunIl.js";import{_ as me}from"./Byn5xE-A.js";const he={width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ve(e,n){return l(),m("svg",he,n[0]||(n[0]=[J('<g clip-path="url(#clip0_564_18571)"><path d="M10.5 3.15002V14.85" stroke="#808080" stroke-width="1.25" stroke-linecap="square" stroke-linejoin="round"></path><path d="M6.37461 11.775H0.974609" stroke="#808080" stroke-width="1.25" stroke-linecap="square" stroke-linejoin="round"></path><path d="M6.37461 9.07495H0.974609" stroke="#808080" stroke-width="1.25" stroke-linecap="square" stroke-linejoin="round"></path><path d="M6.37461 6.375H0.974609" stroke="#808080" stroke-width="1.25" stroke-linecap="square" stroke-linejoin="round"></path><path d="M15.8254 11.25L14.0254 9.45002L15.8254 7.65002" stroke="#808080" stroke-width="1.25" stroke-linecap="square" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_564_18571"><rect width="18" height="18" fill="white" transform="translate(0.5)"></rect></clipPath></defs>',2)]))}const fe={render:ve},xe={class:"flex-1 font-normal uppercase tracking-wide"},ke=M({__name:"PageNavigationLink",props:{entry:{type:Object,required:!0},depth:{type:Number,default:0},isActive:{type:Boolean,default:!1},isHeading:{type:Boolean,default:!1},noPadding:{type:Boolean,default:!1}},emits:["toggle-active"],setup(e,{emit:n}){var i,a,s;const d=e,p=n,o=_(((i=d.entry)==null?void 0:i.title)||""),g=_(!!((s=(a=d.entry)==null?void 0:a.children)!=null&&s.length)),h=C(()=>{let u=d.entry;for(;!u.link&&u.children.length>0;)u=u.children[0];return u.link||""}),{closeNavigation:b}=E(),k=()=>{h.value&&(h.value.includes("https://")||h.value.includes("user-interface/components")?window.location.href=h.value:K(h.value)),p("toggle-active")};return(u,f)=>{const x=X;return e.isHeading?(l(),m("button",{key:0,class:y(["flex items-center min-h-10 w-full px-3 md:px-5 pr-0 py-1.5 rounded-md md:rounded-r-none transition-colors duration-300 cursor-pointer",["text-[13px] text-neutral-650 text-left transition-colors","md:outline-0 md:focus-visible:bg-neutral-50 md:hover:bg-neutral-50 md:hover:text-neutral-950"]]),onClick:f[0]||(f[0]=P=>k())},[c("span",xe,S(t(o)),1)])):(l(),B(x,{key:1,to:t(h),class:y(["flex items-center ml-[-16px] pl-7 pr-2 py-1.5 rounded-md",["text-sm text-neutral-450 transition-colors","md:outline-0 md:focus-visible:bg-neutral-50 md:hover:bg-neutral-50 md:hover:text-neutral-950",{"bg-neutral-50 text-neutral-950":e.isActive,"pr-2.5":t(g)}]]),onClick:f[1]||(f[1]=P=>t(b)())},{default:q(()=>[c("span",null,S(t(o)),1),t(g)?(l(),m("img",{key:0,src:ce,class:y(["ml-auto transition-transform duration-300",{"rotate-180":e.isActive&&!e.isHeading}])},null,2)):w("",!0)]),_:1},8,["to","class"]))}}}),Z=M({__name:"PageNavigationListItem",props:{entry:{type:Object,required:!0},depth:{type:Number,default:0},noPadding:{type:Boolean,default:!1}},setup(e){var L,A,H,I,O,V;const n=e,d=_(null),p=_(null),o=_(null),g=_(!!((A=(L=n.entry)==null?void 0:L.children)!=null&&A.length)),h=z(),b=C(()=>{const v=$=>{var T;return $.link===h.path||((T=$==null?void 0:$.children)==null?void 0:T.some(v))};return!!v(n.entry)}),k=C(()=>{var v;return((v=n.entry)==null?void 0:v.link)===h.path}),i=_(k.value||b.value||((H=n.entry)==null?void 0:H.isHeading),n.depth===0&&((O=(I=n.entry)==null?void 0:I.children)==null?void 0:O.some(v=>{var $;return($=v.link)==null?void 0:$.includes("/resources/")}))),a=_((V=p.value)==null?void 0:V.scrollHeight),s=C(()=>i.value?a.value:0),{isContentNavigationActive:u}=E(),{isDesktop:f}=le();let x=null;const P=()=>{if(!p.value)return;const v=p.value.scrollHeight;
1v&&v!==a.value&&(a.value=v)};R(()=>{var v;f.value&&(a.value=(v=p.value)==null?void 0:v.scrollHeight),o.value&&typeof ResizeObserver<"u"&&(x=new ResizeObserver(P),x.observe(o.value)),k.value&&d.value&&Q(()=>{var j;((j=d.value)==null?void 0:j.closest("[data-content-navigation] .lg\\:overflow-y-auto"))&&d.value&&d.value.scrollIntoView({behavior:"auto",block:"center",inline:"nearest"})})}),W(()=>{x==null||x.disconnect(),x=null}),ee(()=>u.value,()=>{var v;a.value=u.value?(v=p.value)==null?void 0:v.scrollHeight:void 0});function r(){}return(v,$)=>{const j=ke,T=Z;return l(),m("li",{ref_key:"listItemRef",ref:d},[N(j,{entry:e.entry,depth:e.depth,"is-active":i.value,"no-padding":e.noPadding,"is-heading":e.entry.isHeading,onToggleActive:r},null,8,["entry","depth","is-active","no-padding","is-heading"]),g.value?(l(),m("div",{key:0,ref_key:"childMenu",ref:p,class:"overflow-hidden max-h-[var(--max-h)] transition-[max-height] duration-300 ease-in-out",style:te([`--max-h: ${s.value!=null?s.value/16+"rem":"auto"};`])},[c("ul",{ref_key:"childList",ref:o,class:y(["mt-1",{"pl-6 px-2.5":e.depth===0}])},[(l(!0),m(U,null,D(e.entry.children,F=>(l(),B(T,{key:F.id,entry:F,depth:e.depth+1,class:y(["group relative py-0.5 border-l !border-zinc-500 !border-opacity-20",{"ml-6":e.depth>0}])},null,8,["entry","depth","class"]))),128))],2)],4)):w("",!0)],512)}}}),we={class:"lg:sticky lg:top-[60px]"},be={class:"lg:max-h-[calc(100dvh-60px)] lg:overflow-y-auto lg:overflow-x-hidden"},ye={class:"lg:w-[calc(319px-var(--scroll-bar-width,0))] flex flex-col p-5 lg:pt-10 lg:pr-0"},_e={class:"space-y-1"},Ce=M({__name:"PageNavigation",props:{root:{type:String,default:""},showCollapsableIcon:{type:Boolean,default:!0},collapsed:{type:Boolean,default:!1},noPadding:{type:Boolean,default:!1},noCollapsedBorder:{type:Boolean,default:!1}},setup(e){const n=z();Y();const{currentNavigationItem:d}=oe(),{isContentNavigationActive:p,toggleContentNavigation:o,isContentNavigationCollapsed:g,toggleContentNavigationCollapse:h,isMobileSearchOpen:b}=E(),k=e,i=C(()=>d),a=_(k.collapsed),s=C(()=>k.collapsed?a.value:g.value),u=()=>{if(k.collapsed){a.value=!a.value;return}h()};return(f,x)=>{const P=fe,r=ie,L=Z;return t(i)?(l(),m("div",{key:0,class:y(["fixed lg:static top-[60px] w-full lg:w-[320px] h-[calc(100dvh-60px)] lg:h-auto lg:block lg:border-r border-gray-200 bg-white overflow-auto no-scrollbar lg:overflow-visible transition-[width] ease-in-out duration-500",{hidden:!t(p),"z-30":t(p),"lg:!w-0":t(s),"lg:!border-r-0":t(s)&&e.noCollapsedBorder,"!px-0 lg:!pl-5 lg:!pr-0":t(b)}]),"data-content-navigation":""},[c("div",we,[e.showCollapsableIcon?(l(),m("button",{key:0,class:"hidden lg:block absolute top-10 left-full z-30 w-[39px] h-10 border bg-white !border-l-none border-gray-200 rounded-r-md",onClick:u},[N(P,{class:y(["m-auto",{"rotate-180":t(s)}])},null,8,["class"])])):w("",!0),c("div",be,[c("div",ye,[c("button",{class:"text-neutral-450 text-xs uppercase leading-tight border-gray-200 border p-5 rounded-lg flex items-center lg:hidden mb-9",onClick:x[0]||(x[0]=A=>t(o)())},[N(r),x[1]||(x[1]=c("p",{class:"ml-3"},"back to main menu",-1))]),c("ul",_e,[(l(!0),m(U,null,D(t(i).children,(A,H)=>(l(),B(L,{key:`toc-page-${t(n).path}-${H}`,entry:A,"no-padding":e.noPadding},null,8,["entry","no-padding"]))),128))])])])])],2)):w("",!0)}}}),$e=M({__name:"PageContent",props:{value:{type:Object,default:()=>({})}},setup(e){return(n,d)=>{const p=ue,o=pe,g=ge;return l(),m("main",{class:y({"content-markdown":!n.$slots.default})},[G(n.$slots,"default",{},()=>[N(o,{value:e.value},{default:q(()=>[N(p,{class:"content-markdown",value:e.value},null,8,["value"])]),_:1},8,["value"])]),N(g,{selector:".content-markdown figure img"})],2)}}}),Be="data:image/svg+xml,%3csvg%20width='12'%20height='11'%20viewBox='0%200%2012%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic_arrow'%3e%3cpath%20id='Vector'%20d='M6.22656%201.37524L2.10177%205.50003L6.22656%209.62482'%20stroke='%23808080'%20stroke-width='1.6'%20stroke-linecap='square'/%3e%3c/g%3e%3c/svg%3e",Ne="data:image/svg+xml,%3csvg%20width='12'%20height='11'%20viewBox='0%200%2012%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic_arrow'%3e%3cpath%20id='Vector'%20d='M10.999%205.50003L3.64526%205.50415'%20stroke='black'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M6.125%201.37524L2.00021%205.50003L6.125%209.62482'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='square'/%3e%3c/g%3e%3c/svg%3e",Pe="data:image/svg+xml,%3csvg%20width='12'%20height='11'%20viewBox='0%200%2012%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic_arrow'%3e%3cpath%20id='Vector'%20d='M5.77344%201.37524L9.89823%205.50003L5.77344%209.62482'%20stroke='%23808080'%20stroke-width='1.6'%20stroke-linecap='square'/%3e%3c/g%3e%3c/svg%3e",Le="data:image/svg+xml,%3csvg%20width='12'%20height='11'%20viewBox='0%200%2012%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic_arrow'%3e%3cpath%20id='Vector'%20d='M1.00095%205.50003L8.35474%205.50415'%20stroke='black'%20stroke-width='1.5'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M5.875%201.37524L9.99979%205.50003L5.875%209.62482'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='square'/%3e%3c/g%3e%3c/svg%3e",Ae={key:0,class:"flex flex-col md:flex-row gap-5 min-w-fit"},Me={class:"flex flex-1 md:flex-none items-center gap-1.5 group-hover:gap-2 text-neutral-450 group-hover:text-black transition-all ease-out duration-150"},He={class:"text-[15px]"},Se={class:"flex items-center gap-1.5 group-hover:gap-2 relative text-neutral-450 group-hover:text-black transition-all ease-out duration-150"},je={class:"text-[15px] text-right"},qe=M({__name:"PagePagination",setup(e){const{nextEntry:n,prevEntry:d}=Y();return(p,o)=>{const g=me;return t(n)||t(d)?(l(),m("div",Ae,[t(d)?(l(),B(g,{key:0,class:"md:w-1/2 group flex md:flex-col min-h-16 md:min-
1h-24 px-7 md:px-10 py-2 md:py-4 gap-4 md:gap-2 items-center md:items-start justify-center rounded-xl border border-neutral-450/30 bg-white shadow-content-pagination group-hover:bg-[#f0f0f0] transition-all duration-150 ease-out max-w-[400px]",to:t(d).path},{default:q(()=>[o[2]||(o[2]=c("div",{class:"order-1 md:order-none md:flex-none text-black text-[15px] md:text-[14px] leading-none whitespace-nowrap"}," Previous ",-1)),c("div",Me,[o[0]||(o[0]=c("img",{class:"group-hover:opacity-0 transition-opacity ease-out duration-150 mt-[1px]",src:Be},null,-1)),o[1]||(o[1]=c("img",{class:"opacity-0 group-hover:opacity-100 mt-[1px] transition-opacity ease-out duration-150 absolute",src:Ne},null,-1)),c("span",He,S(t(d).title),1)])]),_:1},8,["to"])):w("",!0),t(n)?(l(),B(g,{key:1,class:"-order-1 md:order-none md:w-1/2 md:ml-auto group flex md:flex-col min-h-16 md:min-h-24 px-7 md:px-10 py-2 md:py-4 gap-4 md:gap-2 items-center md:items-end justify-center rounded-xl border border-neutral-450/30 bg-white shadow-content-pagination hover:bg-[#f0f0f0] group transition-all duration-150 ease-out max-w-[400px]",to:t(n).path},{default:q(()=>[o[5]||(o[5]=c("div",{class:"flex-1 md:flex-none text-black text-[15px] md:text-[14px] leading-none whitespace-nowrap"}," Next up ",-1)),c("div",Se,[c("span",je,S(t(n).title),1),o[3]||(o[3]=c("img",{class:"group-hover:opacity-0 mt-[1px] transition-opacity ease-out duration-150",src:Pe},null,-1)),o[4]||(o[4]=c("img",{class:"group-hover:opacity-100 mt-[1px] opacity-0 transition-opacity ease-out duration-150 absolute right-0",src:Le},null,-1))])]),_:1},8,["to"])):w("",!0)])):w("",!0)}}}),Ie={class:"sticky top-[60px] max-h-[calc(100dvh-60px)] py-10 pr-7 overflow-y-auto no-scrollbar"},Oe=M({__name:"PageTocNavigation",props:{data:{type:Object,required:!0}},setup(e){const n=e,d=["h2","h3"],p=(i,a="")=>(i.forEach(s=>{var u;if((u=s.children)!=null&&u.length){a=p(s.children,a);return}s.type==="text"&&(a+=s.value)}),a),o=C(()=>{var i,a;return(a=(i=n.data)==null?void 0:i.body)==null?void 0:a.children.filter(s=>{var u;return d.includes(s.tag??"")&&((u=s.children)==null?void 0:u.length)}).map(s=>({tag:s.tag,text:p(s.children||[]),id:s.props.id}))});let g=null,h=[];const b=_([]);R(()=>{!o.value||!o.value.length||(g=new IntersectionObserver(i=>{i.forEach(a=>{if(a.isIntersecting)b.value.push(a.target.id);else{const s=b.value.indexOf(a.target.id);s>-1&&b.value.splice(s,1)}})},{rootMargin:"-60px 0px 0px"}),h=document.querySelectorAll(o.value.filter(i=>!!i.id).map(i=>`#${i.id}`).join(",")),h.forEach(i=>{g&&g.observe(i)}))}),W(()=>{g&&g.disconnect()});const{isContentNavigationCollapsed:k}=E();return(i,a)=>{var u;const s=X;return(u=t(o))!=null&&u.length?(l(),m("div",{key:0,class:y(["hidden lg:block",{"md:hidden xl:block":!t(k)}])},[c("ul",Ie,[(l(!0),m(U,null,D(t(o),f=>(l(),m("li",{key:`toc-link-${f.text}`,class:"pl-3 border-l border-neutral-450"},[f.text?(l(),B(s,{key:0,to:`#${f.id}`,class:y(["relative block p-2 text-sm text-neutral-450 bg-opacity-10 hover:text-neutral-950 transition-colors",["before:w-[0.125rem] before:h-full before:absolute before:top-0 before:left-[-0.84375rem] before:z-10 before:opacity-0 before:bg-black before:content-[''] before:transition-opacity hover:before:opacity-100",{"text-neutral-950 before:opacity-100":t(b).includes(f.id),"pl-4":f.tag==="h3"}]])},{default:q(()=>[ne(S(f.text),1)]),_:2},1032,["to","class"])):w("",!0)]))),128))])],2)):w("",!0)}}}),Ve={class:"md:flex items-stretch max-w-screen-wide min-h-[calc(100dvh-6.25rem)] mx-auto"},Te={class:"flex-grow min-w-0 p-7 pb-10 md:px-20 md:pt-10 md:pb-16"},Ee=["title"],ze=["fill"],Re={key:2,class:"mt-7 md:mt-8 text-neutral-450 text-right text-sm"},Qe=M({__name:"PageContainer",props:{value:{type:Object,default:()=>({})},page:{type:Object,default:()=>({})},showBreadcrumbs:{type:Boolean,default:!1},breadcrumbClass:{type:String,default:""},showPagination:{type:Boolean,default:!1},paginationClass:{type:String,default:""}},setup(e){const n=e,d=z(),{locale:p}=ae(),{isBookmarked:o,toggle:g}=re(),h=C(()=>{var r;return(r=n.value)==null?void 0:r.title}),b=C(()=>d.path),k=_(!1);R(()=>{se(()=>{k.value=!!b.value&&o(b.value)})});function i(){h.value&&g(h.value,b.value)}const a=C(()=>d.path.startsWith(`/${p.value}/static`)),s=C(()=>{var r;return n.page&&"updatedAt"in n.page&&((r=n.page)!=null&&r.updatedAt)?new Date(n.page.updatedAt).toLocaleDateString("en",{day:"2-digit",month:"long",year:"numeric"}):""}),u=r=>!!(r!=null&&r.hasOpenApiContent),f=r=>!!(r!=null&&r.hasScalarApiContent),x=r=>!!(r!=null&&r.hasNavigationMatrix),P=r=>u(r)||f(r)||x(r);return(r,L)=>{const A=Ce,H=de,I=$e,O=qe,V=Oe;return l(),m("div",Ve,[t(a)?w("",!0):(l(),B(A,{key:0,class:"flex-shrink-0"})),c("div",Te,[c("div",{class:y(["mx-auto",[P(e.value)||r.$slots.default?"max-w-desktop":"max-w-content"]])},[e.value.hasBodyContent||e.showBreadcrumbs?(l(),m("div",{key:0,class:y(["flex items-center justify-between gap-2 md:mt-2.5 mb-7 md:mb-9",e.breadcrumbClass])}
1,[N(H),t(h)?(l(),m("button",{key:0,class:"shrink-0 p-1.5 rounded-md transition-colors hover:bg-neutral-100",title:t(k)?"Remove bookmark":"Bookmark this page",onClick:i},[(l(),m("svg",{class:y(["w-5 h-5 transition-colors",t(k)?"text-amber-400":"text-neutral-350 hover:text-amber-300"]),viewBox:"0 0 24 24",fill:t(k)?"currentColor":"none",stroke:"currentColor","stroke-width":"2"},L[0]||(L[0]=[c("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"},null,-1)]),10,ze))],8,Ee)):w("",!0)],2)):w("",!0),G(r.$slots,"default",{},()=>[N(I,{value:e.value},null,8,["value"])]),!x(e.value)&&(e.value.hasBodyContent&&!t(a)||e.showPagination)?(l(),B(O,{key:1,class:y(["mt-14 md:mt-16",[e.paginationClass]])},null,8,["class"])):w("",!0),t(s)?(l(),m("p",Re,S(r.$t("last-updated")+" "+t(s)),1)):w("",!0)],2)]),(!e.value.hasOpenApiContent||!e.value.hasScalarApiContent)&&!t(a)?(l(),B(V,{key:1,data:e.value,class:"flex-shrink-0 w-[320px]"},null,8,["data"])):w("",!0)])}}});export{Qe as _,$e as a};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.