1import{c as j,S as H,d as q,s as L,f as T,n as g,h as y,V,o as k,u as p,l as f,x as Y,D as z,m as v,p as $,q as B,E as F,v as R,J as A,b as h,t as m,j as K,k as O,L as G,M as J,H as P,G as Q}from"./Component-B_voaUBF.js";import"./index-B3OuI-Mz.js";import{e as D}from"./each-DGOlr-u8.js";import{C as U}from"./CodeHighlight-DhQWMCey.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"8d59908272735a0fb2f437134adad99f21b29778"}}catch{}})();try{(function(){var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="04e97354-96e1-4819-bceb-c6b872a6dcf8",t._sentryDebugIdIdentifier="sentry-dbid-04e97354-96e1-4819-bceb-c6b872a6dcf8")})()}catch{}function I(t,e,i){const l=t.slice();return l[4]=e[i],l[6]=i,l}function C(t){let e,i=t[4]+"",l,a,n,s,o;function _(){return t[3](t[6])}return{c(){e=p("button"),l=F(i),a=R(),f(e,"type","button"),f(e,"role","tab"),f(e,"aria-selected",n=t[1]===t[6]),f(e,"class","tabs__item"),v(e,"tabs__item--active",t[1]===t[6])},m(c,u){k(c,e,u),$(e,l),$(e,a),s||(o=B(e,"click",_),s=!0)},p(c,u){t=c,u&1&&i!==(i=t[4]+"")&&z(l,i),u&2&&n!==(n=t[1]===t[6])&&f(e,"aria-selected",n),u&2&&v(e,"tabs__item--active",t[1]===t[6])},d(c){c&&y(e),s=!1,o()}}}function W(t){let e,i=D(t[0]),l=[];for(let a=0;a<i.length;a+=1)l[a]=C(I(t,i,a));return{c(){e=p("div");for(let a=0;a<l.length;a+=1)l[a].c();f(e,"class","tabs__list"),f(e,"role","tablist")},m(a,n){k(a,e,n);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(e,null)},p(a,[n]){if(n&7){i=D(a[0]);let s;for(s=0;s<i.length;s+=1){const o=I(a,i,s);l[s]?l[s].p(o,n):(l[s]=C(o),l[s].c(),l[s].m(e,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=i.length}},i:g,o:g,d(a){a&&y(e),V(l,a)}}}function X(t,e,i){let{tabs:l=[]}=e,{active:a=0}=e;const n=Y(),s=o=>n("change",o);return t.$$set=o=>{"tabs"in o&&i(0,l=o.tabs),"active"in o&&i(1,a=o.active)},[l,a,n,s]}class M extends H{constructor(e){super(),q(this,e,X,W,L,{tabs:0,active:1})}get tabs(){return this.$$.ctx[0]}set tabs(e){this.$$set({tabs:e}),T()}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),T()}}j(M,{tabs:{},active:{}},[],[],!0);function Z(t){var l,a;let e,i;return e=new U({props:{code:(l=t[0][t[1]])==null?void 0:l.code,lang:((a=t[0][t[1]])==null?void 0:a.lang)??"json"}}),{c(){J(e.$$.fragment)},m(n,s){G(e,n,s),i=!0},p(n,s){var _,c;const o={};s&3&&(o.code=(_=n[0][n[1]])==null?void 0:_.code),s&3&&(o.lang=((c=n[0][n[1]])==null?void 0:c.lang)??"json"),e.$set(o)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){h(e.$$.fragment,n),i=!1},d(n){A(e,n)}}}function x(t){let e,i=t[0][t[1]].html+"",l;return{c(){e=new P(!1),l=Q(),e.a=l},m(a,n){e.m(i,a,n),k(a,l,n)},p(a,n){n&3&&i!==(i=a[0][a[1]].html+"")&&e.p(i)},i:g,o:g,d(a){a&&(y(l),e.d())}}}function ee(t){let e,i,l,a,n,s,o;i=new M({props:{tabs:t[0].map(S),active:t[1]}}),i.$on("change",t[2]);const _=[x,Z],c=[];function u(r,d){var b;return((b=r[0][r[1]])==null?void 0:b.html)!==void 0?0:1}return n=u(t),s=c[n]=_[n](t),{c(){var r;e=p("div"),J(i.$$.fragment),l=R(),a=p("div"),s.c(),f(a,"class","code-tabs__body"),v(a,"code-tabs__body--rich",((r=t[0][t[1]])==null?void 0:r.html)!==void 0),f(e,"class","code-tabs")},m(r,d){k(r,e,d),G(i,e,null),$(e,l),$(e,a),c[n].m(a,null),o=!0},p(r,[d]){var E;const b={};d&1&&(b.tabs=r[0].map(S)),d&2&&(b.active=r[1]),i.$set(b);let w=n;n=u(r),n===w?c[n].p(r,d):(K(),h(c[w],1,1,()=>{c[w]=null}),O(),s=c[n],s?s.p(r,d):(s=c[n]=_[n](r),s.c()),m(s,1),s.m(a,null)),(!o||d&3)&&v(a,"code-tabs__body--rich",((E=r[0][r[1]])==null?void 0:E.html)!==void 0)},i(r){o||(m(i.$$.fragment,r),m(s),o=!0)},o(r){h(i.$$.fragment,r),h(s),o=!1},d(r){r&&y(e),A(i),c[n].d()}}}const S=t=>t.label;function te(t,e,i){let{tabs:l=[]}=e,a=0;const n=s=>i(1,a=s.detail);return t.$$set=s=>{"tabs"in s&&i(0,l=s.tabs)},[l,a,n]}class N extends H{constructor(e){super(),q(this,e,te,ee,L,{tabs:0})}get tabs(){return this.$$.ctx[0]}set tabs(e){this.$$set({tabs:e}),T()}}j(N,{tabs:{}},[],[],!0);function ie(t,e){t&&new N({target:t,props:{tabs:e}})}export{ie as i}; 2//# sourceMappingURL=index-TyX4VH-m.js.map
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.