@agentica/chat 0.2.0 → 0.4.0

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.
@@ -1,27 +0,0 @@
1
- import{q as _i,v as ec,w as rc,r as le,x as sc,y as xa,j as D,e as Jr,a as wr,g as Er,c as Te,u as Ms,n as sr,s as Le,z as Sr,f as Ur,m as Va,A as na,C as da,D as gs,E as oc,F as ac,G as nc,H as Dr,I as ks,b as dc,R as B,T as ke,o as ta}from"./client-BwmHWUFW.js";import{I as ja,P as Js,u as vr,g as tc,a as ur,_ as lc,H as ic,B as ws,F as cc,T as la,b as ps,R as ia,c as As,d as hs,O as fc,A as mc,e as yc}from"./AgenticaChatApplication-BAduZMpY.js";import{O as vc}from"./OpenApi-C5xvfAk3.js";var Ja={exports:{}},Ic="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",gc=Ic,pc=gc;function wa(){}function ba(){}ba.resetWarningCache=wa;var Ac=function(){function n(c,l,m,f,I,x){if(x!==pc){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}}n.isRequired=n;function t(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:t,element:n,elementType:n,instanceOf:t,node:n,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ba,resetWarningCache:wa};return i.PropTypes=i,i};Ja.exports=Ac();var hc=Ja.exports;const K=_i(hc);function Oc(n={}){const{themeId:t,defaultTheme:i,defaultClassName:c="MuiBox-root",generateClassName:l}=n,m=ec("div",{shouldForwardProp:I=>I!=="theme"&&I!=="sx"&&I!=="as"})(rc);return le.forwardRef(function(x,j){const S=sc(i),{className:M,component:Y="div",...p}=xa(x);return D.jsx(m,{as:Y,ref:j,className:Jr(M,l?l(c):c),theme:t&&S[t]||S,...p})})}function uc(n){return Er("MuiAlert",n)}const ca=wr("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Sc=Te(D.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),xc=Te(D.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Vc=Te(D.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),jc=Te(D.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Jc=Te(D.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),wc=n=>{const{variant:t,color:i,severity:c,classes:l}=n,m={root:["root",`color${Sr(i||c)}`,`${t}${Sr(i||c)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Ur(m,uc,l)},bc=Le(Js,{name:"MuiAlert",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:i}=n;return[t.root,t[i.variant],t[`${i.variant}${Sr(i.color||i.severity)}`]]}})(Va(({theme:n})=>{const t=n.palette.mode==="light"?na:da,i=n.palette.mode==="light"?da:na;return{...n.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(n.palette).filter(gs(["light"])).map(([c])=>({props:{colorSeverity:c,variant:"standard"},style:{color:n.vars?n.vars.palette.Alert[`${c}Color`]:t(n.palette[c].light,.6),backgroundColor:n.vars?n.vars.palette.Alert[`${c}StandardBg`]:i(n.palette[c].light,.9),[`& .${ca.icon}`]:n.vars?{color:n.vars.palette.Alert[`${c}IconColor`]}:{color:n.palette[c].main}}})),...Object.entries(n.palette).filter(gs(["light"])).map(([c])=>({props:{colorSeverity:c,variant:"outlined"},style:{color:n.vars?n.vars.palette.Alert[`${c}Color`]:t(n.palette[c].light,.6),border:`1px solid ${(n.vars||n).palette[c].light}`,[`& .${ca.icon}`]:n.vars?{color:n.vars.palette.Alert[`${c}IconColor`]}:{color:n.palette[c].main}}})),...Object.entries(n.palette).filter(gs(["dark"])).map(([c])=>({props:{colorSeverity:c,variant:"filled"},style:{fontWeight:n.typography.fontWeightMedium,...n.vars?{color:n.vars.palette.Alert[`${c}FilledColor`],backgroundColor:n.vars.palette.Alert[`${c}FilledBg`]}:{backgroundColor:n.palette.mode==="dark"?n.palette[c].dark:n.palette[c].main,color:n.palette.getContrastText(n.palette[c].main)}}}))]}})),Mc=Le("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(n,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),kc=Le("div",{name:"MuiAlert",slot:"Message",overridesResolver:(n,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Rc=Le("div",{name:"MuiAlert",slot:"Action",overridesResolver:(n,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),fa={success:D.jsx(Sc,{fontSize:"inherit"}),warning:D.jsx(xc,{fontSize:"inherit"}),error:D.jsx(Vc,{fontSize:"inherit"}),info:D.jsx(jc,{fontSize:"inherit"})},Cc=le.forwardRef(function(t,i){const c=Ms({props:t,name:"MuiAlert"}),{action:l,children:m,className:f,closeText:I="Close",color:x,components:j={},componentsProps:S={},icon:M,iconMapping:Y=fa,onClose:p,role:H="alert",severity:ee="success",slotProps:C={},slots:k={},variant:q="standard",...oe}=c,z={...c,color:x,severity:ee,variant:q,colorSeverity:x||ee},fe=wc(z),_={slots:{closeButton:j.CloseButton,closeIcon:j.CloseIcon,...k},slotProps:{...S,...C}},[Ie,F]=sr("root",{ref:i,shouldForwardComponentProp:!0,className:Jr(fe.root,f),elementType:bc,externalForwardedProps:{..._,...oe},ownerState:z,additionalProps:{role:H,elevation:0}}),[P,U]=sr("icon",{className:fe.icon,elementType:Mc,externalForwardedProps:_,ownerState:z}),[re,ue]=sr("message",{className:fe.message,elementType:kc,externalForwardedProps:_,ownerState:z}),[Oe,ge]=sr("action",{className:fe.action,elementType:Rc,externalForwardedProps:_,ownerState:z}),[J,w]=sr("closeButton",{elementType:ja,externalForwardedProps:_,ownerState:z}),[O,L]=sr("closeIcon",{elementType:Jc,externalForwardedProps:_,ownerState:z});return D.jsxs(Ie,{...F,children:[M!==!1?D.jsx(P,{...U,children:M||Y[ee]||fa[ee]}):null,D.jsx(re,{...ue,children:m}),l!=null?D.jsx(Oe,{...ge,children:l}):null,l==null&&p?D.jsx(Oe,{...ge,children:D.jsx(J,{size:"small","aria-label":I,title:I,color:"inherit",onClick:p,...w,children:D.jsx(O,{fontSize:"small",...L})})}):null]})}),Nc=Te(D.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Tc(n){return Er("MuiAvatar",n)}wr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Lc=n=>{const{classes:t,variant:i,colorDefault:c}=n;return Ur({root:["root",i,c&&"colorDefault"],img:["img"],fallback:["fallback"]},Tc,t)},Pc=Le("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:i}=n;return[t.root,t[i.variant],i.colorDefault&&t.colorDefault]}})(Va(({theme:n})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(n.vars||n).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(n.vars||n).palette.background.default,...n.vars?{backgroundColor:n.vars.palette.Avatar.defaultBg}:{backgroundColor:n.palette.grey[400],...n.applyStyles("dark",{backgroundColor:n.palette.grey[600]})}}}]}))),Ec=Le("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(n,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Uc=Le(Nc,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(n,t)=>t.fallback})({width:"75%",height:"75%"});function Dc({crossOrigin:n,referrerPolicy:t,src:i,srcSet:c}){const[l,m]=le.useState(!1);return le.useEffect(()=>{if(!i&&!c)return;m(!1);let f=!0;const I=new Image;return I.onload=()=>{f&&m("loaded")},I.onerror=()=>{f&&m("error")},I.crossOrigin=n,I.referrerPolicy=t,I.src=i,c&&(I.srcset=c),()=>{f=!1}},[n,t,i,c]),l}const Bc=le.forwardRef(function(t,i){const c=Ms({props:t,name:"MuiAvatar"}),{alt:l,children:m,className:f,component:I="div",slots:x={},slotProps:j={},imgProps:S,sizes:M,src:Y,srcSet:p,variant:H="circular",...ee}=c;let C=null;const k={...c,component:I,variant:H},q=Dc({...S,...typeof j.img=="function"?j.img(k):j.img,src:Y,srcSet:p}),oe=Y||p,z=oe&&q!=="error";k.colorDefault=!z,delete k.ownerState;const fe=Lc(k),[_,Ie]=sr("img",{className:fe.img,elementType:Ec,externalForwardedProps:{slots:x,slotProps:{img:{...S,...j.img}}},additionalProps:{alt:l,src:Y,srcSet:p,sizes:M},ownerState:k});return z?C=D.jsx(_,{...Ie}):m||m===0?C=m:oe&&l?C=l[0]:C=D.jsx(Uc,{ownerState:k,className:fe.fallback}),D.jsx(Pc,{as:I,className:Jr(fe.root,f),ref:i,...ee,ownerState:k,children:C})}),zc=wr("MuiBox",["root"]),$c=nc(),Nr=Oc({themeId:ac,defaultTheme:$c,defaultClassName:zc.root,generateClassName:oc.generate}),ma=le.createContext();function qc(n){return Er("MuiGrid",n)}const Fc=[0,1,2,3,4,5,6,7,8,9,10],Yc=["column-reverse","column","row-reverse","row"],Gc=["nowrap","wrap-reverse","wrap"],Or=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],xr=wr("MuiGrid",["root","container","item","zeroMinWidth",...Fc.map(n=>`spacing-xs-${n}`),...Yc.map(n=>`direction-xs-${n}`),...Gc.map(n=>`wrap-xs-${n}`),...Or.map(n=>`grid-xs-${n}`),...Or.map(n=>`grid-sm-${n}`),...Or.map(n=>`grid-md-${n}`),...Or.map(n=>`grid-lg-${n}`),...Or.map(n=>`grid-xl-${n}`)]);function Zc({theme:n,ownerState:t}){let i;return n.breakpoints.keys.reduce((c,l)=>{let m={};if(t[l]&&(i=t[l]),!i)return c;if(i===!0)m={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(i==="auto")m={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const f=Dr({values:t.columns,breakpoints:n.breakpoints.values}),I=typeof f=="object"?f[l]:f;if(I==null)return c;const x=`${Math.round(i/I*1e8)/1e6}%`;let j={};if(t.container&&t.item&&t.columnSpacing!==0){const S=n.spacing(t.columnSpacing);if(S!=="0px"){const M=`calc(${x} + ${S})`;j={flexBasis:M,maxWidth:M}}}m={flexBasis:x,flexGrow:0,maxWidth:x,...j}}return n.breakpoints.values[l]===0?Object.assign(c,m):c[n.breakpoints.up(l)]=m,c},{})}function Wc({theme:n,ownerState:t}){const i=Dr({values:t.direction,breakpoints:n.breakpoints.values});return ks({theme:n},i,c=>{const l={flexDirection:c};return c.startsWith("column")&&(l[`& > .${xr.item}`]={maxWidth:"none"}),l})}function Ma({breakpoints:n,values:t}){let i="";Object.keys(t).forEach(l=>{i===""&&t[l]!==0&&(i=l)});const c=Object.keys(n).sort((l,m)=>n[l]-n[m]);return c.slice(0,c.indexOf(i))}function Hc({theme:n,ownerState:t}){const{container:i,rowSpacing:c}=t;let l={};if(i&&c!==0){const m=Dr({values:c,breakpoints:n.breakpoints.values});let f;typeof m=="object"&&(f=Ma({breakpoints:n.breakpoints.values,values:m})),l=ks({theme:n},m,(I,x)=>{const j=n.spacing(I);return j!=="0px"?{marginTop:`calc(-1 * ${j})`,[`& > .${xr.item}`]:{paddingTop:j}}:f!=null&&f.includes(x)?{}:{marginTop:0,[`& > .${xr.item}`]:{paddingTop:0}}})}return l}function Qc({theme:n,ownerState:t}){const{container:i,columnSpacing:c}=t;let l={};if(i&&c!==0){const m=Dr({values:c,breakpoints:n.breakpoints.values});let f;typeof m=="object"&&(f=Ma({breakpoints:n.breakpoints.values,values:m})),l=ks({theme:n},m,(I,x)=>{const j=n.spacing(I);if(j!=="0px"){const S=`calc(-1 * ${j})`;return{width:`calc(100% + ${j})`,marginLeft:S,[`& > .${xr.item}`]:{paddingLeft:j}}}return f!=null&&f.includes(x)?{}:{width:"100%",marginLeft:0,[`& > .${xr.item}`]:{paddingLeft:0}}})}return l}function Kc(n,t,i={}){if(!n||n<=0)return[];if(typeof n=="string"&&!Number.isNaN(Number(n))||typeof n=="number")return[i[`spacing-xs-${String(n)}`]];const c=[];return t.forEach(l=>{const m=n[l];Number(m)>0&&c.push(i[`spacing-${l}-${String(m)}`])}),c}const Xc=Le("div",{name:"MuiGrid",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:i}=n,{container:c,direction:l,item:m,spacing:f,wrap:I,zeroMinWidth:x,breakpoints:j}=i;let S=[];c&&(S=Kc(f,j,t));const M=[];return j.forEach(Y=>{const p=i[Y];p&&M.push(t[`grid-${Y}-${String(p)}`])}),[t.root,c&&t.container,m&&t.item,x&&t.zeroMinWidth,...S,l!=="row"&&t[`direction-xs-${String(l)}`],I!=="wrap"&&t[`wrap-xs-${String(I)}`],...M]}})(({ownerState:n})=>({boxSizing:"border-box",...n.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...n.item&&{margin:0},...n.zeroMinWidth&&{minWidth:0},...n.wrap!=="wrap"&&{flexWrap:n.wrap}}),Wc,Hc,Qc,Zc);function _c(n,t){if(!n||n<=0)return[];if(typeof n=="string"&&!Number.isNaN(Number(n))||typeof n=="number")return[`spacing-xs-${String(n)}`];const i=[];return t.forEach(c=>{const l=n[c];if(Number(l)>0){const m=`spacing-${c}-${String(l)}`;i.push(m)}}),i}const ef=n=>{const{classes:t,container:i,direction:c,item:l,spacing:m,wrap:f,zeroMinWidth:I,breakpoints:x}=n;let j=[];i&&(j=_c(m,x));const S=[];x.forEach(Y=>{const p=n[Y];p&&S.push(`grid-${Y}-${String(p)}`)});const M={root:["root",i&&"container",l&&"item",I&&"zeroMinWidth",...j,c!=="row"&&`direction-xs-${String(c)}`,f!=="wrap"&&`wrap-xs-${String(f)}`,...S]};return Ur(M,qc,t)},Os=le.forwardRef(function(t,i){const c=Ms({props:t,name:"MuiGrid"}),{breakpoints:l}=vr(),m=xa(c),{className:f,columns:I,columnSpacing:x,component:j="div",container:S=!1,direction:M="row",item:Y=!1,rowSpacing:p,spacing:H=0,wrap:ee="wrap",zeroMinWidth:C=!1,...k}=m,q=p||H,oe=x||H,z=le.useContext(ma),fe=S?I||12:z,_={},Ie={...k};l.keys.forEach(U=>{k[U]!=null&&(_[U]=k[U],delete Ie[U])});const F={...m,columns:fe,container:S,direction:M,item:Y,rowSpacing:q,columnSpacing:oe,wrap:ee,zeroMinWidth:C,spacing:H,..._,breakpoints:l.keys},P=ef(F);return D.jsx(ma.Provider,{value:fe,children:D.jsx(Xc,{ownerState:F,className:Jr(P.root,f),as:j,ref:i,...Ie})})}),Qe=["xs","sm","md","lg","xl"],rf=(n,t,i=!0)=>i?Qe.indexOf(n)<=Qe.indexOf(t):Qe.indexOf(n)<Qe.indexOf(t),sf=(n,t,i=!1)=>i?Qe.indexOf(t)<=Qe.indexOf(n):Qe.indexOf(t)<Qe.indexOf(n),of=(n={})=>t=>{const{withTheme:i=!1,noSSR:c=!1,initialWidth:l}=n;function m(f){const I=vr(),x=f.theme||I,{initialWidth:j,width:S,...M}=tc({theme:x,name:"MuiWithWidth",props:f}),[Y,p]=le.useState(!1);dc(()=>{p(!0)},[]);const ee=x.breakpoints.keys.slice().reverse().reduce((k,q)=>{const oe=ur(x.breakpoints.up(q));return!k&&oe?q:k},null),C={width:S||(Y||c?ee:void 0)||j||l,...i?{theme:x}:{},...M};return C.width===void 0?null:D.jsx(t,{...C})}return m};function ka(n){const{children:t,only:i,width:c}=n,l=vr();let m=!0;if(i)if(Array.isArray(i))for(let f=0;f<i.length;f+=1){const I=i[f];if(c===I){m=!1;break}}else i&&c===i&&(m=!1);if(m)for(let f=0;f<l.breakpoints.keys.length;f+=1){const I=l.breakpoints.keys[f],x=n[`${I}Up`],j=n[`${I}Down`];if(x&&rf(I,c)||j&&sf(I,c)){m=!1;break}}return m?t:null}ka.propTypes={children:K.node,lgDown:K.bool,lgUp:K.bool,mdDown:K.bool,mdUp:K.bool,only:K.oneOfType([K.oneOf(["xs","sm","md","lg","xl"]),K.arrayOf(K.oneOf(["xs","sm","md","lg","xl"]))]),smDown:K.bool,smUp:K.bool,width:K.string.isRequired,xlDown:K.bool,xlUp:K.bool,xsDown:K.bool,xsUp:K.bool};const af=of()(ka);function nf(n){return Er("PrivateHiddenCss",n)}wr("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const df=n=>{const{classes:t,breakpoints:i}=n,c={root:["root",...i.map(({breakpoint:l,dir:m})=>m==="only"?`${m}${Sr(l)}`:`${l}${Sr(m)}`)]};return Ur(c,nf,t)},tf=Le("div",{name:"PrivateHiddenCss",slot:"Root"})(({theme:n,ownerState:t})=>{const i={display:"none"};return{...t.breakpoints.map(({breakpoint:c,dir:l})=>l==="only"?{[n.breakpoints.only(c)]:i}:l==="up"?{[n.breakpoints.up(c)]:i}:{[n.breakpoints.down(c)]:i}).reduce((c,l)=>(Object.keys(l).forEach(m=>{c[m]=l[m]}),c),{})}});function lf(n){const{children:t,className:i,only:c,...l}=n,m=vr(),f=[];for(let j=0;j<m.breakpoints.keys.length;j+=1){const S=m.breakpoints.keys[j],M=l[`${S}Up`],Y=l[`${S}Down`];M&&f.push({breakpoint:S,dir:"up"}),Y&&f.push({breakpoint:S,dir:"down"})}c&&(Array.isArray(c)?c:[c]).forEach(S=>{f.push({breakpoint:S,dir:"only"})});const I={...n,breakpoints:f},x=df(I);return D.jsx(tf,{className:Jr(x.root,i),ownerState:I,children:t})}function ya(n){const{implementation:t="js",lgDown:i=!1,lgUp:c=!1,mdDown:l=!1,mdUp:m=!1,smDown:f=!1,smUp:I=!1,xlDown:x=!1,xlUp:j=!1,xsDown:S=!1,xsUp:M=!1,...Y}=n;return t==="js"?D.jsx(af,{lgDown:i,lgUp:c,mdDown:l,mdUp:m,smDown:f,smUp:I,xlDown:x,xlUp:j,xsDown:S,xsUp:M,...Y}):D.jsx(lf,{lgDown:i,lgUp:c,mdDown:l,mdUp:m,smDown:f,smUp:I,xlDown:x,xlUp:j,xsDown:S,xsUp:M,...Y})}var Rs={};Object.defineProperty(Rs,"__esModule",{value:!0});var V=Rs._accessExpressionAsString=void 0;const cf=n=>ff(n)?`.${n}`:`[${JSON.stringify(n)}]`;V=Rs._accessExpressionAsString=cf;const ff=n=>mf(n)===!1&&/^[a-zA-Z_$][a-zA-Z_$0-9]*$/g.test(n),mf=n=>yf.has(n),yf=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with"]),vf=n=>{const t=(()=>{const i=e=>e.swagger!==null&&e.swagger!==void 0&&(e.swagger==="2.0"||typeof e.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.swagger))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&c(e.info))&&(e.host===void 0||typeof e.host=="string")&&(e.basePath===void 0||typeof e.basePath=="string")&&(e.consumes===void 0||Array.isArray(e.consumes)&&e.consumes.every(r=>typeof r=="string"))&&(e.produces===void 0||Array.isArray(e.produces)&&e.produces.every(r=>typeof r=="string"))&&(e.definitions===void 0||typeof e.definitions=="object"&&e.definitions!==null&&Array.isArray(e.definitions)===!1&&f(e.definitions))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&q(e.parameters))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&J(e.responses))&&(e.securityDefinitions===void 0||typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1&&O(e.securityDefinitions))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&u(e.paths))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&se(r))),c=e=>typeof e.title=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&l(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&m(e.license))&&typeof e.version=="string",l=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"),m=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),f=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Re(s)}),I=e=>(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),x=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),j=e=>(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),S=e=>(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),M=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Re(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),Y=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&f(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&Re(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples)),p=e=>typeof e.$ref=="string"&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,H=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,ee=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,C=e=>e.type==="null"&&(e.default===null||e.default===void 0)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,k=e=>e.type!==null&&e.type===void 0&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,q=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Cd(s)}),oe=e=>(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",z=e=>(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",fe=e=>(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",_=e=>(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",Ie=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Re(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",F=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&f(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&Re(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean")&&(e.examples===void 0||Array.isArray(e.examples))&&typeof e.name=="string"&&typeof e.in=="string",P=e=>typeof e.$ref=="string"&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&typeof e.name=="string"&&typeof e.in=="string",U=e=>Array.isArray(e["x-anyOf"])&&e["x-anyOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&typeof e.name=="string"&&typeof e.in=="string",re=e=>Array.isArray(e["x-oneOf"])&&e["x-oneOf"].every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Re(r))&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&typeof e.name=="string"&&typeof e.in=="string",ue=e=>e.type==="null"&&(e.default===null||e.default===void 0)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&typeof e.name=="string"&&typeof e.in=="string",Oe=e=>e.type!==null&&e.type===void 0&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&typeof e.name=="string"&&typeof e.in=="string",ge=e=>typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Re(e.schema)&&typeof e.name=="string"&&typeof e.in=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean"),J=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&w(s)}),w=e=>(e.description===void 0||typeof e.description=="string")&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&f(e.headers))&&(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Re(e.schema))&&!0,O=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Nd(s)}),L=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),E=e=>e.type==="basic"&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),N=e=>e.type==="oauth2"&&e.flow==="implicit"&&(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes))&&(e.description===void 0||typeof e.description=="string"),T=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="string"}),y=e=>e.type==="oauth2"&&e.flow==="accessCode"&&(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes))&&(e.description===void 0||typeof e.description=="string"),v=e=>e.type==="oauth2"&&e.flow==="password"&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes))&&(e.description===void 0||typeof e.description=="string"),h=e=>e.type==="oauth2"&&e.flow==="application"&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes))&&(e.description===void 0||typeof e.description=="string"),A=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:Array.isArray(s)&&s.every(a=>typeof a=="string")}),u=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&g(s)}),g=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Md(r)))&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&R(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&R(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&R(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&R(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&R(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&R(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&R(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&R(e.trace)),b=e=>typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,R=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&kd(r)))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&X(e.responses))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),$=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,X=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Td(s)}),ne=e=>typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)&&(e.examples===void 0||Array.isArray(e.examples))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0,se=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),ae=e=>e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&G(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&ve(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&Ir(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&an(e.paths))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&fn(r))),G=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&ie(e.variables)),ie=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&ye(s)}),ye=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),ve=e=>typeof e.title=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&Je(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&Se(e.license))&&typeof e.version=="string",Je=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"),Se=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),Ir=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&ar(e.schemas))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Ar(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&Ya(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&Ga(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Za(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&sn(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&on(e.examples)),ar=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ee(s)}),Be=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),W=e=>Object.keys(e).every(r=>(e[r]===void 0,!0)),gr=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),zr=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),$r=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),qr=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Ee(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Fr=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&ar(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&Ee(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),br=e=>typeof e.$ref=="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Yr=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ee(r))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),de=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ee(r))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),me=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ee(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&Pe(e.discriminator))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Pe=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&T(e.mapping)),Gr=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),pr=e=>e.type!==null&&e.type===void 0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Ar=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Me(s)}),Me=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&hr(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Zr(e.headers))&&(e.description===void 0||typeof e.description=="string"),hr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&_e(s)}),_e=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ee(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&nr(e.examples)),nr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ld(s)}),Mr=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),kr=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Zr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Pd(s)}),Es=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&nr(e.examples))&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.name===void 0||typeof e.name=="string")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ee(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),Us=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Ya=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ds(s)}),Ds=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&Ee(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&nr(e.examples)),Ga=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Bs(s)}),Bs=e=>(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&hr(e.content)),Za=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ed(s)}),Wa=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Ha=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Qa=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Ka=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Xa(e.flows)&&(e.description===void 0||typeof e.description=="string"),Xa=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&_a(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&en(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&zs(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&zs(e.clientCredentials)),_a=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),en=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),zs=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),rn=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),sn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Es(s)}),on=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Mr(s)}),an=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&nn(s)}),nn=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&po(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&G(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&ze(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&ze(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&ze(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&ze(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&ze(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&ze(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&ze(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&ze(e.trace)),dn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),ze=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&po(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&Ud(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&ln(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&G(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),tn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),ln=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Dd(s)}),cn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),fn=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),mn=e=>typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&In(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&An(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&qs(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&rd(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&od(r))),Wr=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&yn(e.variables)),yn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&vn(s)}),vn=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&1<=e.enum.length&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),In=e=>typeof e.title=="string"&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&gn(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&pn(e.license))&&typeof e.version=="string",gn=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"),pn=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),An=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Hr(e.schemas))&&(e.pathItems===void 0||typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1&&qs(e.pathItems))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&zn(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&$n(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&qn(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Fn(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&_n(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&ed(e.examples)),Hr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&pe(s)}),hn=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")&&(e.default===null||e.default===void 0||Array.isArray(e.default))&&(e.enum===void 0||Array.isArray(e.enum))&&(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&pe(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&pe(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Hr(e.properties))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&pe(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&$s(e.discriminator))&&Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&typeof e.$ref=="string",On=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),un=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="boolean")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="boolean"))&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Sn=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&Math.floor(e.exclusiveMinimum)===e.exclusiveMinimum&&-9223372036854776e3<=e.exclusiveMinimum&&e.exclusiveMinimum<=9223372036854776e3||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&Math.floor(e.exclusiveMaximum)===e.exclusiveMaximum&&-9223372036854776e3<=e.exclusiveMaximum&&e.exclusiveMaximum<=9223372036854776e3||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),xn=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="number")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="number"))&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Vn=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.default===null||e.default===void 0||typeof e.default=="string")&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>r===null||typeof r=="string"))&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),jn=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&e.items!==null&&(e.items===void 0||Array.isArray(e.items)&&e.items.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&pe(e.items))&&(e.prefixItems===void 0||Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r)))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&pe(e.additionalItems))&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Jn=e=>(e.nullable===void 0||typeof e.nullable=="boolean")&&(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Hr(e.properties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&pe(e.additionalProperties))&&(e.maxProperties===void 0||typeof e.maxProperties=="number")&&(e.minProperties===void 0||typeof e.minProperties=="number")&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),wn=e=>typeof e.$ref=="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),bn=e=>typeof e.$recursiveRef=="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Mn=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),kn=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Rn=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&$s(e.discriminator))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),$s=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&T(e.mapping)),Cn=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Nn=e=>e.type!==null&&e.type===void 0&&!0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),qs=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Fs(s)}),Fs=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Ao(r)))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&$e(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&$e(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&$e(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&$e(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&$e(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&$e(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&$e(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&$e(e.trace)),Ys=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&pe(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Qr(e.examples)),Qr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Bd(s)}),Gs=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),Tn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Zs=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Ln=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),$e=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Ao(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&zd(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Un(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Wr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean"),Ws=e=>(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Hs(e.content)),Hs=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Pn(s)}),Pn=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&pe(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Qr(e.examples)),En=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Un=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&$d(s)}),Qs=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Hs(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Dn(e.headers))&&(e.description===void 0||typeof e.description=="string"),Dn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&qd(s)}),Ks=e=>(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Qr(e.examples))&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.name===void 0||typeof e.name=="string")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&pe(e.schema)&&(e.required===void 0||typeof e.required=="boolean"),Bn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),zn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Qs(s)}),$n=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ys(s)}),qn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Ws(s)}),Fn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Fd(s)}),Yn=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Gn=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Zn=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Wn=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Hn(e.flows)&&(e.description===void 0||typeof e.description=="string"),Hn=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&Qn(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Kn(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Xs(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Xs(e.clientCredentials)),Qn=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),Kn=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),Xs=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),Xn=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),_n=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ks(s)}),ed=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Gs(s)}),rd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Yd(s)}),sd=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),od=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),ad=e=>typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(r)))&&(e.info===void 0||typeof e.info=="object"&&e.info!==null&&td(e.info))&&typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&cd(e.components)&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&yo(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&yo(e.webhooks))&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="object"&&r!==null&&bd(r)))&&e["x-samchon-emended"]===!0,Kr=e=>typeof e.url=="string"&&(e.description===void 0||typeof e.description=="string")&&(e.variables===void 0||typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1&&nd(e.variables)),nd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&dd(s)}),dd=e=>typeof e.default=="string"&&(e.enum===void 0||Array.isArray(e.enum)&&e.enum.every(r=>typeof r=="string"))&&(e.description===void 0||typeof e.description=="string"),td=e=>typeof e.title=="string"&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.termsOfService===void 0||typeof e.termsOfService=="string")&&(e.contact===void 0||typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1&&ld(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&id(e.license))&&typeof e.version=="string",ld=e=>(e.name===void 0||typeof e.name=="string")&&(e.url===void 0||typeof e.url=="string")&&(e.email===void 0||typeof e.email=="string"&&/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e.email)),id=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),cd=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&_s(e.schemas))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&yd(e.securitySchemes)),_s=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&er(s)}),eo=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),ro=e=>(e.default===void 0||typeof e.default=="boolean")&&e.type==="boolean"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),so=e=>(e.default===void 0||typeof e.default=="number"&&Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3)&&(e.minimum===void 0||typeof e.minimum=="number"&&Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3)&&(e.maximum===void 0||typeof e.maximum=="number"&&Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3)&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3&&0<e.multipleOf)&&e.type==="integer"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),oo=e=>(e.default===void 0||typeof e.default=="number")&&(e.minimum===void 0||typeof e.minimum=="number")&&(e.maximum===void 0||typeof e.maximum=="number")&&(e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean")&&(e.multipleOf===void 0||typeof e.multipleOf=="number"&&0<e.multipleOf)&&e.type==="number"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),ao=e=>(e.default===void 0||typeof e.default=="string")&&(e.format===void 0||typeof e.format=="string")&&(e.pattern===void 0||typeof e.pattern=="string")&&(e.contentMediaType===void 0||typeof e.contentMediaType=="string")&&(e.minLength===void 0||typeof e.minLength=="number"&&Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3)&&(e.maxLength===void 0||typeof e.maxLength=="number"&&Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3)&&e.type==="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),no=e=>typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&er(e.items)&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&e.type==="array"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),to=e=>e.type==="array"&&Array.isArray(e.prefixItems)&&e.prefixItems.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&er(r))&&e.additionalItems!==null&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1&&er(e.additionalItems))&&(e.uniqueItems===void 0||typeof e.uniqueItems=="boolean")&&(e.minItems===void 0||typeof e.minItems=="number"&&Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3)&&(e.maxItems===void 0||typeof e.maxItems=="number"&&Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3)&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),lo=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&_s(e.properties))&&e.additionalProperties!==null&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1&&er(e.additionalProperties))&&(e.required===void 0||Array.isArray(e.required)&&e.required.every(r=>typeof r=="string"))&&e.type==="object"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),io=e=>typeof e.$ref=="string"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),fd=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Rd(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&md(e.discriminator))&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),co=e=>(e.default===null||e.default===void 0)&&e.type==="null"&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),fo=e=>e.type!==null&&e.type===void 0&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),md=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&T(e.mapping)),yd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Gd(s)}),vd=e=>e.type==="apiKey"&&(e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie")&&(e.name===void 0||typeof e.name=="string")&&(e.description===void 0||typeof e.description=="string"),Id=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),gd=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),pd=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Ad(e.flows)&&(e.description===void 0||typeof e.description=="string"),Ad=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&hd(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Od(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&mo(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&mo(e.clientCredentials)),hd=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),Od=e=>(e.authorizationUrl===void 0||typeof e.authorizationUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),mo=e=>(e.tokenUrl===void 0||typeof e.tokenUrl=="string")&&(e.refreshUrl===void 0||typeof e.refreshUrl=="string")&&(e.scopes===void 0||typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1&&T(e.scopes)),ud=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),yo=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Sd(s)}),Sd=e=>(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.get===void 0||typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1&&qe(e.get))&&(e.post===void 0||typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1&&qe(e.post))&&(e.put===void 0||typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1&&qe(e.put))&&(e.delete===void 0||typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1&&qe(e.delete))&&(e.options===void 0||typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1&&qe(e.options))&&(e.head===void 0||typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1&&qe(e.head))&&(e.patch===void 0||typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1&&qe(e.patch))&&(e.trace===void 0||typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1&&qe(e.trace)),qe=e=>(e.operationId===void 0||typeof e.operationId=="string")&&(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&vo(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&Vd(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&jd(e.responses))&&(e.servers===void 0||Array.isArray(e.servers)&&e.servers.every(r=>typeof r=="object"&&r!==null&&Kr(r)))&&(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&(e.security===void 0||Array.isArray(e.security)&&e.security.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&A(r)))&&(e.tags===void 0||Array.isArray(e.tags)&&e.tags.every(r=>typeof r=="string"))&&(e.deprecated===void 0||typeof e.deprecated=="boolean")&&(e["x-samchon-human"]===void 0||typeof e["x-samchon-human"]=="boolean")&&(e["x-samchon-accessor"]===void 0||Array.isArray(e["x-samchon-accessor"])&&e["x-samchon-accessor"].every(r=>typeof r=="string"))&&(e["x-samchon-controller"]===void 0||typeof e["x-samchon-controller"]=="string"),vo=e=>(e.name===void 0||typeof e.name=="string")&&(e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path")&&typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&er(e.schema)&&(e.required===void 0||typeof e.required=="boolean")&&(e.title===void 0||typeof e.title=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Io(e.examples)),Io=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&xd(s)}),xd=e=>(e.summary===void 0||typeof e.summary=="string")&&(e.description===void 0||typeof e.description=="string")&&!0&&(e.externalValue===void 0||typeof e.externalValue=="string"),Vd=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&go(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e.required===void 0||typeof e.required=="boolean")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),go=e=>(e["text/plain"]===void 0||typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1&&dr(e["text/plain"]))&&(e["application/json"]===void 0||typeof e["application/json"]=="object"&&e["application/json"]!==null&&Array.isArray(e["application/json"])===!1&&dr(e["application/json"]))&&(e["application/x-www-form-url-encoded"]===void 0||typeof e["application/x-www-form-url-encoded"]=="object"&&e["application/x-www-form-url-encoded"]!==null&&Array.isArray(e["application/x-www-form-url-encoded"])===!1&&dr(e["application/x-www-form-url-encoded"]))&&(e["multipart/form-data"]===void 0||typeof e["multipart/form-data"]=="object"&&e["multipart/form-data"]!==null&&Array.isArray(e["multipart/form-data"])===!1&&dr(e["multipart/form-data"]))&&(e["*/*"]===void 0||typeof e["*/*"]=="object"&&e["*/*"]!==null&&Array.isArray(e["*/*"])===!1&&dr(e["*/*"]))&&Object.keys(e).every(r=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(a=>r===a))return!0;const s=e[r];return s===void 0?!0:s===void 0||typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&dr(s)}),dr=e=>(e.schema===void 0||typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1&&er(e.schema))&&!0&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Io(e.examples)),jd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Jd(s)}),Jd=e=>(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&wd(e.headers))&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&go(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),wd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&vo(s)}),bd=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),Re=e=>e.type==="boolean"?I(e):e.type==="number"?j(e):e.type==="integer"?x(e):e.type==="string"?S(e):e.type==="array"?M(e):e.type==="object"?Y(e):e.$ref!==void 0?p(e):e["x-anyOf"]!==void 0?H(e):e["x-oneOf"]!==void 0?ee(e):e.type==="null"?C(e):k(e),Md=e=>e.type==="boolean"?oe(e):e.type==="number"?fe(e):e.type==="integer"?z(e):e.type==="string"?_(e):e.type==="array"?Ie(e):e.type==="object"?F(e):e["x-anyOf"]!==void 0?U(e):e["x-oneOf"]!==void 0?re(e):e.type==="null"?ue(e):e.schema!==void 0?ge(e):P(e)?P(e):Oe(e)?Oe(e):b(e)?b(e):!1,kd=e=>e.type==="boolean"?oe(e):e.type==="number"?fe(e):e.type==="integer"?z(e):e.type==="string"?_(e):e.type==="array"?Ie(e):e.type==="object"?F(e):e["x-anyOf"]!==void 0?U(e):e["x-oneOf"]!==void 0?re(e):e.type==="null"?ue(e):e.schema!==void 0?ge(e):P(e)?P(e):Oe(e)?Oe(e):$(e)?$(e):!1,Ee=e=>e.type==="boolean"?Be(e):e.type==="number"?zr(e):e.type==="integer"?gr(e):e.type==="string"?$r(e):e.type==="array"?qr(e):e.type==="object"?Fr(e):e.$ref!==void 0?br(e):e.allOf!==void 0?Yr(e):e.anyOf!==void 0?de(e):e.oneOf!==void 0?me(e):e.type==="null"?Gr(e):pr(e),po=e=>e.in!==void 0?Ds(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?dn(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Us(e):!1,pe=e=>Array.isArray(e.type)&&e.type.every(r=>r==="string"||r==="number"||r==="boolean"||r==="object"||r==="integer"||r==="array"||r==="null")?hn(e):e.type==="boolean"?un(e):e.type==="number"?xn(e):e.type==="integer"?Sn(e):e.type==="string"?Vn(e):e.type==="array"?jn(e):e.type==="object"?Jn(e):e.$recursiveRef!==void 0?bn(e):e.type==="null"?Cn(e):e.const!==void 0?On(e):e.$ref!==void 0?wn(e):e.allOf!==void 0?Mn(e):e.anyOf!==void 0?kn(e):e.oneOf!==void 0?Rn(e):Nn(e),Ao=e=>e.in!==void 0?Ys(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Ln(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Zs(e):!1,er=e=>e.const!==void 0?eo(e):e.type==="boolean"?ro(e):e.type==="number"?oo(e):e.type==="integer"?so(e):e.type==="string"?ao(e):e.items!==void 0?no(e):e.prefixItems!==void 0?to(e):e.type==="object"?lo(e):e.$ref!==void 0?io(e):e.oneOf!==void 0?fd(e):e.type==="null"?co(e):fo(e),Rd=e=>e.const!==void 0?eo(e):e.type==="boolean"?ro(e):e.type==="number"?oo(e):e.type==="integer"?so(e):e.type==="string"?ao(e):e.items!==void 0?no(e):e.prefixItems!==void 0?to(e):e.type==="object"?lo(e):e.$ref!==void 0?io(e):e.type==="null"?co(e):fo(e),Cd=e=>e.type==="boolean"?oe(e):e.type==="number"?fe(e):e.type==="integer"?z(e):e.type==="string"?_(e):e.type==="array"?Ie(e):e.type==="object"?F(e):e.$ref!==void 0?P(e):e["x-anyOf"]!==void 0?U(e):e["x-oneOf"]!==void 0?re(e):e.type==="null"?ue(e):e.schema!==void 0?ge(e):Oe(e),Nd=e=>e.type==="apiKey"?L(e):e.type==="basic"?E(e):e.flow==="implicit"?N(e):e.flow==="accessCode"?y(e):e.flow==="application"?h(e):e.flow==="password"?v(e):!1,Td=e=>e.$ref!==void 0?ne(e):w(e),Ld=e=>e.$ref!==void 0?kr(e):Mr(e),Pd=e=>e.schema!==void 0?Es(e):e.$ref!==void 0?Us(e):!1,Ed=e=>e.type==="apiKey"?Wa(e):e.scheme==="basic"?Ha(e):e.scheme==="bearer"?Qa(e):e.type==="oauth2"?Ka(e):e.type==="openIdConnect"?rn(e):!1,Ud=e=>e.$ref!==void 0?tn(e):Bs(e),Dd=e=>e.$ref!==void 0?cn(e):Me(e),Bd=e=>e.$ref!==void 0?Tn(e):Gs(e),zd=e=>e.$ref!==void 0?En(e):Ws(e),$d=e=>e.$ref!==void 0?Bn(e):Qs(e),qd=e=>e.$ref!==void 0?Zs(e):e.schema!==void 0?Ks(e):!1,Fd=e=>e.type==="apiKey"?Yn(e):e.scheme==="basic"?Gn(e):e.scheme==="bearer"?Zn(e):e.type==="oauth2"?Wn(e):e.type==="openIdConnect"?Xn(e):!1,Yd=e=>e.$ref!==void 0?sd(e):Fs(e),Gd=e=>e.type==="apiKey"?vd(e):e.scheme==="basic"?Id(e):e.scheme==="bearer"?gd(e):e.type==="oauth2"?pd(e):e.type==="openIdConnect"?ud(e):!1,Zd=e=>e.swagger!==void 0?i(e):e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))?ae(e):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?mn(e):e["x-samchon-emended"]!==void 0?ad(e):!1,Wd=(e,r,s=!0)=>[(e.swagger!==null||o(s,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger!==void 0||o(s,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger}))&&(e.swagger==="2.0"||typeof e.swagger=="string"&&RegExp(/^2\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.swagger)||o(s,{path:r+".swagger",expected:'("2.0" | `2.0.${number}`)',value:e.swagger})),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}))&&Hd(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(SwaggerV2.IDocument.IInfo | undefined)",value:e.info}),e.host===void 0||typeof e.host=="string"||o(s,{path:r+".host",expected:"(string | undefined)",value:e.host}),e.basePath===void 0||typeof e.basePath=="string"||o(s,{path:r+".basePath",expected:"(string | undefined)",value:e.basePath}),e.consumes===void 0||(Array.isArray(e.consumes)||o(s,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}))&&e.consumes.map((a,d)=>typeof a=="string"||o(s,{path:r+".consumes["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".consumes",expected:"(Array<string> | undefined)",value:e.consumes}),e.produces===void 0||(Array.isArray(e.produces)||o(s,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}))&&e.produces.map((a,d)=>typeof a=="string"||o(s,{path:r+".produces["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".produces",expected:"(Array<string> | undefined)",value:e.produces}),e.definitions===void 0||(typeof e.definitions=="object"&&e.definitions!==null&&Array.isArray(e.definitions)===!1||o(s,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}))&&Rr(e.definitions,r+".definitions",s)||o(s,{path:r+".definitions",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.definitions}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||o(s,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}))&&it(e.parameters,r+".parameters",s)||o(s,{path:r+".parameters",expected:"(Record<string, SwaggerV2.IOperation.IParameter> | undefined)",value:e.parameters}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}))&&ct(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, SwaggerV2.IOperation.IResponse> | undefined)",value:e.responses}),e.securityDefinitions===void 0||(typeof e.securityDefinitions=="object"&&e.securityDefinitions!==null&&Array.isArray(e.securityDefinitions)===!1||o(s,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}))&&ft(e.securityDefinitions,r+".securityDefinitions",s)||o(s,{path:r+".securityDefinitions",expected:"(Record<string, SwaggerV2.ISecurityDefinition> | undefined)",value:e.securityDefinitions}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||o(s,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}))&&At(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, SwaggerV2.IPath> | undefined)",value:e.paths}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+d+"]",expected:"SwaggerV2.IDocument.ITag",value:a}))&&Vt(a,r+".tags["+d+"]",s)||o(s,{path:r+".tags["+d+"]",expected:"SwaggerV2.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<SwaggerV2.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),Hd=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||o(s,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}))&&Qd(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(SwaggerV2.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}))&&Kd(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(SwaggerV2.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),Qd=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),Kd=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),Rr=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:d}))&&Ce(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:d})}).every(a=>a)].every(a=>a),Xd=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),_d=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),et=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),rt=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),st=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}))&&Ce(e.items,r+".items",s)||o(s,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),ot=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&Rr(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,d)=>typeof a=="string"||o(s,{path:r+".required["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||o(s,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&Ce(e.additionalProperties,r+".additionalProperties",s)||o(s,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples})].every(a=>a),at=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),nt=(e,r,s=!0)=>[(Array.isArray(e["x-anyOf"])||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-anyOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a}))&&Ce(a,r+'["x-anyOf"]['+d+"]",s)||o(s,{path:r+'["x-anyOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),dt=(e,r,s=!0)=>[(Array.isArray(e["x-oneOf"])||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-oneOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a}))&&Ce(a,r+'["x-oneOf"]['+d+"]",s)||o(s,{path:r+'["x-oneOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),tt=(e,r,s=!0)=>[e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),lt=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),it=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:d}))&&Li(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",value:d})}).every(a=>a)].every(a=>a),Xr=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),_r=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),es=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),rs=(e,r,s=!0)=>[e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ss=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}))&&Ce(e.items,r+".items",s)||o(s,{path:r+".items",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),os=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}))&&Rr(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,d)=>typeof a=="string"||o(s,{path:r+".required["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||o(s,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&Ce(e.additionalProperties,r+".additionalProperties",s)||o(s,{path:r+".additionalProperties",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e["x-nullable"]===void 0||typeof e["x-nullable"]=="boolean"||o(s,{path:r+'["x-nullable"]',expected:"(boolean | undefined)",value:e["x-nullable"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),as=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ns=(e,r,s=!0)=>[(Array.isArray(e["x-anyOf"])||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}))&&e["x-anyOf"].map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-anyOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a}))&&Ce(a,r+'["x-anyOf"]['+d+"]",s)||o(s,{path:r+'["x-anyOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+'["x-anyOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-anyOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ds=(e,r,s=!0)=>[(Array.isArray(e["x-oneOf"])||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}))&&e["x-oneOf"].map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+'["x-oneOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a}))&&Ce(a,r+'["x-oneOf"]['+d+"]",s)||o(s,{path:r+'["x-oneOf"]['+d+"]",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+'["x-oneOf"]',expected:"Array<SwaggerV2.IJsonSchema>",value:e["x-oneOf"]}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ts=(e,r,s=!0)=>[e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),ls=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in})].every(a=>a),is=(e,r,s=!0)=>[(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.schema}))&&Ce(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",value:e.schema}),typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),typeof e.in=="string"||o(s,{path:r+'["in"]',expected:"string",value:e.in}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),ct=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"SwaggerV2.IOperation.IResponse",value:d}))&&ho(d,r+V(a),s)||o(s,{path:r+V(a),expected:"SwaggerV2.IOperation.IResponse",value:d})}).every(a=>a)].every(a=>a),ho=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}))&&Rr(e.headers,r+".headers",s)||o(s,{path:r+".headers",expected:"(Record<string, SwaggerV2.IJsonSchema> | undefined)",value:e.headers}),e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&Ce(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0].every(a=>a),ft=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:d}))&&Pi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:d})}).every(a=>a)].every(a=>a),mt=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),yt=(e,r,s=!0)=>[e.type==="basic"||o(s,{path:r+".type",expected:'"basic"',value:e.type}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),vt=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="implicit"||o(s,{path:r+".flow",expected:'"implicit"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),xe=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:typeof d=="string"||o(s,{path:r+V(a),expected:"string",value:d})}).every(a=>a)].every(a=>a),It=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="accessCode"||o(s,{path:r+".flow",expected:'"accessCode"',value:e.flow}),e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),gt=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="password"||o(s,{path:r+".flow",expected:'"password"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),pt=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),e.flow==="application"||o(s,{path:r+".flow",expected:'"application"',value:e.flow}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Fe=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(Array.isArray(d)||o(s,{path:r+V(a),expected:"Array<string>",value:d}))&&d.map((lr,Xi)=>typeof lr=="string"||o(s,{path:r+V(a)+"["+Xi+"]",expected:"string",value:lr})).every(lr=>lr)||o(s,{path:r+V(a),expected:"Array<string>",value:d})}).every(a=>a)].every(a=>a),At=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"SwaggerV2.IPath",value:d}))&&ht(d,r+V(a),s)||o(s,{path:r+V(a),expected:"SwaggerV2.IPath",value:d})}).every(a=>a)].every(a=>a),ht=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+d+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a}))&&Ci(a,r+".parameters["+d+"]",s)||o(s,{path:r+".parameters["+d+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",value:e.parameters}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}))&&Ye(e.get,r+".get",s)||o(s,{path:r+".get",expected:"(SwaggerV2.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||o(s,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}))&&Ye(e.post,r+".post",s)||o(s,{path:r+".post",expected:"(SwaggerV2.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||o(s,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}))&&Ye(e.put,r+".put",s)||o(s,{path:r+".put",expected:"(SwaggerV2.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||o(s,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}))&&Ye(e.delete,r+'["delete"]',s)||o(s,{path:r+'["delete"]',expected:"(SwaggerV2.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||o(s,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}))&&Ye(e.options,r+".options",s)||o(s,{path:r+".options",expected:"(SwaggerV2.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||o(s,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}))&&Ye(e.head,r+".head",s)||o(s,{path:r+".head",expected:"(SwaggerV2.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||o(s,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}))&&Ye(e.patch,r+".patch",s)||o(s,{path:r+".patch",expected:"(SwaggerV2.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||o(s,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace}))&&Ye(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(SwaggerV2.IOperation | undefined)",value:e.trace})].every(a=>a),Ot=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Ye=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+d+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a}))&&Ni(a,r+".parameters["+d+"]",s)||o(s,{path:r+".parameters["+d+"]",expected:"(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",value:e.parameters}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}))&&St(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/definitions/responses/${string}`>> | undefined)",value:e.responses}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>typeof a=="string"||o(s,{path:r+".tags["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),ut=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/definitions/parameters/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),St=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:d}))&&Ei(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:d})}).every(a=>a)].every(a=>a),xt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/definitions\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/definitions/responses/${string}`",value:e.$ref}),e.examples===void 0||Array.isArray(e.examples)||o(s,{path:r+".examples",expected:"(Array<any> | undefined)",value:e.examples}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0].every(a=>a),Vt=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),jt=(e,r,s=!0)=>[(e.openapi!==null||o(s,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi!==void 0||o(s,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi}))&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||o(s,{path:r+".openapi",expected:'("3.0" | `3.0.${number}`)',value:e.openapi})),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:a}))&&cs(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}))&&bt(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(OpenApiV3.IDocument.IInfo | undefined)",value:e.info}),e.components===void 0||(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||o(s,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}))&&Rt(e.components,r+".components",s)||o(s,{path:r+".components",expected:"(OpenApiV3.IComponents | undefined)",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}))&&ll(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3.IPath> | undefined)",value:e.paths}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+d+"]",expected:"OpenApiV3.IDocument.ITag",value:a}))&&vl(a,r+".tags["+d+"]",s)||o(s,{path:r+".tags["+d+"]",expected:"OpenApiV3.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),cs=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables}))&&Jt(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),Jt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"OpenApiV3.IServer.IVariable",value:d}))&&wt(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IServer.IVariable",value:d})}).every(a=>a)].every(a=>a),wt=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>typeof a=="string"||o(s,{path:r+'["enum"]['+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),bt=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||o(s,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}))&&Mt(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApiV3.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}))&&kt(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApiV3.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),Mt=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),kt=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),Rt=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}))&&Oo(e.schemas,r+".schemas",s)||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.schemas}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}))&&Yt(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3.IOperation.IResponse> | undefined)",value:e.responses}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}))&&Ht(e.parameters,r+".parameters",s)||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBodies===void 0||(typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&Qt(e.requestBodies,r+".requestBodies",s)||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3.IOperation.IRequestBody> | undefined)",value:e.requestBodies}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&Kt(e.securitySchemes,r+".securitySchemes",s)||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3.ISecurityScheme> | undefined)",value:e.securitySchemes}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&dl(e.headers,r+".headers",s)||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3.IOperation.IParameter, "in">> | undefined)',value:e.headers}),e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples}))&&tl(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples})].every(a=>a),Oo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:d}))&&Ue(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:d})}).every(a=>a)].every(a=>a),Ct=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Q=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>(e[a]===void 0,!0)).every(a=>a)].every(a=>a),Nt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Tt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Lt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Pt=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{path:r+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.items}))&&Ue(e.items,r+".items",s)||o(s,{path:r+".items",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Et=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}))&&Oo(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,d)=>typeof a=="string"||o(s,{path:r+".required["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&Ue(e.additionalProperties,r+".additionalProperties",s)||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ut=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Dt=(e,r,s=!0)=>[(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".allOf["+d+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:a}))&&Ue(a,r+".allOf["+d+"]",s)||o(s,{path:r+".allOf["+d+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.allOf}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Bt=(e,r,s=!0)=>[(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:a}))&&Ue(a,r+".anyOf["+d+"]",s)||o(s,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.anyOf}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),zt=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:a}))&&Ue(a,r+".oneOf["+d+"]",s)||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&$t(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),$t=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&xe(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),qt=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ft=(e,r,s=!0)=>[!0,(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Yt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IResponse",value:d}))&&uo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IResponse",value:d})}).every(a=>a)].every(a=>a),uo=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&So(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}))&&Wt(e.headers,r+".headers",s)||o(s,{path:r+".headers",expected:'(Record<string, Omit<IParameter, "in"> | IReference<`#/components/headers/${string}`>> | undefined)',value:e.headers}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),So=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IMediaType",value:d}))&&Gt(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IMediaType",value:d})}).every(a=>a)].every(a=>a),Gt=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&Ue(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&fs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(a=>a),fs=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d}))&&Ui(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3.IExample | OpenApiV3.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d})}).every(a=>a)].every(a=>a),xo=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),Zt=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Wt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d}))&&Di(d,r+V(a),s)||o(s,{path:r+V(a),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d})}).every(a=>a)].every(a=>a),Vo=(e,r,s=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&fs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}))&&Ue(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),jo=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ht=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IParameter",value:d}))&&Jo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IParameter",value:d})}).every(a=>a)].every(a=>a),Jo=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}))&&Ue(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples}))&&fs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",value:e.examples})].every(a=>a),Qt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IRequestBody",value:d}))&&wo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IRequestBody",value:d})}).every(a=>a)].every(a=>a),wo=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content}))&&So(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content})].every(a=>a),Kt=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:d}))&&Bi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:d})}).every(a=>a)].every(a=>a),Xt=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),_t=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),el=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),rl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&sl(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApiV3.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),sl=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&ol(e.authorizationCode,r+".authorizationCode",s)||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&al(e.implicit,r+".implicit",s)||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||o(s,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&bo(e.password,r+".password",s)||o(s,{path:r+".password",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&bo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),ol=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),al=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),bo=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),nl=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),dl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:d}))&&Vo(d,r+V(a),s)||o(s,{path:r+V(a),expected:'Omit<OpenApiV3.IOperation.IParameter, "in">',value:d})}).every(a=>a)].every(a=>a),tl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3.IExample",value:d}))&&xo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IExample",value:d})}).every(a=>a)].every(a=>a),ll=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3.IPath",value:d}))&&il(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IPath",value:d})}).every(a=>a)].every(a=>a),il=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a}))&&oa(a,r+".parameters["+d+"]",s)||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:a}))&&cs(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}))&&Ge(e.get,r+".get",s)||o(s,{path:r+".get",expected:"(OpenApiV3.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||o(s,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}))&&Ge(e.post,r+".post",s)||o(s,{path:r+".post",expected:"(OpenApiV3.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||o(s,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}))&&Ge(e.put,r+".put",s)||o(s,{path:r+".put",expected:"(OpenApiV3.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||o(s,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}))&&Ge(e.delete,r+'["delete"]',s)||o(s,{path:r+'["delete"]',expected:"(OpenApiV3.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||o(s,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}))&&Ge(e.options,r+".options",s)||o(s,{path:r+".options",expected:"(OpenApiV3.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||o(s,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}))&&Ge(e.head,r+".head",s)||o(s,{path:r+".head",expected:"(OpenApiV3.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||o(s,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}))&&Ge(e.patch,r+".patch",s)||o(s,{path:r+".patch",expected:"(OpenApiV3.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||o(s,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace}))&&Ge(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApiV3.IOperation | undefined)",value:e.trace})].every(a=>a),cl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ge=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}))&&e.parameters.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a}))&&oa(a,r+".parameters["+d+"]",s)||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||o(s,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&zi(e.requestBody,r+".requestBody",s)||o(s,{path:r+".requestBody",expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}))&&ml(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:a}))&&cs(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>typeof a=="string"||o(s,{path:r+".tags["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),fl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),ml=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:d}))&&$i(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3.IOperation.IResponse)",value:d})}).every(a=>a)].every(a=>a),yl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),vl=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Il=(e,r,s=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||o(s,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:a}))&&ms(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}))&&Al(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(OpenApiV3_1.IDocument.IInfo | undefined)",value:e.info}),e.components===void 0||(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||o(s,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}))&&ul(e.components,r+".components",s)||o(s,{path:r+".components",expected:"(OpenApiV3_1.IComponents | undefined)",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}))&&ko(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.paths}),e.webhooks===void 0||(typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1||o(s,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}))&&ai(e.webhooks,r+".webhooks",s)||o(s,{path:r+".webhooks",expected:"(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+d+"]",expected:"OpenApiV3_1.IDocument.ITag",value:a}))&&di(a,r+".tags["+d+"]",s)||o(s,{path:r+".tags["+d+"]",expected:"OpenApiV3_1.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApiV3_1.IDocument.ITag> | undefined)",value:e.tags})].every(a=>a),ms=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables}))&&gl(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),gl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"OpenApiV3_1.IServer.IVariable",value:d}))&&pl(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IServer.IVariable",value:d})}).every(a=>a)].every(a=>a),pl=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}))&&(1<=e.enum.length||o(s,{path:r+'["enum"]',expected:"Array<> & MinItems<1>",value:e.enum}))&&e.enum.map((a,d)=>typeof a=="string"||o(s,{path:r+'["enum"]['+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"((Array<string> & MinItems<1>) | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Al=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||o(s,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}))&&hl(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApiV3_1.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}))&&Ol(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApiV3_1.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),hl=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"||o(s,{path:r+".email",expected:"(string | undefined)",value:e.email})].every(a=>a),Ol=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||o(s,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),ul=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}))&&ys(e.schemas,r+".schemas",s)||o(s,{path:r+".schemas",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.schemas}),e.pathItems===void 0||(typeof e.pathItems=="object"&&e.pathItems!==null&&Array.isArray(e.pathItems)===!1||o(s,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}))&&ko(e.pathItems,r+".pathItems",s)||o(s,{path:r+".pathItems",expected:"(Record<string, OpenApiV3_1.IPath> | undefined)",value:e.pathItems}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}))&&Fl(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",value:e.responses}),e.parameters===void 0||(typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}))&&Yl(e.parameters,r+".parameters",s)||o(s,{path:r+".parameters",expected:"(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBodies===void 0||(typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}))&&Gl(e.requestBodies,r+".requestBodies",s)||o(s,{path:r+".requestBodies",expected:"(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",value:e.requestBodies}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&Zl(e.securitySchemes,r+".securitySchemes",s)||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",value:e.securitySchemes}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}))&&si(e.headers,r+".headers",s)||o(s,{path:r+".headers",expected:'(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',value:e.headers}),e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples}))&&oi(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3_1.IExample> | undefined)",value:e.examples})].every(a=>a),ys=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:d}))&&Ae(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:d})}).every(a=>a)].every(a=>a),Sl=(e,r,s=!0)=>[(Array.isArray(e.type)||o(s,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}))&&e.type.map((a,d)=>a==="string"||a==="number"||a==="boolean"||a==="object"||a==="integer"||a==="array"||a==="null"||o(s,{path:r+".type["+d+"]",expected:'("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',value:a})).every(a=>a)||o(s,{path:r+".type",expected:'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',value:e.type}),e.default===null||e.default===void 0||Array.isArray(e.default)||o(s,{path:r+'["default"]',expected:"(Array<any> | null | undefined)",value:e.default}),e.enum===void 0||Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<any> | undefined)",value:e.enum}),typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),(e.items!==null||o(s,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".items["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".items["+d+"]",s)||o(s,{path:r+".items["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Ae(e.items,r+".items",s)||o(s,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})||o(s,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".prefixItems["+d+"]",s)||o(s,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||o(s,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||o(s,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&Ae(e.additionalItems,r+".additionalItems",s)||o(s,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,d)=>typeof a=="string"||o(s,{path:r+".required["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&ys(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&Ae(e.additionalProperties,r+".additionalProperties",s)||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".oneOf["+d+"]",s)||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Mo(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".anyOf["+d+"]",s)||o(s,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".allOf["+d+"]",s)||o(s,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref})].every(a=>a),xl=(e,r,s=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Vl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | null | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="boolean"||o(s,{path:r+'["enum"]['+d+"]",expected:"(boolean | null)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<boolean | null> | undefined)",value:e.enum}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),jl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | null | undefined)',value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"&&(Math.floor(e.exclusiveMinimum)===e.exclusiveMinimum&&-9223372036854776e3<=e.exclusiveMinimum&&e.exclusiveMinimum<=9223372036854776e3||o(s,{path:r+".exclusiveMinimum",expected:'number & Type<"int64">',value:e.exclusiveMinimum}))||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"&&(Math.floor(e.exclusiveMaximum)===e.exclusiveMaximum&&-9223372036854776e3<=e.exclusiveMaximum&&e.exclusiveMaximum<=9223372036854776e3||o(s,{path:r+".exclusiveMaximum",expected:'number & Type<"int64">',value:e.exclusiveMaximum}))||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:'((number & Type<"int64">) | boolean | undefined)',value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Jl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(null | number | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="number"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | number)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<number | null> | undefined)",value:e.enum}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="number"||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | number | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),wl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.default===null||e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(null | string | undefined)",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>a===null||typeof a=="string"||o(s,{path:r+'["enum"]['+d+"]",expected:"(null | string)",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string | null> | undefined)",value:e.enum}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),bl=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),(e.items!==null||o(s,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items}))&&(e.items===void 0||Array.isArray(e.items)&&e.items.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".items["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".items["+d+"]",s)||o(s,{path:r+".items["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1&&Ae(e.items,r+".items",s)||o(s,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})||o(s,{path:r+".items",expected:"(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.items})),e.prefixItems===void 0||(Array.isArray(e.prefixItems)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}))&&e.prefixItems.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".prefixItems["+d+"]",s)||o(s,{path:r+".prefixItems["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"(Array<OpenApiV3_1.IJsonSchema> | undefined)",value:e.prefixItems}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),(e.additionalItems!==null||o(s,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||o(s,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&Ae(e.additionalItems,r+".additionalItems",s)||o(s,{path:r+".additionalItems",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ml=(e,r,s=!0)=>[e.nullable===void 0||typeof e.nullable=="boolean"||o(s,{path:r+".nullable",expected:"(boolean | undefined)",value:e.nullable}),e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}))&&ys(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",value:e.properties}),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,d)=>typeof a=="string"||o(s,{path:r+".required["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),(e.additionalProperties!==null||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&Ae(e.additionalProperties,r+".additionalProperties",s)||o(s,{path:r+".additionalProperties",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.maxProperties===void 0||typeof e.maxProperties=="number"||o(s,{path:r+".maxProperties",expected:"(number | undefined)",value:e.maxProperties}),e.minProperties===void 0||typeof e.minProperties=="number"||o(s,{path:r+".minProperties",expected:"(number | undefined)",value:e.minProperties}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),kl=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Rl=(e,r,s=!0)=>[typeof e.$recursiveRef=="string"||o(s,{path:r+".$recursiveRef",expected:"string",value:e.$recursiveRef}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Cl=(e,r,s=!0)=>[(Array.isArray(e.allOf)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}))&&e.allOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".allOf["+d+"]",s)||o(s,{path:r+".allOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".allOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.allOf}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Nl=(e,r,s=!0)=>[(Array.isArray(e.anyOf)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}))&&e.anyOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".anyOf["+d+"]",s)||o(s,{path:r+".anyOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".anyOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.anyOf}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Tl=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}))&&e.oneOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a}))&&Ae(a,r+".oneOf["+d+"]",s)||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<OpenApiV3_1.IJsonSchema>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Mo(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Mo=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&xe(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),Ll=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Pl=(e,r,s=!0)=>[(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),!0,e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),ko=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3_1.IPath",value:d}))&&Ro(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IPath",value:d})}).every(a=>a)].every(a=>a),Ro=(e,r,s=!0)=>[e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a}))&&aa(a,r+".parameters["+d+"]",s)||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:a}))&&ms(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}))&&Ze(e.get,r+".get",s)||o(s,{path:r+".get",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||o(s,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}))&&Ze(e.post,r+".post",s)||o(s,{path:r+".post",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||o(s,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}))&&Ze(e.put,r+".put",s)||o(s,{path:r+".put",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||o(s,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}))&&Ze(e.delete,r+'["delete"]',s)||o(s,{path:r+'["delete"]',expected:"(OpenApiV3_1.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||o(s,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}))&&Ze(e.options,r+".options",s)||o(s,{path:r+".options",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||o(s,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}))&&Ze(e.head,r+".head",s)||o(s,{path:r+".head",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||o(s,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}))&&Ze(e.patch,r+".patch",s)||o(s,{path:r+".patch",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||o(s,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace}))&&Ze(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApiV3_1.IOperation | undefined)",value:e.trace})].every(a=>a),Co=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}))&&Ae(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&vs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(a=>a),vs=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d}))&&qi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",value:d})}).every(a=>a)].every(a=>a),No=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),El=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/examples/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),To=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/headers/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ul=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/parameters/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ze=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}))&&e.parameters.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a}))&&aa(a,r+".parameters["+d+"]",s)||o(s,{path:r+".parameters["+d+"]",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||o(s,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&Fi(e.requestBody,r+".requestBody",s)||o(s,{path:r+".requestBody",expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/requestBodies/${string}`> | OpenApiV3_1.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}))&&zl(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:a}))&&ms(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApiV3_1.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApiV3_1.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>typeof a=="string"||o(s,{path:r+".tags["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated})].every(a=>a),Lo=(e,r,s=!0)=>[e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Po(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content})].every(a=>a),Po=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IMediaType",value:d}))&&Dl(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IMediaType",value:d})}).every(a=>a)].every(a=>a),Dl=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&Ae(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&vs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples})].every(a=>a),Bl=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/requestBodies/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),zl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:d}))&&Yi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",value:d})}).every(a=>a)].every(a=>a),Eo=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}))&&Po(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content}),e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}))&&$l(e.headers,r+".headers",s)||o(s,{path:r+".headers",expected:'(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',value:e.headers}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),$l=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d}))&&Gi(d,r+V(a),s)||o(s,{path:r+V(a),expected:'(Omit<OpenApiV3_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d})}).every(a=>a)].every(a=>a),Uo=(e,r,s=!0)=>[e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}))&&vs(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",value:e.examples}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}))&&Ae(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required})].every(a=>a),ql=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/responses/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Fl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IResponse",value:d}))&&Eo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IResponse",value:d})}).every(a=>a)].every(a=>a),Yl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IParameter",value:d}))&&Co(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IParameter",value:d})}).every(a=>a)].every(a=>a),Gl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IRequestBody",value:d}))&&Lo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IRequestBody",value:d})}).every(a=>a)].every(a=>a),Zl=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:d}))&&Zi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:d})}).every(a=>a)].every(a=>a),Wl=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Hl=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Ql=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Kl=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&Xl(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Xl=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&_l(e.authorizationCode,r+".authorizationCode",s)||o(s,{path:r+".authorizationCode",expected:"(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&ei(e.implicit,r+".implicit",s)||o(s,{path:r+".implicit",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||o(s,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Do(e.password,r+".password",s)||o(s,{path:r+".password",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Do(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),_l=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),ei=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Do=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),ri=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),si=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:d}))&&Uo(d,r+V(a),s)||o(s,{path:r+V(a),expected:'Omit<OpenApiV3_1.IOperation.IParameter, "in">',value:d})}).every(a=>a)].every(a=>a),oi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApiV3_1.IExample",value:d}))&&No(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IExample",value:d})}).every(a=>a)].every(a=>a),ai=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:d}))&&Wi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",value:d})}).every(a=>a)].every(a=>a),ni=(e,r,s=!0)=>[typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)||o(s,{path:r+".$ref",expected:"`#/components/pathItems/${string}`",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),di=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ti=(e,r,s=!0)=>[typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)||o(s,{path:r+".openapi",expected:"`3.1.${number}`",value:e.openapi}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApi.IServer",value:a}))&&Is(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.info===void 0||(typeof e.info=="object"&&e.info!==null||o(s,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}))&&ci(e.info,r+".info",s)||o(s,{path:r+".info",expected:"(OpenApi.IDocument.IInfo | undefined)",value:e.info}),(typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1||o(s,{path:r+".components",expected:"OpenApi.IComponents",value:e.components}))&&yi(e.components,r+".components",s)||o(s,{path:r+".components",expected:"OpenApi.IComponents",value:e.components}),e.paths===void 0||(typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1||o(s,{path:r+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.paths}))&&_o(e.paths,r+".paths",s)||o(s,{path:r+".paths",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.paths}),e.webhooks===void 0||(typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1||o(s,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}))&&_o(e.webhooks,r+".webhooks",s)||o(s,{path:r+".webhooks",expected:"(Record<string, OpenApi.IPath> | undefined)",value:e.webhooks}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".tags["+d+"]",expected:"OpenApi.IDocument.ITag",value:a}))&&Ri(a,r+".tags["+d+"]",s)||o(s,{path:r+".tags["+d+"]",expected:"OpenApi.IDocument.ITag",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<OpenApi.IDocument.ITag> | undefined)",value:e.tags}),e["x-samchon-emended"]===!0||o(s,{path:r+'["x-samchon-emended"]',expected:"true",value:e["x-samchon-emended"]})].every(a=>a),Is=(e,r,s=!0)=>[typeof e.url=="string"||o(s,{path:r+".url",expected:"string",value:e.url}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.variables===void 0||(typeof e.variables=="object"&&e.variables!==null&&Array.isArray(e.variables)===!1||o(s,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables}))&&li(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),li=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"OpenApi.IServer.IVariable",value:d}))&&ii(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IServer.IVariable",value:d})}).every(a=>a)].every(a=>a),ii=(e,r,s=!0)=>[typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"string",value:e.default}),e.enum===void 0||(Array.isArray(e.enum)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}))&&e.enum.map((a,d)=>typeof a=="string"||o(s,{path:r+'["enum"]['+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["enum"]',expected:"(Array<string> | undefined)",value:e.enum}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ci=(e,r,s=!0)=>[typeof e.title=="string"||o(s,{path:r+".title",expected:"string",value:e.title}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.termsOfService===void 0||typeof e.termsOfService=="string"||o(s,{path:r+".termsOfService",expected:"(string | undefined)",value:e.termsOfService}),e.contact===void 0||(typeof e.contact=="object"&&e.contact!==null&&Array.isArray(e.contact)===!1||o(s,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}))&&fi(e.contact,r+".contact",s)||o(s,{path:r+".contact",expected:"(OpenApi.IDocument.IContact | undefined)",value:e.contact}),e.license===void 0||(typeof e.license=="object"&&e.license!==null||o(s,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}))&&mi(e.license,r+".license",s)||o(s,{path:r+".license",expected:"(OpenApi.IDocument.ILicense | undefined)",value:e.license}),typeof e.version=="string"||o(s,{path:r+".version",expected:"string",value:e.version})].every(a=>a),fi=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url}),e.email===void 0||typeof e.email=="string"&&(/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e.email)||o(s,{path:r+".email",expected:'string & Format<"email">',value:e.email}))||o(s,{path:r+".email",expected:'((string & Format<"email">) | undefined)',value:e.email})].every(a=>a),mi=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.identifier===void 0||typeof e.identifier=="string"||o(s,{path:r+".identifier",expected:"(string | undefined)",value:e.identifier}),e.url===void 0||typeof e.url=="string"||o(s,{path:r+".url",expected:"(string | undefined)",value:e.url})].every(a=>a),yi=(e,r,s=!0)=>[e.schemas===void 0||(typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1||o(s,{path:r+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.schemas}))&&Bo(e.schemas,r+".schemas",s)||o(s,{path:r+".schemas",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.schemas}),e.securitySchemes===void 0||(typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes}))&&gi(e.securitySchemes,r+".securitySchemes",s)||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes})].every(a=>a),Bo=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:d}))&&rr(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:d})}).every(a=>a)].every(a=>a),zo=(e,r,s=!0)=>[typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean"||o(s,{path:r+'["const"]',expected:"(boolean | number | string)",value:e.const}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),$o=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="boolean"||o(s,{path:r+'["default"]',expected:"(boolean | undefined)",value:e.default}),e.type==="boolean"||o(s,{path:r+".type",expected:'"boolean"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),qo=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="number"&&(Math.floor(e.default)===e.default&&-9223372036854776e3<=e.default&&e.default<=9223372036854776e3||o(s,{path:r+'["default"]',expected:'number & Type<"int64">',value:e.default}))||o(s,{path:r+'["default"]',expected:'((number & Type<"int64">) | undefined)',value:e.default}),e.minimum===void 0||typeof e.minimum=="number"&&(Math.floor(e.minimum)===e.minimum&&-9223372036854776e3<=e.minimum&&e.minimum<=9223372036854776e3||o(s,{path:r+".minimum",expected:'number & Type<"int64">',value:e.minimum}))||o(s,{path:r+".minimum",expected:'((number & Type<"int64">) | undefined)',value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"&&(Math.floor(e.maximum)===e.maximum&&-9223372036854776e3<=e.maximum&&e.maximum<=9223372036854776e3||o(s,{path:r+".maximum",expected:'number & Type<"int64">',value:e.maximum}))||o(s,{path:r+".maximum",expected:'((number & Type<"int64">) | undefined)',value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(Math.floor(e.multipleOf)===e.multipleOf&&0<=e.multipleOf&&e.multipleOf<=18446744073709552e3||o(s,{path:r+".multipleOf",expected:'number & Type<"uint64">',value:e.multipleOf}))&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:'((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',value:e.multipleOf}),e.type==="integer"||o(s,{path:r+".type",expected:'"integer"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Fo=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="number"||o(s,{path:r+'["default"]',expected:"(number | undefined)",value:e.default}),e.minimum===void 0||typeof e.minimum=="number"||o(s,{path:r+".minimum",expected:"(number | undefined)",value:e.minimum}),e.maximum===void 0||typeof e.maximum=="number"||o(s,{path:r+".maximum",expected:"(number | undefined)",value:e.maximum}),e.exclusiveMinimum===void 0||typeof e.exclusiveMinimum=="boolean"||o(s,{path:r+".exclusiveMinimum",expected:"(boolean | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="boolean"||o(s,{path:r+".exclusiveMaximum",expected:"(boolean | undefined)",value:e.exclusiveMaximum}),e.multipleOf===void 0||typeof e.multipleOf=="number"&&(0<e.multipleOf||o(s,{path:r+".multipleOf",expected:"number & ExclusiveMinimum<0>",value:e.multipleOf}))||o(s,{path:r+".multipleOf",expected:"((number & ExclusiveMinimum<0>) | undefined)",value:e.multipleOf}),e.type==="number"||o(s,{path:r+".type",expected:'"number"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Yo=(e,r,s=!0)=>[e.default===void 0||typeof e.default=="string"||o(s,{path:r+'["default"]',expected:"(string | undefined)",value:e.default}),e.format===void 0||typeof e.format=="string"||o(s,{path:r+".format",expected:"(string | undefined)",value:e.format}),e.pattern===void 0||typeof e.pattern=="string"||o(s,{path:r+".pattern",expected:"(string | undefined)",value:e.pattern}),e.contentMediaType===void 0||typeof e.contentMediaType=="string"||o(s,{path:r+".contentMediaType",expected:"(string | undefined)",value:e.contentMediaType}),e.minLength===void 0||typeof e.minLength=="number"&&(Math.floor(e.minLength)===e.minLength&&0<=e.minLength&&e.minLength<=18446744073709552e3||o(s,{path:r+".minLength",expected:'number & Type<"uint64">',value:e.minLength}))||o(s,{path:r+".minLength",expected:'((number & Type<"uint64">) | undefined)',value:e.minLength}),e.maxLength===void 0||typeof e.maxLength=="number"&&(Math.floor(e.maxLength)===e.maxLength&&0<=e.maxLength&&e.maxLength<=18446744073709552e3||o(s,{path:r+".maxLength",expected:'number & Type<"uint64">',value:e.maxLength}))||o(s,{path:r+".maxLength",expected:'((number & Type<"uint64">) | undefined)',value:e.maxLength}),e.type==="string"||o(s,{path:r+".type",expected:'"string"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Go=(e,r,s=!0)=>[(typeof e.items=="object"&&e.items!==null&&Array.isArray(e.items)===!1||o(s,{path:r+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.items}))&&rr(e.items,r+".items",s)||o(s,{path:r+".items",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.items}),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Zo=(e,r,s=!0)=>[e.type==="array"||o(s,{path:r+".type",expected:'"array"',value:e.type}),(Array.isArray(e.prefixItems)||o(s,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}))&&e.prefixItems.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".prefixItems["+d+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a}))&&rr(a,r+".prefixItems["+d+"]",s)||o(s,{path:r+".prefixItems["+d+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".prefixItems",expected:"Array<OpenApi.IJsonSchema>",value:e.prefixItems}),(e.additionalItems!==null||o(s,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&(e.additionalItems===void 0||typeof e.additionalItems=="boolean"||(typeof e.additionalItems=="object"&&e.additionalItems!==null&&Array.isArray(e.additionalItems)===!1||o(s,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems}))&&rr(e.additionalItems,r+".additionalItems",s)||o(s,{path:r+".additionalItems",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalItems})),e.uniqueItems===void 0||typeof e.uniqueItems=="boolean"||o(s,{path:r+".uniqueItems",expected:"(boolean | undefined)",value:e.uniqueItems}),e.minItems===void 0||typeof e.minItems=="number"&&(Math.floor(e.minItems)===e.minItems&&0<=e.minItems&&e.minItems<=18446744073709552e3||o(s,{path:r+".minItems",expected:'number & Type<"uint64">',value:e.minItems}))||o(s,{path:r+".minItems",expected:'((number & Type<"uint64">) | undefined)',value:e.minItems}),e.maxItems===void 0||typeof e.maxItems=="number"&&(Math.floor(e.maxItems)===e.maxItems&&0<=e.maxItems&&e.maxItems<=18446744073709552e3||o(s,{path:r+".maxItems",expected:'number & Type<"uint64">',value:e.maxItems}))||o(s,{path:r+".maxItems",expected:'((number & Type<"uint64">) | undefined)',value:e.maxItems}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Wo=(e,r,s=!0)=>[e.properties===void 0||(typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1||o(s,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}))&&Bo(e.properties,r+".properties",s)||o(s,{path:r+".properties",expected:"(Record<string, OpenApi.IJsonSchema> | undefined)",value:e.properties}),(e.additionalProperties!==null||o(s,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&(e.additionalProperties===void 0||typeof e.additionalProperties=="boolean"||(typeof e.additionalProperties=="object"&&e.additionalProperties!==null&&Array.isArray(e.additionalProperties)===!1||o(s,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties}))&&rr(e.additionalProperties,r+".additionalProperties",s)||o(s,{path:r+".additionalProperties",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",value:e.additionalProperties})),e.required===void 0||(Array.isArray(e.required)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}))&&e.required.map((a,d)=>typeof a=="string"||o(s,{path:r+".required["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".required",expected:"(Array<string> | undefined)",value:e.required}),e.type==="object"||o(s,{path:r+".type",expected:'"object"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ho=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),vi=(e,r,s=!0)=>[(Array.isArray(e.oneOf)||o(s,{path:r+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:e.oneOf}))&&e.oneOf.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a}))&&Ti(a,r+".oneOf["+d+"]",s)||o(s,{path:r+".oneOf["+d+"]",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:a})).every(a=>a)||o(s,{path:r+".oneOf",expected:"Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",value:e.oneOf}),e.discriminator===void 0||(typeof e.discriminator=="object"&&e.discriminator!==null||o(s,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}))&&Ii(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Qo=(e,r,s=!0)=>[e.default===null||e.default===void 0||o(s,{path:r+'["default"]',expected:"(null | undefined)",value:e.default}),e.type==="null"||o(s,{path:r+".type",expected:'"null"',value:e.type}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ko=(e,r,s=!0)=>[!0,(e.type!==null||o(s,{path:r+".type",expected:"undefined",value:e.type}))&&(e.type===void 0||o(s,{path:r+".type",expected:"undefined",value:e.type})),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples}))&&Q(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Ii=(e,r,s=!0)=>[typeof e.propertyName=="string"||o(s,{path:r+".propertyName",expected:"string",value:e.propertyName}),e.mapping===void 0||(typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping}))&&xe(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),gi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:d}))&&Hi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:d})}).every(a=>a)].every(a=>a),pi=(e,r,s=!0)=>[e.type==="apiKey"||o(s,{path:r+".type",expected:'"apiKey"',value:e.type}),e.in===void 0||e.in==="header"||e.in==="query"||e.in==="cookie"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "query" | undefined)',value:e.in}),e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Ai=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="basic"||o(s,{path:r+".scheme",expected:'"basic"',value:e.scheme}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),hi=(e,r,s=!0)=>[e.type==="http"||o(s,{path:r+".type",expected:'"http"',value:e.type}),e.scheme==="bearer"||o(s,{path:r+".scheme",expected:'"bearer"',value:e.scheme}),e.bearerFormat===void 0||typeof e.bearerFormat=="string"||o(s,{path:r+".bearerFormat",expected:"(string | undefined)",value:e.bearerFormat}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Oi=(e,r,s=!0)=>[e.type==="oauth2"||o(s,{path:r+".type",expected:'"oauth2"',value:e.type}),(typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1||o(s,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}))&&ui(e.flows,r+".flows",s)||o(s,{path:r+".flows",expected:"OpenApi.ISecurityScheme.IOAuth2.IFlowSet",value:e.flows}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),ui=(e,r,s=!0)=>[e.authorizationCode===void 0||(typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1||o(s,{path:r+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}))&&Si(e.authorizationCode,r+".authorizationCode",s)||o(s,{path:r+".authorizationCode",expected:"(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",value:e.authorizationCode}),e.implicit===void 0||(typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1||o(s,{path:r+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}))&&xi(e.implicit,r+".implicit",s)||o(s,{path:r+".implicit",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',value:e.implicit}),e.password===void 0||(typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1||o(s,{path:r+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}))&&Xo(e.password,r+".password",s)||o(s,{path:r+".password",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.password}),e.clientCredentials===void 0||(typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials}))&&Xo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),Si=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),xi=(e,r,s=!0)=>[e.authorizationUrl===void 0||typeof e.authorizationUrl=="string"||o(s,{path:r+".authorizationUrl",expected:"(string | undefined)",value:e.authorizationUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Xo=(e,r,s=!0)=>[e.tokenUrl===void 0||typeof e.tokenUrl=="string"||o(s,{path:r+".tokenUrl",expected:"(string | undefined)",value:e.tokenUrl}),e.refreshUrl===void 0||typeof e.refreshUrl=="string"||o(s,{path:r+".refreshUrl",expected:"(string | undefined)",value:e.refreshUrl}),e.scopes===void 0||(typeof e.scopes=="object"&&e.scopes!==null&&Array.isArray(e.scopes)===!1||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes}))&&xe(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Vi=(e,r,s=!0)=>[e.type==="openIdConnect"||o(s,{path:r+".type",expected:'"openIdConnect"',value:e.type}),typeof e.openIdConnectUrl=="string"||o(s,{path:r+".openIdConnectUrl",expected:"string",value:e.openIdConnectUrl}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),_o=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApi.IPath",value:d}))&&ji(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IPath",value:d})}).every(a=>a)].every(a=>a),ji=(e,r,s=!0)=>[e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApi.IServer",value:a}))&&Is(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.get===void 0||(typeof e.get=="object"&&e.get!==null&&Array.isArray(e.get)===!1||o(s,{path:r+".get",expected:"(OpenApi.IOperation | undefined)",value:e.get}))&&We(e.get,r+".get",s)||o(s,{path:r+".get",expected:"(OpenApi.IOperation | undefined)",value:e.get}),e.post===void 0||(typeof e.post=="object"&&e.post!==null&&Array.isArray(e.post)===!1||o(s,{path:r+".post",expected:"(OpenApi.IOperation | undefined)",value:e.post}))&&We(e.post,r+".post",s)||o(s,{path:r+".post",expected:"(OpenApi.IOperation | undefined)",value:e.post}),e.put===void 0||(typeof e.put=="object"&&e.put!==null&&Array.isArray(e.put)===!1||o(s,{path:r+".put",expected:"(OpenApi.IOperation | undefined)",value:e.put}))&&We(e.put,r+".put",s)||o(s,{path:r+".put",expected:"(OpenApi.IOperation | undefined)",value:e.put}),e.delete===void 0||(typeof e.delete=="object"&&e.delete!==null&&Array.isArray(e.delete)===!1||o(s,{path:r+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:e.delete}))&&We(e.delete,r+'["delete"]',s)||o(s,{path:r+'["delete"]',expected:"(OpenApi.IOperation | undefined)",value:e.delete}),e.options===void 0||(typeof e.options=="object"&&e.options!==null&&Array.isArray(e.options)===!1||o(s,{path:r+".options",expected:"(OpenApi.IOperation | undefined)",value:e.options}))&&We(e.options,r+".options",s)||o(s,{path:r+".options",expected:"(OpenApi.IOperation | undefined)",value:e.options}),e.head===void 0||(typeof e.head=="object"&&e.head!==null&&Array.isArray(e.head)===!1||o(s,{path:r+".head",expected:"(OpenApi.IOperation | undefined)",value:e.head}))&&We(e.head,r+".head",s)||o(s,{path:r+".head",expected:"(OpenApi.IOperation | undefined)",value:e.head}),e.patch===void 0||(typeof e.patch=="object"&&e.patch!==null&&Array.isArray(e.patch)===!1||o(s,{path:r+".patch",expected:"(OpenApi.IOperation | undefined)",value:e.patch}))&&We(e.patch,r+".patch",s)||o(s,{path:r+".patch",expected:"(OpenApi.IOperation | undefined)",value:e.patch}),e.trace===void 0||(typeof e.trace=="object"&&e.trace!==null&&Array.isArray(e.trace)===!1||o(s,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace}))&&We(e.trace,r+".trace",s)||o(s,{path:r+".trace",expected:"(OpenApi.IOperation | undefined)",value:e.trace})].every(a=>a),We=(e,r,s=!0)=>[e.operationId===void 0||typeof e.operationId=="string"||o(s,{path:r+".operationId",expected:"(string | undefined)",value:e.operationId}),e.parameters===void 0||(Array.isArray(e.parameters)||o(s,{path:r+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:e.parameters}))&&e.parameters.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".parameters["+d+"]",expected:"OpenApi.IOperation.IParameter",value:a}))&&ea(a,r+".parameters["+d+"]",s)||o(s,{path:r+".parameters["+d+"]",expected:"OpenApi.IOperation.IParameter",value:a})).every(a=>a)||o(s,{path:r+".parameters",expected:"(Array<OpenApi.IOperation.IParameter> | undefined)",value:e.parameters}),e.requestBody===void 0||(typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1||o(s,{path:r+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:e.requestBody}))&&wi(e.requestBody,r+".requestBody",s)||o(s,{path:r+".requestBody",expected:"(OpenApi.IOperation.IRequestBody | undefined)",value:e.requestBody}),e.responses===void 0||(typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1||o(s,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}))&&bi(e.responses,r+".responses",s)||o(s,{path:r+".responses",expected:"(Record<string, OpenApi.IOperation.IResponse> | undefined)",value:e.responses}),e.servers===void 0||(Array.isArray(e.servers)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}))&&e.servers.map((a,d)=>(typeof a=="object"&&a!==null||o(s,{path:r+".servers["+d+"]",expected:"OpenApi.IServer",value:a}))&&Is(a,r+".servers["+d+"]",s)||o(s,{path:r+".servers["+d+"]",expected:"OpenApi.IServer",value:a})).every(a=>a)||o(s,{path:r+".servers",expected:"(Array<OpenApi.IServer> | undefined)",value:e.servers}),e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.security===void 0||(Array.isArray(e.security)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}))&&e.security.map((a,d)=>(typeof a=="object"&&a!==null&&Array.isArray(a)===!1||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a}))&&Fe(a,r+".security["+d+"]",s)||o(s,{path:r+".security["+d+"]",expected:"Record<string, Array<string>>",value:a})).every(a=>a)||o(s,{path:r+".security",expected:"(Array<Record<string, Array<string>>> | undefined)",value:e.security}),e.tags===void 0||(Array.isArray(e.tags)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}))&&e.tags.map((a,d)=>typeof a=="string"||o(s,{path:r+".tags["+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+".tags",expected:"(Array<string> | undefined)",value:e.tags}),e.deprecated===void 0||typeof e.deprecated=="boolean"||o(s,{path:r+".deprecated",expected:"(boolean | undefined)",value:e.deprecated}),e["x-samchon-human"]===void 0||typeof e["x-samchon-human"]=="boolean"||o(s,{path:r+'["x-samchon-human"]',expected:"(boolean | undefined)",value:e["x-samchon-human"]}),e["x-samchon-accessor"]===void 0||(Array.isArray(e["x-samchon-accessor"])||o(s,{path:r+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:e["x-samchon-accessor"]}))&&e["x-samchon-accessor"].map((a,d)=>typeof a=="string"||o(s,{path:r+'["x-samchon-accessor"]['+d+"]",expected:"string",value:a})).every(a=>a)||o(s,{path:r+'["x-samchon-accessor"]',expected:"(Array<string> | undefined)",value:e["x-samchon-accessor"]}),e["x-samchon-controller"]===void 0||typeof e["x-samchon-controller"]=="string"||o(s,{path:r+'["x-samchon-controller"]',expected:"(string | undefined)",value:e["x-samchon-controller"]})].every(a=>a),ea=(e,r,s=!0)=>[e.name===void 0||typeof e.name=="string"||o(s,{path:r+".name",expected:"(string | undefined)",value:e.name}),e.in==="header"||e.in==="query"||e.in==="cookie"||e.in==="path"||o(s,{path:r+'["in"]',expected:'("cookie" | "header" | "path" | "query")',value:e.in}),(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.schema}))&&rr(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",value:e.schema}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e.title===void 0||typeof e.title=="string"||o(s,{path:r+".title",expected:"(string | undefined)",value:e.title}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&ra(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(a=>a),ra=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApi.IExample",value:d}))&&Ji(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IExample",value:d})}).every(a=>a)].every(a=>a),Ji=(e,r,s=!0)=>[e.summary===void 0||typeof e.summary=="string"||o(s,{path:r+".summary",expected:"(string | undefined)",value:e.summary}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),!0,e.externalValue===void 0||typeof e.externalValue=="string"||o(s,{path:r+".externalValue",expected:"(string | undefined)",value:e.externalValue})].every(a=>a),wi=(e,r,s=!0)=>[e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&sa(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e.required===void 0||typeof e.required=="boolean"||o(s,{path:r+".required",expected:"(boolean | undefined)",value:e.required}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||o(s,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(a=>a),sa=(e,r,s=!0)=>[e["text/plain"]===void 0||(typeof e["text/plain"]=="object"&&e["text/plain"]!==null&&Array.isArray(e["text/plain"])===!1||o(s,{path:r+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["text/plain"]}))&&tr(e["text/plain"],r+'["text/plain"]',s)||o(s,{path:r+'["text/plain"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["text/plain"]}),e["application/json"]===void 0||(typeof e["application/json"]=="object"&&e["application/json"]!==null&&Array.isArray(e["application/json"])===!1||o(s,{path:r+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/json"]}))&&tr(e["application/json"],r+'["application/json"]',s)||o(s,{path:r+'["application/json"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/json"]}),e["application/x-www-form-url-encoded"]===void 0||(typeof e["application/x-www-form-url-encoded"]=="object"&&e["application/x-www-form-url-encoded"]!==null&&Array.isArray(e["application/x-www-form-url-encoded"])===!1||o(s,{path:r+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/x-www-form-url-encoded"]}))&&tr(e["application/x-www-form-url-encoded"],r+'["application/x-www-form-url-encoded"]',s)||o(s,{path:r+'["application/x-www-form-url-encoded"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["application/x-www-form-url-encoded"]}),e["multipart/form-data"]===void 0||(typeof e["multipart/form-data"]=="object"&&e["multipart/form-data"]!==null&&Array.isArray(e["multipart/form-data"])===!1||o(s,{path:r+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["multipart/form-data"]}))&&tr(e["multipart/form-data"],r+'["multipart/form-data"]',s)||o(s,{path:r+'["multipart/form-data"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["multipart/form-data"]}),e["*/*"]===void 0||(typeof e["*/*"]=="object"&&e["*/*"]!==null&&Array.isArray(e["*/*"])===!1||o(s,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}))&&tr(e["*/*"],r+'["*/*"]',s)||o(s,{path:r+'["*/*"]',expected:"(OpenApi.IOperation.IMediaType | undefined)",value:e["*/*"]}),s===!1||Object.keys(e).map(a=>{if(["text/plain","application/json","application/x-www-form-url-encoded","multipart/form-data","*/*"].some(lr=>a===lr))return!0;const d=e[a];return d===void 0?!0:d===void 0||(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:d}))&&tr(d,r+V(a),s)||o(s,{path:r+V(a),expected:"(OpenApi.IOperation.IMediaType | undefined)",value:d})}).every(a=>a)].every(a=>a),tr=(e,r,s=!0)=>[e.schema===void 0||(typeof e.schema=="object"&&e.schema!==null&&Array.isArray(e.schema)===!1||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:e.schema}))&&rr(e.schema,r+".schema",s)||o(s,{path:r+".schema",expected:"(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",value:e.schema}),!0,e.examples===void 0||(typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples}))&&ra(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(a=>a),bi=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"OpenApi.IOperation.IResponse",value:d}))&&Mi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IOperation.IResponse",value:d})}).every(a=>a)].every(a=>a),Mi=(e,r,s=!0)=>[e.headers===void 0||(typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1||o(s,{path:r+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:e.headers}))&&ki(e.headers,r+".headers",s)||o(s,{path:r+".headers",expected:"(Record<string, OpenApi.IOperation.IParameter> | undefined)",value:e.headers}),e.content===void 0||(typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}))&&sa(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(OpenApi.IOperation.IContent | undefined)",value:e.content}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description}),e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"||o(s,{path:r+'["x-nestia-encrypted"]',expected:"(boolean | undefined)",value:e["x-nestia-encrypted"]})].every(a=>a),ki=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>{const d=e[a];return d===void 0?!0:(typeof d=="object"&&d!==null||o(s,{path:r+V(a),expected:"OpenApi.IOperation.IParameter",value:d}))&&ea(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IOperation.IParameter",value:d})}).every(a=>a)].every(a=>a),Ri=(e,r,s=!0)=>[typeof e.name=="string"||o(s,{path:r+".name",expected:"string",value:e.name}),e.description===void 0||typeof e.description=="string"||o(s,{path:r+".description",expected:"(string | undefined)",value:e.description})].every(a=>a),Ce=(e,r,s=!0)=>e.type==="boolean"?Xd(e,r,s):e.type==="number"?et(e,r,s):e.type==="integer"?_d(e,r,s):e.type==="string"?rt(e,r,s):e.type==="array"?st(e,r,s):e.type==="object"?ot(e,r,s):e.$ref!==void 0?at(e,r,s):e["x-anyOf"]!==void 0?nt(e,r,s):e["x-oneOf"]!==void 0?dt(e,r,s):e.type==="null"?tt(e,r,s):lt(e,r,s),Ci=(e,r,s=!0)=>e.type==="boolean"?Xr(e,r,s):e.type==="number"?es(e,r,s):e.type==="integer"?_r(e,r,s):e.type==="string"?rs(e,r,s):e.type==="array"?ss(e,r,s):e.type==="object"?os(e,r,s):e["x-anyOf"]!==void 0?ns(e,r,s):e["x-oneOf"]!==void 0?ds(e,r,s):e.type==="null"?ts(e,r,s):e.schema!==void 0?is(e,r,s):as(e,r,!1)||ls(e,r,!1)||Ot(e,r,!1),Ni=(e,r,s=!0)=>e.type==="boolean"?Xr(e,r,s):e.type==="number"?es(e,r,s):e.type==="integer"?_r(e,r,s):e.type==="string"?rs(e,r,s):e.type==="array"?ss(e,r,s):e.type==="object"?os(e,r,s):e["x-anyOf"]!==void 0?ns(e,r,s):e["x-oneOf"]!==void 0?ds(e,r,s):e.type==="null"?ts(e,r,s):e.schema!==void 0?is(e,r,s):as(e,r,!1)||ls(e,r,!1)||ut(e,r,!1),Ue=(e,r,s=!0)=>e.type==="boolean"?Ct(e,r,s):e.type==="number"?Tt(e,r,s):e.type==="integer"?Nt(e,r,s):e.type==="string"?Lt(e,r,s):e.type==="array"?Pt(e,r,s):e.type==="object"?Et(e,r,s):e.$ref!==void 0?Ut(e,r,s):e.allOf!==void 0?Dt(e,r,s):e.anyOf!==void 0?Bt(e,r,s):e.oneOf!==void 0?zt(e,r,s):e.type==="null"?qt(e,r,s):Ft(e,r,s),oa=(e,r,s=!0)=>e.in!==void 0?Jo(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?cl(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?jo(e,r,s):o(s,{path:r,expected:"(OpenApiV3.IOperation.IParameter | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),Ae=(e,r,s=!0)=>Array.isArray(e.type)&&e.type.map((a,d)=>a==="string"||a==="number"||a==="boolean"||a==="object"||a==="integer"||a==="array"||a==="null").every(a=>a)?Sl(e,r,s):e.type==="boolean"?Vl(e,r,s):e.type==="number"?Jl(e,r,s):e.type==="integer"?jl(e,r,s):e.type==="string"?wl(e,r,s):e.type==="array"?bl(e,r,s):e.type==="object"?Ml(e,r,s):e.$recursiveRef!==void 0?Rl(e,r,s):e.type==="null"?Ll(e,r,s):e.const!==void 0?xl(e,r,s):e.$ref!==void 0?kl(e,r,s):e.allOf!==void 0?Cl(e,r,s):e.anyOf!==void 0?Nl(e,r,s):e.oneOf!==void 0?Tl(e,r,s):Pl(e,r,s),aa=(e,r,s=!0)=>e.in!==void 0?Co(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Ul(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?To(e,r,s):o(s,{path:r,expected:"(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",value:e}),rr=(e,r,s=!0)=>e.const!==void 0?zo(e,r,s):e.type==="boolean"?$o(e,r,s):e.type==="number"?Fo(e,r,s):e.type==="integer"?qo(e,r,s):e.type==="string"?Yo(e,r,s):e.items!==void 0?Go(e,r,s):e.prefixItems!==void 0?Zo(e,r,s):e.type==="object"?Wo(e,r,s):e.$ref!==void 0?Ho(e,r,s):e.oneOf!==void 0?vi(e,r,s):e.type==="null"?Qo(e,r,s):Ko(e,r,s),Ti=(e,r,s=!0)=>e.const!==void 0?zo(e,r,s):e.type==="boolean"?$o(e,r,s):e.type==="number"?Fo(e,r,s):e.type==="integer"?qo(e,r,s):e.type==="string"?Yo(e,r,s):e.items!==void 0?Go(e,r,s):e.prefixItems!==void 0?Zo(e,r,s):e.type==="object"?Wo(e,r,s):e.$ref!==void 0?Ho(e,r,s):e.type==="null"?Qo(e,r,s):Ko(e,r,s),Li=(e,r,s=!0)=>e.type==="boolean"?Xr(e,r,s):e.type==="number"?es(e,r,s):e.type==="integer"?_r(e,r,s):e.type==="string"?rs(e,r,s):e.type==="array"?ss(e,r,s):e.type==="object"?os(e,r,s):e.$ref!==void 0?as(e,r,s):e["x-anyOf"]!==void 0?ns(e,r,s):e["x-oneOf"]!==void 0?ds(e,r,s):e.type==="null"?ts(e,r,s):e.schema!==void 0?is(e,r,s):ls(e,r,s),Pi=(e,r,s=!0)=>e.type==="apiKey"?mt(e,r,s):e.type==="basic"?yt(e,r,s):e.flow==="implicit"?vt(e,r,s):e.flow==="accessCode"?It(e,r,s):e.flow==="application"?pt(e,r,s):e.flow==="password"?gt(e,r,s):o(s,{path:r,expected:"(SwaggerV2.ISecurityDefinition.IApiKey | SwaggerV2.ISecurityDefinition.IBasic | SwaggerV2.ISecurityDefinition.IOauth2Implicit | SwaggerV2.ISecurityDefinition.IOauth2AccessCode | SwaggerV2.ISecurityDefinition.IOauth2Application | SwaggerV2.ISecurityDefinition.IOauth2Password)",value:e}),Ei=(e,r,s=!0)=>e.$ref!==void 0?xt(e,r,s):ho(e,r,s),Ui=(e,r,s=!0)=>e.$ref!==void 0?Zt(e,r,s):xo(e,r,s),Di=(e,r,s=!0)=>e.schema!==void 0?Vo(e,r,s):e.$ref!==void 0?jo(e,r,s):o(s,{path:r,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:e}),Bi=(e,r,s=!0)=>e.type==="apiKey"?Xt(e,r,s):e.scheme==="basic"?_t(e,r,s):e.scheme==="bearer"?el(e,r,s):e.type==="oauth2"?rl(e,r,s):e.type==="openIdConnect"?nl(e,r,s):o(s,{path:r,expected:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:e}),zi=(e,r,s=!0)=>e.$ref!==void 0?fl(e,r,s):wo(e,r,s),$i=(e,r,s=!0)=>e.$ref!==void 0?yl(e,r,s):uo(e,r,s),qi=(e,r,s=!0)=>e.$ref!==void 0?El(e,r,s):No(e,r,s),Fi=(e,r,s=!0)=>e.$ref!==void 0?Bl(e,r,s):Lo(e,r,s),Yi=(e,r,s=!0)=>e.$ref!==void 0?ql(e,r,s):Eo(e,r,s),Gi=(e,r,s=!0)=>e.$ref!==void 0?To(e,r,s):e.schema!==void 0?Uo(e,r,s):o(s,{path:r,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:e}),Zi=(e,r,s=!0)=>e.type==="apiKey"?Wl(e,r,s):e.scheme==="basic"?Hl(e,r,s):e.scheme==="bearer"?Ql(e,r,s):e.type==="oauth2"?Kl(e,r,s):e.type==="openIdConnect"?ri(e,r,s):o(s,{path:r,expected:"(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",value:e}),Wi=(e,r,s=!0)=>e.$ref!==void 0?ni(e,r,s):Ro(e,r,s),Hi=(e,r,s=!0)=>e.type==="apiKey"?pi(e,r,s):e.scheme==="basic"?Ai(e,r,s):e.scheme==="bearer"?hi(e,r,s):e.type==="oauth2"?Oi(e,r,s):e.type==="openIdConnect"?Vi(e,r,s):o(s,{path:r,expected:"(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",value:e}),Qi=(e,r,s=!0)=>e.swagger!==void 0?Wd(e,r,s):e.openapi!==null&&e.openapi!==void 0&&(e.openapi==="3.0"||typeof e.openapi=="string"&&RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi))?jt(e,r,s):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?Il(e,r,s):e["x-samchon-emended"]!==void 0?ti(e,r,s):o(s,{path:r,expected:"(SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument)",value:e}),Ki=e=>typeof e=="object"&&e!==null&&Zd(e);let Cr,o;return e=>{if(Ki(e)===!1){Cr=[],o=lc(Cr),((s,a,d=!0)=>(typeof s=="object"&&s!==null||o(!0,{path:a+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:s}))&&Qi(s,a+"",!0)||o(!0,{path:a+"",expected:"(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",value:s}))(e,"$input",!0);const r=Cr.length===0;return r?{success:r,data:e}:{success:r,errors:Cr,data:e}}return{success:!0,data:e}}})()(n.document);return t.success===!1?t:{success:!0,data:ic.application({model:n.model,document:vc.convert(n.document),options:n.options})}};function Vr(n){"@babel/helpers - typeof";return Vr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vr(n)}function If(n,t){if(Vr(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var c=i.call(n,t);if(Vr(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(n)}function gf(n){var t=If(n,"string");return Vr(t)=="symbol"?t:t+""}function pf(n,t,i){return(t=gf(t))in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function He(n){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?Object(arguments[t]):{},c=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&c.push.apply(c,Object.getOwnPropertySymbols(i).filter(function(l){return Object.getOwnPropertyDescriptor(i,l).enumerable})),c.forEach(function(l){pf(n,l,i[l])})}return n}const Af={default:"#D4D4D4",background:"#1E1E1E",background_warning:"#1E1E1E",string:"#CE8453",number:"#B5CE9F",colon:"#49B8F7",keys:"#9CDCFE",keys_whiteSpace:"#AF74A5",primitive:"#6392C6"},hf={default:"#D4D4D4",background:"#FCFDFD",background_warning:"#FEECEB",string:"#FA7921",number:"#70CE35",colon:"#49B8F7",keys:"#59A5D8",keys_whiteSpace:"#835FB6",primitive:"#386FA4"},us={dark_vscode_tribute:Af,light_mitsuketa_tribute:hf};var Ra={exports:{}};(function(n,t){function i(y,v,h){if(N(v)!=="string"||v==="")return;let A=f(y);var u=x(A,v,h);return u===[]||u===!1||u.forEach(g=>{g===""?g=v:g+="."+v,g=g.split(".");var b=A;Array.isArray(g)||delete b[g];for(var R=0;R<g.length;R++){var $=g[R];if($ in b)R<g.length-1?b=b[$]:delete b[$];else break}}),A}function c(y,v,h){if(N(v)!=="string"||v==="")return;let A=f(y);var u=S(A,v,h);if(u===!1)return A;u===""?u=v:u+="."+v,u=u.split(".");var g=A;return Array.isArray(u)||delete g[u],u.forEach((b,R)=>{R<u.length-1?g=g[b]:delete g[b]}),A}function l(y,v,h,A=null){if(N(v)!=="string"||N(h)!=="string"||v===""||h==="")return;function u(g,b,R,$,X=0){let ne;switch(N(g)){case"array":var se=[];ne=Object.keys(g);for(var ae=0,G=ne.length;ae<G;ae++){let ye=ne[ae],ve=g[ye];se[ye]=u(ve,b,R,$,X+1)}return se;case"object":var ie={};ne=Object.keys(g);for(var ae=0,G=ne.length;ae<G;ae++){let Je=ne[ae],Se=g[Je];($===null||X<$)&&Je===b&&(Je=R),ie[Je]=u(Se,b,R,$,X+1)}return ie;case"string":return""+g;case"number":return 0+g;case"boolean":return!!g;case"null":return null;case"undefined":return}}return u(y,v,h,A,0)}function m(y,v,h,A=null){if(N(v)!=="string"||N(h)!=="string"||v===""||h==="")return;var u=!1;function g(b,R,$,X,ne=0){let se;switch(N(b)){case"array":var ae=[];se=Object.keys(b);for(var G=0,ie=se.length;G<ie;G++){let ve=se[G],Je=b[ve];ae[ve]=g(Je,R,$,X,ne+1)}return ae;case"object":var ye={};se=Object.keys(b);for(var G=0,ie=se.length;G<ie;G++){let Se=se[G],Ir=b[Se];(X===null||ne<X)&&(u||Se===R&&(Se=$,u=!0)),ye[Se]=g(Ir,R,$,X,ne+1)}return ye;case"string":return""+b;case"number":return 0+b;case"boolean":return!!b;case"null":return null;case"undefined":return}}return g(y,v,h,A,0)}function f(y,v=null,h=null){var A=[];function u(g,b,R,$=0){let X;if(R!==null&&$<R){w(g)&&(X=Object.keys(g),X.forEach(ie=>{u(g[ie],b,R,$+1)}));return}if(R!==null&&$==R){if(R==0){A=u(g,b,null,$);return}w(g)&&A.push(u(g,b,R,$+1));return}switch(N(g)){case"array":var ne=[];if(X=Object.keys(g),b===null||$<b)for(var se=0,ae=X.length;se<ae;se++){const ie=X[se],ye=g[ie];ne[ie]=u(ye,b,R,$+1)}return ne;case"object":var G={};if(X=Object.keys(g),b===null||$<b)for(var se=0,ae=X.length;se<ae;se++){const ve=X[se],Je=g[ve];G[ve]=u(Je,b,R,$+1)}return G;case"string":return""+g;case"number":return 0+g;case"boolean":return!!g;case"null":return null;case"undefined":return}}return h===null?u(y,v,h,0):(u(y,v,h,0),A)}function I(y,v,h=null){if(N(v)!=="string"||v==="")return;var A=x(y,v,h);return A===!1?void 0:A.map(g=>{if(g!==!1){g===""?g=v:g+="."+v,g=g.split(".");var b=y;return Array.isArray(g)?(g.forEach(R=>{b=b[R]}),b):b[g]}})}function x(y,v,h=null){if(N(v)!=="string"||v==="")return;var A=[];function u(g,b,R="",$="",X=null,ne=0){R===b&&(A[A.length]=$);var se=!1;if(X!==null&&ne>=X)return se;if(w(g))for(var ae=0,G=Object.keys(g),ie=G.length;ae<ie;ae++){const ye=G[ae],ve=g[ye];u(ve,b,ye,($===""?$:$+".")+ye,X,ne+1)}}return u(y,v,"","",h),A=A.map(g=>(N(g)==="boolean"||g===""||(g=g.split("."),g.pop(),g=g.join(".")),g)),A.length===0?!1:A}function j(y,v,h=null){if(N(v)==="string"&&v!==""){var A=S(y,v,h);if(A!==!1){A===""?A=v:A+="."+v,A=A.split(".");var u=y;return Array.isArray(A)?(A.forEach(g=>{u=u[g]}),u):u[A]}}}function S(y,v,h=null){if(N(v)!=="string"||v==="")return;function A(g,b,R="",$,X=0){if(R===b)return R;var ne=!1;if($!==null&&X>=$)return ne;if(w(g))for(var se=0,ae=Object.keys(g),G=ae.length;se<G;se++){const ie=ae[se],ye=g[ie],ve=A(ye,b,ie,$,X+1);if(ve){R=R===""?R:R+".",ne=R+ve;break}}return ne}var u=A(y,v,"",h,0);return N(u)==="boolean"||u===""||(u=u.split("."),u.pop(),u=u.join(".")),u}function M(y,v,h=null){var A=Oe(y,v,h);return A===!1?!1:A===""?0:(A=A.split("."),A.length)}function Y(y,v=null){let h=0;function A(u,g,b=0){if(h<b&&(h=b),!(g!==null&&b>=g)&&w(u)){var R=Object.keys(u);R.forEach($=>{var X=u[$];A(X,g,b+1)})}}return A(y,v),h}function p(y,v,h=null,A=null){var u,g=h===null,b=A===null;g&&b?u=null:!g&&!b?h<A?u=h:u=A:h?u=h:u=A;var R=re(y,v,u);if(R===!1)return 0;if(h===null)return R.length;if(N(h)==="number"){let $=0;return R.forEach(X=>{X=X.split("."),X.length===h&&$++}),$}}function H(y,v,h,A=null){if(N(v)==="array"){let u=[];return v.forEach(g=>{const b=U(y,g);oe(b)&&ee(b,h,A)&&u.push(g)}),u}if(N(v)==="object"){let u={};return Object.keys(v).forEach(g=>{const b=v[g],R=U(y,b);oe(R)&&ee(R,h,A)&&(u[g]=b)}),u}if(ee(y,h,A))return v}function ee(y,v,h=null){if(v=q(v),z(v))return;function A(u,g,b,R=0){if(J(u,[g]))return z(u[g]);if(b!==null&&R>=b)return!1;if(w(u))for(var $=0,X=Object.keys(u),ne=X.length;$<ne;$++){const se=X[$],ae=u[se];if(A(ae,g,b,R+1))return!0}return!1}return A(y,v,h)}function C(y,v,h,A=null){if(N(v)==="array"){let u=[];return v.forEach(g=>{const b=U(y,g);oe(b)&&k(b,h,A)&&u.push(g)}),u}if(N(v)==="object"){let u={};return Object.keys(v).forEach(g=>{const b=v[g],R=U(y,b);oe(R)&&k(R,h,A)&&(u[g]=b)}),u}if(k(y,h,A))return v}function k(y,v,h=null){if(v=q(v),z(v))return;function A(u,g,b,R=0){if(J(u,[g]))return oe(u[g]);if(b!==null&&R>=b)return!1;if(w(u))for(var $=0,X=Object.keys(u),ne=X.length;$<ne;$++){const se=X[$],ae=u[se];if(A(ae,g,b,R+1))return!0}return!1}return A(y,v,h,0)}function q(y){const v=_(y);return v>1?!1:v===1?Object.keys(y)[0]:v===0&&["string","number"].indexOf(N(y))>-1?y:!1}function oe(y){return!z(y)}function z(y){return fe(y)===!1}function fe(y){return w(y)?y:["null","undefined"].indexOf(N(y))>-1||["",0,!1].indexOf(y)>-1?!1:y}function _(y){return["array","object"].indexOf(N(y))===-1?0:Object.keys(y).length}function Ie(y,v,h=null){if(N(v)==="array"){let A=[];return v.forEach(u=>{P(y,u,h)||A.push(u)}),A}if(N(v)==="object"){let A={};return Object.keys(v).forEach(u=>{let g=v[u];P(y,g,h)||(A[u]=g)}),A}if(!P(y,v,h))return v}function F(y,v,h=null){if(N(v)==="array"){let A=[];return v.forEach(u=>{P(y,u,h)&&A.push(u)}),A}if(N(v)==="object"){let A={};return Object.keys(v).forEach(u=>{let g=v[u];P(y,g,h)&&(A[u]=g)}),A}if(P(y,v,h))return v}function P(y,v,h=null,A=0){if(O(y,v))return!0;if(w(v)&&E(y,v)&&J(y,Object.keys(v))){const R=ge(y,Object.keys(v));if(O(R,v))return!0}if((h===null||A<h)&&w(y))for(var u=0,g=Object.keys(y),b=g.length;u<b;u++){const R=g[u],$=y[R];if(P($,v,h,A+1))return!0}return!1}function U(y,v,h=null){var A=re(y,v,h);return A===!1?void 0:A.map(g=>{if(g==="")return y;g=g.split("."),["array","object"].indexOf(N(v))===-1&&g.splice(-1,1);var b=y;return Array.isArray(g)?(g.forEach(R=>{b=b[R]}),b):b[g]})}function re(y,v,h=null){var A=[];function u(g,b,R="",$,X){if(w(b)&&E(g,b)&&J(g,Object.keys(b))){const ie=ge(g,Object.keys(b));O(ie,b)&&(A[A.length]=R)}O(g,b)&&(A[A.length]=R);var ne=!1;if($!==null&&X>=$)return ne;if(w(g))for(var se=0,ae=Object.keys(g),G=ae.length;se<G;se++){const ie=ae[se],ye=g[ie];u(ye,b,(R===""?R:R+".")+ie,$,X+1)}}return u(y,v,"",h,0),A.length===0?!1:A}function ue(y,v,h=null){var A=Oe(y,v,h);if(A!==!1){if(A==="")return y;A=A.split("."),["array","object"].indexOf(N(v))===-1&&A.splice(-1,1);var u=y;return Array.isArray(A)?(A.forEach(g=>{u=u[g]}),u):u[A]}}function Oe(y,v,h=null){function A(u,g,b="",R,$){if(w(g)&&E(u,g)&&J(u,Object.keys(g))){const G=ge(u,Object.keys(g));if(O(G,g))return b}if(O(u,g))return b;var X=!1;if(R!==null&&$>=R)return X;if(w(u))for(var ne=0,se=Object.keys(u),ae=se.length;ne<ae;ne++){const G=se[ne],ie=u[G],ye=A(ie,g,G,R,$+1);if(ye){b=b===""?b:b+".",X=b+ye;break}}return X}return A(y,v,"",h,0)}function ge(y,v){const h=N(y);if(!(["array","object"].indexOf(h)===-1||v.length===0)){var u;switch(h){case"object":u={},v.forEach(g=>{g in y&&(u[g]=y[g])});break;case"array":u=[],v.forEach(g=>{g in y&&u.push(y[g])});break}return u}}function J(y,v){const h=v.length;if(h===0||!w(y))return!1;const A=Object.keys(y);for(var u=!0,g=0;g<h;g++){const b=""+v[g];if(A.indexOf(b)===-1){u=!1;break}}return u}function w(y){return!(["array","object"].indexOf(N(y))===-1||Object.keys(y).length===0)}function O(y,v){const h=L(y,v);if(h===!1)return h;if(["array","object"].indexOf(h)===-1)return y===v;const A=Object.keys(y),u=A.length;for(var g=!0,b=0;b<u;b++){const R=A[b],$=O(y[R],v[R]);if($===!1){g=$;break}}return g}function L(y,v){const h=E(y,v);if(h===!1)return!1;if(["array","object"].indexOf(h)>-1){const u=Object.keys(y),g=Object.keys(v),b=u.length,R=g.length;if(b!==R)return!1;if(b===0)return!0;for(var A=0;A<b;A++)if(u[A]!==g[A])return!1}return h}function E(y,v){const h=N(y);return h===N(v)?h:!1}function N(y){if(y===null)return"null";const v=typeof y;return v==="object"&&Array.isArray(y)?"array":v}var T={getType:function(y){return N(y)},sameType:function(y,v){return E(y,v)},sameStructure:function(y,v){return L(y,v)},identical:function(y,v){return O(y,v)},isIterable:function(y){return w(y)},containsKeys:function(y,v){return J(y,v)},trim:function(y,v){return ge(y,v)},locate:function(y,v,h){return Oe(y,v,h)},deepGet:function(y,v,h){return ue(y,v,h)},locateAll:function(y,v,h){return re(y,v,h)},deepFilter:function(y,v,h){return U(y,v,h)},exists:function(y,v,h){return P(y,v,h)},onlyExisting:function(y,v,h){return F(y,v,h)},onlyMissing:function(y,v,h){return Ie(y,v,h)},length:function(y){return _(y)},isFalsy:function(y){return z(y)},isTruthy:function(y){return oe(y)},foundTruthy:function(y,v,h){return k(y,v,h)},onlyTruthy:function(y,v,h,A){return C(y,v,h,A)},foundFalsy:function(y,v,h){return ee(y,v,h)},onlyFalsy:function(y,v,h,A){return H(y,v,h,A)},countMatches:function(y,v,h,A){return p(y,v,h,A)},matchDepth:function(y,v,h){return M(y,v,h)},maxDepth:function(y,v){return Y(y,v)},locate_Key:function(y,v,h){return S(y,v,h)},deepGet_Key:function(y,v,h){return j(y,v,h)},locateAll_Key:function(y,v,h){return x(y,v,h)},deepFilter_Key:function(y,v,h){return I(y,v,h)},deepClone:function(y,v,h){return f(y,v,h)},renameKey:function(y,v,h,A){return m(y,v,h,A)},renameKeys:function(y,v,h,A){return l(y,v,h,A)},deepRemove_Key:function(y,v,h){return c(y,v,h)},deepRemoveAll_Key:function(y,v,h){return i(y,v,h)}};n.exports=T})(Ra);var mr=Ra.exports;const ce={getCaller:(n=1)=>{var i=new Error().stack.replace(/^Error\s+/,"");return i=i.split(`
2
- `)[n],i=i.replace(/^\s+at Object./,"").replace(/^\s+at /,"").replace(/ \(.+\)$/,""),i},throwError:(n="unknown function",t="unknown parameter",i="to be defined")=>{throw["@",n,"(): Expected parameter '",t,"' ",i].join("")},isUndefined:(n="<unknown parameter>",t)=>{[null,void 0].indexOf(t)>-1&&ce.throwError(ce.getCaller(2),n)},isFalsy:(n="<unknown parameter>",t)=>{t||ce.throwError(ce.getCaller(2),n)},isNoneOf:(n="<unknown parameter>",t,i=[])=>{i.indexOf(t)===-1&&ce.throwError(ce.getCaller(2),n,"to be any of"+JSON.stringify(i))},isAnyOf:(n="<unknown parameter>",t,i=[])=>{i.indexOf(t)>-1&&ce.throwError(ce.getCaller(2),n,"not to be any of"+JSON.stringify(i))},isNotType:(n="<unknown parameter>",t,i="")=>{mr.getType(t)!==i.toLowerCase()&&ce.throwError(ce.getCaller(2),n,"to be type "+i.toLowerCase())},isAnyTypeOf:(n="<unknown parameter>",t,i=[])=>{i.forEach(c=>{mr.getType(t)===c&&ce.throwError(ce.getCaller(2),n,"not to be type of "+c.toLowerCase())})},missingKey:(n="<unknown parameter>",t,i="")=>{ce.isUndefined(n,t),Object.keys(t).indexOf(i)===-1&&ce.throwError(ce.getCaller(2),n,"to contain '"+i+"' key")},missingAnyKeys:(n="<unknown parameter>",t,i=[""])=>{ce.isUndefined(n,t);const c=Object.keys(t);i.forEach(l=>{c.indexOf(l)===-1&&ce.throwError(ce.getCaller(2),n,"to contain '"+l+"' key")})},containsUndefined:(n="<unknown parameter>",t)=>{[void 0,null].forEach(i=>{const c=mr.locate(t,i);c&&ce.throwError(ce.getCaller(2),n,"not to contain '"+JSON.stringify(i)+"' at "+c)})},isInvalidPath:(n="<unknown parameter>",t)=>{ce.isUndefined(n,t),ce.isNotType(n,t,"string"),ce.isAnyOf(n,t,["","/"]),".$[]#".split().forEach(i=>{t.indexOf(i)>-1&&ce.throwError(ce.getCaller(2),n,"not to contain invalid character '"+i+"'")}),t.match(/\/{2,}/g)&&ce.throwError(ce.getCaller(2),n,"not to contain consecutive forward slash characters")},isInvalidWriteData:(n="<unknown parameter>",t)=>{ce.isUndefined(n,t),ce.containsUndefined(n,t)}},Of=n=>Array.isArray(n)?n.join(", "):typeof n=="string"?n:""+n,te=(n,t)=>t?Object.keys(t).reduce((i,c)=>i.replace(new RegExp(`\\{${c}\\}`,"gi"),Of(t[c])),n):n,va={format:"{reason} at line {line}",symbols:{colon:"colon",comma:"comma"},types:{key:"key",value:"value"},invalidToken:{tokenSequence:{prohibited:"'{firstToken}' token cannot be followed by '{secondToken}' token(s)",permitted:"'{firstToken}' token can only be followed by '{secondToken}' token(s)"},termSequence:{prohibited:"A {firstTerm} cannot be followed by a {secondTerm}",permitted:"A {firstTerm} can only be followed by a {secondTerm}"},double:"'{token}' token cannot be followed by another '{token}' token",useInstead:"'{badToken}' token is not accepted. Use '{goodToken}' instead",unexpected:"Unexpected '{token}' token found"},brace:{curly:{missingOpen:"Missing '{' open curly brace",missingClose:"Open '{' curly brace is missing closing '}' curly brace",cannotWrap:"'{token}' token cannot be wrapped in '{}' curly braces"},square:{missingOpen:"Missing '[' open square brace",missingClose:"Open '[' square brace is missing closing ']' square brace",cannotWrap:"'{token}' token cannot be wrapped in '[]' square braces"}},string:{missingOpen:"Missing/invalid opening string '{quote}' token",missingClose:"Missing/invalid closing string '{quote}' token",mustBeWrappedByQuotes:"Strings must be wrapped by quotes",nonAlphanumeric:"Non-alphanumeric token '{token}' is not allowed outside string notation",unexpectedKey:"Unexpected key found at string position"},key:{numberAndLetterMissingQuotes:"Key beginning with number and containing letters must be wrapped by quotes",spaceMissingQuotes:"Key containing space must be wrapped by quotes",unexpectedString:"Unexpected string found at key position"},noTrailingOrLeadingComma:"Trailing or leading commas in arrays and objects are not permitted"};/** @license react-json-editor-ajrm v2.5.14
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */class uf extends le.Component{constructor(t){super(t),this.updateInternalProps=this.updateInternalProps.bind(this),this.createMarkup=this.createMarkup.bind(this),this.onClick=this.onClick.bind(this),this.onBlur=this.onBlur.bind(this),this.update=this.update.bind(this),this.getCursorPosition=this.getCursorPosition.bind(this),this.setCursorPosition=this.setCursorPosition.bind(this),this.scheduledUpdate=this.scheduledUpdate.bind(this),this.setUpdateTime=this.setUpdateTime.bind(this),this.renderLabels=this.renderLabels.bind(this),this.newSpan=this.newSpan.bind(this),this.renderErrorMessage=this.renderErrorMessage.bind(this),this.onScroll=this.onScroll.bind(this),this.showPlaceholder=this.showPlaceholder.bind(this),this.tokenize=this.tokenize.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onPaste=this.onPaste.bind(this),this.stopEvent=this.stopEvent.bind(this),this.refContent=null,this.refLabels=null,this.updateInternalProps(),this.renderCount=1,this.state={prevPlaceholder:"",markupText:"",plainText:"",json:"",jsObject:void 0,lines:!1,error:!1},this.props.locale||console.warn("[react-json-editor-ajrm - Deprecation Warning] You did not provide a 'locale' prop for your JSON input - This will be required in a future version. English has been set as a default.")}updateInternalProps(){let t={},i={},c=us.dark_vscode_tribute;"theme"in this.props&&typeof this.props.theme=="string"&&this.props.theme in us&&(c=us[this.props.theme]),t=c,"colors"in this.props&&(t={default:"default"in this.props.colors?this.props.colors.default:t.default,string:"string"in this.props.colors?this.props.colors.string:t.string,number:"number"in this.props.colors?this.props.colors.number:t.number,colon:"colon"in this.props.colors?this.props.colors.colon:t.colon,keys:"keys"in this.props.colors?this.props.colors.keys:t.keys,keys_whiteSpace:"keys_whiteSpace"in this.props.colors?this.props.colors.keys_whiteSpace:t.keys_whiteSpace,primitive:"primitive"in this.props.colors?this.props.colors.primitive:t.primitive,error:"error"in this.props.colors?this.props.colors.error:t.error,background:"background"in this.props.colors?this.props.colors.background:t.background,background_warning:"background_warning"in this.props.colors?this.props.colors.background_warning:t.background_warning}),this.colors=t,"style"in this.props?i={outerBox:"outerBox"in this.props.style?this.props.style.outerBox:{},container:"container"in this.props.style?this.props.style.container:{},warningBox:"warningBox"in this.props.style?this.props.style.warningBox:{},errorMessage:"errorMessage"in this.props.style?this.props.style.errorMessage:{},body:"body"in this.props.style?this.props.style.body:{},labelColumn:"labelColumn"in this.props.style?this.props.style.labelColumn:{},labels:"labels"in this.props.style?this.props.style.labels:{},contentBox:"contentBox"in this.props.style?this.props.style.contentBox:{}}:i={outerBox:{},container:{},warningBox:{},errorMessage:{},body:{},labelColumn:{},labels:{},contentBox:{}},this.style=i,this.confirmGood="confirmGood"in this.props?this.props.confirmGood:!0;const l=this.props.height||"610px",m=this.props.width||"479px";this.totalHeight=l,this.totalWidth=m,!("onKeyPressUpdate"in this.props)||this.props.onKeyPressUpdate?this.timer||(this.timer=setInterval(this.scheduledUpdate,100)):this.timer&&(clearInterval(this.timer),this.timer=!1),this.updateTime=!1,this.waitAfterKeyPress="waitAfterKeyPress"in this.props?this.props.waitAfterKeyPress:1e3,this.resetConfiguration="reset"in this.props?this.props.reset:!1}render(){const t=this.props.id,i=this.state.markupText,c=this.props.error||this.state.error,l=this.colors,m=this.style,f=this.confirmGood,I=this.totalHeight,x=this.totalWidth,j=!!this.props.error||(c?"token"in c:!1);return this.renderCount++,B.createElement("div",{name:"outer-box",id:t&&t+"-outer-box",style:He({display:"block",overflow:"none",height:I,width:x,margin:0,boxSizing:"border-box",position:"relative"},m.outerBox)},f?B.createElement("div",{style:{opacity:j?0:1,height:"30px",width:"30px",position:"absolute",top:0,right:0,transform:"translate(-25%,25%)",pointerEvents:"none",transitionDuration:"0.2s",transitionTimingFunction:"cubic-bezier(0, 1, 0.5, 1)"}},B.createElement("svg",{height:"30px",width:"30px",viewBox:"0 0 100 100"},B.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"green",opacity:"0.85",d:"M39.363,79L16,55.49l11.347-11.419L39.694,56.49L72.983,23L84,34.085L39.363,79z"}))):void 0,B.createElement("div",{name:"container",id:t&&t+"-container",style:He({display:"block",height:I,width:x,margin:0,boxSizing:"border-box",overflow:"hidden",fontFamily:"Roboto, sans-serif"},m.container),onClick:this.onClick},B.createElement("div",{name:"warning-box",id:t&&t+"-warning-box",style:He({display:"block",overflow:"hidden",height:j?"60px":"0px",width:"100%",margin:0,backgroundColor:l.background_warning,transitionDuration:"0.2s",transitionTimingFunction:"cubic-bezier(0, 1, 0.5, 1)"},m.warningBox),onClick:this.onClick},B.createElement("span",{style:{display:"inline-block",height:"60px",width:"60px",margin:0,boxSizing:"border-box",overflow:"hidden",verticalAlign:"top",pointerEvents:"none"},onClick:this.onClick},B.createElement("div",{style:{position:"relative",top:0,left:0,height:"60px",width:"60px",margin:0,pointerEvents:"none"},onClick:this.onClick},B.createElement("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",pointerEvents:"none"},onClick:this.onClick},B.createElement("svg",{height:"25px",width:"25px",viewBox:"0 0 100 100"},B.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"red",d:"M73.9,5.75c0.467-0.467,1.067-0.7,1.8-0.7c0.7,0,1.283,0.233,1.75,0.7l16.8,16.8 c0.467,0.5,0.7,1.084,0.7,1.75c0,0.733-0.233,1.334-0.7,1.801L70.35,50l23.9,23.95c0.5,0.467,0.75,1.066,0.75,1.8 c0,0.667-0.25,1.25-0.75,1.75l-16.8,16.75c-0.534,0.467-1.117,0.7-1.75,0.7s-1.233-0.233-1.8-0.7L50,70.351L26.1,94.25 c-0.567,0.467-1.167,0.7-1.8,0.7c-0.667,0-1.283-0.233-1.85-0.7L5.75,77.5C5.25,77,5,76.417,5,75.75c0-0.733,0.25-1.333,0.75-1.8 L29.65,50L5.75,26.101C5.25,25.667,5,25.066,5,24.3c0-0.666,0.25-1.25,0.75-1.75l16.8-16.8c0.467-0.467,1.05-0.7,1.75-0.7 c0.733,0,1.333,0.233,1.8,0.7L50,29.65L73.9,5.75z"}))))),B.createElement("span",{style:{display:"inline-block",height:"60px",width:"calc(100% - 60px)",margin:0,overflow:"hidden",verticalAlign:"top",position:"absolute",pointerEvents:"none"},onClick:this.onClick},this.renderErrorMessage())),B.createElement("div",{name:"body",id:t&&t+"-body",style:He({display:"flex",overflow:"none",height:j?"calc(100% - 60px)":"100%",width:"",margin:0,resize:"none",fontFamily:"Roboto Mono, Monaco, monospace",fontSize:"11px",backgroundColor:l.background,transitionDuration:"0.2s",transitionTimingFunction:"cubic-bezier(0, 1, 0.5, 1)"},m.body),onClick:this.onClick},B.createElement("span",{name:"labels",id:t&&t+"-labels",ref:S=>this.refLabels=S,style:He({display:"inline-block",boxSizing:"border-box",verticalAlign:"top",height:"100%",width:"44px",margin:0,padding:"5px 0px 5px 10px",overflow:"hidden",color:"#D4D4D4"},m.labelColumn),onClick:this.onClick},this.renderLabels()),B.createElement("span",{id:t,ref:S=>this.refContent=S,contentEditable:!0,style:He({display:"inline-block",boxSizing:"border-box",verticalAlign:"top",height:"100%",width:"",flex:1,margin:0,padding:"5px",overflowX:"hidden",overflowY:"auto",wordWrap:"break-word",whiteSpace:"pre-line",color:"#D4D4D4",outline:"none"},m.contentBox),dangerouslySetInnerHTML:this.createMarkup(i),onKeyPress:this.onKeyPress,onKeyDown:this.onKeyDown,onClick:this.onClick,onBlur:this.onBlur,onScroll:this.onScroll,onPaste:this.onPaste,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1}))))}renderErrorMessage(){const t=this.props.locale||va,i=this.props.error||this.state.error,c=this.style;if(i)return B.createElement("p",{style:He({color:"red",fontSize:"12px",position:"absolute",width:"calc(100% - 60px)",height:"60px",boxSizing:"border-box",margin:0,padding:0,paddingRight:"10px",overflowWrap:"break-word",display:"flex",flexDirection:"column",justifyContent:"center"},c.errorMessage)},te(t.format,i))}renderLabels(){const t=this.colors,i=this.style,c=this.props.error||this.state.error,l=c?c.line:-1,m=this.state.lines?this.state.lines:1;let f=new Array(m);for(var I=0;I<m-1;I++)f[I]=I+1;return f.map(x=>{const j=x!==l?t.default:"red";return B.createElement("div",{key:x,style:He({},i.labels,{color:j})},x)})}createMarkup(t){return t===void 0?{__html:""}:{__html:""+t}}newSpan(t,i,c){let l=this.colors,m=i.type,f=i.string,I="";switch(m){case"string":case"number":case"primitive":case"error":I=l[i.type];break;case"key":f===" "?I=l.keys_whiteSpace:I=l.keys;break;case"symbol":f===":"?I=l.colon:I=l.default;break;default:I=l.default;break}return f.length!==f.replace(/</g,"").replace(/>/g,"").length&&(f="<xmp style=display:inline;>"+f+"</xmp>"),'<span type="'+m+'" value="'+f+'" depth="'+c+'" style="color:'+I+'">'+f+"</span>"}getCursorPosition(t){const i=I=>{for(;I!==null;){if(I===this.refContent)return!0;I=I.parentNode}return!1};let c=window.getSelection(),l=-1,m=0,f;if(c.focusNode&&i(c.focusNode)){for(f=c.focusNode,l=c.focusOffset;f&&f!==this.refContent;)if(f.previousSibling)f=f.previousSibling,t&&f.nodeName==="BR"&&m++,l+=f.textContent.length;else if(f=f.parentNode,f===null)break}return l+m}setCursorPosition(t){if([!1,null,void 0].indexOf(t)>-1)return;const i=(l,m,f)=>{if(f||(f=document.createRange(),f.selectNode(l),f.setStart(l,0)),m.count===0)f.setEnd(l,m.count);else if(l&&m.count>0)if(l.nodeType===Node.TEXT_NODE)l.textContent.length<m.count?m.count-=l.textContent.length:(f.setEnd(l,m.count),m.count=0);else for(var I=0;I<l.childNodes.length&&(f=i(l.childNodes[I],m,f),m.count!==0);I++);return f},c=l=>{if(l<0)return;let m=window.getSelection(),f=i(this.refContent,{count:l});f&&(f.collapse(!1),m.removeAllRanges(),m.addRange(f))};t>0?c(t):this.refContent.focus()}update(t=0,i=!0){const c=this.refContent,l=this.tokenize(c);"onChange"in this.props&&this.props.onChange({plainText:l.indented,markupText:l.markup,json:l.json,jsObject:l.jsObject,lines:l.lines,error:l.error});let m=this.getCursorPosition(l.error)+t;this.setState({plainText:l.indented,markupText:l.markup,json:l.json,jsObject:l.jsObject,lines:l.lines,error:l.error}),this.updateTime=!1,i&&this.setCursorPosition(m)}scheduledUpdate(){if("onKeyPressUpdate"in this.props&&this.props.onKeyPressUpdate===!1)return;const{updateTime:t}=this;t!==!1&&(t>new Date().getTime()||this.update())}setUpdateTime(){"onKeyPressUpdate"in this.props&&this.props.onKeyPressUpdate===!1||(this.updateTime=new Date().getTime()+this.waitAfterKeyPress)}stopEvent(t){t&&(t.preventDefault(),t.stopPropagation())}onKeyPress(t){const i=t.ctrlKey||t.metaKey;this.props.viewOnly&&!i&&this.stopEvent(t),i||this.setUpdateTime()}onKeyDown(t){const i=!!this.props.viewOnly,c=t.ctrlKey||t.metaKey;switch(t.key){case"Tab":if(this.stopEvent(t),i)break;document.execCommand("insertText",!1," "),this.setUpdateTime();break;case"Backspace":case"Delete":i&&this.stopEvent(t),this.setUpdateTime();break;case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":this.setUpdateTime();break;case"a":case"c":i&&!c&&this.stopEvent(t);break;default:i&&this.stopEvent(t);break}}onPaste(t){if(this.props.viewOnly)this.stopEvent(t);else{t.preventDefault();var i=t.clipboardData.getData("text/plain");document.execCommand("insertText",!1,i)}this.update()}onClick(){"viewOnly"in this.props&&this.props.viewOnly}onBlur(){if("viewOnly"in this.props&&this.props.viewOnly)return;const t=this.refContent,i=this.tokenize(t);"onBlur"in this.props&&this.props.onBlur({plainText:i.indented,markupText:i.markup,json:i.json,jsObject:i.jsObject,lines:i.lines,error:i.error})}onScroll(t){this.refLabels.scrollTop=t.target.scrollTop}componentDidUpdate(){this.updateInternalProps(),this.showPlaceholder()}componentDidMount(){this.showPlaceholder()}componentWillUnmount(){this.timer&&clearInterval(this.timer)}showPlaceholder(){if(!("placeholder"in this.props))return;const{placeholder:i}=this.props;if([void 0,null].indexOf(i)>-1)return;const{prevPlaceholder:l,jsObject:m}=this.state,{resetConfiguration:f}=this,I=mr.getType(i);["object","array"].indexOf(I)===-1&&ce.throwError("showPlaceholder","placeholder","either an object or an array");let S=!mr.identical(i,l);if(S||f&&m!==void 0&&(S=!mr.identical(i,m)),!S)return;const M=this.tokenize(i);this.setState({prevPlaceholder:i,plainText:M.indentation,markupText:M.markup,lines:M.lines,error:M.error})}tokenize(t){if(typeof t!="object")return console.error("tokenize() expects object type properties only. Got '"+typeof t+"' type instead.");const i=this.props.locale||va,c=this.newSpan;if("nodeType"in t){let H=function(J,w=""){let O={active:!1,string:"",number:"",symbol:"",space:"",delimiter:"",quarks:[]};function L(T,y){switch(y){case"symbol":case"delimiter":O.active&&O.quarks.push({string:O[O.active],type:w+"-"+O.active}),O[O.active]="",O.active=y,O[O.active]=T;break;default:y!==O.active||[O.string,T].indexOf(`
7
- `)>-1?(O.active&&O.quarks.push({string:O[O.active],type:w+"-"+O.active}),O[O.active]="",O.active=y,O[O.active]=T):O[y]+=T;break}}function E(){O.active&&(O.quarks.push({string:O[O.active],type:w+"-"+O.active}),O[O.active]="",O.active=!1)}for(var N=0;N<J.length;N++){const T=J.charAt(N);switch(T){case'"':case"'":L(T,"delimiter");break;case" ":case" ":L(T,"space");break;case"{":case"}":case"[":case"]":case":":case",":L(T,"symbol");break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":O.active==="string"?L(T,"string"):L(T,"number");break;case"-":if(N<J.length-1&&"0123456789".indexOf(J.charAt(N+1))>-1){L(T,"number");break}case".":if(N<J.length-1&&N>0&&"0123456789".indexOf(J.charAt(N+1))>-1&&"0123456789".indexOf(J.charAt(N-1))>-1){L(T,"number");break}default:L(T,"string");break}}return E(),O.quarks},ee=function(J,w){const O=`'"`;let L="",E="",N=!1;switch(w){case"primitive":if(["true","false","null","undefined"].indexOf(J)===-1)return!1;break;case"string":if(J.length<2||(L=J.charAt(0),E=J.charAt(J.length-1),N=O.indexOf(L),N===-1)||L!==E)return!1;for(var T=0;T<J.length;T++)if(T>0&&T<J.length-1&&J.charAt(T)===O[N]&&J.charAt(T-1)!=="\\")return!1;break;case"key":if(J.length===0)return!1;if(L=J.charAt(0),E=J.charAt(J.length-1),N=O.indexOf(L),N>-1){if(J.length===1||L!==E)return!1;for(var T=0;T<J.length;T++)if(T>0&&T<J.length-1&&J.charAt(T)===O[N]&&J.charAt(T-1)!=="\\")return!1}else{const y="'\"`.,:;{}[]&<>=~*%\\|/-+!?@^  ";for(var T=0;T<y.length;T++){const h=y.charAt(T);if(J.indexOf(h)>-1)return!1}}break;case"number":for(var T=0;T<J.length;T++)if("0123456789".indexOf(J.charAt(T))===-1){if(T===0){if(J.charAt(0)!=="-")return!1}else if(J.charAt(T)!==".")return!1}break;case"symbol":if(J.length>1||"{[:]},".indexOf(J)===-1)return!1;break;case"colon":if(J.length>1||J!==":")return!1;break;default:return!0}return!0},C=function(){const J=p.tokens_normalize.length-1;if(J<1)return!1;for(var w=J;w>=0;w--){const O=p.tokens_normalize[w];switch(O.type){case"space":case"linebreak":break;default:return O}}return!1},z=function(J,w,O=0){f={token:J,line:I,reason:w},p.tokens_merge[J+O].type="error"},fe=function(J,w){if(J===void 0&&console.error("tokenID argument must be an integer."),w===void 0&&console.error("options argument must be an array."),J===p.tokens_merge.length-1)return!1;for(var O=J+1;O<p.tokens_merge.length;O++){const L=p.tokens_merge[O];switch(L.type){case"space":case"linebreak":break;case"symbol":case"colon":return w.indexOf(L.string)>-1?O:!1;default:return!1}}return!1},_=function(J,w){if(J===void 0&&console.error("tokenID argument must be an integer."),w===void 0&&console.error("options argument must be an array."),J===0)return!1;for(var O=J-1;O>=0;O--){const L=p.tokens_merge[O];switch(L.type){case"space":case"linebreak":break;case"symbol":case"colon":return w.indexOf(L.string)>-1;default:return!1}}return!1},Ie=function(J){if(J===void 0&&console.error("tokenID argument must be an integer."),J===0)return!1;for(var w=J-1;w>=0;w--){const O=p.tokens_merge[w];switch(O.type){case"space":case"linebreak":break;default:return O.type}}return!1},ue=function(){for(var J=[],w=0;w<re*2;w++)J.push("&nbsp;");return J.join("")},Oe=function(J=!1){return U++,re>0||J?"<br>":""},ge=function(J=!1){return Oe(J)+ue()};const S=t.cloneNode(!0);if(!S.hasChildNodes())return"";const Y=S.childNodes;let p={tokens_unknown:[],tokens_proto:[],tokens_split:[],tokens_fallback:[],tokens_normalize:[],tokens_merge:[],tokens_plainText:"",indented:"",json:"",jsObject:void 0,markup:""};for(var l=0;l<Y.length;l++){let J=Y[l],w={};switch(J.nodeName){case"SPAN":w={string:J.textContent,type:J.attributes.type.textContent},p.tokens_unknown.push(w);break;case"DIV":p.tokens_unknown.push({string:J.textContent,type:"unknown"});break;case"BR":J.textContent===""&&p.tokens_unknown.push({string:`
8
- `,type:"unknown"});break;case"#text":p.tokens_unknown.push({string:J.wholeText,type:"unknown"});break;case"FONT":p.tokens_unknown.push({string:J.textContent,type:"unknown"});break;default:console.error("Unrecognized node:",{child:J});break}}for(var l=0;l<p.tokens_unknown.length;l++){let w=p.tokens_unknown[l];p.tokens_proto=p.tokens_proto.concat(H(w.string,"proto"))}for(var l=0;l<p.tokens_proto.length;l++){let w=p.tokens_proto[l];w.type.indexOf("proto")===-1?ee(w.string,w.type)?p.tokens_split.push(w):p.tokens_split=p.tokens_split.concat(H(w.string,"split")):p.tokens_split.push(w)}for(var l=0;l<p.tokens_split.length;l++){let w=p.tokens_split[l],O=w.type,L=w.string,E=L.length,N=[];O.indexOf("-")>-1&&(O=O.slice(O.indexOf("-")+1),O!=="string"&&N.push("string"),N.push("key"),N.push("error"));let T={string:L,length:E,type:O,fallback:N};p.tokens_fallback.push(T)}let k={brackets:[],stringOpen:!1,isValue:!1};for(var l=0;l<p.tokens_fallback.length;l++){let w=p.tokens_fallback[l];const O=w.type,L=w.string;let E={type:O,string:L};switch(O){case"symbol":case"colon":if(k.stringOpen){k.isValue?E.type="string":E.type="key";break}switch(L){case"[":case"{":k.brackets.push(L),k.isValue=k.brackets[k.brackets.length-1]==="[";break;case"]":case"}":k.brackets.pop(),k.isValue=k.brackets[k.brackets.length-1]==="[";break;case",":if(C().type==="colon")break;k.isValue=k.brackets[k.brackets.length-1]==="[";break;case":":E.type="colon",k.isValue=!0;break}break;case"delimiter":if(k.isValue?E.type="string":E.type="key",!k.stringOpen){k.stringOpen=L;break}if(l>0){const N=p.tokens_fallback[l-1],T=N.string,y=N.type,v=T.charAt(T.length-1);if(y==="string"&&v==="\\")break}if(k.stringOpen===L){k.stringOpen=!1;break}break;case"primitive":case"string":if(["false","true","null","undefined"].indexOf(L)>-1){const N=p.tokens_normalize.length-1;if(N>=0){if(p.tokens_normalize[N].type!=="string"){E.type="primitive";break}E.type="string";break}E.type="primitive";break}if(L===`
9
- `&&!k.stringOpen){E.type="linebreak";break}k.isValue?E.type="string":E.type="key";break;case"space":k.stringOpen&&(k.isValue?E.type="string":E.type="key");break;case"number":k.stringOpen&&(k.isValue?E.type="string":E.type="key");break}p.tokens_normalize.push(E)}for(var l=0;l<p.tokens_normalize.length;l++){const w=p.tokens_normalize[l];let O={string:w.string,type:w.type,tokens:[l]};if(["symbol","colon"].indexOf(w.type)===-1&&l+1<p.tokens_normalize.length){let L=0;for(var m=l+1;m<p.tokens_normalize.length;m++){const E=p.tokens_normalize[m];if(w.type!==E.type)break;O.string+=E.string,O.tokens.push(m),L++}l+=L}p.tokens_merge.push(O)}const q=`'"`,oe="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$";var f=!1,I=p.tokens_merge.length>0?1:0;k={brackets:[],stringOpen:!1,isValue:!1};let F=[];for(var l=0;l<p.tokens_merge.length&&!f;l++){let w=p.tokens_merge[l],O=w.string,L=w.type,E=!1;switch(L){case"space":break;case"linebreak":I++;break;case"symbol":switch(O){case"{":case"[":if(E=_(l,["}","]"]),E){z(l,te(i.invalidToken.tokenSequence.prohibited,{firstToken:p.tokens_merge[E].string,secondToken:O}));break}if(O==="["&&l>0&&!_(l,[":","[",","])){z(l,te(i.invalidToken.tokenSequence.permitted,{firstToken:"[",secondToken:[":","[",","]}));break}if(O==="{"&&_(l,["{"])){z(l,te(i.invalidToken.double,{token:"{"}));break}k.brackets.push(O),k.isValue=k.brackets[k.brackets.length-1]==="[",F.push({i:l,line:I,string:O});break;case"}":case"]":if(O==="}"&&k.brackets[k.brackets.length-1]!=="{"){z(l,te(i.brace.curly.missingOpen));break}if(O==="}"&&_(l,[","])){z(l,te(i.invalidToken.tokenSequence.prohibited,{firstToken:",",secondToken:"}"}));break}if(O==="]"&&k.brackets[k.brackets.length-1]!=="["){z(l,te(i.brace.square.missingOpen));break}if(O==="]"&&_(l,[":"])){z(l,te(i.invalidToken.tokenSequence.prohibited,{firstToken:":",secondToken:"]"}));break}k.brackets.pop(),k.isValue=k.brackets[k.brackets.length-1]==="[",F.push({i:l,line:I,string:O});break;case",":if(E=_(l,["{"]),E){if(fe(l,["}"])){z(l,te(i.brace.curly.cannotWrap,{token:","}));break}z(l,te(i.invalidToken.tokenSequence.prohibited,{firstToken:"{",secondToken:","}));break}if(fe(l,["}",",","]"])){z(l,te(i.noTrailingOrLeadingComma));break}switch(E=Ie(l),E){case"key":case"colon":z(l,te(i.invalidToken.termSequence.prohibited,{firstTerm:E==="key"?i.types.key:i.symbols.colon,secondTerm:i.symbols.comma}));break;case"symbol":if(_(l,["{"])){z(l,te(i.invalidToken.tokenSequence.prohibited,{firstToken:"{",secondToken:","}));break}break}k.isValue=k.brackets[k.brackets.length-1]==="[";break}p.json+=O;break;case"colon":if(E=_(l,["["]),E&&fe(l,["]"])){z(l,te(i.brace.square.cannotWrap,{token:":"}));break}if(E){z(l,te(i.invalidToken.tokenSequence.prohibited,{firstToken:"[",secondToken:":"}));break}if(Ie(l)!=="key"){z(l,te(i.invalidToken.termSequence.permitted,{firstTerm:i.symbols.colon,secondTerm:i.types.key}));break}if(fe(l,["}","]"])){z(l,te(i.invalidToken.termSequence.permitted,{firstTerm:i.symbols.colon,secondTerm:i.types.value}));break}k.isValue=!0,p.json+=O;break;case"key":case"string":let N=O.charAt(0),T=O.charAt(O.length-1);if(q.indexOf(N)===-1&&q.indexOf(T)!==-1){z(l,te(i.string.missingOpen,{quote:N}));break}if(q.indexOf(T)===-1&&q.indexOf(N)!==-1){z(l,te(i.string.missingClose,{quote:N}));break}if(q.indexOf(N)>-1&&N!==T){z(l,te(i.string.missingClose,{quote:N}));break}if(L==="string"&&q.indexOf(N)===-1&&q.indexOf(T)===-1){z(l,te(i.string.mustBeWrappedByQuotes));break}if(L==="key"&&fe(l,["}","]"])&&z(l,te(i.invalidToken.termSequence.permitted,{firstTerm:i.types.key,secondTerm:i.symbols.colon})),q.indexOf(N)===-1&&q.indexOf(T)===-1)for(var x=0;x<O.length&&!f;x++){const y=O.charAt(x);if(oe.indexOf(y)===-1){z(l,te(i.string.nonAlphanumeric,{token:y}));break}}if(N==="'"?O='"'+O.slice(1,-1)+'"':N!=='"'&&(O='"'+O+'"'),L==="key"&&Ie(l)==="key"){if(l>0&&!isNaN(p.tokens_merge[l-1])){p.tokens_merge[l-1]+=p.tokens_merge[l],z(l,te(i.key.numberAndLetterMissingQuotes));break}z(l,te(i.key.spaceMissingQuotes));break}if(L==="key"&&!_(l,["{",","])){z(l,te(i.invalidToken.tokenSequence.permitted,{firstToken:L,secondToken:["{",","]}));break}if(L==="string"&&!_(l,["[",":",","])){z(l,te(i.invalidToken.tokenSequence.permitted,{firstToken:L,secondToken:["[",":",","]}));break}if(L==="key"&&k.isValue){z(l,te(i.string.unexpectedKey));break}if(L==="string"&&!k.isValue){z(l,te(i.key.unexpectedString));break}p.json+=O;break;case"number":case"primitive":if(_(l,["{"]))p.tokens_merge[l].type="key",L=p.tokens_merge[l].type,O='"'+O+'"';else if(Ie(l)==="key")p.tokens_merge[l].type="key",L=p.tokens_merge[l].type;else if(!_(l,["[",":",","])){z(l,te(i.invalidToken.tokenSequence.permitted,{firstToken:L,secondToken:["[",":",","]}));break}L!=="key"&&(k.isValue||(p.tokens_merge[l].type="key",L=p.tokens_merge[l].type,O='"'+O+'"')),L==="primitive"&&O==="undefined"&&z(l,te(i.invalidToken.useInstead,{badToken:"undefined",goodToken:"null"})),p.json+=O;break}}let P="";for(var l=0;l<p.json.length;l++){let w=p.json.charAt(l),O="";if(l+1<p.json.length&&(O=p.json.charAt(l+1),w==="\\"&&O==="'")){P+=O,l++;continue}P+=w}if(p.json=P,!f){let L=function(E){F.splice(E+1,1),F.splice(E,1),O||(O=!0)};const J=Math.ceil(F.length/2);let w=0,O=!1;for(;F.length>0;){O=!1;for(var j=0;j<F.length-1;j++){const E=F[j].string+F[j+1].string;["[]","{}"].indexOf(E)>-1&&L(j)}if(w++,!O||w>=J)break}if(F.length>0){const E=F[0].string,N=F[0].i,T=E==="["?"]":"}";I=F[0].line,z(N,te(i.brace[T==="]"?"square":"curly"].missingClose))}}if(!f&&[void 0,""].indexOf(p.json)===-1)try{p.jsObject=JSON.parse(p.json)}catch(J){const w=J.message,O=w.indexOf("position");if(O===-1)throw new Error("Error parsing failed");const L=w.substring(O+9,w.length),E=parseInt(L);let N=0,T=0,y=!1,v=1,h=!1;for(;N<E&&!h&&(y=p.tokens_merge[T],y.type==="linebreak"&&v++,["space","linebreak"].indexOf(y.type)===-1&&(N+=y.string.length),!(N>=E));)T++,p.tokens_merge[T+1]||(h=!0);I=v;let A=0;for(let u=0;u<y.string.length;u++){const g=y.string.charAt(u);g==="\\"?A=A>0?A+1:1:((A%2!==0||A===0)&&`'"bfnrt`.indexOf(g)===-1&&z(T,te(i.invalidToken.unexpected,{token:"\\"})),A=0)}f||z(T,te(i.invalidToken.unexpected,{token:y.string}))}let U=1,re=0;if(!f)for(var l=0;l<p.tokens_merge.length;l++){const w=p.tokens_merge[l],O=w.string;switch(w.type){case"space":case"linebreak":break;case"string":case"number":case"primitive":case"error":p.markup+=(_(l,[",","["])?ge():"")+c(l,w,re);break;case"key":p.markup+=ge()+c(l,w,re);break;case"colon":p.markup+=c(l,w,re)+"&nbsp;";break;case"symbol":switch(O){case"[":case"{":p.markup+=(_(l,[":"])?"":ge())+c(l,w,re),re++;break;case"]":case"}":re--;const E=l===p.tokens_merge.length-1,N=l>0?["[","{"].indexOf(p.tokens_merge[l-1].string)>-1?"":ge(E):"";p.markup+=N+c(l,w,re);break;case",":p.markup+=c(l,w,re);break}break}}if(f){let w=function(O){let L=0;for(var E=0;E<O.length;E++)[`
10
- `,"\r"].indexOf(O[E])>-1&&L++;return L},J=1;U=1;for(var l=0;l<p.tokens_merge.length;l++){const L=p.tokens_merge[l],E=L.type,N=L.string;E==="linebreak"&&U++,p.markup+=c(l,L,re),J+=w(N)}U++,J++,U<J&&(U=J)}for(var l=0;l<p.tokens_merge.length;l++){let w=p.tokens_merge[l];p.indented+=w.string,["space","linebreak"].indexOf(w.type)===-1&&(p.tokens_plainText+=w.string)}if(f){let J=function(w){return w&&{}.toString.call(w)==="[object Function]"};"modifyErrorText"in this.props&&J(this.props.modifyErrorText)&&(f.reason=this.props.modifyErrorText(f.reason))}return{tokens:p.tokens_merge,noSpaces:p.tokens_plainText,indented:p.indented,json:p.json,jsObject:p.jsObject,markup:p.markup,lines:U,error:f}}if(!("nodeType"in t)){let M=function(){return S.currentChar==="\\"},Y=function(){if(`'"`.indexOf(S.currentChar)===-1)return!1;if(!S.stringOpen)return H(),S.stringStart=S.position,S.stringOpen=S.currentChar,!0;if(S.stringOpen===S.currentChar){H();const F=S.inputText.substring(S.stringStart,S.position+1);return ee(F),S.stringOpen=!1,!0}return!1},p=function(){if(":,{}[]".indexOf(S.currentChar)===-1||S.stringOpen)return!1;switch(H(),ee(S.currentChar),S.currentChar){case":":return S.isValue=!0,!0;case"{":case"[":S.brackets.push(S.currentChar);break;case"}":case"]":S.brackets.pop();break}return S.currentChar!==":"&&(S.isValue=S.brackets[S.brackets.length-1]==="["),!0},H=function(){return S.tokenSecondary.length===0?!1:(S.tokens.push(S.tokenSecondary),S.tokenSecondary="",!0)},ee=function(F){return F.length===0?!1:(S.tokens.push(F),!0)},q=function(F){for(var P=[],U=0;U<F*2;U++)P.push(" ");return(F>0?`
11
- `:"")+P.join("")},fe=function(F){var P=[];F>0&&z++;for(var U=0;U<F*2;U++)P.push("&nbsp;");return(F>0?"<br>":"")+P.join("")},S={inputText:JSON.stringify(t),position:0,currentChar:"",tokenSecondary:"",brackets:[],isValue:!1,stringOpen:!1,stringStart:0,tokens:[]};for(var l=0;l<S.inputText.length;l++){S.position=l,S.currentChar=S.inputText.charAt(S.position);const P=p(),U=Y(),re=M();!P&&!U&&!re&&(S.stringOpen||(S.tokenSecondary+=S.currentChar))}let C={brackets:[],isValue:!1,tokens:[]};C.tokens=S.tokens.map(F=>{let P="",U="",re="";switch(F){case",":P="symbol",U=F,re=F,C.isValue=C.brackets[C.brackets.length-1]==="[";break;case":":P="symbol",U=F,re=F,C.isValue=!0;break;case"{":case"[":P="symbol",U=F,re=F,C.brackets.push(F),C.isValue=C.brackets[C.brackets.length-1]==="[";break;case"}":case"]":P="symbol",U=F,re=F,C.brackets.pop(),C.isValue=C.brackets[C.brackets.length-1]==="[";break;case"undefined":P="primitive",U=F,re=void 0;break;case"null":P="primitive",U=F,re=null;break;case"false":P="primitive",U=F,re=!1;break;case"true":P="primitive",U=F,re=!0;break;default:let ge=function(J){if(J.length===0)return J;if(['""',"''"].indexOf(J)>-1)return"''";let w=!1;for(var O=0;O<2;O++)if([J.charAt(0),J.charAt(J.length-1)].indexOf(['"',"'"][O])>-1){w=!0;break}w&&J.length>=2&&(J=J.slice(1,-1));const L=J.replace(/\w/g,"");J.replace(/\W+/g,"");const E=((y,v)=>{let h=!1;for(var A=0;A<v.length&&!(A===0&&isNaN(v.charAt(A)));A++)if(isNaN(v.charAt(A))){h=!0;break}return!(y.length>0||h)})(L,J);if((y=>{for(var v=0;v<y.length;v++)if(["'",'"'].indexOf(y.charAt(v))>-1)return!0;return!1})(L)){let y="";const v=J.split("");for(var T=0;T<v.length;T++){let h=v[T];["'",'"'].indexOf(h)>-1&&(h="\\"+h),y+=h}J=y}return E?J:"'"+J+"'"};const Oe=F.charAt(0);if(`'"`.indexOf(Oe)>-1){if(C.isValue?P="string":P="key",P==="key"&&(U=ge(F)),P==="string"){U="";const J=F.slice(1,-1).split("");for(var ue=0;ue<J.length;ue++){let w=J[ue];`'"`.indexOf(w)>-1&&(w="\\"+w),U+=w}U="'"+U+"'"}re=U;break}if(!isNaN(F)){P="number",U=F,re=Number(F);break}if(F.length>0&&!C.isValue){P="key",U=F,U.indexOf(" ")>-1&&(U="'"+U+"'"),re=U;break}}return{type:P,string:U,value:re,depth:C.brackets.length}});let k="";for(var l=0;l<C.tokens.length;l++){let P=C.tokens[l];k+=P.string}let oe="";for(var l=0;l<C.tokens.length;l++){let P=C.tokens[l];switch(P.string){case"[":case"{":const U=l<C.tokens.length-1-1?C.tokens[l+1]:"";"}]".indexOf(U.string)===-1?oe+=P.string+q(P.depth):oe+=P.string;break;case"]":case"}":const re=l>0?C.tokens[l-1]:"";"[{".indexOf(re.string)===-1?oe+=q(P.depth)+P.string:oe+=P.string;break;case":":oe+=P.string+" ";break;case",":oe+=P.string+q(P.depth);break;default:oe+=P.string;break}}let z=1,_="";const Ie=C.tokens.length-1;for(var l=0;l<C.tokens.length;l++){let P=C.tokens[l],U=c(l,P,P.depth);switch(P.string){case"{":case"[":const re=l<C.tokens.length-1-1?C.tokens[l+1]:"";"}]".indexOf(re.string)===-1?_+=U+fe(P.depth):_+=U;break;case"}":case"]":const ue=l>0?C.tokens[l-1]:"";"[{".indexOf(ue.string)===-1?_+=fe(P.depth)+(Ie===l?"<br>":"")+U:_+=U;break;case":":_+=U+" ";break;case",":_+=U+fe(P.depth);break;default:_+=U;break}}return z+=2,{tokens:C.tokens,noSpaces:k,indented:oe,json:JSON.stringify(t),jsObject:t,markup:_,lines:z}}}}var Cs={};Object.defineProperty(Cs,"__esModule",{value:!0});var Ca=Cs.default=void 0,Sf={format:"{reason} at line {line}",symbols:{colon:"colon",comma:"comma",semicolon:"semicolon",slash:"slash",backslash:"backslash",brackets:{round:"round brackets",square:"square brackets",curly:"curly brackets",angle:"angle brackets"},period:"period",quotes:{single:"single quote",double:"double quote",grave:"grave accent"},space:"space",ampersand:"ampersand",asterisk:"asterisk",at:"at sign",equals:"equals sign",hash:"hash",percent:"percent",plus:"plus",minus:"minus",dash:"dash",hyphen:"hyphen",tilde:"tilde",underscore:"underscore",bar:"vertical bar"},types:{key:"key",value:"value",number:"number",string:"string",primitive:"primitive",boolean:"boolean",character:"character",integer:"integer",array:"array",float:"float"},invalidToken:{tokenSequence:{prohibited:"'{firstToken}' token cannot be followed by '{secondToken}' token(s)",permitted:"'{firstToken}' token can only be followed by '{secondToken}' token(s)"},termSequence:{prohibited:"A {firstTerm} cannot be followed by a {secondTerm}",permitted:"A {firstTerm} can only be followed by a {secondTerm}"},double:"'{token}' token cannot be followed by another '{token}' token",useInstead:"'{badToken}' token is not accepted. Use '{goodToken}' instead",unexpected:"Unexpected '{token}' token found"},brace:{curly:{missingOpen:"Missing '{' open curly brace",missingClose:"Open '{' curly brace is missing closing '}' curly brace",cannotWrap:"'{token}' token cannot be wrapped in '{}' curly braces"},square:{missingOpen:"Missing '[' open square brace",missingClose:"Open '[' square brace is missing closing ']' square brace",cannotWrap:"'{token}' token cannot be wrapped in '[]' square braces"}},string:{missingOpen:"Missing/invalid opening string '{quote}' token",missingClose:"Missing/invalid closing string '{quote}' token",mustBeWrappedByQuotes:"Strings must be wrapped by quotes",nonAlphanumeric:"Non-alphanumeric token '{token}' is not allowed outside string notation",unexpectedKey:"Unexpected key found at string position"},key:{numberAndLetterMissingQuotes:"Key beginning with number and containing letters must be wrapped by quotes",spaceMissingQuotes:"Key containing space must be wrapped by quotes",unexpectedString:"Unexpected string found at key position"},noTrailingOrLeadingComma:"Trailing or leading commas in arrays and objects are not permitted"};Ca=Cs.default=Sf;/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Na(n){return typeof n>"u"||n===null}function xf(n){return typeof n=="object"&&n!==null}function Vf(n){return Array.isArray(n)?n:Na(n)?[]:[n]}function jf(n,t){var i,c,l,m;if(t)for(m=Object.keys(t),i=0,c=m.length;i<c;i+=1)l=m[i],n[l]=t[l];return n}function Jf(n,t){var i="",c;for(c=0;c<t;c+=1)i+=n;return i}function wf(n){return n===0&&Number.NEGATIVE_INFINITY===1/n}var bf=Na,Mf=xf,kf=Vf,Rf=Jf,Cf=wf,Nf=jf,je={isNothing:bf,isObject:Mf,toArray:kf,repeat:Rf,isNegativeZero:Cf,extend:Nf};function Ta(n,t){var i="",c=n.reason||"(unknown reason)";return n.mark?(n.mark.name&&(i+='in "'+n.mark.name+'" '),i+="("+(n.mark.line+1)+":"+(n.mark.column+1)+")",!t&&n.mark.snippet&&(i+=`
12
-
13
- `+n.mark.snippet),c+" "+i):c}function jr(n,t){Error.call(this),this.name="YAMLException",this.reason=n,this.mark=t,this.message=Ta(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}jr.prototype=Object.create(Error.prototype);jr.prototype.constructor=jr;jr.prototype.toString=function(t){return this.name+": "+Ta(this,t)};var De=jr;function Ss(n,t,i,c,l){var m="",f="",I=Math.floor(l/2)-1;return c-t>I&&(m=" ... ",t=c-I+m.length),i-c>I&&(f=" ...",i=c+I-f.length),{str:m+n.slice(t,i).replace(/\t/g,"→")+f,pos:c-t+m.length}}function xs(n,t){return je.repeat(" ",t-n.length)+n}function Tf(n,t){if(t=Object.create(t||null),!n.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var i=/\r?\n|\r|\0/g,c=[0],l=[],m,f=-1;m=i.exec(n.buffer);)l.push(m.index),c.push(m.index+m[0].length),n.position<=m.index&&f<0&&(f=c.length-2);f<0&&(f=c.length-1);var I="",x,j,S=Math.min(n.line+t.linesAfter,l.length).toString().length,M=t.maxLength-(t.indent+S+3);for(x=1;x<=t.linesBefore&&!(f-x<0);x++)j=Ss(n.buffer,c[f-x],l[f-x],n.position-(c[f]-c[f-x]),M),I=je.repeat(" ",t.indent)+xs((n.line-x+1).toString(),S)+" | "+j.str+`
14
- `+I;for(j=Ss(n.buffer,c[f],l[f],n.position,M),I+=je.repeat(" ",t.indent)+xs((n.line+1).toString(),S)+" | "+j.str+`
15
- `,I+=je.repeat("-",t.indent+S+3+j.pos)+`^
16
- `,x=1;x<=t.linesAfter&&!(f+x>=l.length);x++)j=Ss(n.buffer,c[f+x],l[f+x],n.position-(c[f]-c[f+x]),M),I+=je.repeat(" ",t.indent)+xs((n.line+x+1).toString(),S)+" | "+j.str+`
17
- `;return I.replace(/\n$/,"")}var Lf=Tf,Pf=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Ef=["scalar","sequence","mapping"];function Uf(n){var t={};return n!==null&&Object.keys(n).forEach(function(i){n[i].forEach(function(c){t[String(c)]=i})}),t}function Df(n,t){if(t=t||{},Object.keys(t).forEach(function(i){if(Pf.indexOf(i)===-1)throw new De('Unknown option "'+i+'" is met in definition of "'+n+'" YAML type.')}),this.options=t,this.tag=n,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(i){return i},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=Uf(t.styleAliases||null),Ef.indexOf(this.kind)===-1)throw new De('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')}var Ve=Df;function Ia(n,t){var i=[];return n[t].forEach(function(c){var l=i.length;i.forEach(function(m,f){m.tag===c.tag&&m.kind===c.kind&&m.multi===c.multi&&(l=f)}),i[l]=c}),i}function Bf(){var n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,i;function c(l){l.multi?(n.multi[l.kind].push(l),n.multi.fallback.push(l)):n[l.kind][l.tag]=n.fallback[l.tag]=l}for(t=0,i=arguments.length;t<i;t+=1)arguments[t].forEach(c);return n}function bs(n){return this.extend(n)}bs.prototype.extend=function(t){var i=[],c=[];if(t instanceof Ve)c.push(t);else if(Array.isArray(t))c=c.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(i=i.concat(t.implicit)),t.explicit&&(c=c.concat(t.explicit));else throw new De("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(m){if(!(m instanceof Ve))throw new De("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(m.loadKind&&m.loadKind!=="scalar")throw new De("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(m.multi)throw new De("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),c.forEach(function(m){if(!(m instanceof Ve))throw new De("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(bs.prototype);return l.implicit=(this.implicit||[]).concat(i),l.explicit=(this.explicit||[]).concat(c),l.compiledImplicit=Ia(l,"implicit"),l.compiledExplicit=Ia(l,"explicit"),l.compiledTypeMap=Bf(l.compiledImplicit,l.compiledExplicit),l};var zf=bs,$f=new Ve("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),qf=new Ve("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),Ff=new Ve("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),Yf=new zf({explicit:[$f,qf,Ff]});function Gf(n){if(n===null)return!0;var t=n.length;return t===1&&n==="~"||t===4&&(n==="null"||n==="Null"||n==="NULL")}function Zf(){return null}function Wf(n){return n===null}var Hf=new Ve("tag:yaml.org,2002:null",{kind:"scalar",resolve:Gf,construct:Zf,predicate:Wf,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function Qf(n){if(n===null)return!1;var t=n.length;return t===4&&(n==="true"||n==="True"||n==="TRUE")||t===5&&(n==="false"||n==="False"||n==="FALSE")}function Kf(n){return n==="true"||n==="True"||n==="TRUE"}function Xf(n){return Object.prototype.toString.call(n)==="[object Boolean]"}var _f=new Ve("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Qf,construct:Kf,predicate:Xf,represent:{lowercase:function(n){return n?"true":"false"},uppercase:function(n){return n?"TRUE":"FALSE"},camelcase:function(n){return n?"True":"False"}},defaultStyle:"lowercase"});function em(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function rm(n){return 48<=n&&n<=55}function sm(n){return 48<=n&&n<=57}function om(n){if(n===null)return!1;var t=n.length,i=0,c=!1,l;if(!t)return!1;if(l=n[i],(l==="-"||l==="+")&&(l=n[++i]),l==="0"){if(i+1===t)return!0;if(l=n[++i],l==="b"){for(i++;i<t;i++)if(l=n[i],l!=="_"){if(l!=="0"&&l!=="1")return!1;c=!0}return c&&l!=="_"}if(l==="x"){for(i++;i<t;i++)if(l=n[i],l!=="_"){if(!em(n.charCodeAt(i)))return!1;c=!0}return c&&l!=="_"}if(l==="o"){for(i++;i<t;i++)if(l=n[i],l!=="_"){if(!rm(n.charCodeAt(i)))return!1;c=!0}return c&&l!=="_"}}if(l==="_")return!1;for(;i<t;i++)if(l=n[i],l!=="_"){if(!sm(n.charCodeAt(i)))return!1;c=!0}return!(!c||l==="_")}function am(n){var t=n,i=1,c;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),c=t[0],(c==="-"||c==="+")&&(c==="-"&&(i=-1),t=t.slice(1),c=t[0]),t==="0")return 0;if(c==="0"){if(t[1]==="b")return i*parseInt(t.slice(2),2);if(t[1]==="x")return i*parseInt(t.slice(2),16);if(t[1]==="o")return i*parseInt(t.slice(2),8)}return i*parseInt(t,10)}function nm(n){return Object.prototype.toString.call(n)==="[object Number]"&&n%1===0&&!je.isNegativeZero(n)}var dm=new Ve("tag:yaml.org,2002:int",{kind:"scalar",resolve:om,construct:am,predicate:nm,represent:{binary:function(n){return n>=0?"0b"+n.toString(2):"-0b"+n.toString(2).slice(1)},octal:function(n){return n>=0?"0o"+n.toString(8):"-0o"+n.toString(8).slice(1)},decimal:function(n){return n.toString(10)},hexadecimal:function(n){return n>=0?"0x"+n.toString(16).toUpperCase():"-0x"+n.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),tm=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function lm(n){return!(n===null||!tm.test(n)||n[n.length-1]==="_")}function im(n){var t,i;return t=n.replace(/_/g,"").toLowerCase(),i=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:i*parseFloat(t,10)}var cm=/^[-+]?[0-9]+e/;function fm(n,t){var i;if(isNaN(n))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===n)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===n)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(je.isNegativeZero(n))return"-0.0";return i=n.toString(10),cm.test(i)?i.replace("e",".e"):i}function mm(n){return Object.prototype.toString.call(n)==="[object Number]"&&(n%1!==0||je.isNegativeZero(n))}var ym=new Ve("tag:yaml.org,2002:float",{kind:"scalar",resolve:lm,construct:im,predicate:mm,represent:fm,defaultStyle:"lowercase"}),vm=Yf.extend({implicit:[Hf,_f,dm,ym]}),Im=vm,La=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Pa=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function gm(n){return n===null?!1:La.exec(n)!==null||Pa.exec(n)!==null}function pm(n){var t,i,c,l,m,f,I,x=0,j=null,S,M,Y;if(t=La.exec(n),t===null&&(t=Pa.exec(n)),t===null)throw new Error("Date resolve error");if(i=+t[1],c=+t[2]-1,l=+t[3],!t[4])return new Date(Date.UTC(i,c,l));if(m=+t[4],f=+t[5],I=+t[6],t[7]){for(x=t[7].slice(0,3);x.length<3;)x+="0";x=+x}return t[9]&&(S=+t[10],M=+(t[11]||0),j=(S*60+M)*6e4,t[9]==="-"&&(j=-j)),Y=new Date(Date.UTC(i,c,l,m,f,I,x)),j&&Y.setTime(Y.getTime()-j),Y}function Am(n){return n.toISOString()}var hm=new Ve("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:gm,construct:pm,instanceOf:Date,represent:Am});function Om(n){return n==="<<"||n===null}var um=new Ve("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Om}),Ns=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
18
- \r`;function Sm(n){if(n===null)return!1;var t,i,c=0,l=n.length,m=Ns;for(i=0;i<l;i++)if(t=m.indexOf(n.charAt(i)),!(t>64)){if(t<0)return!1;c+=6}return c%8===0}function xm(n){var t,i,c=n.replace(/[\r\n=]/g,""),l=c.length,m=Ns,f=0,I=[];for(t=0;t<l;t++)t%4===0&&t&&(I.push(f>>16&255),I.push(f>>8&255),I.push(f&255)),f=f<<6|m.indexOf(c.charAt(t));return i=l%4*6,i===0?(I.push(f>>16&255),I.push(f>>8&255),I.push(f&255)):i===18?(I.push(f>>10&255),I.push(f>>2&255)):i===12&&I.push(f>>4&255),new Uint8Array(I)}function Vm(n){var t="",i=0,c,l,m=n.length,f=Ns;for(c=0;c<m;c++)c%3===0&&c&&(t+=f[i>>18&63],t+=f[i>>12&63],t+=f[i>>6&63],t+=f[i&63]),i=(i<<8)+n[c];return l=m%3,l===0?(t+=f[i>>18&63],t+=f[i>>12&63],t+=f[i>>6&63],t+=f[i&63]):l===2?(t+=f[i>>10&63],t+=f[i>>4&63],t+=f[i<<2&63],t+=f[64]):l===1&&(t+=f[i>>2&63],t+=f[i<<4&63],t+=f[64],t+=f[64]),t}function jm(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"}var Jm=new Ve("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Sm,construct:xm,predicate:jm,represent:Vm}),wm=Object.prototype.hasOwnProperty,bm=Object.prototype.toString;function Mm(n){if(n===null)return!0;var t=[],i,c,l,m,f,I=n;for(i=0,c=I.length;i<c;i+=1){if(l=I[i],f=!1,bm.call(l)!=="[object Object]")return!1;for(m in l)if(wm.call(l,m))if(!f)f=!0;else return!1;if(!f)return!1;if(t.indexOf(m)===-1)t.push(m);else return!1}return!0}function km(n){return n!==null?n:[]}var Rm=new Ve("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Mm,construct:km}),Cm=Object.prototype.toString;function Nm(n){if(n===null)return!0;var t,i,c,l,m,f=n;for(m=new Array(f.length),t=0,i=f.length;t<i;t+=1){if(c=f[t],Cm.call(c)!=="[object Object]"||(l=Object.keys(c),l.length!==1))return!1;m[t]=[l[0],c[l[0]]]}return!0}function Tm(n){if(n===null)return[];var t,i,c,l,m,f=n;for(m=new Array(f.length),t=0,i=f.length;t<i;t+=1)c=f[t],l=Object.keys(c),m[t]=[l[0],c[l[0]]];return m}var Lm=new Ve("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Nm,construct:Tm}),Pm=Object.prototype.hasOwnProperty;function Em(n){if(n===null)return!0;var t,i=n;for(t in i)if(Pm.call(i,t)&&i[t]!==null)return!1;return!0}function Um(n){return n!==null?n:{}}var Dm=new Ve("tag:yaml.org,2002:set",{kind:"mapping",resolve:Em,construct:Um}),Bm=Im.extend({implicit:[hm,um],explicit:[Jm,Rm,Lm,Dm]}),Xe=Object.prototype.hasOwnProperty,Tr=1,Ea=2,Ua=3,Lr=4,Vs=1,zm=2,ga=3,$m=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,qm=/[\x85\u2028\u2029]/,Fm=/[,\[\]\{\}]/,Da=/^(?:!|!!|![a-z\-]+!)$/i,Ba=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function pa(n){return Object.prototype.toString.call(n)}function Ne(n){return n===10||n===13}function or(n){return n===9||n===32}function we(n){return n===9||n===32||n===10||n===13}function cr(n){return n===44||n===91||n===93||n===123||n===125}function Ym(n){var t;return 48<=n&&n<=57?n-48:(t=n|32,97<=t&&t<=102?t-97+10:-1)}function Gm(n){return n===120?2:n===117?4:n===85?8:0}function Zm(n){return 48<=n&&n<=57?n-48:-1}function Aa(n){return n===48?"\0":n===97?"\x07":n===98?"\b":n===116||n===9?" ":n===110?`
19
- `:n===118?"\v":n===102?"\f":n===114?"\r":n===101?"\x1B":n===32?" ":n===34?'"':n===47?"/":n===92?"\\":n===78?"…":n===95?" ":n===76?"\u2028":n===80?"\u2029":""}function Wm(n){return n<=65535?String.fromCharCode(n):String.fromCharCode((n-65536>>10)+55296,(n-65536&1023)+56320)}var za=new Array(256),$a=new Array(256);for(var ir=0;ir<256;ir++)za[ir]=Aa(ir)?1:0,$a[ir]=Aa(ir);function Hm(n,t){this.input=n,this.filename=t.filename||null,this.schema=t.schema||Bm,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=n.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function qa(n,t){var i={name:n.filename,buffer:n.input.slice(0,-1),position:n.position,line:n.line,column:n.position-n.lineStart};return i.snippet=Lf(i),new De(t,i)}function Z(n,t){throw qa(n,t)}function Pr(n,t){n.onWarning&&n.onWarning.call(null,qa(n,t))}var ha={YAML:function(t,i,c){var l,m,f;t.version!==null&&Z(t,"duplication of %YAML directive"),c.length!==1&&Z(t,"YAML directive accepts exactly one argument"),l=/^([0-9]+)\.([0-9]+)$/.exec(c[0]),l===null&&Z(t,"ill-formed argument of the YAML directive"),m=parseInt(l[1],10),f=parseInt(l[2],10),m!==1&&Z(t,"unacceptable YAML version of the document"),t.version=c[0],t.checkLineBreaks=f<2,f!==1&&f!==2&&Pr(t,"unsupported YAML version of the document")},TAG:function(t,i,c){var l,m;c.length!==2&&Z(t,"TAG directive accepts exactly two arguments"),l=c[0],m=c[1],Da.test(l)||Z(t,"ill-formed tag handle (first argument) of the TAG directive"),Xe.call(t.tagMap,l)&&Z(t,'there is a previously declared suffix for "'+l+'" tag handle'),Ba.test(m)||Z(t,"ill-formed tag prefix (second argument) of the TAG directive");try{m=decodeURIComponent(m)}catch{Z(t,"tag prefix is malformed: "+m)}t.tagMap[l]=m}};function Ke(n,t,i,c){var l,m,f,I;if(t<i){if(I=n.input.slice(t,i),c)for(l=0,m=I.length;l<m;l+=1)f=I.charCodeAt(l),f===9||32<=f&&f<=1114111||Z(n,"expected valid JSON character");else $m.test(I)&&Z(n,"the stream contains non-printable characters");n.result+=I}}function Oa(n,t,i,c){var l,m,f,I;for(je.isObject(i)||Z(n,"cannot merge mappings; the provided source object is unacceptable"),l=Object.keys(i),f=0,I=l.length;f<I;f+=1)m=l[f],Xe.call(t,m)||(t[m]=i[m],c[m]=!0)}function fr(n,t,i,c,l,m,f,I,x){var j,S;if(Array.isArray(l))for(l=Array.prototype.slice.call(l),j=0,S=l.length;j<S;j+=1)Array.isArray(l[j])&&Z(n,"nested arrays are not supported inside keys"),typeof l=="object"&&pa(l[j])==="[object Object]"&&(l[j]="[object Object]");if(typeof l=="object"&&pa(l)==="[object Object]"&&(l="[object Object]"),l=String(l),t===null&&(t={}),c==="tag:yaml.org,2002:merge")if(Array.isArray(m))for(j=0,S=m.length;j<S;j+=1)Oa(n,t,m[j],i);else Oa(n,t,m,i);else!n.json&&!Xe.call(i,l)&&Xe.call(t,l)&&(n.line=f||n.line,n.lineStart=I||n.lineStart,n.position=x||n.position,Z(n,"duplicated mapping key")),l==="__proto__"?Object.defineProperty(t,l,{configurable:!0,enumerable:!0,writable:!0,value:m}):t[l]=m,delete i[l];return t}function Ts(n){var t;t=n.input.charCodeAt(n.position),t===10?n.position++:t===13?(n.position++,n.input.charCodeAt(n.position)===10&&n.position++):Z(n,"a line break is expected"),n.line+=1,n.lineStart=n.position,n.firstTabInLine=-1}function he(n,t,i){for(var c=0,l=n.input.charCodeAt(n.position);l!==0;){for(;or(l);)l===9&&n.firstTabInLine===-1&&(n.firstTabInLine=n.position),l=n.input.charCodeAt(++n.position);if(t&&l===35)do l=n.input.charCodeAt(++n.position);while(l!==10&&l!==13&&l!==0);if(Ne(l))for(Ts(n),l=n.input.charCodeAt(n.position),c++,n.lineIndent=0;l===32;)n.lineIndent++,l=n.input.charCodeAt(++n.position);else break}return i!==-1&&c!==0&&n.lineIndent<i&&Pr(n,"deficient indentation"),c}function Br(n){var t=n.position,i;return i=n.input.charCodeAt(t),!!((i===45||i===46)&&i===n.input.charCodeAt(t+1)&&i===n.input.charCodeAt(t+2)&&(t+=3,i=n.input.charCodeAt(t),i===0||we(i)))}function Ls(n,t){t===1?n.result+=" ":t>1&&(n.result+=je.repeat(`
20
- `,t-1))}function Qm(n,t,i){var c,l,m,f,I,x,j,S,M=n.kind,Y=n.result,p;if(p=n.input.charCodeAt(n.position),we(p)||cr(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(l=n.input.charCodeAt(n.position+1),we(l)||i&&cr(l)))return!1;for(n.kind="scalar",n.result="",m=f=n.position,I=!1;p!==0;){if(p===58){if(l=n.input.charCodeAt(n.position+1),we(l)||i&&cr(l))break}else if(p===35){if(c=n.input.charCodeAt(n.position-1),we(c))break}else{if(n.position===n.lineStart&&Br(n)||i&&cr(p))break;if(Ne(p))if(x=n.line,j=n.lineStart,S=n.lineIndent,he(n,!1,-1),n.lineIndent>=t){I=!0,p=n.input.charCodeAt(n.position);continue}else{n.position=f,n.line=x,n.lineStart=j,n.lineIndent=S;break}}I&&(Ke(n,m,f,!1),Ls(n,n.line-x),m=f=n.position,I=!1),or(p)||(f=n.position+1),p=n.input.charCodeAt(++n.position)}return Ke(n,m,f,!1),n.result?!0:(n.kind=M,n.result=Y,!1)}function Km(n,t){var i,c,l;if(i=n.input.charCodeAt(n.position),i!==39)return!1;for(n.kind="scalar",n.result="",n.position++,c=l=n.position;(i=n.input.charCodeAt(n.position))!==0;)if(i===39)if(Ke(n,c,n.position,!0),i=n.input.charCodeAt(++n.position),i===39)c=n.position,n.position++,l=n.position;else return!0;else Ne(i)?(Ke(n,c,l,!0),Ls(n,he(n,!1,t)),c=l=n.position):n.position===n.lineStart&&Br(n)?Z(n,"unexpected end of the document within a single quoted scalar"):(n.position++,l=n.position);Z(n,"unexpected end of the stream within a single quoted scalar")}function Xm(n,t){var i,c,l,m,f,I;if(I=n.input.charCodeAt(n.position),I!==34)return!1;for(n.kind="scalar",n.result="",n.position++,i=c=n.position;(I=n.input.charCodeAt(n.position))!==0;){if(I===34)return Ke(n,i,n.position,!0),n.position++,!0;if(I===92){if(Ke(n,i,n.position,!0),I=n.input.charCodeAt(++n.position),Ne(I))he(n,!1,t);else if(I<256&&za[I])n.result+=$a[I],n.position++;else if((f=Gm(I))>0){for(l=f,m=0;l>0;l--)I=n.input.charCodeAt(++n.position),(f=Ym(I))>=0?m=(m<<4)+f:Z(n,"expected hexadecimal character");n.result+=Wm(m),n.position++}else Z(n,"unknown escape sequence");i=c=n.position}else Ne(I)?(Ke(n,i,c,!0),Ls(n,he(n,!1,t)),i=c=n.position):n.position===n.lineStart&&Br(n)?Z(n,"unexpected end of the document within a double quoted scalar"):(n.position++,c=n.position)}Z(n,"unexpected end of the stream within a double quoted scalar")}function _m(n,t){var i=!0,c,l,m,f=n.tag,I,x=n.anchor,j,S,M,Y,p,H=Object.create(null),ee,C,k,q;if(q=n.input.charCodeAt(n.position),q===91)S=93,p=!1,I=[];else if(q===123)S=125,p=!0,I={};else return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=I),q=n.input.charCodeAt(++n.position);q!==0;){if(he(n,!0,t),q=n.input.charCodeAt(n.position),q===S)return n.position++,n.tag=f,n.anchor=x,n.kind=p?"mapping":"sequence",n.result=I,!0;i?q===44&&Z(n,"expected the node content, but found ','"):Z(n,"missed comma between flow collection entries"),C=ee=k=null,M=Y=!1,q===63&&(j=n.input.charCodeAt(n.position+1),we(j)&&(M=Y=!0,n.position++,he(n,!0,t))),c=n.line,l=n.lineStart,m=n.position,yr(n,t,Tr,!1,!0),C=n.tag,ee=n.result,he(n,!0,t),q=n.input.charCodeAt(n.position),(Y||n.line===c)&&q===58&&(M=!0,q=n.input.charCodeAt(++n.position),he(n,!0,t),yr(n,t,Tr,!1,!0),k=n.result),p?fr(n,I,H,C,ee,k,c,l,m):M?I.push(fr(n,null,H,C,ee,k,c,l,m)):I.push(ee),he(n,!0,t),q=n.input.charCodeAt(n.position),q===44?(i=!0,q=n.input.charCodeAt(++n.position)):i=!1}Z(n,"unexpected end of the stream within a flow collection")}function ey(n,t){var i,c,l=Vs,m=!1,f=!1,I=t,x=0,j=!1,S,M;if(M=n.input.charCodeAt(n.position),M===124)c=!1;else if(M===62)c=!0;else return!1;for(n.kind="scalar",n.result="";M!==0;)if(M=n.input.charCodeAt(++n.position),M===43||M===45)Vs===l?l=M===43?ga:zm:Z(n,"repeat of a chomping mode identifier");else if((S=Zm(M))>=0)S===0?Z(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):f?Z(n,"repeat of an indentation width identifier"):(I=t+S-1,f=!0);else break;if(or(M)){do M=n.input.charCodeAt(++n.position);while(or(M));if(M===35)do M=n.input.charCodeAt(++n.position);while(!Ne(M)&&M!==0)}for(;M!==0;){for(Ts(n),n.lineIndent=0,M=n.input.charCodeAt(n.position);(!f||n.lineIndent<I)&&M===32;)n.lineIndent++,M=n.input.charCodeAt(++n.position);if(!f&&n.lineIndent>I&&(I=n.lineIndent),Ne(M)){x++;continue}if(n.lineIndent<I){l===ga?n.result+=je.repeat(`
21
- `,m?1+x:x):l===Vs&&m&&(n.result+=`
22
- `);break}for(c?or(M)?(j=!0,n.result+=je.repeat(`
23
- `,m?1+x:x)):j?(j=!1,n.result+=je.repeat(`
24
- `,x+1)):x===0?m&&(n.result+=" "):n.result+=je.repeat(`
25
- `,x):n.result+=je.repeat(`
26
- `,m?1+x:x),m=!0,f=!0,x=0,i=n.position;!Ne(M)&&M!==0;)M=n.input.charCodeAt(++n.position);Ke(n,i,n.position,!1)}return!0}function ua(n,t){var i,c=n.tag,l=n.anchor,m=[],f,I=!1,x;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=m),x=n.input.charCodeAt(n.position);x!==0&&(n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,Z(n,"tab characters must not be used in indentation")),!(x!==45||(f=n.input.charCodeAt(n.position+1),!we(f))));){if(I=!0,n.position++,he(n,!0,-1)&&n.lineIndent<=t){m.push(null),x=n.input.charCodeAt(n.position);continue}if(i=n.line,yr(n,t,Ua,!1,!0),m.push(n.result),he(n,!0,-1),x=n.input.charCodeAt(n.position),(n.line===i||n.lineIndent>t)&&x!==0)Z(n,"bad indentation of a sequence entry");else if(n.lineIndent<t)break}return I?(n.tag=c,n.anchor=l,n.kind="sequence",n.result=m,!0):!1}function ry(n,t,i){var c,l,m,f,I,x,j=n.tag,S=n.anchor,M={},Y=Object.create(null),p=null,H=null,ee=null,C=!1,k=!1,q;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=M),q=n.input.charCodeAt(n.position);q!==0;){if(!C&&n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,Z(n,"tab characters must not be used in indentation")),c=n.input.charCodeAt(n.position+1),m=n.line,(q===63||q===58)&&we(c))q===63?(C&&(fr(n,M,Y,p,H,null,f,I,x),p=H=ee=null),k=!0,C=!0,l=!0):C?(C=!1,l=!0):Z(n,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),n.position+=1,q=c;else{if(f=n.line,I=n.lineStart,x=n.position,!yr(n,i,Ea,!1,!0))break;if(n.line===m){for(q=n.input.charCodeAt(n.position);or(q);)q=n.input.charCodeAt(++n.position);if(q===58)q=n.input.charCodeAt(++n.position),we(q)||Z(n,"a whitespace character is expected after the key-value separator within a block mapping"),C&&(fr(n,M,Y,p,H,null,f,I,x),p=H=ee=null),k=!0,C=!1,l=!1,p=n.tag,H=n.result;else if(k)Z(n,"can not read an implicit mapping pair; a colon is missed");else return n.tag=j,n.anchor=S,!0}else if(k)Z(n,"can not read a block mapping entry; a multiline key may not be an implicit key");else return n.tag=j,n.anchor=S,!0}if((n.line===m||n.lineIndent>t)&&(C&&(f=n.line,I=n.lineStart,x=n.position),yr(n,t,Lr,!0,l)&&(C?H=n.result:ee=n.result),C||(fr(n,M,Y,p,H,ee,f,I,x),p=H=ee=null),he(n,!0,-1),q=n.input.charCodeAt(n.position)),(n.line===m||n.lineIndent>t)&&q!==0)Z(n,"bad indentation of a mapping entry");else if(n.lineIndent<t)break}return C&&fr(n,M,Y,p,H,null,f,I,x),k&&(n.tag=j,n.anchor=S,n.kind="mapping",n.result=M),k}function sy(n){var t,i=!1,c=!1,l,m,f;if(f=n.input.charCodeAt(n.position),f!==33)return!1;if(n.tag!==null&&Z(n,"duplication of a tag property"),f=n.input.charCodeAt(++n.position),f===60?(i=!0,f=n.input.charCodeAt(++n.position)):f===33?(c=!0,l="!!",f=n.input.charCodeAt(++n.position)):l="!",t=n.position,i){do f=n.input.charCodeAt(++n.position);while(f!==0&&f!==62);n.position<n.length?(m=n.input.slice(t,n.position),f=n.input.charCodeAt(++n.position)):Z(n,"unexpected end of the stream within a verbatim tag")}else{for(;f!==0&&!we(f);)f===33&&(c?Z(n,"tag suffix cannot contain exclamation marks"):(l=n.input.slice(t-1,n.position+1),Da.test(l)||Z(n,"named tag handle cannot contain such characters"),c=!0,t=n.position+1)),f=n.input.charCodeAt(++n.position);m=n.input.slice(t,n.position),Fm.test(m)&&Z(n,"tag suffix cannot contain flow indicator characters")}m&&!Ba.test(m)&&Z(n,"tag name cannot contain such characters: "+m);try{m=decodeURIComponent(m)}catch{Z(n,"tag name is malformed: "+m)}return i?n.tag=m:Xe.call(n.tagMap,l)?n.tag=n.tagMap[l]+m:l==="!"?n.tag="!"+m:l==="!!"?n.tag="tag:yaml.org,2002:"+m:Z(n,'undeclared tag handle "'+l+'"'),!0}function oy(n){var t,i;if(i=n.input.charCodeAt(n.position),i!==38)return!1;for(n.anchor!==null&&Z(n,"duplication of an anchor property"),i=n.input.charCodeAt(++n.position),t=n.position;i!==0&&!we(i)&&!cr(i);)i=n.input.charCodeAt(++n.position);return n.position===t&&Z(n,"name of an anchor node must contain at least one character"),n.anchor=n.input.slice(t,n.position),!0}function ay(n){var t,i,c;if(c=n.input.charCodeAt(n.position),c!==42)return!1;for(c=n.input.charCodeAt(++n.position),t=n.position;c!==0&&!we(c)&&!cr(c);)c=n.input.charCodeAt(++n.position);return n.position===t&&Z(n,"name of an alias node must contain at least one character"),i=n.input.slice(t,n.position),Xe.call(n.anchorMap,i)||Z(n,'unidentified alias "'+i+'"'),n.result=n.anchorMap[i],he(n,!0,-1),!0}function yr(n,t,i,c,l){var m,f,I,x=1,j=!1,S=!1,M,Y,p,H,ee,C;if(n.listener!==null&&n.listener("open",n),n.tag=null,n.anchor=null,n.kind=null,n.result=null,m=f=I=Lr===i||Ua===i,c&&he(n,!0,-1)&&(j=!0,n.lineIndent>t?x=1:n.lineIndent===t?x=0:n.lineIndent<t&&(x=-1)),x===1)for(;sy(n)||oy(n);)he(n,!0,-1)?(j=!0,I=m,n.lineIndent>t?x=1:n.lineIndent===t?x=0:n.lineIndent<t&&(x=-1)):I=!1;if(I&&(I=j||l),(x===1||Lr===i)&&(Tr===i||Ea===i?ee=t:ee=t+1,C=n.position-n.lineStart,x===1?I&&(ua(n,C)||ry(n,C,ee))||_m(n,ee)?S=!0:(f&&ey(n,ee)||Km(n,ee)||Xm(n,ee)?S=!0:ay(n)?(S=!0,(n.tag!==null||n.anchor!==null)&&Z(n,"alias node should not have any properties")):Qm(n,ee,Tr===i)&&(S=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):x===0&&(S=I&&ua(n,C))),n.tag===null)n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);else if(n.tag==="?"){for(n.result!==null&&n.kind!=="scalar"&&Z(n,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+n.kind+'"'),M=0,Y=n.implicitTypes.length;M<Y;M+=1)if(H=n.implicitTypes[M],H.resolve(n.result)){n.result=H.construct(n.result),n.tag=H.tag,n.anchor!==null&&(n.anchorMap[n.anchor]=n.result);break}}else if(n.tag!=="!"){if(Xe.call(n.typeMap[n.kind||"fallback"],n.tag))H=n.typeMap[n.kind||"fallback"][n.tag];else for(H=null,p=n.typeMap.multi[n.kind||"fallback"],M=0,Y=p.length;M<Y;M+=1)if(n.tag.slice(0,p[M].tag.length)===p[M].tag){H=p[M];break}H||Z(n,"unknown tag !<"+n.tag+">"),n.result!==null&&H.kind!==n.kind&&Z(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+H.kind+'", not "'+n.kind+'"'),H.resolve(n.result,n.tag)?(n.result=H.construct(n.result,n.tag),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):Z(n,"cannot resolve a node with !<"+n.tag+"> explicit tag")}return n.listener!==null&&n.listener("close",n),n.tag!==null||n.anchor!==null||S}function ny(n){var t=n.position,i,c,l,m=!1,f;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);(f=n.input.charCodeAt(n.position))!==0&&(he(n,!0,-1),f=n.input.charCodeAt(n.position),!(n.lineIndent>0||f!==37));){for(m=!0,f=n.input.charCodeAt(++n.position),i=n.position;f!==0&&!we(f);)f=n.input.charCodeAt(++n.position);for(c=n.input.slice(i,n.position),l=[],c.length<1&&Z(n,"directive name must not be less than one character in length");f!==0;){for(;or(f);)f=n.input.charCodeAt(++n.position);if(f===35){do f=n.input.charCodeAt(++n.position);while(f!==0&&!Ne(f));break}if(Ne(f))break;for(i=n.position;f!==0&&!we(f);)f=n.input.charCodeAt(++n.position);l.push(n.input.slice(i,n.position))}f!==0&&Ts(n),Xe.call(ha,c)?ha[c](n,c,l):Pr(n,'unknown document directive "'+c+'"')}if(he(n,!0,-1),n.lineIndent===0&&n.input.charCodeAt(n.position)===45&&n.input.charCodeAt(n.position+1)===45&&n.input.charCodeAt(n.position+2)===45?(n.position+=3,he(n,!0,-1)):m&&Z(n,"directives end mark is expected"),yr(n,n.lineIndent-1,Lr,!1,!0),he(n,!0,-1),n.checkLineBreaks&&qm.test(n.input.slice(t,n.position))&&Pr(n,"non-ASCII line breaks are interpreted as content"),n.documents.push(n.result),n.position===n.lineStart&&Br(n)){n.input.charCodeAt(n.position)===46&&(n.position+=3,he(n,!0,-1));return}if(n.position<n.length-1)Z(n,"end of the stream or a document separator is expected");else return}function dy(n,t){n=String(n),t=t||{},n.length!==0&&(n.charCodeAt(n.length-1)!==10&&n.charCodeAt(n.length-1)!==13&&(n+=`
27
- `),n.charCodeAt(0)===65279&&(n=n.slice(1)));var i=new Hm(n,t),c=n.indexOf("\0");for(c!==-1&&(i.position=c,Z(i,"null byte is not allowed in input")),i.input+="\0";i.input.charCodeAt(i.position)===32;)i.lineIndent+=1,i.position+=1;for(;i.position<i.length-1;)ny(i);return i.documents}function ty(n,t){var i=dy(n,t);if(i.length!==0){if(i.length===1)return i[0];throw new De("expected a single document in the stream, but found more")}}var ly=ty,iy={load:ly},cy=iy.load;const fy=Te(D.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),my=Te(D.jsx("path",{d:"m20.54 5.23-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27M6.24 5h11.52l.81.97H5.44zM5 19V8h14v11zm8.45-9h-2.9v3H8l4 4 4-4h-2.55z"}),"ArchiveOutlined"),yy=Te(D.jsx("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline"),vy=Te(D.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"}),"InsertDriveFileOutlined");var be=function(){return be=Object.assign||function(t){for(var i,c=1,l=arguments.length;c<l;c++){i=arguments[c];for(var m in i)Object.prototype.hasOwnProperty.call(i,m)&&(t[m]=i[m])}return t},be.apply(this,arguments)};function js(n,t,i){for(var c=0,l=t.length,m;c<l;c++)(m||!(c in t))&&(m||(m=Array.prototype.slice.call(t,0,c)),m[c]=t[c]);return n.concat(m||Array.prototype.slice.call(t))}var Iy="data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgMzAwIiB3aWR0aD0iNDA2IiBoZWlnaHQ9IjMwNiIgY2xhc3M9ImlsbHVzdHJhdGlvbiBzdHlsZXNfaWxsdXN0cmF0aW9uVGFibGV0X18xRFdPYSI+PHRpdGxlPiMxNiBmaWxlcyBhbmQgZm9sZGVyczwvdGl0bGU+PHBhdGggZD0iTTE0Ny43MSwxNDcuN0gxNDAuOHYtMi43Nmg2LjkxYTMuNDQsMy40NCwwLDEsMCwwLTYuODhIMTQwLjhWMTM1LjNoNi45MWE2LjIsNi4yLDAsMSwxLDAsMTIuNFoiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMTQ3LjcxLDE0Ny43SDE0MC44di0yLjc2aDYuOTFhMy40NCwzLjQ0LDAsMSwwLDAtNi44OEgxNDAuOFYxMzUuM2g2LjkxYTYuMiw2LjIsMCwxLDEsMCwxMi40WiIgZmlsbD0iI2ZmZiIgb3BhY2l0eT0iMC42MSI+PC9wYXRoPjxlbGxpcHNlIGN4PSIxOTguNTYiIGN5PSIyNTYuOTkiIHJ4PSIxNDUuMDciIHJ5PSIyMC4xOCIgZmlsbD0iI2U2ZTZlNiIgb3BhY2l0eT0iMC40NSI+PC9lbGxpcHNlPjxwYXRoIGQ9Ik0yODguNzUsOTUuNjJjLTEuMzYsMjEuMDctMTEuNDIsNzMuNjEtNzkuNDMsNDQuMDZsMi4zNC02Ljk0czMzLjYxLDUuOTMsNDIuNS02LjU0YzcuNTItMTAuNTYsNy40LTQ1LjE5LDI0LTQzLjU0QTEyLjA5LDEyLjA5LDAsMCwxLDI4OC43NSw5NS42MloiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjg4Ljc1LDk1LjYyYy0xLjM2LDIxLjA3LTExLjQyLDczLjYxLTc5LjQzLDQ0LjA2bDIuMzQtNi45NHMzMy42MSw1LjkzLDQyLjUtNi41NGM3LjUyLTEwLjU2LDcuNC00NS4xOSwyNC00My41NEExMi4wOSwxMi4wOSwwLDAsMSwyODguNzUsOTUuNjJaIiBvcGFjaXR5PSIwLjA4Ij48L3BhdGg+PHBhdGggZD0iTTIyNi4xNSw1Ni4zNnMxLjM4LDcuNTksNCwxMi4xOGEzLjg3LDMuODcsMCwwLDAsNS4zLDEuNDVjMi4zLTEuMzQsNS0zLjgxLDQuNzYtOGwuNDUtNy4xMWE2LjkxLDYuOTEsMCwwLDAtNC44OS02LjMzQzIzMC43Miw0Ni43MSwyMjUuMDgsNTEuNzgsMjI2LjE1LDU2LjM2WiIgZmlsbD0iI2Y0YTI4YyI+PC9wYXRoPjxwb2x5Z29uIHBvaW50cz0iMjQwLjcyIDU3LjIyIDI1NS42OSA3Mi4zMyAyNDYuNzUgODIuMDQgMjM3LjM2IDYzLjk4IDI0MC43MiA1Ny4yMiIgZmlsbD0iI2Y0YTI4YyI+PC9wb2x5Z29uPjxwYXRoIGQ9Ik0yMzUuOCw2MC41OHMtLjczLTIuODgsMS40OC0zLjI1LDMuMjksMy43OS40Nyw1WiIgZmlsbD0iI2Y0YTI4YyI+PC9wYXRoPjxwYXRoIGQ9Ik0yMjcuMjcsNjEuMSwyMjYsNjQuNTNhMS4yNCwxLjI0LDAsMCwwLDEuMjUsMS42N2wzLS4yNFoiIGZpbGw9IiNmNGEyOGMiPjwvcGF0aD48cGF0aCBkPSJNMjY1LjIxLDI0OC43OXMtMiwzLjY1LTUuNTMsMy40MS01LDMtMiw0LjQxLDExLjc0LTEuNDIsMTEuNzQtMS40MmwuNTUtNS4wOFoiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMzA3LjM1LDI0NC4xNHMyLjI1LDMuNTEuMzIsNi40OS4yNiw1LjgzLDIuOTEsMy44Niw0LjQzLTExLDQuNDMtMTFsLTQuMTktMi45M1oiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjM4Ljg3LDY2Ljg4QTE1LjU0LDE1LjU0LDAsMCwwLDI0MC4xOCw2MlMyNDYsNjcuMzgsMjQyLjEsNzMuMVoiIGZpbGw9IiNjZTgxNzIiIG9wYWNpdHk9IjAuMzEiPjwvcGF0aD48cG9seWdvbiBwb2ludHM9IjI2My40NiAxNzAuMzUgMjYzLjAzIDI1MC40NCAyNzMuMzkgMjUwLjQ0IDI4Ni42NSAxNjkuMzIgMjYzLjQ2IDE3MC4zNSIgZmlsbD0iIzI0Mjg1YiI+PC9wb2x5Z29uPjxwYXRoIGQ9Ik0yNDguNDEsNzYuNDZhMzAuNjYsMzAuNjYsMCwwLDEsMTguMzEtNi43MWMxMC44LS4xMSw0MC45MiwxLjc0LDM4Ljg2LDM4LjU4LTEuNTMsMjcuMy0yLjMxLDU3LjUtMi4zMSw1Ny41bC0zOS42Niw2LjYxUzIxNi4yNCwxMDUuNDEsMjQ4LjQxLDc2LjQ2WiIgZmlsbD0iI2ZmZmZmZiI+PC9wYXRoPjxwYXRoIGQ9Ik0yNzQuNjIsODUuNzJzLTguMzEsMTAtMy4xNywyOC4yOCwxMi4zNiw0MC4zMy0xMi40LDUxLjQxbDQuNTYsNywzOS42Ni02LjYxLjUyLTE2Ljg4LDYuMzctMzEuMjZaIiBvcGFjaXR5PSIwLjA4Ij48L3BhdGg+PHJlY3QgeD0iMTA5LjI1IiB5PSIxNTAuMzEiIHdpZHRoPSI2Ni45NyIgaGVpZ2h0PSIxMDYuNjgiIGZpbGw9IiNhNWE1YTUiIG9wYWNpdHk9IjAuNzkiPjwvcmVjdD48cmVjdCB4PSIxMzguNDgiIHk9IjE1MC4zMSIgd2lkdGg9IjU3LjkzIiBoZWlnaHQ9IjEwNi42OCIgZmlsbD0iI2U2ZTZlNiI+PC9yZWN0Pjxwb2x5Z29uIHBvaW50cz0iMTc5LjggMTU2LjU1IDE3OC43NCAxNjIuNjYgMTUwLjMgMTYyLjY2IDE1MC4zIDE4OC40NCAxOTcuNiAxODguNDQgMTk3LjYgMTY3LjQ0IDE5Ny42IDE2Mi42NiAxOTcuNiAxNTYuNTUgMTc5LjggMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIxNzkuOCAxNTYuNTUgMTc4Ljc0IDE2Mi42NiAxNTAuMyAxNjIuNjYgMTUwLjMgMTg4LjQ0IDE5Ny42IDE4OC40NCAxOTcuNiAxNjcuNDQgMTk3LjYgMTYyLjY2IDE5Ny42IDE1Ni41NSAxNzkuOCAxNTYuNTUiIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cG9seWdvbiBwb2ludHM9IjE4Ni43MSAxNTYuNTUgMTg1LjY1IDE2Mi42NiAxNTcuMjEgMTYyLjY2IDE1Ny4yMSAxODguNDQgMjA0LjUxIDE4OC40NCAyMDQuNTEgMTY3LjQ0IDIwNC41MSAxNjIuNjYgMjA0LjUxIDE1Ni41NSAxODYuNzEgMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIyNjIuOTggMTIxLjA3IDI2NC45MiAxMjguMjggMjM4Ljc4IDEzOS40OSAyNTEuMDcgMTY4LjE0IDI5NC41NSAxNDkuNDkgMjg0LjU0IDEyNi4xNiAyODIuMjYgMTIwLjg0IDI3OS4zNCAxMTQuMDUgMjYyLjk4IDEyMS4wNyIgZmlsbD0iI2ZmZDIwMCI+PC9wb2x5Z29uPjxwb2x5Z29uIHBvaW50cz0iMjYyLjk4IDEyMS4wNyAyNjQuOTIgMTI4LjI4IDIzOC43OCAxMzkuNDkgMjUxLjA3IDE2OC4xNCAyOTQuNTUgMTQ5LjQ5IDI4NC41NCAxMjYuMTYgMjgyLjI2IDEyMC44NCAyNzkuMzQgMTE0LjA1IDI2Mi45OCAxMjEuMDciIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cG9seWdvbiBwb2ludHM9IjI2OS4zMyAxMTguMzQgMjcxLjI3IDEyNS41NiAyNDUuMTMgMTM2Ljc2IDI1Ny40MiAxNjUuNDEgMzAwLjg5IDE0Ni43NyAyOTAuODkgMTIzLjQzIDI4OC42MSAxMTguMTIgMjg1LjY5IDExMS4zMyAyNjkuMzMgMTE4LjM0IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHBvbHlnb24gcG9pbnRzPSIxOTIuNDIgMTU2LjU1IDE5MS4zNiAxNjIuNjYgMTYyLjkzIDE2Mi42NiAxNjIuOTMgMTg4LjQ0IDIxMC4yMyAxODguNDQgMjEwLjIzIDE2Ny40NCAyMTAuMjMgMTYyLjY2IDIxMC4yMyAxNTYuNTUgMTkyLjQyIDE1Ni41NSIgZmlsbD0iI2ZmZDIwMCI+PC9wb2x5Z29uPjxwb2x5Z29uIHBvaW50cz0iMTkyLjQyIDE1Ni41NSAxOTEuMzYgMTYyLjY2IDE2Mi45MyAxNjIuNjYgMTYyLjkzIDE4OC40NCAyMTAuMjMgMTg4LjQ0IDIxMC4yMyAxNjcuNDQgMjEwLjIzIDE2Mi42NiAyMTAuMjMgMTU2LjU1IDE5Mi40MiAxNTYuNTUiIG9wYWNpdHk9IjAuMDgiPjwvcG9seWdvbj48cmVjdCB4PSIxNjQuMTIiIHk9IjE1MS41NiIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjIuMDkgMjguNjIpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiMyNDI4NWIiPjwvcmVjdD48cmVjdCB4PSIxNjQuMTIiIHk9IjE1MS41NiIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjIuMDkgMjguNjIpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiNmZmYiIG9wYWNpdHk9IjAuMTIiPjwvcmVjdD48cmVjdCB4PSIxNjYuNDUiIHk9IjE0Ny4yMyIgd2lkdGg9IjQ0LjkxIiBoZWlnaHQ9IjMwLjU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjEuNDQgMjguOTEpIHJvdGF0ZSgtOC4yOCkiIGZpbGw9IiMyNDI4NWIiPjwvcmVjdD48cG9seWdvbiBwb2ludHM9IjE5OS4zMyAxNTYuNTUgMTk4LjI3IDE2Mi42NiAxNjkuODQgMTYyLjY2IDE2OS44NCAxODguNDQgMjE3LjE0IDE4OC40NCAyMTcuMTQgMTY3LjQ0IDIxNy4xNCAxNjIuNjYgMjE3LjE0IDE1Ni41NSAxOTkuMzMgMTU2LjU1IiBmaWxsPSIjZmZkMjAwIj48L3BvbHlnb24+PHJlY3QgeD0iMTQ3LjY1IiB5PSIxNzAuMzciIHdpZHRoPSI3NC41NCIgaGVpZ2h0PSIyOS4xIiBmaWxsPSIjYTVhNWE1Ij48L3JlY3Q+PHBhdGggZD0iTTI5MS4xMywxMjRhMjEyLjI0LDIxMi4yNCwwLDAsMS0xNCwxNi4yNyw2My43OCw2My43OCwwLDAsMS0xMi42Nyw5LjkyYy0yLjY5LDEuNjUtNS41Miw0LjU5LTMuNjIsOS4xOWgxNC44MUwyOTUsMTMzLjEzWiIgb3BhY2l0eT0iMC4wOCI+PC9wYXRoPjxyZWN0IHg9IjE3MS4xNiIgeT0iMTcwLjM3IiB3aWR0aD0iNTEuMDIiIGhlaWdodD0iMjkuMSIgZmlsbD0iI2YyZjJmMiI+PC9yZWN0PjxyZWN0IHg9IjE0Ny42NSIgeT0iMjEyLjkyIiB3aWR0aD0iNTkuMDIiIGhlaWdodD0iMjkuMSIgZmlsbD0iI2YyZjJmMiI+PC9yZWN0PjxyZWN0IHg9IjEyOC4zOCIgeT0iMTMyLjMiIHdpZHRoPSIxNi44OSIgaGVpZ2h0PSIxOC40IiBmaWxsPSIjZmZmZmZmIj48L3JlY3Q+PGNpcmNsZSBjeD0iMTk3LjU3IiBjeT0iMTgzLjc1IiByPSI0LjA5IiBmaWxsPSIjYTVhNWE1Ij48L2NpcmNsZT48Y2lyY2xlIGN4PSIxNzguMDQiIGN5PSIyMjYuMzEiIHI9IjQuMDkiIGZpbGw9IiNhNWE1YTUiPjwvY2lyY2xlPjxwYXRoIGQ9Ik0yMTEuMjMsMTM0YTIyLjE2LDIyLjE2LDAsMCwwLTguMjYsMS4yNWMtNC40MywxLjU2LTguNTMsNS41MS01LjM3LDEwLjEzLDIuNDQsMy41Niw1LjksMS43Miw3LjE5LTEuMTNzMi4wNy01LjYxLDQuNTMtNC41N1oiIGZpbGw9IiNmNGEyOGMiPjwvcGF0aD48cGF0aCBkPSJNMjg4LjQ4LDc0LjUzYTUxLjc0LDUxLjc0LDAsMCwxLDI5LDI3LjA4LDM2LjQsMzYuNCwwLDAsMS0xLjA5LDMzLjIxYy01Ljg3LDEwLjI2LTE3LjksMjEuNzctNDIuNTcsMjYuNzVsLTIuODctNy4yMSwyMy41Ni0yMC42OWExMi4xOCwxMi4xOCwwLDAsMCwuNTgtMTcuNzljLTctNy0xNS45LTE3LjMtMTkuOTEtMjguMTdBMTAuMywxMC4zLDAsMCwxLDI4OC40OCw3NC41M1oiIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48cGF0aCBkPSJNMjg4LjQ4LDc0LjUzYTUxLjc0LDUxLjc0LDAsMCwxLDI5LDI3LjA4LDM2LjQsMzYuNCwwLDAsMS0xLjA5LDMzLjIxYy01Ljg3LDEwLjI2LTE3LjksMjEuNzctNDIuNTcsMjYuNzVsLTIuODctNy4yMSwyMy41Ni0yMC42OWExMi4xOCwxMi4xOCwwLDAsMCwuNTgtMTcuNzljLTctNy0xNS45LTE3LjMtMTkuOTEtMjguMTdBMTAuMywxMC4zLDAsMCwxLDI4OC40OCw3NC41M1oiIGZpbGw9IiNmZmYiIG9wYWNpdHk9IjAuMiI+PC9wYXRoPjxwYXRoIGQ9Ik0yNzEuNDUsMTU1LjdzLTExLTEuMi0xMiwzLTEuNjgsNi43NC0xLjY4LDYuNzRhMzAuMSwzMC4xLDAsMCwwLDE1LjY2LTQuODJaIiBmaWxsPSIjZjRhMjhjIj48L3BhdGg+PHBhdGggZD0iTTMwMy4yNywxNjUuODNhMTA0Ljc4LDEwNC43OCwwLDAsMSwuMTgsMTUuMzhjLS4yNyw2LjMxLTEuOTEsMTYuODItMy4xNSwyNC4wOUEyMy4yMiwyMy4yMiwwLDAsMCwzMDMsMjIwLjZsMTAsMTcuNzktNy4yNiw3LjI0LTExLjkxLTE1LjQ4YTY0Ljg4LDY0Ljg4LDAsMCwxLTEyLjE2LTI3bC0zLjc5LTE5LjM0LTkuNTUtMTIuMTRaIiBmaWxsPSIjMjQyODViIj48L3BhdGg+PHBhdGggZD0iTTIyMS43NSw0Ny4zM3MtMy4wOSw3LjE0LDQuMjksNy40OSw3LjI5LTEuMTUsNy4yOS0xLjE1LjQ2LDkuNTQsNi44NSw4LjM1bDIuNjUtMi42OHMzLTEyLjE3LTIuMi0xNC44NEMyNDAuNjMsNDQuNSwyMzAuMjUsMzMuODMsMjIxLjc1LDQ3LjMzWiIgZmlsbD0iIzI0Mjg1YiI+PC9wYXRoPjxwYXRoIGQ9Ik0yMzUuNjgsNjEuNzNzLjM5LTYuMjIsMy44OS00LjY3UzI0MC43Niw2NS4zOSwyMzUuNjgsNjEuNzNaIiBmaWxsPSIjZjRhMjhjIj48L3BhdGg+PHBhdGggZD0iTTE0MC44LDEzMi4zczExLjg5LTcuNjMsMC0xOC4zLTE2LjU1LDE0LTI1LjIyLTIuNjcsMTMuMzMtMzQuNjYtMTEtMzZTOTUuNDcsNTguNjIsNzQuNTIsNTYuODEsNDcuOTEsOTIuMTEsNjMuOTEsOTQuNTZzMzEuMzQsMy40NCwyNywxOC43NywxMiwxOS41LDE5LjY3LDE1Ljc1LDE3LjgsMy4yMiwxNy44LDMuMjJaIiBmaWxsPSIjZTZlNmU2IiBvcGFjaXR5PSIwLjQ1Ij48L3BhdGg+PHBhdGggZD0iTTk4LDI0MnMtMTEuODUtMy4xOC0xNC40Ny0xNC4xOGMwLDAsMTguMzItMy43OCwxOC45MiwxNS4xNFoiIGZpbGw9IiNmZmZmZmYiIG9wYWNpdHk9IjAuNTgiPjwvcGF0aD48cGF0aCBkPSJNOTkuNDYsMjQwLjc4cy04LjMyLTEzLTEuMS0yNS4yOGMwLDAsMTQsOC43OSw3Ljg2LDI1LjI4WiIgZmlsbD0iI2ZmZmZmZiIgb3BhY2l0eT0iMC43MyI+PC9wYXRoPjxwYXRoIGQ9Ik0xMDEuNTksMjQwLjc4czQuMzEtMTMuODIsMTcuNS0xNi40OWMwLDAsMi41Miw5LTguNDgsMTYuNDlaIiBmaWxsPSIjZmZmZmZmIj48L3BhdGg+PHBvbHlnb24gcG9pbnRzPSI5My4wMSAyNDAuNTEgOTUuNDggMjU2LjkxIDExMC41OCAyNTYuOTEgMTEyLjc0IDI0MC41MSA5My4wMSAyNDAuNTEiIGZpbGw9IiMyNDI4NWIiPjwvcG9seWdvbj48L3N2Zz4=";function Fa(n){var t=n.size,i=n.file,c=n.index,l=n.disabled,m=n.handleRemoveFile,f=vr(),I=le.useRef(null),x=B.createElement(vy,{color:"primary",fontSize:"large"});return/\.(g?zip|tar|gz|rar)$/i.test(i.name)&&(x=B.createElement(my,{color:"primary",fontSize:"large"})),/\.(mp.|midi|mkv|avi)$/i.test(i.name)&&(x=B.createElement(yy,{color:"primary",fontSize:"large"})),B.createElement(B.Fragment,null,B.createElement(Nr,{sx:{mb:0,display:"flex",alignItems:"center","&:nth-of-type(even)":{backgroundColor:f.palette.action.hover}}},B.createElement(Nr,{sx:{display:"flex",flexGrow:1,alignItems:"center"}},B.createElement(Bc,{alt:"",src:i.path,ref:I,variant:"rounded",sx:{m:.5,width:32,height:32,display:"flex",background:"transparent"}},x),B.createElement(ke,{component:"div",sx:{display:"inline-grid",alignItems:"center"}},B.createElement(ke,{variant:"body2",noWrap:!0},i.name),B.createElement(ke,{variant:"caption",noWrap:!0},B.createElement(B.Fragment,null,B.createElement("b",null,t)," | ",B.createElement("b",null,i!=null&&i.extension?i.extension.toLowerCase():""))))),B.createElement(ke,{component:"div",sx:{mr:-.5,textAlign:"right"}},B.createElement(ja,{disabled:l,onClick:function(j){return m(j,c)}},B.createElement(fy,null)))))}Fa.propTypes={size:K.string,file:K.object,disabled:K.bool,index:K.number.isRequired,handleRemoveFile:K.func.isRequired};var gy=Le(ke)(function(){return{"&::-webkit-scrollbar":{width:7,height:6},"&::-webkit-scrollbar-track":{WebkitBoxShadow:"inset 0 0 6px rgb(125, 161, 196, 0.5)"},"&::-webkit-scrollbar-thumb":{WebkitBorderRadius:4,borderRadius:4,background:"rgba(0, 172, 193, .5)",WebkitBoxShadow:"inset 0 0 6px rgba(25, 118, 210, .5)"},"&::-webkit-scrollbar-thumb:window-inactive":{background:"rgba(125, 161, 196, 0.5)"}}}),Sa=1024*1024;function Ps(n){var t=n.title,i=n.header,c=n.onError,l=n.disabled,m=n.imageSrc,f=n.getBase64,I=n.imageSrcAlt,x=n.multiFile,j=n.leftLabel,S=n.rightLabel,M=n.buttonLabel,Y=n.maxFileSize,p=n.bannerProps,H=n.BannerProps,ee=n.acceptedType,C=n.defaultFiles,k=n.onFilesChange,q=n.maxUploadFiles,oe=q===void 0?0:q,z=n.containerProps,fe=n.ContainerProps,_=n.onContextReady,Ie=n.showPlaceholderImage,F=n.errorSizeMessage,P=n.allowedExtensions,U=n.buttonRemoveLabel,re=n.LabelsGridProps,ue=n.PlaceholderGridProps,Oe=n.filesContainerHeight,ge=n.maxFilesContainerHeight,J=n.placeholderImageDimension,w=n.PlaceholderImageDimension,O=vr(),L=be(be({},p),H),E=be(be({},z),fe),N=be(be({},J),w),T=N.lg,y=N.md,v=N.sm,h=N.xs,A=le.useState(),u=A[0],g=A[1],b=le.useState(),R=b[0],$=b[1],X=le.useState(),ne=X[0],se=X[1],ae=le.useState([]),G=ae[0],ie=ae[1],ye=le.useState([]),ve=ye[0],Je=ye[1],Se=le.useRef(null),Ir=le.useRef(null),ar=le.useRef(null),Be={width:128,height:128};ur(O.breakpoints.up("xs"))&&h&&(Be=h),ur(O.breakpoints.up("sm"))&&v&&(Be=v),ur(O.breakpoints.up("md"))&&y&&(Be=y),ur(O.breakpoints.up("lg"))&&T&&(Be=T);var W=function(de,me){if(se(!1),g(null),!me&&de.target.files&&(me=de.target.files),(!me||me.length===0)&&c)return c("Empty file input"),!1;if(oe&&oe-G.length<=0&&c){var Pe="You cannot attach more than ".concat(oe," files");return g(Pe),c(Pe),!1}if(window.File&&window.FileReader&&window.FileList&&window.Blob)try{for(var Gr=function(Ar){var Me=me[Ar],hr=new FileReader,_e=Me.type.split("/")[1];if(Y&&Y>0&&Me.size>1048576*Y){var nr=F||"The size of files cannot exceed ".concat(Y,"Mb");return g(nr),c&&c(nr),"continue"}if(P&&P.length>0){var Mr=P.findIndex(function(Zr){return Zr.toLowerCase()===_e.toLowerCase()})!==-1;if(!Mr){var kr="Extension .".concat(_e," has been excluded");return g(kr),c&&c(kr),"continue"}}f||(ve.push(Me),Je(ve)),hr.addEventListener("load",function(){G.push({name:Me.name,size:Me.size,path:this.result,type:Me.type,contentType:Me.type,lastModified:Me.lastModified,extension:_e==null?void 0:_e.toLowerCase()}),ie(js([],G,!0))},!1),hr.readAsDataURL(Me)},pr=0;pr<(me==null?void 0:me.length);pr++)Gr(pr);return de.target.value="",!0}catch(Ar){return g(Ar.toString()),!1}return!1},gr=function(de,me){if(g(null),Se.current&&(Se.current.value=""),typeof me!="number"){ie([]),Je([]);return}if(me<0||me>G.length-1)return console.error("item's index not found...");var Pe=be({},G[me]);return G==null||G.splice(me,1),ve==null||ve.splice(me,1),ie(js([],G)),Je(js([],ve)),Pe},zr=le.useCallback(function(de){de.preventDefault(),se(!0)},[]),$r=le.useCallback(function(de){de.stopPropagation(),de.preventDefault()},[]),qr=le.useCallback(function(de){var me;de.stopPropagation(),de.preventDefault(),se(!1),$({event:de,files:(me=de.dataTransfer)===null||me===void 0?void 0:me.files})},[]),Fr=le.useCallback(function(){se(!1)},[]),br=function(){return{addFile:W,removeFile:gr,input:Se.current,files:f?G:ve}};le.useEffect(function(){Se.current&&_&&typeof _=="function"&&_(br())},[Se.current]),le.useEffect(function(){var de=ar.current;de&&!de.ondrop&&!l&&(de.ondrop=qr,de.ondragend=Fr,de.ondragover=$r,de.ondragenter=zr)},[ar.current]),le.useEffect(function(){C&&C.length>0&&G.length!==C.length&&ie(C)},[C]),le.useEffect(function(){R!=null&&R.event&&(R!=null&&R.files)&&(W(R.event,R.files),$(null)),k&&(k(f?G:ve),_&&_(br()))},[G,R]);var Yr=ne?O.palette.secondary.light:O.palette.primary.light;return B.createElement(B.Fragment,null,B.createElement(Js,be({sx:{p:1},elevation:0,ref:ar,variant:"outlined"},E),B.createElement(ke,{gutterBottom:!0,component:"div",color:"textSecondary",sx:{display:"flex"}},B.createElement(Nr,{sx:{flexGrow:1,fontSize:12}},t),(G==null?void 0:G.length)>0&&B.createElement(Nr,{sx:{fontSize:12}},G.length,oe>0&&"/".concat(oe)," file",(G==null?void 0:G.length)>1&&"s"," joined")),B.createElement(Js,be({elevation:0,sx:{p:1,transition:500,background:Yr}},L),B.createElement(Os,{container:!0,spacing:2,alignItems:"center",justifyContent:"center"},Ie&&B.createElement(Os,be({item:!0,xs:12,sm:3,md:4,sx:{textAlign:"center",mt:{xs:-3,sm:2}}},ue),B.createElement("img",{alt:I,src:m||Iy,width:Be.width,height:Be.height})),B.createElement(Os,be({item:!0,xs:12,sm:!0,md:!0,sx:{color:"#fff",textAlign:"center",mt:{xs:Ie?-4:0,sm:2}}},re),B.createElement(ya,{smDown:!0},B.createElement(ke,{variant:"h5"},B.createElement("b",null,i))),B.createElement(ya,{smUp:!0},B.createElement(ke,{variant:"h6"},B.createElement("b",null,i))),B.createElement(ke,{variant:"caption"},j,B.createElement(ws,{size:"small",color:"secondary",variant:"outlined",disabled:l,onClick:function(){var de;return(de=Se.current)===null||de===void 0?void 0:de.click()},sx:{m:.5,color:O.palette.grey[50],borderColor:O.palette.grey[50],"&:hover":{borderColor:O.palette.grey[50]}}},M),S),B.createElement("input",{type:"file",ref:Se,onChange:function(de){return W(de)},multiple:x,accept:ee,style:{display:"none"}})))),u&&B.createElement(Cc,{color:"error",severity:"error",sx:{mt:1},onClose:function(){return g(null)}},u),(G==null?void 0:G.length)>0&&B.createElement(B.Fragment,null,B.createElement(gy,{component:"div",sx:{overflowY:"auto",mt:2,mr:-1,pr:1,height:Oe,maxHeight:ge}},G==null?void 0:G.map(function(de,me){var Pe=(de.size/1024).toFixed(2)+" Kb";return de.size>Sa&&(Pe=(de.size/Sa).toFixed(2)+" Mb"),B.createElement(Fa,{file:de,size:Pe,index:me,disabled:l,key:"upload-file--".concat(me),handleRemoveFile:gr})})),B.createElement(ke,{component:"div",align:"right",sx:{mt:1}},B.createElement(ws,{size:"small",disabled:l,onClick:gr,ref:Ir},U||"Remove all")))))}Ps.propTypes={getBase64:K.bool,maxUploadFiles:K.number,title:K.string,header:K.string,leftLabel:K.string,rightLabel:K.string,buttonLabel:K.string,multiFile:K.bool,disabled:K.bool,defaultFiles:K.array,maxFileSize:K.number,maxFilesContainerHeight:K.number,errorSizeMessage:K.string,imageSrc:K.string,imageSrcAlt:K.string,acceptedType:K.string,bannerProps:K.object,BannerProps:K.object,containerProps:K.object,ContainerProps:K.object,allowedExtensions:K.array,onError:K.func,onContextReady:K.func,onFilesChange:K.func,showPlaceholderImage:K.bool,LabelsGridProps:K.object,PlaceholderGridProps:K.object,placeholderImageDimension:K.object,PlaceholderImageDimension:K.object};Ps.defaultProps={getBase64:!1,multiFile:!0,maxFileSize:0,maxUploadFiles:0,acceptedType:"*/*",defaultFiles:[],allowedExtensions:[],title:"My awesome file uploader",header:">[Drag to drop]<",leftLabel:"or",rightLabel:"to select files",buttonLabel:"click here",imageSrcAlt:"Placeholder image",maxFilesContainerHeight:300,showPlaceholderImage:!0,placeholderImageDimension:{},PlaceholderImageDimension:{},bannerProps:{},BannerProps:{},containerProps:{},ContainerProps:{},LabelsGridProps:{},PlaceholderGridProps:{}};const py=n=>{const[t,i]=B.useState([]),c=async l=>{if(l.length===0){n.onChange(null,null);return}const m=l[l.length-1],f=await m.arrayBuffer(),I=new TextDecoder().decode(f),x=m.name.split(".").pop();try{const j=x==="json"?JSON.parse(I):cy(I),S=vf({model:"chatgpt",document:j,options:{reference:!0}});S.success===!0?n.onChange(S.data,null):n.onChange(null,JSON.stringify(S.errors,null,2))}catch{n.onChange(null,x==="json"?"Invalid JSON file":"Invalid YAML file");return}l.length>1&&i([m])};return D.jsx(Ps,{defaultFiles:t,onFilesChange:c,acceptedType:".json, .yaml",getBase64:!1,multiFile:!1,maxUploadFiles:1,title:"Swagger file uploader",header:"Drag and drop a Swagger file here",buttonLabel:"Click Here",rightLabel:"to select swagger.json/yaml file",buttonRemoveLabel:"Clear"})},Ay=n=>{const[t,i]=le.useState("http://localhost:37001"),[c,l]=le.useState({Authorization:"YOUR_SERVER_API_KEY"}),[m,f]=le.useState("gpt-4o-mini"),[I,x]=le.useState(""),[j,S]=le.useState(null),[M,Y]=le.useState(!1),p=(C,k)=>{S(C),k!==null&&H(k)},H=C=>{n.onError?n.onError(C):alert(C)},ee=async()=>{if(j!==null){Y(!0);try{const C={api:new fc({apiKey:I,dangerouslyAllowBrowser:!0}),model:m},k=new mc({model:"chatgpt",vendor:C,controllers:[{protocol:"http",name:"main",application:j,connection:{host:t,headers:c}}]});n.onSuccess(D.jsx(yc,{agent:k}))}catch(C){H(C instanceof Error?C.message:"unknown error"),Y(!1)}}};return D.jsxs("div",{style:n.style,children:[D.jsx(py,{onChange:p}),D.jsx("br",{}),D.jsxs(cc,{fullWidth:!0,children:[D.jsx(ke,{variant:"h6",children:"HTTP Connection"}),D.jsx("br",{}),D.jsx(la,{onChange:C=>i(C.target.value),defaultValue:t,label:"Host URL",variant:"outlined",placeholder:"Server URL",error:t.length===0}),D.jsx("br",{}),D.jsx(ps,{children:" Headers "}),D.jsx(uf,{locale:Ca,theme:"dark_vscode_tribute",placeholder:c,onChange:l,height:"100px"}),D.jsx("br",{}),D.jsx("br",{}),D.jsx(ke,{variant:"h6",children:"LLM Arguments"}),D.jsx("br",{}),D.jsx(ps,{children:" LLM Provider "}),D.jsx(ia,{defaultValue:"chatgpt",style:{paddingLeft:15},children:D.jsx(As,{value:"chatgpt",control:D.jsx(hs,{}),label:"OpenAI (ChatGPT)"})}),D.jsx(ps,{style:{paddingTop:20},children:" OpenAI Model "}),D.jsxs(ia,{defaultValue:m,onChange:(C,k)=>f(k),style:{paddingLeft:15},children:[D.jsx(As,{value:"gpt-4o-mini",control:D.jsx(hs,{}),label:"GPT-4o Mini"}),D.jsx(As,{value:"gpt-4o",control:D.jsx(hs,{}),label:"GPT-4o"})]}),D.jsx("br",{}),D.jsx(la,{onChange:C=>x(C.target.value),defaultValue:I,label:"OpenAI API Key",variant:"outlined",placeholder:"Your OpenAI API Key",error:I.length===0})]}),D.jsx("br",{}),D.jsx("br",{}),D.jsx(ws,{component:"a",fullWidth:!0,variant:"contained",color:"info",size:"large",disabled:M===!0||document===null||j===null||t.length===0||I.length===0,onClick:()=>ee(),children:M?"Generating...":"Generate AI Chatbot"})]})};ta(window.document.getElementById("root")).render(D.jsx(Ay,{style:{width:"calc(100% - 30px)",height:"calc(100% - 30px)",overflowY:"auto",padding:15},onSuccess:n=>{ta(window.document.getElementById("root")).render(n)}}));