apiuikit 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/markdown.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ct=["get","put","post","delete","options","head","patch","trace"],St=(t,n)=>`${t} ${n}`;function ft(t){return Object.keys(t).sort().flatMap(n=>{const r=t[n];return r?ct.filter(u=>r[u]).map(u=>({key:St(u,n),method:u,path:n})):[]})}const V=t=>typeof t=="object"&&t!==null&&!Array.isArray(t),X=t=>V(t)?t:null,tt="^[\0-ÿ]*$",$t=Math.pow(-2,31),kt=Math.pow(2,31)-1,Ot=Math.pow(-2,63),jt=Math.pow(2,63)-1,Ct={null:"null",boolean:"boolean",int:"integer",long:"integer",float:"number",double:"number",bytes:"string",string:"string",fixed:"string",map:"object",array:"array",enum:"string",record:"object",uuid:"string"},Ue=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)?t:{};function ye(t){const n=Ue(t);if(typeof n.name=="string")return typeof n.namespace=="string"?`${n.namespace}.${n.name}`:n.name}function Pe(t,n,r){t.doc&&(n.description=t.doc),t.default!==void 0&&(n.default=t.default);const u=ye(t);u!==void 0&&r[u]&&(n["x-parser-schema-id"]=u)}function nt(t,n,r){!(Array.isArray(t.type)&&t.type.includes("null"))&&!r&&(n.required=n.required||[],n.required.push(t.name))}function Mt(t,n){let r=t,u=n;if(Array.isArray(t)&&t.length>0){const i=t.length>1&&t[0]==="null";r=t[+i],u.oneOf!==void 0&&(u=u.oneOf[0])}return{type:r,jsonSchema:u}}function Pt(t,n,r){if(!(n===void 0||r.examples||Array.isArray(t)))switch(t){case"boolean":r.examples=[typeof n=="boolean"?n:n==="true"];break;case"int":r.examples=[parseInt(n,10)];break;default:r.examples=[n]}}function Ne(t){return Object.keys(t).some(n=>n!=="type"&&n!=="name"&&n!=="namespace")}function Le(t,n,r){const{type:u,jsonSchema:i}=Mt(t,r);Pt(u,n.example,i);function a(...p){p.forEach(y=>{let h=!0;y==="minLength"||y==="maxLength"?h=n[y]>-1:y==="multipleOf"&&(h=n[y]>0),n[y]!==void 0&&h&&(i[y]=n[y])})}switch(u){case"int":case"long":case"float":case"double":a("minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf");break;case"string":n.logicalType&&(i.format=n.logicalType),a("pattern","minLength","maxLength");break;case"array":a("minItems","maxItems","uniqueItems");break}}function Ye(t,n,r){n!==void 0&&(t[n]=r)}function he(t,n){let r={};if(Array.isArray(t))return Lt(r,t,n);const u=Ue(t),i=typeof t=="string"?t:u.type;switch(r.type=Ct[i],i){case"int":{r.minimum=$t,r.maximum=kt;break}case"long":{r.minimum=Ot,r.maximum=jt;break}case"bytes":{r.pattern=tt;break}case"fixed":{r.pattern=tt,r.minLength=u.size,r.maxLength=u.size;break}case"map":{r.additionalProperties=he(u.values,n);break}case"array":{r.items=he(u.items,n);break}case"enum":{r.enum=u.symbols;break}case"float":case"double":{r.format=i;break}case"record":{const a=Nt(u,n,r);Ye(n,ye(t),r),r.properties=Object.fromEntries(a.entries());break}default:{const a=n[ye(t)]??(typeof i=="string"?n[i]:void 0);a&&(r=Ne(u)?{...a}:a);break}}return Pe(u,r,n),Le(i,u,r),r}function Nt(t,n,r){const u=new Map;for(const i of t.fields??[]){const a=typeof i.type=="string"?n[i.type]:void 0;if(a){const p=Ne(i)?{...a}:a;nt(i,r,i.default!==void 0),Ne(i)&&(Pe(i,p,n),Le(i.type,i,p)),u.set(i.name,p)}else{const p=he(i.type,n);nt(i,r,i.default!==void 0),Pe(i,p,n),Le(i.type,i,p),u.set(i.name,p),Ye(n,ye(i.type),p)}}return u}function Lt(t,n,r){const u=[];let i=null;for(const a of n){const p=he(a,r);(typeof a=="string"?a:Ue(a).type)==="null"?i=p:(u.push(p),Ye(r,ye(a),p))}return i&&u.push(i),t.oneOf=u,t}function It(t){return he(t,{})}const rt=new Set(["null","boolean","int","long","float","double","bytes","string","uuid"]),Ut=new Set(["record","enum","array","map","fixed"]),ot=/^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$/;function Yt(t){const n=[];return se(t,"schema",n,new Set),n}function se(t,n,r,u){if(typeof t=="string"){!rt.has(t)&&!ot.test(t)&&r.push(`${n}: "${t}" is not a valid Avro type name`);return}if(Array.isArray(t)){t.length===0&&r.push(`${n}: union must have at least one alternative`),t.forEach((a,p)=>se(a,`${n}[${p}]`,r,u));return}if(!V(t)){r.push(`${n}: expected an Avro type string, object, or union`);return}if(u.has(t))return;u.add(t);const i=t.type;if(typeof i!="string"){Array.isArray(i)||V(i)?se(i,`${n}.type`,r,u):r.push(`${n}: missing "type"`);return}if(!rt.has(i)&&!Ut.has(i)&&!ot.test(i)){r.push(`${n}: unknown Avro type "${i}"`);return}switch(i){case"record":{if(!Array.isArray(t.fields)){r.push(`${n}: record must have a "fields" array`);return}t.fields.forEach((a,p)=>{const y=`${n}.fields[${p}]`;if(!V(a)||typeof a.name!="string"){r.push(`${y}: field must have a string "name"`);return}se(a.type,`${y}.type`,r,u)});break}case"enum":{const a=t.symbols;(!Array.isArray(a)||a.some(p=>typeof p!="string"))&&r.push(`${n}: enum must have a "symbols" array of strings`);break}case"array":{t.items===void 0?r.push(`${n}: array must have "items"`):se(t.items,`${n}.items`,r,u);break}case"map":{t.values===void 0?r.push(`${n}: map must have "values"`):se(t.values,`${n}.values`,r,u);break}case"fixed":{typeof t.size!="number"&&r.push(`${n}: fixed must have a numeric "size"`);break}}}var Re={exports:{}},T={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const dt=["get","put","post","delete","options","head","patch","trace"],Ct=(t,n)=>`${t} ${n}`;function mt(t){return Object.keys(t).sort().flatMap(n=>{const r=t[n];return r?dt.filter(u=>r[u]).map(u=>({key:Ct(u,n),method:u,path:n})):[]})}const Z=t=>typeof t=="object"&&t!==null&&!Array.isArray(t),V=t=>Z(t)?t:null,rt="^[\0-ÿ]*$",Mt=Math.pow(-2,31),Pt=Math.pow(2,31)-1,Nt=Math.pow(-2,63),Lt=Math.pow(2,63)-1,It={null:"null",boolean:"boolean",int:"integer",long:"integer",float:"number",double:"number",bytes:"string",string:"string",fixed:"string",map:"object",array:"array",enum:"string",record:"object",uuid:"string"},He=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)?t:{};function ye(t){const n=He(t);if(typeof n.name=="string")return typeof n.namespace=="string"?`${n.namespace}.${n.name}`:n.name}function Le(t,n,r){t.doc&&(n.description=t.doc),t.default!==void 0&&(n.default=t.default);const u=ye(t);u!==void 0&&r[u]&&(n["x-parser-schema-id"]=u)}function ot(t,n,r){!(Array.isArray(t.type)&&t.type.includes("null"))&&!r&&(n.required=n.required||[],n.required.push(t.name))}function Ut(t,n){let r=t,u=n;if(Array.isArray(t)&&t.length>0){const i=t.length>1&&t[0]==="null";r=t[+i],u.oneOf!==void 0&&(u=u.oneOf[0])}return{type:r,jsonSchema:u}}function Yt(t,n,r){if(!(n===void 0||r.examples||Array.isArray(t)))switch(t){case"boolean":r.examples=[typeof n=="boolean"?n:n==="true"];break;case"int":r.examples=[parseInt(n,10)];break;default:r.examples=[n]}}function Ie(t){return Object.keys(t).some(n=>n!=="type"&&n!=="name"&&n!=="namespace")}function Ue(t,n,r){const{type:u,jsonSchema:i}=Ut(t,r);Yt(u,n.example,i);function a(...c){c.forEach(f=>{let h=!0;f==="minLength"||f==="maxLength"?h=n[f]>-1:f==="multipleOf"&&(h=n[f]>0),n[f]!==void 0&&h&&(i[f]=n[f])})}switch(u){case"int":case"long":case"float":case"double":a("minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf");break;case"string":n.logicalType&&(i.format=n.logicalType),a("pattern","minLength","maxLength");break;case"array":a("minItems","maxItems","uniqueItems");break}}function qe(t,n,r){n!==void 0&&(t[n]=r)}function he(t,n){let r={};if(Array.isArray(t))return qt(r,t,n);const u=He(t),i=typeof t=="string"?t:u.type;switch(r.type=It[i],i){case"int":{r.minimum=Mt,r.maximum=Pt;break}case"long":{r.minimum=Nt,r.maximum=Lt;break}case"bytes":{r.pattern=rt;break}case"fixed":{r.pattern=rt,r.minLength=u.size,r.maxLength=u.size;break}case"map":{r.additionalProperties=he(u.values,n);break}case"array":{r.items=he(u.items,n);break}case"enum":{r.enum=u.symbols;break}case"float":case"double":{r.format=i;break}case"record":{const a=Ht(u,n,r);qe(n,ye(t),r),r.properties=Object.fromEntries(a.entries());break}default:{const a=n[ye(t)]??(typeof i=="string"?n[i]:void 0);a&&(r=Ie(u)?{...a}:a);break}}return Le(u,r,n),Ue(i,u,r),r}function Ht(t,n,r){const u=new Map;for(const i of t.fields??[]){const a=typeof i.type=="string"?n[i.type]:void 0;if(a){const c=Ie(i)?{...a}:a;ot(i,r,i.default!==void 0),Ie(i)&&(Le(i,c,n),Ue(i.type,i,c)),u.set(i.name,c)}else{const c=he(i.type,n);ot(i,r,i.default!==void 0),Le(i,c,n),Ue(i.type,i,c),u.set(i.name,c),qe(n,ye(i.type),c)}}return u}function qt(t,n,r){const u=[];let i=null;for(const a of n){const c=he(a,r);(typeof a=="string"?a:He(a).type)==="null"?i=c:(u.push(c),qe(r,ye(a),c))}return i&&u.push(i),t.oneOf=u,t}function zt(t){return he(t,{})}const st=new Set(["null","boolean","int","long","float","double","bytes","string","uuid"]),Dt=new Set(["record","enum","array","map","fixed"]),it=/^[A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*$/;function Bt(t){const n=[];return ie(t,"schema",n,new Set),n}function ie(t,n,r,u){if(typeof t=="string"){!st.has(t)&&!it.test(t)&&r.push(`${n}: "${t}" is not a valid Avro type name`);return}if(Array.isArray(t)){t.length===0&&r.push(`${n}: union must have at least one alternative`),t.forEach((a,c)=>ie(a,`${n}[${c}]`,r,u));return}if(!Z(t)){r.push(`${n}: expected an Avro type string, object, or union`);return}if(u.has(t))return;u.add(t);const i=t.type;if(typeof i!="string"){Array.isArray(i)||Z(i)?ie(i,`${n}.type`,r,u):r.push(`${n}: missing "type"`);return}if(!st.has(i)&&!Dt.has(i)&&!it.test(i)){r.push(`${n}: unknown Avro type "${i}"`);return}switch(i){case"record":{if(!Array.isArray(t.fields)){r.push(`${n}: record must have a "fields" array`);return}t.fields.forEach((a,c)=>{const f=`${n}.fields[${c}]`;if(!Z(a)||typeof a.name!="string"){r.push(`${f}: field must have a string "name"`);return}ie(a.type,`${f}.type`,r,u)});break}case"enum":{const a=t.symbols;(!Array.isArray(a)||a.some(c=>typeof c!="string"))&&r.push(`${n}: enum must have a "symbols" array of strings`);break}case"array":{t.items===void 0?r.push(`${n}: array must have "items"`):ie(t.items,`${n}.items`,r,u);break}case"map":{t.values===void 0?r.push(`${n}: map must have "values"`):ie(t.values,`${n}.values`,r,u);break}case"fixed":{typeof t.size!="number"&&r.push(`${n}: fixed must have a numeric "size"`);break}}}var be={exports:{}},w={};/**
2
2
  * @license React
3
3
  * react.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var st;function Ht(){if(st)return T;st=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),p=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),R=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),w=Symbol.for("react.view_transition"),N=Symbol.iterator;function U(o){return o===null||typeof o!="object"?null:(o=N&&o[N]||o["@@iterator"],typeof o=="function"?o:null)}var Y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,Z={};function B(o,c,v){this.props=o,this.context=c,this.refs=Z,this.updater=v||Y}B.prototype.isReactComponent={},B.prototype.setState=function(o,c){if(typeof o!="object"&&typeof o!="function"&&o!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,o,c,"setState")},B.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function ge(){}ge.prototype=B.prototype;function J(o,c,v){this.props=o,this.context=c,this.refs=Z,this.updater=v||Y}var W=J.prototype=new ge;W.constructor=J,D(W,B.prototype),W.isPureReactComponent=!0;var ve=Array.isArray;function Q(){}var C={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function F(o,c,v){var _=v.ref;return{$$typeof:t,type:o,key:c,ref:_!==void 0?_:null,props:v}}function Oe(o,c){return F(o.type,c,o.props)}function P(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function _e(o){var c={"=":"=0",":":"=2"};return"$"+o.replace(/[=:]/g,function(v){return c[v]})}var ue=/\/+/g;function ee(o,c){return typeof o=="object"&&o!==null&&o.key!=null?_e(""+o.key):c.toString(36)}function te(o){switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:switch(typeof o.status=="string"?o.then(Q,Q):(o.status="pending",o.then(function(c){o.status==="pending"&&(o.status="fulfilled",o.value=c)},function(c){o.status==="pending"&&(o.status="rejected",o.reason=c)})),o.status){case"fulfilled":return o.value;case"rejected":throw o.reason}}throw o}function q(o,c,v,_,$){var k=typeof o;(k==="undefined"||k==="boolean")&&(o=null);var M=!1;if(o===null)M=!0;else switch(k){case"bigint":case"string":case"number":M=!0;break;case"object":switch(o.$$typeof){case t:case n:M=!0;break;case E:return M=o._init,q(M(o._payload),c,v,_,$)}}if(M)return $=$(o),M=_===""?"."+ee(o,0):_,ve($)?(v="",M!=null&&(v=M.replace(ue,"$&/")+"/"),q($,c,v,"",function(Ee){return Ee})):$!=null&&(P($)&&($=Oe($,v+($.key==null||o&&o.key===$.key?"":(""+$.key).replace(ue,"$&/")+"/")+M)),c.push($)),1;M=0;var H=_===""?".":_+":";if(ve(o))for(var I=0;I<o.length;I++)_=o[I],k=H+ee(_,I),M+=q(_,c,v,k,$);else if(I=U(o),typeof I=="function")for(o=I.call(o),I=0;!(_=o.next()).done;)_=_.value,k=H+ee(_,I++),M+=q(_,c,v,k,$);else if(k==="object"){if(typeof o.then=="function")return q(te(o),c,v,_,$);throw c=String(o),Error("Objects are not valid as a React child (found: "+(c==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":c)+"). If you meant to render a collection of children, use an array instead.")}return M}function G(o,c,v){if(o==null)return o;var _=[],$=0;return q(o,_,"","",function(k){return c.call(v,k,$++)}),_}function ae(o){if(o._status===-1){var c=o._result,v=c();v.then(function(_){(o._status===0||o._status===-1)&&(o._status=1,o._result=_,v.status===void 0&&(v.status="fulfilled",v.value=_))},function(_){(o._status===0||o._status===-1)&&(o._status=2,o._result=_,v.status===void 0&&(v.status="rejected",v.reason=_))}),o._status===-1&&(o._status=0,o._result=v)}if(o._status===1)return o._result.default;throw o._result}var ne=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var c=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(c))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)};function re(o){var c=C.T,v={};v.types=c!==null?c.types:null,C.T=v;try{var _=o(),$=C.S;$!==null&&$(v,_),typeof _=="object"&&_!==null&&typeof _.then=="function"&&_.then(Q,ne)}catch(k){ne(k)}finally{c!==null&&v.types!==null&&(c.types=v.types),C.T=c}}function ce(o){var c=C.T;if(c!==null){var v=c.types;v===null?c.types=[o]:v.indexOf(o)===-1&&v.push(o)}else re(ce.bind(null,o))}var fe={map:G,forEach:function(o,c,v){G(o,function(){c.apply(this,arguments)},v)},count:function(o){var c=0;return G(o,function(){c++}),c},toArray:function(o){return G(o,function(c){return c})||[]},only:function(o){if(!P(o))throw Error("React.Children.only expected to receive a single React element child.");return o}};return T.Activity=S,T.Children=fe,T.Component=B,T.Fragment=r,T.Profiler=i,T.PureComponent=J,T.StrictMode=u,T.Suspense=h,T.ViewTransition=w,T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,T.__COMPILER_RUNTIME={__proto__:null,c:function(o){return C.H.useMemoCache(o)}},T.addTransitionType=ce,T.cache=function(o){return function(){return o.apply(null,arguments)}},T.cacheSignal=function(){return null},T.cloneElement=function(o,c,v){if(o==null)throw Error("The argument must be a React element, but you passed "+o+".");var _=D({},o.props),$=o.key;if(c!=null)for(k in c.key!==void 0&&($=""+c.key),c)!x.call(c,k)||k==="key"||k==="__self"||k==="__source"||k==="ref"&&c.ref===void 0||(_[k]=c[k]);var k=arguments.length-2;if(k===1)_.children=v;else if(1<k){for(var M=Array(k),H=0;H<k;H++)M[H]=arguments[H+2];_.children=M}return F(o.type,$,_)},T.createContext=function(o){return o={$$typeof:p,_currentValue:o,_currentValue2:o,_threadCount:0,Provider:null,Consumer:null},o.Provider=o,o.Consumer={$$typeof:a,_context:o},o},T.createElement=function(o,c,v){var _,$={},k=null;if(c!=null)for(_ in c.key!==void 0&&(k=""+c.key),c)x.call(c,_)&&_!=="key"&&_!=="__self"&&_!=="__source"&&($[_]=c[_]);var M=arguments.length-2;if(M===1)$.children=v;else if(1<M){for(var H=Array(M),I=0;I<M;I++)H[I]=arguments[I+2];$.children=H}if(o&&o.defaultProps)for(_ in M=o.defaultProps,M)$[_]===void 0&&($[_]=M[_]);return F(o,k,$)},T.createRef=function(){return{current:null}},T.forwardRef=function(o){return{$$typeof:y,render:o}},T.isValidElement=P,T.lazy=function(o){return{$$typeof:E,_payload:{_status:-1,_result:o},_init:ae}},T.memo=function(o,c){return{$$typeof:R,type:o,compare:c===void 0?null:c}},T.startTransition=re,T.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},T.use=function(o){return C.H.use(o)},T.useActionState=function(o,c,v){return C.H.useActionState(o,c,v)},T.useCallback=function(o,c){return C.H.useCallback(o,c)},T.useContext=function(o){return C.H.useContext(o)},T.useDebugValue=function(){},T.useDeferredValue=function(o,c){return C.H.useDeferredValue(o,c)},T.useEffect=function(o,c){return C.H.useEffect(o,c)},T.useEffectEvent=function(o){return C.H.useEffectEvent(o)},T.useId=function(){return C.H.useId()},T.useImperativeHandle=function(o,c,v){return C.H.useImperativeHandle(o,c,v)},T.useInsertionEffect=function(o,c){return C.H.useInsertionEffect(o,c)},T.useLayoutEffect=function(o,c){return C.H.useLayoutEffect(o,c)},T.useMemo=function(o,c){return C.H.useMemo(o,c)},T.useOptimistic=function(o,c){return C.H.useOptimistic(o,c)},T.useReducer=function(o,c,v){return C.H.useReducer(o,c,v)},T.useRef=function(o){return C.H.useRef(o)},T.useState=function(o){return C.H.useState(o)},T.useSyncExternalStore=function(o,c,v){return C.H.useSyncExternalStore(o,c,v)},T.useTransition=function(){return C.H.useTransition()},T.version="19.3.0",T}var de={exports:{}};/**
9
+ */var ut;function Wt(){if(ut)return w;ut=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),T=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),E=Symbol.for("react.view_transition"),$=Symbol.iterator;function k(o){return o===null||typeof o!="object"?null:(o=$&&o[$]||o["@@iterator"],typeof o=="function"?o:null)}var I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,W={};function z(o,l,v){this.props=o,this.context=l,this.refs=W,this.updater=v||I}z.prototype.isReactComponent={},z.prototype.setState=function(o,l){if(typeof o!="object"&&typeof o!="function"&&o!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,o,l,"setState")},z.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function ge(){}ge.prototype=z.prototype;function J(o,l,v){this.props=o,this.context=l,this.refs=W,this.updater=v||I}var x=J.prototype=new ge;x.constructor=J,Y(x,z.prototype),x.isPureReactComponent=!0;var ve=Array.isArray;function X(){}var P={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function K(o,l,v){var _=v.ref;return{$$typeof:t,type:o,key:l,ref:_!==void 0?_:null,props:v}}function je(o,l){return K(o.type,l,o.props)}function L(o){return typeof o=="object"&&o!==null&&o.$$typeof===t}function _e(o){var l={"=":"=0",":":"=2"};return"$"+o.replace(/[=:]/g,function(v){return l[v]})}var ce=/\/+/g;function ee(o,l){return typeof o=="object"&&o!==null&&o.key!=null?_e(""+o.key):l.toString(36)}function te(o){switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:switch(typeof o.status=="string"?o.then(X,X):(o.status="pending",o.then(function(l){o.status==="pending"&&(o.status="fulfilled",o.value=l)},function(l){o.status==="pending"&&(o.status="rejected",o.reason=l)})),o.status){case"fulfilled":return o.value;case"rejected":throw o.reason}}throw o}function D(o,l,v,_,R){var j=typeof o;(j==="undefined"||j==="boolean")&&(o=null);var N=!1;if(o===null)N=!0;else switch(j){case"bigint":case"string":case"number":N=!0;break;case"object":switch(o.$$typeof){case t:case n:N=!0;break;case A:return N=o._init,D(N(o._payload),l,v,_,R)}}if(N)return R=R(o),N=_===""?"."+ee(o,0):_,ve(R)?(v="",N!=null&&(v=N.replace(ce,"$&/")+"/"),D(R,l,v,"",function(Ee){return Ee})):R!=null&&(L(R)&&(R=je(R,v+(R.key==null||o&&o.key===R.key?"":(""+R.key).replace(ce,"$&/")+"/")+N)),l.push(R)),1;N=0;var q=_===""?".":_+":";if(ve(o))for(var H=0;H<o.length;H++)_=o[H],j=q+ee(_,H),N+=D(_,l,v,j,R);else if(H=k(o),typeof H=="function")for(o=H.call(o),H=0;!(_=o.next()).done;)_=_.value,j=q+ee(_,H++),N+=D(_,l,v,j,R);else if(j==="object"){if(typeof o.then=="function")return D(te(o),l,v,_,R);throw l=String(o),Error("Objects are not valid as a React child (found: "+(l==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":l)+"). If you meant to render a collection of children, use an array instead.")}return N}function G(o,l,v){if(o==null)return o;var _=[],R=0;return D(o,_,"","",function(j){return l.call(v,j,R++)}),_}function fe(o){if(o._status===-1){var l=o._result,v=l();v.then(function(_){(o._status===0||o._status===-1)&&(o._status=1,o._result=_,v.status===void 0&&(v.status="fulfilled",v.value=_))},function(_){(o._status===0||o._status===-1)&&(o._status=2,o._result=_,v.status===void 0&&(v.status="rejected",v.reason=_))}),o._status===-1&&(o._status=0,o._result=v)}if(o._status===1)return o._result.default;throw o._result}var ne=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)};function re(o){var l=P.T,v={};v.types=l!==null?l.types:null,P.T=v;try{var _=o(),R=P.S;R!==null&&R(v,_),typeof _=="object"&&_!==null&&typeof _.then=="function"&&_.then(X,ne)}catch(j){ne(j)}finally{l!==null&&v.types!==null&&(l.types=v.types),P.T=l}}function le(o){var l=P.T;if(l!==null){var v=l.types;v===null?l.types=[o]:v.indexOf(o)===-1&&v.push(o)}else re(le.bind(null,o))}var pe={map:G,forEach:function(o,l,v){G(o,function(){l.apply(this,arguments)},v)},count:function(o){var l=0;return G(o,function(){l++}),l},toArray:function(o){return G(o,function(l){return l})||[]},only:function(o){if(!L(o))throw Error("React.Children.only expected to receive a single React element child.");return o}};return w.Activity=O,w.Children=pe,w.Component=z,w.Fragment=r,w.Profiler=i,w.PureComponent=J,w.StrictMode=u,w.Suspense=h,w.ViewTransition=E,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,w.__COMPILER_RUNTIME={__proto__:null,c:function(o){return P.H.useMemoCache(o)}},w.addTransitionType=le,w.cache=function(o){return function(){return o.apply(null,arguments)}},w.cacheSignal=function(){return null},w.cloneElement=function(o,l,v){if(o==null)throw Error("The argument must be a React element, but you passed "+o+".");var _=Y({},o.props),R=o.key;if(l!=null)for(j in l.key!==void 0&&(R=""+l.key),l)!F.call(l,j)||j==="key"||j==="__self"||j==="__source"||j==="ref"&&l.ref===void 0||(_[j]=l[j]);var j=arguments.length-2;if(j===1)_.children=v;else if(1<j){for(var N=Array(j),q=0;q<j;q++)N[q]=arguments[q+2];_.children=N}return K(o.type,R,_)},w.createContext=function(o){return o={$$typeof:c,_currentValue:o,_currentValue2:o,_threadCount:0,Provider:null,Consumer:null},o.Provider=o,o.Consumer={$$typeof:a,_context:o},o},w.createElement=function(o,l,v){var _,R={},j=null;if(l!=null)for(_ in l.key!==void 0&&(j=""+l.key),l)F.call(l,_)&&_!=="key"&&_!=="__self"&&_!=="__source"&&(R[_]=l[_]);var N=arguments.length-2;if(N===1)R.children=v;else if(1<N){for(var q=Array(N),H=0;H<N;H++)q[H]=arguments[H+2];R.children=q}if(o&&o.defaultProps)for(_ in N=o.defaultProps,N)R[_]===void 0&&(R[_]=N[_]);return K(o,j,R)},w.createRef=function(){return{current:null}},w.forwardRef=function(o){return{$$typeof:f,render:o}},w.isValidElement=L,w.lazy=function(o){return{$$typeof:A,_payload:{_status:-1,_result:o},_init:fe}},w.memo=function(o,l){return{$$typeof:T,type:o,compare:l===void 0?null:l}},w.startTransition=re,w.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},w.use=function(o){return P.H.use(o)},w.useActionState=function(o,l,v){return P.H.useActionState(o,l,v)},w.useCallback=function(o,l){return P.H.useCallback(o,l)},w.useContext=function(o){return P.H.useContext(o)},w.useDebugValue=function(){},w.useDeferredValue=function(o,l){return P.H.useDeferredValue(o,l)},w.useEffect=function(o,l){return P.H.useEffect(o,l)},w.useEffectEvent=function(o){return P.H.useEffectEvent(o)},w.useId=function(){return P.H.useId()},w.useImperativeHandle=function(o,l,v){return P.H.useImperativeHandle(o,l,v)},w.useInsertionEffect=function(o,l){return P.H.useInsertionEffect(o,l)},w.useLayoutEffect=function(o,l){return P.H.useLayoutEffect(o,l)},w.useMemo=function(o,l){return P.H.useMemo(o,l)},w.useOptimistic=function(o,l){return P.H.useOptimistic(o,l)},w.useReducer=function(o,l,v){return P.H.useReducer(o,l,v)},w.useRef=function(o){return P.H.useRef(o)},w.useState=function(o){return P.H.useState(o)},w.useSyncExternalStore=function(o,l,v){return P.H.useSyncExternalStore(o,l,v)},w.useTransition=function(){return P.H.useTransition()},w.version="19.3.0",w}var me={exports:{}};/**
10
10
  * @license React
11
11
  * react.development.js
12
12
  *
@@ -14,81 +14,83 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */de.exports;var it;function qt(){return it||(it=1,(function(t,n){process.env.NODE_ENV!=="production"&&(function(){function r(e,s){Object.defineProperty(a.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",s[0],s[1])}})}function u(e){return e===null||typeof e!="object"?null:(e=ze&&e[ze]||e["@@iterator"],typeof e=="function"?e:null)}function i(e,s){e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass";var f=e+"."+s;De[f]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",s,e),De[f]=!0)}function a(e,s,f){this.props=e,this.context=s,this.refs=je,this.updater=f||Be}function p(){}function y(e,s,f){this.props=e,this.context=s,this.refs=je,this.updater=f||Be}function h(){}function R(e){return""+e}function E(e){try{R(e);var s=!1}catch{s=!0}if(s){s=console;var f=s.error,l=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return f.call(s,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",l),R(e)}}function S(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Tt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case fe:return"Fragment";case c:return"Profiler";case o:return"StrictMode";case k:return"Suspense";case M:return"SuspenseList";case Ee:return"Activity";case qe:return"ViewTransition"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case ce:return"Portal";case _:return e.displayName||"Context";case v:return(e._context.displayName||"Context")+".Consumer";case $:var s=e.render;return e=e.displayName,e||(e=s.displayName||s.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case H:return s=e.displayName||null,s!==null?s:S(e.type)||"Memo";case I:s=e._payload,e=e._init;try{return S(e(s))}catch{}}return null}function w(e){if(e===fe)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===I)return"<...>";try{var s=S(e);return s?"<"+s+">":"<...>"}catch{return"<...>"}}function N(){var e=b.A;return e===null?null:e.getOwner()}function U(){return Error("react-stack-top-frame")}function Y(e){if(Te.call(e,"key")){var s=Object.getOwnPropertyDescriptor(e,"key").get;if(s&&s.isReactWarning)return!1}return e.key!==void 0}function D(e,s){function f(){Fe||(Fe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",s))}f.isReactWarning=!0,Object.defineProperty(e,"key",{get:f,configurable:!0})}function Z(){var e=S(this.type);return Qe[e]||(Qe[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function B(e,s,f,l,m,j){var g=f.ref;return e={$$typeof:re,type:e,key:s,props:f,_owner:l},(g!==void 0?g:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:Z}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:m}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:j}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function ge(e,s){return s=B(e.type,s,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(s._store.validated=e._store.validated),s}function J(e){W(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===I&&(e._payload.status==="fulfilled"?W(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function W(e){return typeof e=="object"&&e!==null&&e.$$typeof===re}function ve(e){var s={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(f){return s[f]})}function Q(e,s){return typeof e=="object"&&e!==null&&e.key!=null?(E(e.key),ve(""+e.key)):s.toString(36)}function C(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(h,h):(e.status="pending",e.then(function(s){e.status==="pending"&&(e.status="fulfilled",e.value=s)},function(s){e.status==="pending"&&(e.status="rejected",e.reason=s)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function x(e,s,f,l,m){var j=typeof e;(j==="undefined"||j==="boolean")&&(e=null);var g=!1;if(e===null)g=!0;else switch(j){case"bigint":case"string":case"number":g=!0;break;case"object":switch(e.$$typeof){case re:case ce:g=!0;break;case I:return g=e._init,x(g(e._payload),s,f,l,m)}}if(g){g=e,m=m(g);var A=l===""?"."+Q(g,0):l;return xe(m)?(f="",A!=null&&(f=A.replace(Ve,"$&/")+"/"),x(m,s,f,"",function(K){return K})):m!=null&&(W(m)&&(m.key!=null&&(g&&g.key===m.key||E(m.key)),f=ge(m,f+(m.key==null||g&&g.key===m.key?"":(""+m.key).replace(Ve,"$&/")+"/")+A),l!==""&&g!=null&&W(g)&&g.key==null&&g._store&&!g._store.validated&&(f._store.validated=2),m=f),s.push(m)),1}if(g=0,A=l===""?".":l+":",xe(e))for(var O=0;O<e.length;O++)l=e[O],j=A+Q(l,O),g+=x(l,s,f,j,m);else if(O=u(e),typeof O=="function")for(O===e.entries&&(Xe||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Xe=!0),e=O.call(e),O=0;!(l=e.next()).done;)l=l.value,j=A+Q(l,O++),g+=x(l,s,f,j,m);else if(j==="object"){if(typeof e.then=="function")return x(C(e),s,f,l,m);throw s=String(e),Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}return g}function F(e,s,f){if(e==null)return e;var l=[],m=0;return x(e,l,"","",function(j){return s.call(f,j,m++)}),l}function Oe(e){if(e._status===-1){var s=null,f=null,l=e._ioInfo;l!=null&&(l.start=l.end=performance.now(),l.value=new Promise(function(g,A){s=g,f=A})),l=e._result;var m=l();if(m.then(function(g){if(e._status===0||e._status===-1){e._status=1,e._result=g;var A=e._ioInfo;if(A!=null){A.end=performance.now();var O=g==null?void 0:g.default;s(O),A.value.status="fulfilled",A.value.value=O}m.status===void 0&&(m.status="fulfilled",m.value=g)}},function(g){if(e._status===0||e._status===-1){e._status=2,e._result=g;var A=e._ioInfo;A!=null&&(A.end=performance.now(),A.value.then(h,h),f(g),A.value.status="rejected",A.value.reason=g),m.status===void 0&&(m.status="rejected",m.reason=g)}}),l=e._ioInfo,l!=null){var j=m.displayName;typeof j=="string"&&(l.name=j)}e._status===-1&&(e._status=0,e._result=m)}if(e._status===1)return l=e._result,l===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
17
+ */me.exports;var at;function xt(){return at||(at=1,(function(t,n){process.env.NODE_ENV!=="production"&&(function(){function r(e,s){Object.defineProperty(a.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",s[0],s[1])}})}function u(e){return e===null||typeof e!="object"?null:(e=Be&&e[Be]||e["@@iterator"],typeof e=="function"?e:null)}function i(e,s){e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass";var p=e+"."+s;We[p]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",s,e),We[p]=!0)}function a(e,s,p){this.props=e,this.context=s,this.refs=Ce,this.updater=p||xe}function c(){}function f(e,s,p){this.props=e,this.context=s,this.refs=Ce,this.updater=p||xe}function h(){}function T(e){return""+e}function A(e){try{T(e);var s=!1}catch{s=!0}if(s){s=console;var p=s.error,d=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return p.call(s,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",d),T(e)}}function O(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Rt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case pe:return"Fragment";case l:return"Profiler";case o:return"StrictMode";case j:return"Suspense";case N:return"SuspenseList";case Ee:return"Activity";case De:return"ViewTransition"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case le:return"Portal";case _:return e.displayName||"Context";case v:return(e._context.displayName||"Context")+".Consumer";case R:var s=e.render;return e=e.displayName,e||(e=s.displayName||s.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case q:return s=e.displayName||null,s!==null?s:O(e.type)||"Memo";case H:s=e._payload,e=e._init;try{return O(e(s))}catch{}}return null}function E(e){if(e===pe)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===H)return"<...>";try{var s=O(e);return s?"<"+s+">":"<...>"}catch{return"<...>"}}function $(){var e=b.A;return e===null?null:e.getOwner()}function k(){return Error("react-stack-top-frame")}function I(e){if(Te.call(e,"key")){var s=Object.getOwnPropertyDescriptor(e,"key").get;if(s&&s.isReactWarning)return!1}return e.key!==void 0}function Y(e,s){function p(){Qe||(Qe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",s))}p.isReactWarning=!0,Object.defineProperty(e,"key",{get:p,configurable:!0})}function W(){var e=O(this.type);return Ve[e]||(Ve[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function z(e,s,p,d,y,M){var g=p.ref;return e={$$typeof:re,type:e,key:s,props:p,_owner:d},(g!==void 0?g:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:W}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function ge(e,s){return s=z(e.type,s,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(s._store.validated=e._store.validated),s}function J(e){x(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===H&&(e._payload.status==="fulfilled"?x(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===re}function ve(e){var s={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(p){return s[p]})}function X(e,s){return typeof e=="object"&&e!==null&&e.key!=null?(A(e.key),ve(""+e.key)):s.toString(36)}function P(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(h,h):(e.status="pending",e.then(function(s){e.status==="pending"&&(e.status="fulfilled",e.value=s)},function(s){e.status==="pending"&&(e.status="rejected",e.reason=s)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function F(e,s,p,d,y){var M=typeof e;(M==="undefined"||M==="boolean")&&(e=null);var g=!1;if(e===null)g=!0;else switch(M){case"bigint":case"string":case"number":g=!0;break;case"object":switch(e.$$typeof){case re:case le:g=!0;break;case H:return g=e._init,F(g(e._payload),s,p,d,y)}}if(g){g=e,y=y(g);var S=d===""?"."+X(g,0):d;return Ge(y)?(p="",S!=null&&(p=S.replace(Je,"$&/")+"/"),F(y,s,p,"",function(Q){return Q})):y!=null&&(x(y)&&(y.key!=null&&(g&&g.key===y.key||A(y.key)),p=ge(y,p+(y.key==null||g&&g.key===y.key?"":(""+y.key).replace(Je,"$&/")+"/")+S),d!==""&&g!=null&&x(g)&&g.key==null&&g._store&&!g._store.validated&&(p._store.validated=2),y=p),s.push(y)),1}if(g=0,S=d===""?".":d+":",Ge(e))for(var C=0;C<e.length;C++)d=e[C],M=S+X(d,C),g+=F(d,s,p,M,y);else if(C=u(e),typeof C=="function")for(C===e.entries&&(Ze||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ze=!0),e=C.call(e),C=0;!(d=e.next()).done;)d=d.value,M=S+X(d,C++),g+=F(d,s,p,M,y);else if(M==="object"){if(typeof e.then=="function")return F(P(e),s,p,d,y);throw s=String(e),Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}return g}function K(e,s,p){if(e==null)return e;var d=[],y=0;return F(e,d,"","",function(M){return s.call(p,M,y++)}),d}function je(e){if(e._status===-1){var s=null,p=null,d=e._ioInfo;d!=null&&(d.start=d.end=performance.now(),d.value=new Promise(function(g,S){s=g,p=S})),d=e._result;var y=d();if(y.then(function(g){if(e._status===0||e._status===-1){e._status=1,e._result=g;var S=e._ioInfo;if(S!=null){S.end=performance.now();var C=g==null?void 0:g.default;s(C),S.value.status="fulfilled",S.value.value=C}y.status===void 0&&(y.status="fulfilled",y.value=g)}},function(g){if(e._status===0||e._status===-1){e._status=2,e._result=g;var S=e._ioInfo;S!=null&&(S.end=performance.now(),S.value.then(h,h),p(g),S.value.status="rejected",S.value.reason=g),y.status===void 0&&(y.status="rejected",y.reason=g)}}),d=e._ioInfo,d!=null){var M=y.displayName;typeof M=="string"&&(d.name=M)}e._status===-1&&(e._status=0,e._result=y)}if(e._status===1)return d=e._result,d===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
18
18
 
19
19
  Your code should look like:
20
20
  const MyComponent = lazy(() => import('./MyComponent'))
21
21
 
22
- Did you accidentally put curly braces around the import?`,l),"default"in l||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
22
+ Did you accidentally put curly braces around the import?`,d),"default"in d||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
23
23
 
24
24
  Your code should look like:
25
- const MyComponent = lazy(() => import('./MyComponent'))`,l),l.default;throw e._result}function P(){var e=b.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
25
+ const MyComponent = lazy(() => import('./MyComponent'))`,d),d.default;throw e._result}function L(){var e=b.H;return e===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
26
26
  1. You might have mismatching versions of React and the renderer (such as React DOM)
27
27
  2. You might be breaking the Rules of Hooks
28
28
  3. You might have more than one copy of React in the same app
29
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function _e(){b.asyncTransitions--}function ue(e){var s=b.T,f={};f.types=s!==null?s.types:null,f._updatedFibers=new Set,b.T=f;try{var l=e(),m=b.S;m!==null&&m(f,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&(b.asyncTransitions++,l.then(_e,_e),l.then(h,Ze))}catch(j){Ze(j)}finally{s===null&&f._updatedFibers&&(e=f._updatedFibers.size,f._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),s!==null&&f.types!==null&&(s.types!==null&&s.types!==f.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),s.types=f.types),b.T=s}}function ee(e){var s=b.T;if(s!==null){var f=s.types;f===null?s.types=[e]:f.indexOf(e)===-1&&f.push(e)}else b.asyncTransitions===0&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),ue(ee.bind(null,e))}function te(e){if(we===null)try{var s=("require"+Math.random()).slice(0,7);we=(t&&t[s]).call(t,"timers").setImmediate}catch{we=function(l){Je===!1&&(Je=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var m=new MessageChannel;m.port1.onmessage=l,m.port2.postMessage(void 0)}}return we(e)}function q(e){return 1<e.length&&typeof AggregateError=="function"?new AggregateError(e):e[0]}function G(e,s){s!==Ae-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ae=s}function ae(e,s,f){var l=b.actQueue;if(l!==null)if(l.length!==0)try{ne(l),te(function(){return ae(e,s,f)});return}catch(m){b.thrownErrors.push(m)}else b.actQueue=null;0<b.thrownErrors.length?(l=q(b.thrownErrors),b.thrownErrors.length=0,f(l)):s(e)}function ne(e){if(!Ce){Ce=!0;var s=0;try{for(;s<e.length;s++){var f=e[s];do{b.didUsePromise=!1;var l=f(!1);if(l!==null){if(b.didUsePromise){e[s]=f,e.splice(0,s);return}f=l}else break}while(!0)}e.length=0}catch(m){e.splice(0,s+1),b.thrownErrors.push(m)}finally{Ce=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var re=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),fe=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),_=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),Ee=Symbol.for("react.activity"),qe=Symbol.for("react.view_transition"),ze=Symbol.iterator,De={},Be={isMounted:function(){return!1},enqueueForceUpdate:function(e){i(e,"forceUpdate")},enqueueReplaceState:function(e){i(e,"replaceState")},enqueueSetState:function(e){i(e,"setState")}},We=Object.assign,je={};Object.freeze(je),a.prototype.isReactComponent={},a.prototype.setState=function(e,s){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,s,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var z={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(le in z)z.hasOwnProperty(le)&&r(le,z[le]);p.prototype=a.prototype,z=y.prototype=new p,z.constructor=y,We(z,a.prototype),z.isPureReactComponent=!0;var xe=Array.isArray,Tt=Symbol.for("react.client.reference"),b={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Te=Object.prototype.hasOwnProperty,Ge=console.createTask?console.createTask:function(){return null};z={react_stack_bottom_frame:function(e){return e()}};var Fe,Ke,Qe={},wt=z.react_stack_bottom_frame.bind(z,U)(),At=Ge(w(U)),Xe=!1,Ve=/\/+/g,Ze=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Je=!1,we=null,Ae=0,be=!1,Ce=!1,et=typeof queueMicrotask=="function"?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:te;z=Object.freeze({__proto__:null,c:function(e){return P().useMemoCache(e)}});var le={map:F,forEach:function(e,s,f){F(e,function(){s.apply(this,arguments)},f)},count:function(e){var s=0;return F(e,function(){s++}),s},toArray:function(e){return F(e,function(s){return s})||[]},only:function(e){if(!W(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};n.Activity=Ee,n.Children=le,n.Component=a,n.Fragment=fe,n.Profiler=c,n.PureComponent=y,n.StrictMode=o,n.Suspense=k,n.ViewTransition=qe,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,n.__COMPILER_RUNTIME=z,n.act=function(e){var s=b.actQueue,f=Ae;Ae++;var l=b.actQueue=s!==null?s:[],m=!1;try{var j=e()}catch(O){b.thrownErrors.push(O)}if(0<b.thrownErrors.length)throw G(s,f),e=q(b.thrownErrors),b.thrownErrors.length=0,e;if(j!==null&&typeof j=="object"&&typeof j.then=="function"){var g=j;return et(function(){m||be||(be=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(O,K){m=!0,g.then(function(oe){if(G(s,f),f===0){try{ne(l),te(function(){return ae(oe,O,K)})}catch(Rt){b.thrownErrors.push(Rt)}if(0<b.thrownErrors.length){var bt=q(b.thrownErrors);b.thrownErrors.length=0,K(bt)}}else O(oe)},function(oe){G(s,f),0<b.thrownErrors.length&&(oe=q(b.thrownErrors),b.thrownErrors.length=0),K(oe)})}}}var A=j;if(G(s,f),f===0&&(ne(l),l.length!==0&&et(function(){m||be||(be=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),b.actQueue=null),0<b.thrownErrors.length)throw e=q(b.thrownErrors),b.thrownErrors.length=0,e;return{then:function(O,K){m=!0,f===0?(b.actQueue=l,te(function(){return ae(A,O,K)})):O(A)}}},n.addTransitionType=ee,n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cacheSignal=function(){return null},n.captureOwnerStack=function(){var e=b.getCurrentStack;return e===null?null:e()},n.cloneElement=function(e,s,f){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var l=We({},e.props),m=e.key,j=e._owner;if(s!=null){var g;e:{if(Te.call(s,"ref")&&(g=Object.getOwnPropertyDescriptor(s,"ref").get)&&g.isReactWarning){g=!1;break e}g=s.ref!==void 0}g&&(j=N()),Y(s)&&(E(s.key),m=""+s.key);for(A in s)!Te.call(s,A)||A==="key"||A==="__self"||A==="__source"||A==="ref"&&s.ref===void 0||(l[A]=s[A])}var A=arguments.length-2;if(A===1)l.children=f;else if(1<A){g=Array(A);for(var O=0;O<A;O++)g[O]=arguments[O+2];l.children=g}for(l=B(e.type,m,l,j,e._debugStack,e._debugTask),m=2;m<arguments.length;m++)J(arguments[m]);return l},n.createContext=function(e){return e={$$typeof:_,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:v,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},n.createElement=function(e,s,f){for(var l=2;l<arguments.length;l++)J(arguments[l]);var m;l={};var j=null;if(s!=null)for(m in Ke||!("__self"in s)||"key"in s||(Ke=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),Y(s)&&(E(s.key),j=""+s.key),s)Te.call(s,m)&&m!=="key"&&m!=="__self"&&m!=="__source"&&(l[m]=s[m]);var g=arguments.length-2;if(g===1)l.children=f;else if(1<g){for(var A=Array(g),O=0;O<g;O++)A[O]=arguments[O+2];Object.freeze&&Object.freeze(A),l.children=A}if(e&&e.defaultProps)for(m in g=e.defaultProps,g)l[m]===void 0&&(l[m]=g[m]);return j&&D(l,typeof e=="function"?e.displayName||e.name||"Unknown":e),(m=1e4>b.recentlyCreatedOwnerStacks++)?(A=Error.stackTraceLimit,Error.stackTraceLimit=10,g=Error("react-stack-top-frame"),Error.stackTraceLimit=A):g=wt,B(e,j,l,N(),g,m?Ge(w(e)):At)},n.createRef=function(){var e={current:null};return Object.seal(e),e},n.forwardRef=function(e){e!=null&&e.$$typeof===H?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?console.error("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&e.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var s={$$typeof:$,render:e},f;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(l){f=l,e.name||e.displayName||(Object.defineProperty(e,"name",{value:l}),e.displayName=l)}}),s},n.isValidElement=W,n.lazy=function(e){e={_status:-1,_result:e};var s={$$typeof:I,_payload:e,_init:Oe},f={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return e._ioInfo=f,s._debugInfo=[{awaited:f}],s},n.memo=function(e,s){e==null&&console.error("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e),s={$$typeof:H,type:e,compare:s===void 0?null:s};var f;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return f},set:function(l){f=l,e.name||e.displayName||(Object.defineProperty(e,"name",{value:l}),e.displayName=l)}}),s},n.startTransition=ue,n.unstable_useCacheRefresh=function(){return P().useCacheRefresh()},n.use=function(e){return P().use(e)},n.useActionState=function(e,s,f){return P().useActionState(e,s,f)},n.useCallback=function(e,s){return P().useCallback(e,s)},n.useContext=function(e){var s=P();return e.$$typeof===v&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),s.useContext(e)},n.useDebugValue=function(e,s){return P().useDebugValue(e,s)},n.useDeferredValue=function(e,s){return P().useDeferredValue(e,s)},n.useEffect=function(e,s){return e==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),P().useEffect(e,s)},n.useEffectEvent=function(e){return P().useEffectEvent(e)},n.useId=function(){return P().useId()},n.useImperativeHandle=function(e,s,f){return P().useImperativeHandle(e,s,f)},n.useInsertionEffect=function(e,s){return e==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),P().useInsertionEffect(e,s)},n.useLayoutEffect=function(e,s){return e==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),P().useLayoutEffect(e,s)},n.useMemo=function(e,s){return P().useMemo(e,s)},n.useOptimistic=function(e,s){return P().useOptimistic(e,s)},n.useReducer=function(e,s,f){return P().useReducer(e,s,f)},n.useRef=function(e){return P().useRef(e)},n.useState=function(e){return P().useState(e)},n.useSyncExternalStore=function(e,s,f){return P().useSyncExternalStore(e,s,f)},n.useTransition=function(){return P().useTransition()},n.version="19.3.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(de,de.exports)),de.exports}var ut;function zt(){return ut||(ut=1,process.env.NODE_ENV==="production"?Re.exports=Ht():Re.exports=qt()),Re.exports}zt();let Ie=null,Me=null;const Dt=new Set;function Bt(){return Me||(Me=Promise.resolve().then(()=>require("./markdown-assets/protoToJsonSchema-B7uaS_Ic.js")).then(t=>{Ie=t.protoToJsonSchema,Dt.forEach(n=>n())})),Me}function Wt(){return Ie||Bt(),Ie}const xt="x-parser-original-payload",Gt="x-lib-conversion-error",Ft=/^application\/vnd\.apache\.avro(\+(json|yaml))?(\s*;\s*version=.+)?$/i,Kt=/^application\/vnd\.google\.protobuf(\s*;\s*version=.+)?$/i;function Qt(t){return typeof t=="string"&&Ft.test(t)}function Xt(t){return typeof t=="string"&&Kt.test(t)}function lt(t){return V(t)&&typeof t.schemaFormat=="string"&&"schema"in t}const Vt=["properties","oneOf","anyOf","allOf","not","$ref","additionalProperties","patternProperties","x-parser-schema-id"],Zt=new Set(["record","enum","fixed","map","int","long","float","double","bytes","uuid"]);function Jt(t){return typeof t=="string"||Array.isArray(t)?!0:V(t)?typeof t.type=="string"&&Zt.has(t.type)||Array.isArray(t.fields)||Array.isArray(t.symbols)?!0:!Vt.some(n=>n in t):!1}function en(t,n){let r=t;if(n&&V(r)&&typeof r.$ref=="string"){const p=n(r.$ref);p!==void 0&&(r=p)}const u=tn(r),i=u.schema.description;if(typeof i=="string")return{...u,description:i};const a=lt(r)?r.description:void 0;return typeof a=="string"?{...u,description:a}:u}function tn(t){var p;if(!lt(t))return{schema:X(t)??t};const{schemaFormat:n}=t,r=t.schema,u=t[xt],i=(p=X(r))==null?void 0:p[Gt];if(typeof i=="string")return{schema:X(u)??{},schemaFormat:n,originalSchema:u,conversionError:i};if(u!==void 0)return{schema:X(r)??{},schemaFormat:n,originalSchema:u};if(Qt(n)&&Jt(r)){const y=Yt(r);if(y.length>0)return{schema:X(r)??{},schemaFormat:n,originalSchema:r,conversionError:y[0]};try{return{schema:It(r),schemaFormat:n,originalSchema:r}}catch(h){return{schema:X(r)??{},schemaFormat:n,originalSchema:r,conversionError:h instanceof Error?h.message:"Failed to convert Avro schema"}}}if(Xt(n)&&typeof r=="string"){const y=Wt();if(!y)return{schema:{},schemaFormat:n,originalSchema:r,pendingConversion:!0};try{return{schema:y(r),schemaFormat:n,originalSchema:r}}catch(h){return{schema:{},schemaFormat:n,originalSchema:r,conversionError:h instanceof Error?h.message:"Failed to convert Protobuf schema"}}}const a=X(r);return a?{schema:a,schemaFormat:n}:{schema:{},schemaFormat:n,originalSchema:r}}const nn=t=>typeof t=="object"&&t!==null;function rn(t){try{return decodeURIComponent(t).replace(/~1/g,"/").replace(/~0/g,"~")}catch{return}}function on(t,n){if(n==="#")return t;if(!n.startsWith("#/"))return;let r=t;for(const u of n.slice(2).split("/")){if(!nn(r))return;const i=rn(u);if(i===void 0||(r=r[i],r===void 0))return}return r}function ke(t){const n=new Map;return r=>{if(n.has(r))return n.get(r);const u=on(t,r);return n.set(r,u),u}}const L=(t,n)=>`${"#".repeat(t)} ${n}`,d=t=>typeof t=="string"?t.replace(/`/g,"'"):String(t??""),pe=t=>typeof t=="object"&&t!==null&&!Array.isArray(t),sn={objects:new Set,refs:new Set};function Se(t,n,r=sn){if(t===null||typeof t!="object")return t;if(r.objects.has(t)||pe(t)&&typeof t.$ref=="string"&&r.refs.has(t.$ref)){const a=pe(t)?t["x-parser-schema-id"]:void 0;return typeof a=="string"?{$ref:`#/components/schemas/${a} (circular)`}:"[circular reference]"}const u={objects:new Set(r.objects).add(t),refs:pe(t)&&typeof t.$ref=="string"?new Set(r.refs).add(t.$ref):r.refs};if(Array.isArray(t))return t.map(a=>Se(a,n,u));if(pe(t)&&typeof t.$ref=="string"){const a=n==null?void 0:n(t.$ref);return pe(a)||Array.isArray(a)?Se(a,n,u):{$ref:t.$ref}}const i={};for(const[a,p]of Object.entries(t))i[a]=Se(p,n,u);return i}function $e(t,n,r){if(!n)return"";const u=Se(n,r);return`${L(4,`\`${d(t)}\``)}
29
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function _e(){b.asyncTransitions--}function ce(e){var s=b.T,p={};p.types=s!==null?s.types:null,p._updatedFibers=new Set,b.T=p;try{var d=e(),y=b.S;y!==null&&y(p,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&(b.asyncTransitions++,d.then(_e,_e),d.then(h,et))}catch(M){et(M)}finally{s===null&&p._updatedFibers&&(e=p._updatedFibers.size,p._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),s!==null&&p.types!==null&&(s.types!==null&&s.types!==p.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),s.types=p.types),b.T=s}}function ee(e){var s=b.T;if(s!==null){var p=s.types;p===null?s.types=[e]:p.indexOf(e)===-1&&p.push(e)}else b.asyncTransitions===0&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),ce(ee.bind(null,e))}function te(e){if(we===null)try{var s=("require"+Math.random()).slice(0,7);we=(t&&t[s]).call(t,"timers").setImmediate}catch{we=function(d){tt===!1&&(tt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var y=new MessageChannel;y.port1.onmessage=d,y.port2.postMessage(void 0)}}return we(e)}function D(e){return 1<e.length&&typeof AggregateError=="function"?new AggregateError(e):e[0]}function G(e,s){s!==Ae-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ae=s}function fe(e,s,p){var d=b.actQueue;if(d!==null)if(d.length!==0)try{ne(d),te(function(){return fe(e,s,p)});return}catch(y){b.thrownErrors.push(y)}else b.actQueue=null;0<b.thrownErrors.length?(d=D(b.thrownErrors),b.thrownErrors.length=0,p(d)):s(e)}function ne(e){if(!Me){Me=!0;var s=0;try{for(;s<e.length;s++){var p=e[s];do{b.didUsePromise=!1;var d=p(!1);if(d!==null){if(b.didUsePromise){e[s]=p,e.splice(0,s);return}p=d}else break}while(!0)}e.length=0}catch(y){e.splice(0,s+1),b.thrownErrors.push(y)}finally{Me=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var re=Symbol.for("react.transitional.element"),le=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),_=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),Ee=Symbol.for("react.activity"),De=Symbol.for("react.view_transition"),Be=Symbol.iterator,We={},xe={isMounted:function(){return!1},enqueueForceUpdate:function(e){i(e,"forceUpdate")},enqueueReplaceState:function(e){i(e,"replaceState")},enqueueSetState:function(e){i(e,"setState")}},Fe=Object.assign,Ce={};Object.freeze(Ce),a.prototype.isReactComponent={},a.prototype.setState=function(e,s){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,s,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var B={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(de in B)B.hasOwnProperty(de)&&r(de,B[de]);c.prototype=a.prototype,B=f.prototype=new c,B.constructor=f,Fe(B,a.prototype),B.isPureReactComponent=!0;var Ge=Array.isArray,Rt=Symbol.for("react.client.reference"),b={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Te=Object.prototype.hasOwnProperty,Ke=console.createTask?console.createTask:function(){return null};B={react_stack_bottom_frame:function(e){return e()}};var Qe,Xe,Ve={},$t=B.react_stack_bottom_frame.bind(B,k)(),Ot=Ke(E(k)),Ze=!1,Je=/\/+/g,et=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},tt=!1,we=null,Ae=0,Se=!1,Me=!1,nt=typeof queueMicrotask=="function"?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:te;B=Object.freeze({__proto__:null,c:function(e){return L().useMemoCache(e)}});var de={map:K,forEach:function(e,s,p){K(e,function(){s.apply(this,arguments)},p)},count:function(e){var s=0;return K(e,function(){s++}),s},toArray:function(e){return K(e,function(s){return s})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};n.Activity=Ee,n.Children=de,n.Component=a,n.Fragment=pe,n.Profiler=l,n.PureComponent=f,n.StrictMode=o,n.Suspense=j,n.ViewTransition=De,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,n.__COMPILER_RUNTIME=B,n.act=function(e){var s=b.actQueue,p=Ae;Ae++;var d=b.actQueue=s!==null?s:[],y=!1;try{var M=e()}catch(C){b.thrownErrors.push(C)}if(0<b.thrownErrors.length)throw G(s,p),e=D(b.thrownErrors),b.thrownErrors.length=0,e;if(M!==null&&typeof M=="object"&&typeof M.then=="function"){var g=M;return nt(function(){y||Se||(Se=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(C,Q){y=!0,g.then(function(oe){if(G(s,p),p===0){try{ne(d),te(function(){return fe(oe,C,Q)})}catch(jt){b.thrownErrors.push(jt)}if(0<b.thrownErrors.length){var kt=D(b.thrownErrors);b.thrownErrors.length=0,Q(kt)}}else C(oe)},function(oe){G(s,p),0<b.thrownErrors.length&&(oe=D(b.thrownErrors),b.thrownErrors.length=0),Q(oe)})}}}var S=M;if(G(s,p),p===0&&(ne(d),d.length!==0&&nt(function(){y||Se||(Se=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),b.actQueue=null),0<b.thrownErrors.length)throw e=D(b.thrownErrors),b.thrownErrors.length=0,e;return{then:function(C,Q){y=!0,p===0?(b.actQueue=d,te(function(){return fe(S,C,Q)})):C(S)}}},n.addTransitionType=ee,n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cacheSignal=function(){return null},n.captureOwnerStack=function(){var e=b.getCurrentStack;return e===null?null:e()},n.cloneElement=function(e,s,p){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var d=Fe({},e.props),y=e.key,M=e._owner;if(s!=null){var g;e:{if(Te.call(s,"ref")&&(g=Object.getOwnPropertyDescriptor(s,"ref").get)&&g.isReactWarning){g=!1;break e}g=s.ref!==void 0}g&&(M=$()),I(s)&&(A(s.key),y=""+s.key);for(S in s)!Te.call(s,S)||S==="key"||S==="__self"||S==="__source"||S==="ref"&&s.ref===void 0||(d[S]=s[S])}var S=arguments.length-2;if(S===1)d.children=p;else if(1<S){g=Array(S);for(var C=0;C<S;C++)g[C]=arguments[C+2];d.children=g}for(d=z(e.type,y,d,M,e._debugStack,e._debugTask),y=2;y<arguments.length;y++)J(arguments[y]);return d},n.createContext=function(e){return e={$$typeof:_,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:v,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},n.createElement=function(e,s,p){for(var d=2;d<arguments.length;d++)J(arguments[d]);var y;d={};var M=null;if(s!=null)for(y in Xe||!("__self"in s)||"key"in s||(Xe=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),I(s)&&(A(s.key),M=""+s.key),s)Te.call(s,y)&&y!=="key"&&y!=="__self"&&y!=="__source"&&(d[y]=s[y]);var g=arguments.length-2;if(g===1)d.children=p;else if(1<g){for(var S=Array(g),C=0;C<g;C++)S[C]=arguments[C+2];Object.freeze&&Object.freeze(S),d.children=S}if(e&&e.defaultProps)for(y in g=e.defaultProps,g)d[y]===void 0&&(d[y]=g[y]);return M&&Y(d,typeof e=="function"?e.displayName||e.name||"Unknown":e),(y=1e4>b.recentlyCreatedOwnerStacks++)?(S=Error.stackTraceLimit,Error.stackTraceLimit=10,g=Error("react-stack-top-frame"),Error.stackTraceLimit=S):g=$t,z(e,M,d,$(),g,y?Ke(E(e)):Ot)},n.createRef=function(){var e={current:null};return Object.seal(e),e},n.forwardRef=function(e){e!=null&&e.$$typeof===q?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?console.error("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&e.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var s={$$typeof:R,render:e},p;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return p},set:function(d){p=d,e.name||e.displayName||(Object.defineProperty(e,"name",{value:d}),e.displayName=d)}}),s},n.isValidElement=x,n.lazy=function(e){e={_status:-1,_result:e};var s={$$typeof:H,_payload:e,_init:je},p={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return e._ioInfo=p,s._debugInfo=[{awaited:p}],s},n.memo=function(e,s){e==null&&console.error("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e),s={$$typeof:q,type:e,compare:s===void 0?null:s};var p;return Object.defineProperty(s,"displayName",{enumerable:!1,configurable:!0,get:function(){return p},set:function(d){p=d,e.name||e.displayName||(Object.defineProperty(e,"name",{value:d}),e.displayName=d)}}),s},n.startTransition=ce,n.unstable_useCacheRefresh=function(){return L().useCacheRefresh()},n.use=function(e){return L().use(e)},n.useActionState=function(e,s,p){return L().useActionState(e,s,p)},n.useCallback=function(e,s){return L().useCallback(e,s)},n.useContext=function(e){var s=L();return e.$$typeof===v&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),s.useContext(e)},n.useDebugValue=function(e,s){return L().useDebugValue(e,s)},n.useDeferredValue=function(e,s){return L().useDeferredValue(e,s)},n.useEffect=function(e,s){return e==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),L().useEffect(e,s)},n.useEffectEvent=function(e){return L().useEffectEvent(e)},n.useId=function(){return L().useId()},n.useImperativeHandle=function(e,s,p){return L().useImperativeHandle(e,s,p)},n.useInsertionEffect=function(e,s){return e==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),L().useInsertionEffect(e,s)},n.useLayoutEffect=function(e,s){return e==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),L().useLayoutEffect(e,s)},n.useMemo=function(e,s){return L().useMemo(e,s)},n.useOptimistic=function(e,s){return L().useOptimistic(e,s)},n.useReducer=function(e,s,p){return L().useReducer(e,s,p)},n.useRef=function(e){return L().useRef(e)},n.useState=function(e){return L().useState(e)},n.useSyncExternalStore=function(e,s,p){return L().useSyncExternalStore(e,s,p)},n.useTransition=function(){return L().useTransition()},n.version="19.3.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(me,me.exports)),me.exports}var ct;function Ft(){return ct||(ct=1,process.env.NODE_ENV==="production"?be.exports=Wt():be.exports=xt()),be.exports}Ft();let Ye=null,Pe=null;const Gt=new Set;function Kt(){return Pe||(Pe=Promise.resolve().then(()=>require("./markdown-assets/protoToJsonSchema-B7uaS_Ic.js")).then(t=>{Ye=t.protoToJsonSchema,Gt.forEach(n=>n())})),Pe}function Qt(){return Ye||Kt(),Ye}const Xt="x-parser-original-payload",Vt="x-lib-conversion-error",Zt=/^application\/vnd\.apache\.avro(\+(json|yaml))?(\s*;\s*version=.+)?$/i,Jt=/^application\/vnd\.google\.protobuf(\s*;\s*version=.+)?$/i;function en(t){return typeof t=="string"&&Zt.test(t)}function tn(t){return typeof t=="string"&&Jt.test(t)}function yt(t){return Z(t)&&typeof t.schemaFormat=="string"&&"schema"in t}const nn=["properties","oneOf","anyOf","allOf","not","$ref","additionalProperties","patternProperties","x-parser-schema-id"],rn=new Set(["record","enum","fixed","map","int","long","float","double","bytes","uuid"]);function on(t){return typeof t=="string"||Array.isArray(t)?!0:Z(t)?typeof t.type=="string"&&rn.has(t.type)||Array.isArray(t.fields)||Array.isArray(t.symbols)?!0:!nn.some(n=>n in t):!1}function sn(t,n){let r=t;if(n&&Z(r)&&typeof r.$ref=="string"){const c=n(r.$ref);c!==void 0&&(r=c)}const u=un(r),i=u.schema.description;if(typeof i=="string")return{...u,description:i};const a=yt(r)?r.description:void 0;return typeof a=="string"?{...u,description:a}:u}function un(t){var c;if(!yt(t))return{schema:V(t)??t};const{schemaFormat:n}=t,r=t.schema,u=t[Xt],i=(c=V(r))==null?void 0:c[Vt];if(typeof i=="string")return{schema:V(u)??{},schemaFormat:n,originalSchema:u,conversionError:i};if(u!==void 0)return{schema:V(r)??{},schemaFormat:n,originalSchema:u};if(en(n)&&on(r)){const f=Bt(r);if(f.length>0)return{schema:V(r)??{},schemaFormat:n,originalSchema:r,conversionError:f[0]};try{return{schema:zt(r),schemaFormat:n,originalSchema:r}}catch(h){return{schema:V(r)??{},schemaFormat:n,originalSchema:r,conversionError:h instanceof Error?h.message:"Failed to convert Avro schema"}}}if(tn(n)&&typeof r=="string"){const f=Qt();if(!f)return{schema:{},schemaFormat:n,originalSchema:r,pendingConversion:!0};try{return{schema:f(r),schemaFormat:n,originalSchema:r}}catch(h){return{schema:{},schemaFormat:n,originalSchema:r,conversionError:h instanceof Error?h.message:"Failed to convert Protobuf schema"}}}const a=V(r);return a?{schema:a,schemaFormat:n}:{schema:{},schemaFormat:n,originalSchema:r}}const an=t=>typeof t=="object"&&t!==null;function cn(t){try{return decodeURIComponent(t).replace(/~1/g,"/").replace(/~0/g,"~")}catch{return}}function fn(t,n){if(n==="#")return t;if(!n.startsWith("#/"))return;let r=t;for(const u of n.slice(2).split("/")){if(!an(r))return;const i=cn(u);if(i===void 0||(r=r[i],r===void 0))return}return r}function Oe(t){const n=new Map;return r=>{if(n.has(r))return n.get(r);const u=fn(t,r);return n.set(r,u),u}}const Ne=t=>typeof t=="object"&&t!==null&&!Array.isArray(t),ln=new Set(["properties","items","allOf","oneOf","anyOf","additionalProperties","patternProperties","propertyNames","not","if","then","else","contains","additionalItems","prefixItems","definitions","$defs"]),ft=Array.from(ln),lt="#/components/schemas/",pn=t=>t.replace(/~1/g,"/").replace(/~0/g,"~"),dn=t=>{if(!t.startsWith(lt))return;const n=t.slice(lt.length).split("/")[0];return n?pn(n):void 0},mn=(t,n)=>{const r=new Map,u=new Map;for(const[i,a]of Object.entries(t??{}))if(Ne(a)){r.has(a)||r.set(a,i);for(const c of ft){const f=a[c];typeof f=="object"&&f!==null&&!u.has(f)&&u.set(f,{name:i,schema:a,key:c})}}return i=>{if(!Ne(i))return;const a=r.get(i);if(a!==void 0)return a;for(const c of ft){let f=i[c];if(Ne(f)&&typeof f.$ref=="string"&&n&&(f=n(f.$ref)),typeof f!="object"||f===null)continue;const h=u.get(f);if(h&&h.key===c&&h.schema.type===i.type)return h.name}}},U=(t,n)=>`${"#".repeat(t)} ${n}`,m=t=>typeof t=="string"?t.replace(/`/g,"'"):String(t??""),se=t=>typeof t=="object"&&t!==null&&!Array.isArray(t),yn={objects:new Set,refs:new Set},ke=(t,n)=>({schemas:t??{},nameOf:mn(t,n),referenced:new Set}),hn=t=>`#/components/schemas/${t.replace(/~/g,"~0").replace(/\//g,"~1")}`;function Re(t,n,r,u=yn,i=!0){if(t===null||typeof t!="object")return t;if(r&&!i){const f=se(t)&&typeof t.$ref=="string"?t.$ref:void 0,h=f!==void 0?(n==null?void 0:n(f))??t:t,T=r.nameOf(h);if(T!==void 0)return r.referenced.add(T),{$ref:hn(T)};const A=f!==void 0?dn(f):void 0;if(A!==void 0&&Object.prototype.hasOwnProperty.call(r.schemas,A))return r.referenced.add(A),{$ref:f}}if(u.objects.has(t)||se(t)&&typeof t.$ref=="string"&&u.refs.has(t.$ref)){const f=se(t)?t["x-parser-schema-id"]:void 0;return typeof f=="string"?{$ref:`#/components/schemas/${f} (circular)`}:"[circular reference]"}const a={objects:new Set(u.objects).add(t),refs:se(t)&&typeof t.$ref=="string"?new Set(u.refs).add(t.$ref):u.refs};if(Array.isArray(t))return t.map(f=>Re(f,n,r,a,!1));if(se(t)&&typeof t.$ref=="string"){const f=n==null?void 0:n(t.$ref);return se(f)||Array.isArray(f)?Re(f,n,r,a,i):{$ref:t.$ref}}const c={};for(const[f,h]of Object.entries(t))c[f]=Re(h,n,r,a,!1);return c}function $e(t,n,r,u){if(!n)return"";const i=Re(n,r,u);return`${U(4,`\`${m(t)}\``)}
30
30
 
31
31
  \`\`\`json
32
- ${JSON.stringify(u,null,2)}
33
- \`\`\``}function me(t,n,r){if(!n||typeof n=="boolean")return"";const{schema:u,description:i,conversionError:a,pendingConversion:p}=en(n,r);if(p)return`${L(4,`\`${d(t)}\``)}
32
+ ${JSON.stringify(i,null,2)}
33
+ \`\`\``}function ue(t,n,r,u){if(!n||typeof n=="boolean")return"";const{schema:i,description:a,conversionError:c,pendingConversion:f}=sn(n,r);if(f)return`${U(4,`\`${m(t)}\``)}
34
34
 
35
- _(schema conversion still in progress)_`;if(a)return`${L(4,`\`${d(t)}\``)}
35
+ _(schema conversion still in progress)_`;if(c)return`${U(4,`\`${m(t)}\``)}
36
36
 
37
- _(could not convert schema: ${d(a)})_`;const y=i&&!u.description?{...u,description:i}:u;return $e(t,y,r)}function pt(t){var n;switch(t.type){case"apiKey":case"httpApiKey":return`API Key (${d(t.in)}${t.name?`: \`${d(t.name)}\``:""})`;case"http":return((n=t.scheme)==null?void 0:n.toLowerCase())==="basic"?"HTTP Basic":`HTTP Bearer${t.bearerFormat?` (format: ${d(t.bearerFormat)})`:""}`;case"openIdConnect":return"OpenID Connect";case"oauth2":return"OAuth2";case"mutualTLS":return"Mutual TLS";case"X509":return"X.509 Certificate";case"userPassword":return"User / Password";case"plain":case"scramSha256":case"scramSha512":return"SASL";case"gssapi":return"SASL (GSSAPI)";case"symmetricEncryption":return"Symmetric Encryption";case"asymmetricEncryption":return"Asymmetric Encryption";default:return d(t.type)}}function un(t){if(!(t!=null&&t.length))return"";const n=[];for(const r of t)if(r!=null&&r.type&&(n.push(`- **${pt(r)}**`),r.description&&n.push(` ${d(r.description)}`),r.type==="openIdConnect"&&r.openIdConnectUrl&&n.push(` - OpenID Connect URL: \`${d(r.openIdConnectUrl)}\``),r.type==="oauth2"))for(const[u,i]of Object.entries(r.flows??{})){n.push(` - Flow \`${d(u)}\`:`),i.authorizationUrl&&n.push(` - Authorization URL: \`${d(i.authorizationUrl)}\``),i.tokenUrl&&n.push(` - Token URL: \`${d(i.tokenUrl)}\``),i.refreshUrl&&n.push(` - Refresh URL: \`${d(i.refreshUrl)}\``);const a=Object.keys(i.availableScopes??i.scopes??{});a.length&&n.push(` - Available scopes: ${a.map(p=>`\`${d(p)}\``).join(", ")}`)}return n.length?["**Authorization:**",n.join(`
37
+ _(could not convert schema: ${m(c)})_`;const h=a&&!i.description?{...i,description:a}:i;return $e(t,h,r,u)}function ht(t,n){const r=[],u=new Set;for(const i of t.referenced)u.has(i)||(u.add(i),r.push(ue(i,t.schemas[i],n,t)));return r.length?[U(2,"Referenced Schemas"),...r].join(`
38
+
39
+ `):""}function gt(t){var n;switch(t.type){case"apiKey":case"httpApiKey":return`API Key (${m(t.in)}${t.name?`: \`${m(t.name)}\``:""})`;case"http":return((n=t.scheme)==null?void 0:n.toLowerCase())==="basic"?"HTTP Basic":`HTTP Bearer${t.bearerFormat?` (format: ${m(t.bearerFormat)})`:""}`;case"openIdConnect":return"OpenID Connect";case"oauth2":return"OAuth2";case"mutualTLS":return"Mutual TLS";case"X509":return"X.509 Certificate";case"userPassword":return"User / Password";case"plain":case"scramSha256":case"scramSha512":return"SASL";case"gssapi":return"SASL (GSSAPI)";case"symmetricEncryption":return"Symmetric Encryption";case"asymmetricEncryption":return"Asymmetric Encryption";default:return m(t.type)}}function gn(t){if(!(t!=null&&t.length))return"";const n=[];for(const r of t)if(r!=null&&r.type&&(n.push(`- **${gt(r)}**`),r.description&&n.push(` ${m(r.description)}`),r.type==="openIdConnect"&&r.openIdConnectUrl&&n.push(` - OpenID Connect URL: \`${m(r.openIdConnectUrl)}\``),r.type==="oauth2"))for(const[u,i]of Object.entries(r.flows??{})){n.push(` - Flow \`${m(u)}\`:`),i.authorizationUrl&&n.push(` - Authorization URL: \`${m(i.authorizationUrl)}\``),i.tokenUrl&&n.push(` - Token URL: \`${m(i.tokenUrl)}\``),i.refreshUrl&&n.push(` - Refresh URL: \`${m(i.refreshUrl)}\``);const a=Object.keys(i.availableScopes??i.scopes??{});a.length&&n.push(` - Available scopes: ${a.map(c=>`\`${m(c)}\``).join(", ")}`)}return n.length?["**Authorization:**",n.join(`
38
40
  `)].join(`
39
41
 
40
- `):""}function dt(t){const n=[],{info:r}=t;n.push(L(1,d(r.title)));const u=[`**Version:** ${d(r.version)}`];if(r.license&&u.push(`**License:** ${d(r.license.name)}${r.license.url?` (${d(r.license.url)})`:""}`),r.contact){const i=[r.contact.name,r.contact.email].filter(Boolean).map(d).join(" ");i&&u.push(`**Contact:** ${i}`)}if(n.push(u.join(`
41
- `)),r.description&&n.push(d(r.description)),t.servers&&Object.keys(t.servers).length){const i=[L(2,"Servers")];for(const[a,p]of Object.entries(t.servers)){i.push(L(3,d(a)));const y=[`**Host:** \`${d(p.host)}${p.pathname?d(p.pathname):""}\``];y.push(`**Protocol:** ${d(p.protocol)}${p.protocolVersion?` ${d(p.protocolVersion)}`:""}`),p.description&&y.push(d(p.description)),i.push(y.join(`
42
- `));const h=un(p.security);h&&i.push(h)}n.push(i.join(`
42
+ `):""}function vt(t){const n=[],{info:r}=t;n.push(U(1,m(r.title)));const u=[`**Version:** ${m(r.version)}`];if(r.license&&u.push(`**License:** ${m(r.license.name)}${r.license.url?` (${m(r.license.url)})`:""}`),r.contact){const i=[r.contact.name,r.contact.email].filter(Boolean).map(m).join(" ");i&&u.push(`**Contact:** ${i}`)}if(n.push(u.join(`
43
+ `)),r.description&&n.push(m(r.description)),t.servers&&Object.keys(t.servers).length){const i=[U(2,"Servers")];for(const[a,c]of Object.entries(t.servers)){i.push(U(3,m(a)));const f=[`**Host:** \`${m(c.host)}${c.pathname?m(c.pathname):""}\``];f.push(`**Protocol:** ${m(c.protocol)}${c.protocolVersion?` ${m(c.protocolVersion)}`:""}`),c.description&&f.push(m(c.description)),i.push(f.join(`
44
+ `));const h=gn(c.security);h&&i.push(h)}n.push(i.join(`
43
45
 
44
- `))}return n}function mt(t,n=ke(t)){var a,p,y;const r=dt(t);if(t.operations&&Object.keys(t.operations).length){const h=[L(2,"Operations")];for(const[R,E]of Object.entries(t.operations)){const S=E.channel;h.push(L(3,`${d((a=E.action)==null?void 0:a.toUpperCase())} \`${d(R)}\``));const w=[];S!=null&&S.address&&w.push(`**Channel:** \`${d(S.address)}\``),E.summary&&w.push(d(E.summary)),E.description&&w.push(d(E.description));const N=E.messages??[];N.length&&w.push(`**Messages:** ${N.map(U=>`\`${d(U.name??U.title??"message")}\``).join(", ")}`),h.push(w.join(`
46
+ `))}return n}function _t(t,n=Oe(t)){var c,f,h,T;const r=vt(t),u=ke((c=t.components)==null?void 0:c.schemas,n);if(t.operations&&Object.keys(t.operations).length){const A=[U(2,"Operations")];for(const[O,E]of Object.entries(t.operations)){const $=E.channel;A.push(U(3,`${m((f=E.action)==null?void 0:f.toUpperCase())} \`${m(O)}\``));const k=[];$!=null&&$.address&&k.push(`**Channel:** \`${m($.address)}\``),E.summary&&k.push(m(E.summary)),E.description&&k.push(m(E.description));const I=E.messages??[];I.length&&k.push(`**Messages:** ${I.map(Y=>`\`${m(Y.name??Y.title??"message")}\``).join(", ")}`),A.push(k.join(`
45
47
 
46
- `))}r.push(h.join(`
48
+ `))}r.push(A.join(`
47
49
 
48
- `))}const u=(p=t.components)==null?void 0:p.messages;if(u&&Object.keys(u).length){const h=[L(2,"Messages")];for(const[R,E]of Object.entries(u)){h.push(L(3,d(E.title??E.name??R)));const S=[];E.summary&&S.push(d(E.summary)),E.description&&S.push(d(E.description)),E.contentType&&S.push(`**Content-Type:** \`${d(E.contentType)}\``),h.push(S.join(`
50
+ `))}const i=(h=t.components)==null?void 0:h.messages;if(i&&Object.keys(i).length){const A=[U(2,"Messages")];for(const[O,E]of Object.entries(i)){A.push(U(3,m(E.title??E.name??O)));const $=[];E.summary&&$.push(m(E.summary)),E.description&&$.push(m(E.description)),E.contentType&&$.push(`**Content-Type:** \`${m(E.contentType)}\``),A.push($.join(`
49
51
 
50
- `)),E.payload&&h.push(me("payload",E.payload,n)),E.headers&&h.push(me("headers",E.headers,n))}r.push(h.join(`
52
+ `)),E.payload&&A.push(ue("payload",E.payload,n,u)),E.headers&&A.push(ue("headers",E.headers,n,u))}r.push(A.join(`
51
53
 
52
- `))}const i=(y=t.components)==null?void 0:y.schemas;if(i&&Object.keys(i).length){const h=[L(2,"Schemas")];for(const[R,E]of Object.entries(i))h.push(me(R,E,n));r.push(h.join(`
54
+ `))}const a=(T=t.components)==null?void 0:T.schemas;if(a&&Object.keys(a).length){const A=[U(2,"Schemas")];for(const[O,E]of Object.entries(a))A.push(ue(O,E,n,u));r.push(A.join(`
53
55
 
54
56
  `))}return r.filter(Boolean).join(`
55
57
 
56
- `)}function an(t,n,r){var y;const u=n.channel,i=[L(3,`${d((y=n.action)==null?void 0:y.toUpperCase())} \`${d(t)}\``)],a=[];u!=null&&u.address&&a.push(`**Channel:** \`${d(u.address)}\``),n.summary&&a.push(d(n.summary)),n.description&&a.push(d(n.description)),i.push(a.join(`
58
+ `)}function vn(t,n,r,u){var h;const i=n.channel,a=[U(3,`${m((h=n.action)==null?void 0:h.toUpperCase())} \`${m(t)}\``)],c=[];i!=null&&i.address&&c.push(`**Channel:** \`${m(i.address)}\``),n.summary&&c.push(m(n.summary)),n.description&&c.push(m(n.description)),a.push(c.join(`
57
59
 
58
- `));const p=n.messages??[];for(const h of p){const R=[L(4,d(h.title??h.name??"Message"))],E=[];h.summary&&E.push(d(h.summary)),h.description&&E.push(d(h.description)),h.contentType&&E.push(`**Content-Type:** \`${d(h.contentType)}\``),E.length&&R.push(E.join(`
60
+ `));const f=n.messages??[];for(const T of f){const A=[U(4,m(T.title??T.name??"Message"))],O=[];T.summary&&O.push(m(T.summary)),T.description&&O.push(m(T.description)),T.contentType&&O.push(`**Content-Type:** \`${m(T.contentType)}\``),O.length&&A.push(O.join(`
59
61
 
60
- `)),i.push(R.join(`
62
+ `)),a.push(A.join(`
61
63
 
62
- `)),h.payload&&i.push(me("payload",h.payload,r)),h.headers&&i.push(me("headers",h.headers,r))}return i.filter(Boolean).join(`
64
+ `)),T.payload&&a.push(ue("payload",T.payload,r,u)),T.headers&&a.push(ue("headers",T.headers,r,u))}return a.filter(Boolean).join(`
63
65
 
64
- `)}function yt(t,n,r=ke(t)){var a;const u=(a=t.operations)==null?void 0:a[n];if(!u)return"";const i=dt(t);return i.push(an(n,u,r)),i.filter(Boolean).join(`
66
+ `)}function Et(t,n,r=Oe(t)){var c,f;const u=(c=t.operations)==null?void 0:c[n];if(!u)return"";const i=vt(t),a=ke((f=t.components)==null?void 0:f.schemas,r);return i.push(vn(n,u,r,a)),i.push(ht(a,r)),i.filter(Boolean).join(`
65
67
 
66
- `)}function cn(t,n){if(!t.length||!n)return"";const r=new Map;for(const a of t)for(const[p,y]of Object.entries(a)){if(!y.length)continue;const h=r.get(p)??[];r.set(p,Array.from(new Set([...h,...y])))}const u=Array.from(new Set(t.flatMap(a=>Object.keys(a)))),i=[];for(const a of u){const p=n[a];if(!p)continue;const y=r.get(a);if(i.push(`- **${pt(p)}** (\`${d(a)}\`)`),p.description&&i.push(` ${d(p.description)}`),p.type==="openIdConnect"&&p.openIdConnectUrl&&i.push(` - OpenID Connect URL: \`${d(p.openIdConnectUrl)}\``),p.type==="oauth2")for(const[h,R]of Object.entries(p.flows??{})){i.push(` - Flow \`${d(h)}\`:`),R.authorizationUrl&&i.push(` - Authorization URL: \`${d(R.authorizationUrl)}\``),R.tokenUrl&&i.push(` - Token URL: \`${d(R.tokenUrl)}\``),R.refreshUrl&&i.push(` - Refresh URL: \`${d(R.refreshUrl)}\``);const E=y!=null&&y.length?y:Object.keys(R.scopes??{});E.length&&i.push(` - ${y!=null&&y.length?"Required scopes":"Scopes"}: ${E.map(S=>`\`${d(S)}\``).join(", ")}`)}else y!=null&&y.length&&i.push(` - Required scopes: ${y.map(h=>`\`${d(h)}\``).join(", ")}`)}return i.length?["**Authorization:**",i.join(`
68
+ `)}function _n(t,n){if(!t.length||!n)return"";const r=new Map;for(const a of t)for(const[c,f]of Object.entries(a)){if(!f.length)continue;const h=r.get(c)??[];r.set(c,Array.from(new Set([...h,...f])))}const u=Array.from(new Set(t.flatMap(a=>Object.keys(a)))),i=[];for(const a of u){const c=n[a];if(!c)continue;const f=r.get(a);if(i.push(`- **${gt(c)}** (\`${m(a)}\`)`),c.description&&i.push(` ${m(c.description)}`),c.type==="openIdConnect"&&c.openIdConnectUrl&&i.push(` - OpenID Connect URL: \`${m(c.openIdConnectUrl)}\``),c.type==="oauth2")for(const[h,T]of Object.entries(c.flows??{})){i.push(` - Flow \`${m(h)}\`:`),T.authorizationUrl&&i.push(` - Authorization URL: \`${m(T.authorizationUrl)}\``),T.tokenUrl&&i.push(` - Token URL: \`${m(T.tokenUrl)}\``),T.refreshUrl&&i.push(` - Refresh URL: \`${m(T.refreshUrl)}\``);const A=f!=null&&f.length?f:Object.keys(T.scopes??{});A.length&&i.push(` - ${f!=null&&f.length?"Required scopes":"Scopes"}: ${A.map(O=>`\`${m(O)}\``).join(", ")}`)}else f!=null&&f.length&&i.push(` - Required scopes: ${f.map(h=>`\`${m(h)}\``).join(", ")}`)}return i.length?["**Authorization:**",i.join(`
67
69
  `)].join(`
68
70
 
69
- `):""}function ht(t,n,r,u,i,a){var w;const p=[L(3,`${t.toUpperCase()} \`${d(n)}\``)],y=[];r.summary&&y.push(d(r.summary)),r.description&&y.push(d(r.description)),r.deprecated&&y.push("**Deprecated**");const h=r.security??a??[],R=cn(h,i);R&&y.push(R);for(const N of["path","query","header","cookie"]){const U=(r.parameters??[]).filter(Y=>Y.in===N);if(U.length){y.push(`**${N[0].toUpperCase()}${N.slice(1)} Parameters:**`);for(const Y of U){const D=Y.schema;y.push(`- \`${d(Y.name)}\`${Y.required?" (required)":""}${D!=null&&D.type?` — ${d(D.type)}`:""}${Y.description?`: ${d(Y.description)}`:""}`)}}}p.push(y.join(`
71
+ `):""}function Tt(t,n,r,u,i,a,c){var $;const f=[U(3,`${t.toUpperCase()} \`${m(n)}\``)],h=[];r.summary&&h.push(m(r.summary)),r.description&&h.push(m(r.description)),r.deprecated&&h.push("**Deprecated**");const T=r.security??c??[],A=_n(T,a);A&&h.push(A);for(const k of["path","query","header","cookie"]){const I=(r.parameters??[]).filter(Y=>Y.in===k);if(I.length){h.push(`**${k[0].toUpperCase()}${k.slice(1)} Parameters:**`);for(const Y of I){const W=Y.schema;h.push(`- \`${m(Y.name)}\`${Y.required?" (required)":""}${W!=null&&W.type?` — ${m(W.type)}`:""}${Y.description?`: ${m(Y.description)}`:""}`)}}}f.push(h.join(`
70
72
 
71
- `));const E=((w=r.requestBody)==null?void 0:w.content)??{};for(const[N,U]of Object.entries(E))p.push([`**Request Body** (\`${d(N)}\`)`,$e("body",U.schema,u)].join(`
73
+ `));const O=(($=r.requestBody)==null?void 0:$.content)??{};for(const[k,I]of Object.entries(O))f.push([`**Request Body** (\`${m(k)}\`)`,$e("body",I.schema,u,i)].join(`
72
74
 
73
- `));const S=r.responses??{};for(const[N,U]of Object.entries(S)){const Y=[L(4,`${N}${U.description?`: ${d(U.description)}`:""}`)];for(const[D,Z]of Object.entries(U.content??{}))Y.push([`**Body** (\`${d(D)}\`)`,$e("body",Z.schema,u)].join(`
75
+ `));const E=r.responses??{};for(const[k,I]of Object.entries(E)){const Y=[U(4,`${k}${I.description?`: ${m(I.description)}`:""}`)];for(const[W,z]of Object.entries(I.content??{}))Y.push([`**Body** (\`${m(W)}\`)`,$e("body",z.schema,u,i)].join(`
74
76
 
75
- `));p.push(Y.join(`
77
+ `));f.push(Y.join(`
76
78
 
77
- `))}return p.join(`
79
+ `))}return f.join(`
78
80
 
79
- `)}function gt(t,n=ke(t)){var p,y,h,R,E;const r=[],{info:u}=t;if(r.push(L(1,d(u.title))),r.push(`**Version:** ${d(u.version)}`),u.description&&r.push(d(u.description)),(p=t.servers)!=null&&p.length){const S=[L(2,"Servers")];for(const w of t.servers)S.push(`- \`${d(w.url)}\`${w.description?` — ${d(w.description)}`:""}`);r.push(S.join(`
80
- `))}const i=t.paths?ft(t.paths):[];if(i.length){const S=[L(2,"Endpoints")];for(const{method:w,path:N}of i){const U=(h=(y=t.paths)==null?void 0:y[N])==null?void 0:h[w];U&&S.push(ht(w,N,U,n,(R=t.components)==null?void 0:R.securitySchemes,t.security))}r.push(S.join(`
81
+ `)}function wt(t,n=Oe(t)){var f,h,T,A,O,E;const r=[],{info:u}=t;if(r.push(U(1,m(u.title))),r.push(`**Version:** ${m(u.version)}`),u.description&&r.push(m(u.description)),(f=t.servers)!=null&&f.length){const $=[U(2,"Servers")];for(const k of t.servers)$.push(`- \`${m(k.url)}\`${k.description?` — ${m(k.description)}`:""}`);r.push($.join(`
82
+ `))}const i=ke((h=t.components)==null?void 0:h.schemas,n),a=t.paths?mt(t.paths):[];if(a.length){const $=[U(2,"Endpoints")];for(const{method:k,path:I}of a){const Y=(A=(T=t.paths)==null?void 0:T[I])==null?void 0:A[k];Y&&$.push(Tt(k,I,Y,n,i,(O=t.components)==null?void 0:O.securitySchemes,t.security))}r.push($.join(`
81
83
 
82
- `))}const a=(E=t.components)==null?void 0:E.schemas;if(a&&Object.keys(a).length){const S=[L(2,"Schemas")];for(const[w,N]of Object.entries(a))S.push($e(w,N,n));r.push(S.join(`
84
+ `))}const c=(E=t.components)==null?void 0:E.schemas;if(c&&Object.keys(c).length){const $=[U(2,"Schemas")];for(const[k,I]of Object.entries(c))$.push($e(k,I,n,i));r.push($.join(`
83
85
 
84
86
  `))}return r.filter(Boolean).join(`
85
87
 
86
- `)}function vt(t,n,r,u=ke(t)){var y,h,R,E;const i=(h=(y=t.paths)==null?void 0:y[r])==null?void 0:h[n];if(!i)return"";const a=[],{info:p}=t;if(a.push(L(1,d(p.title))),a.push(`**Version:** ${d(p.version)}`),p.description&&a.push(d(p.description)),(R=t.servers)!=null&&R.length){const S=[L(2,"Servers")];for(const w of t.servers)S.push(`- \`${d(w.url)}\`${w.description?` — ${d(w.description)}`:""}`);a.push(S.join(`
87
- `))}return a.push(ht(n,r,i,u,(E=t.components)==null?void 0:E.securitySchemes,t.security)),a.filter(Boolean).join(`
88
+ `)}function At(t,n,r,u=Oe(t)){var h,T,A,O,E;const i=(T=(h=t.paths)==null?void 0:h[r])==null?void 0:T[n];if(!i)return"";const a=[],{info:c}=t;if(a.push(U(1,m(c.title))),a.push(`**Version:** ${m(c.version)}`),c.description&&a.push(m(c.description)),(A=t.servers)!=null&&A.length){const $=[U(2,"Servers")];for(const k of t.servers)$.push(`- \`${m(k.url)}\`${k.description?` — ${m(k.description)}`:""}`);a.push($.join(`
89
+ `))}const f=ke((O=t.components)==null?void 0:O.schemas,u);return a.push(Tt(n,r,i,u,f,(E=t.components)==null?void 0:E.securitySchemes,t.security)),a.push(ht(f,u)),a.filter(Boolean).join(`
88
90
 
89
- `)}function _t(t){return{...t,title:n=>t.title(n),summary:n=>t.summary(n),targets:n=>t.targets(n),toMarkdown:(n,r)=>t.toMarkdown(n,r)}}const ie=t=>{var r;return typeof t!="string"?void 0:((r=t.trim().split(`
90
- `)[0])==null?void 0:r.trim())||void 0},fn=t=>ct.some(n=>n===t),ln=_t({name:"OpenAPI",matches:t=>typeof t.openapi=="string"||typeof t.swagger=="string",sectionTitle:"Endpoints",title:t=>{var n;return((n=t.info)==null?void 0:n.title)??"API"},summary:t=>{var n;return ie((n=t.info)==null?void 0:n.description)},targets:t=>ft(t.paths??{}).map(({key:n,method:r,path:u})=>{var a,p;const i=(p=(a=t.paths)==null?void 0:a[u])==null?void 0:p[r];return{key:n,label:`${r.toUpperCase()} ${u}`,summary:ie(i==null?void 0:i.summary)??ie(i==null?void 0:i.description),target:{kind:"operation",document:t,method:r,path:u}}}),toMarkdown:(t,n)=>{if(!n||n.kind==="document")return gt(t);if(typeof n.path!="string"||!fn(n.method))throw new Error("[apiuikit] An OpenAPI operation target requires a valid method and path.");return vt(t,n.method,n.path)}}),pn=_t({name:"AsyncAPI",matches:t=>typeof t.asyncapi=="string",sectionTitle:"Operations",title:t=>{var n;return((n=t.info)==null?void 0:n.title)??"API"},summary:t=>{var n;return ie((n=t.info)==null?void 0:n.description)},targets:t=>Object.entries(t.operations??{}).map(([n,r])=>({key:n,label:r!=null&&r.action?`${r.action.toUpperCase()} ${n}`:n,summary:ie(r==null?void 0:r.summary)??ie(r==null?void 0:r.description),target:{kind:"operation",document:t,id:n}})),toMarkdown:(t,n)=>{if(!n||n.kind==="document")return mt(t);if(typeof n.id!="string"||!n.id)throw new Error("[apiuikit] An AsyncAPI operation target requires an operation id.");return yt(t,n.id)}}),at=[ln,pn];function He(t){const n=typeof t=="object"&&t!==null?t:{},r=at.find(u=>u.matches(n));if(!r)throw new Error(`[apiuikit] Unrecognized document: expected a top-level "openapi", "swagger", or "asyncapi" version key. Supported specs: ${at.map(u=>u.name).join(", ")}.`);return r}function Et(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function dn(t){return He(t).targets(t)}function mn(t,n){const r=He(t);if(n&&n.document!==t)throw new Error("[apiuikit] Markdown target belongs to a different document.");return r.toMarkdown(t,n)}function yn(t,n={}){const r=He(t),{baseUrl:u,url:i,optional:a}=n,p=(u==null?void 0:u.replace(/\/+$/,""))??"",h=i??(w=>`${p}/${Et(w.key)}.md`),R=[`# ${n.title??r.title(t)}`],E=n.summary??r.summary(t);E&&R.push("",`> ${E}`);const S=r.targets(t).map(w=>({entry:w,href:h(w)})).filter(w=>!!w.href);if(S.length){R.push("",`## ${r.sectionTitle}`,"");for(const{entry:w,href:N}of S)R.push(`- [${w.label}](${N})${w.summary?`: ${w.summary}`:""}`)}if(a!=null&&a.length){R.push("","## Optional","");for(const w of a)R.push(`- [${w.label}](${w.url})${w.description?`: ${w.description}`:""}`)}return R.push(""),R.join(`
91
- `)}const hn=["The following is API documentation in Markdown.","Use it to answer questions about this API and help write client code.","Stick to what is documented below - do not invent endpoints, fields, or behavior."];function gn(t){return`${["> ## Agent Instructions",...hn.map(r=>`> ${r}`)].join(`
91
+ `)}function St(t){return{...t,title:n=>t.title(n),summary:n=>t.summary(n),targets:n=>t.targets(n),toMarkdown:(n,r)=>t.toMarkdown(n,r)}}const ae=t=>{var r;return typeof t!="string"?void 0:((r=t.trim().split(`
92
+ `)[0])==null?void 0:r.trim())||void 0},En=t=>dt.some(n=>n===t),Tn=St({name:"OpenAPI",matches:t=>typeof t.openapi=="string"||typeof t.swagger=="string",sectionTitle:"Endpoints",title:t=>{var n;return((n=t.info)==null?void 0:n.title)??"API"},summary:t=>{var n;return ae((n=t.info)==null?void 0:n.description)},targets:t=>mt(t.paths??{}).map(({key:n,method:r,path:u})=>{var a,c;const i=(c=(a=t.paths)==null?void 0:a[u])==null?void 0:c[r];return{key:n,label:`${r.toUpperCase()} ${u}`,summary:ae(i==null?void 0:i.summary)??ae(i==null?void 0:i.description),target:{kind:"operation",document:t,method:r,path:u}}}),toMarkdown:(t,n)=>{if(!n||n.kind==="document")return wt(t);if(typeof n.path!="string"||!En(n.method))throw new Error("[apiuikit] An OpenAPI operation target requires a valid method and path.");return At(t,n.method,n.path)}}),wn=St({name:"AsyncAPI",matches:t=>typeof t.asyncapi=="string",sectionTitle:"Operations",title:t=>{var n;return((n=t.info)==null?void 0:n.title)??"API"},summary:t=>{var n;return ae((n=t.info)==null?void 0:n.description)},targets:t=>Object.entries(t.operations??{}).map(([n,r])=>({key:n,label:r!=null&&r.action?`${r.action.toUpperCase()} ${n}`:n,summary:ae(r==null?void 0:r.summary)??ae(r==null?void 0:r.description),target:{kind:"operation",document:t,id:n}})),toMarkdown:(t,n)=>{if(!n||n.kind==="document")return _t(t);if(typeof n.id!="string"||!n.id)throw new Error("[apiuikit] An AsyncAPI operation target requires an operation id.");return Et(t,n.id)}}),pt=[Tn,wn];function ze(t){const n=typeof t=="object"&&t!==null?t:{},r=pt.find(u=>u.matches(n));if(!r)throw new Error(`[apiuikit] Unrecognized document: expected a top-level "openapi", "swagger", or "asyncapi" version key. Supported specs: ${pt.map(u=>u.name).join(", ")}.`);return r}function bt(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function An(t){return ze(t).targets(t)}function Sn(t,n){const r=ze(t);if(n&&n.document!==t)throw new Error("[apiuikit] Markdown target belongs to a different document.");return r.toMarkdown(t,n)}function bn(t,n={}){const r=ze(t),{baseUrl:u,url:i,optional:a}=n,c=(u==null?void 0:u.replace(/\/+$/,""))??"",h=i??(E=>`${c}/${bt(E.key)}.md`),T=[`# ${n.title??r.title(t)}`],A=n.summary??r.summary(t);A&&T.push("",`> ${A}`);const O=r.targets(t).map(E=>({entry:E,href:h(E)})).filter(E=>!!E.href);if(O.length){T.push("",`## ${r.sectionTitle}`,"");for(const{entry:E,href:$}of O)T.push(`- [${E.label}](${$})${E.summary?`: ${E.summary}`:""}`)}if(a!=null&&a.length){T.push("","## Optional","");for(const E of a)T.push(`- [${E.label}](${E.url})${E.description?`: ${E.description}`:""}`)}return T.push(""),T.join(`
93
+ `)}const Rn=["The following is API documentation in Markdown.","Use it to answer questions about this API and help write client code.","Stick to what is documented below - do not invent endpoints, fields, or behavior."];function $n(t){return`${["> ## Agent Instructions",...Rn.map(r=>`> ${r}`)].join(`
92
94
  `)}
93
95
 
94
- ${t.trimStart()}`}exports.asyncApiOperationToMarkdown=yt;exports.asyncApiToMarkdown=mt;exports.documentToLlmsTxt=yn;exports.documentToMarkdown=mn;exports.listDocumentTargets=dn;exports.markdownForLlm=gn;exports.openApiEndpointToMarkdown=vt;exports.openApiToMarkdown=gt;exports.targetSlug=Et;
96
+ ${t.trimStart()}`}exports.asyncApiOperationToMarkdown=Et;exports.asyncApiToMarkdown=_t;exports.documentToLlmsTxt=bn;exports.documentToMarkdown=Sn;exports.listDocumentTargets=An;exports.markdownForLlm=$n;exports.openApiEndpointToMarkdown=At;exports.openApiToMarkdown=wt;exports.targetSlug=bt;