@agentica/chat 0.16.3 → 0.16.4

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 Qi,v as Ki,w as Xi,r as le,x as _i,y as ua,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 xr,f as Ur,m as xa,A as oa,C as aa,D as gs,E as ec,F as rc,G as sc,H as Dr,I as ks,b as oc,R as B,T as ke,o as na}from"../client-B3aq8qpT.js";import{I as Sa,P as Js,u as vr,g as ac,a as ur,_ as nc,H as dc,O as tc,B as ws,F as lc,T as da,b as ps,R as ta,c as As,d as hs,e as ic,A as cc,f as mc}from"../AgenticaChatApplication-B8ENbee0.js";import{_ as V}from"../_accessExpressionAsString-J5NhZ9FO.js";var Va={exports:{}},fc="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yc=fc,vc=yc;function ja(){}function Ja(){}Ja.resetWarningCache=ja;var Ic=function(){function n(c,l,f,m,I,S){if(S!==vc){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:Ja,resetWarningCache:ja};return i.PropTypes=i,i};Va.exports=Ic();var gc=Va.exports;const Q=Qi(gc);function pc(n={}){const{themeId:t,defaultTheme:i,defaultClassName:c="MuiBox-root",generateClassName:l}=n,f=Ki("div",{shouldForwardProp:I=>I!=="theme"&&I!=="sx"&&I!=="as"})(Xi);return le.forwardRef(function(S,j){const x=_i(i),{className:M,component:Y="div",...p}=ua(S);return D.jsx(f,{as:Y,ref:j,className:Jr(M,l?l(c):c),theme:t&&x[t]||x,...p})})}function Ac(n){return Er("MuiAlert",n)}const la=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"]),hc=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"),Oc=Te(D.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),uc=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"),xc=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"),Sc=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"),Vc=n=>{const{variant:t,color:i,severity:c,classes:l}=n,f={root:["root",`color${xr(i||c)}`,`${t}${xr(i||c)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Ur(f,Ac,l)},jc=Le(Js,{name:"MuiAlert",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:i}=n;return[t.root,t[i.variant],t[`${i.variant}${xr(i.color||i.severity)}`]]}})(xa(({theme:n})=>{const t=n.palette.mode==="light"?oa:aa,i=n.palette.mode==="light"?aa:oa;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),[`& .${la.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}`,[`& .${la.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)}}}))]}})),Jc=Le("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(n,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),wc=Le("div",{name:"MuiAlert",slot:"Message",overridesResolver:(n,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),bc=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}),ia={success:D.jsx(hc,{fontSize:"inherit"}),warning:D.jsx(Oc,{fontSize:"inherit"}),error:D.jsx(uc,{fontSize:"inherit"}),info:D.jsx(xc,{fontSize:"inherit"})},Mc=le.forwardRef(function(t,i){const c=Ms({props:t,name:"MuiAlert"}),{action:l,children:f,className:m,closeText:I="Close",color:S,components:j={},componentsProps:x={},icon:M,iconMapping:Y=ia,onClose:p,role:K="alert",severity:ee="success",slotProps:C={},slots:k={},variant:q="standard",...oe}=c,z={...c,color:S,severity:ee,variant:q,colorSeverity:S||ee},me=Vc(z),_={slots:{closeButton:j.CloseButton,closeIcon:j.CloseIcon,...k},slotProps:{...x,...C}},[Ie,F]=sr("root",{ref:i,shouldForwardComponentProp:!0,className:Jr(me.root,m),elementType:jc,externalForwardedProps:{..._,...oe},ownerState:z,additionalProps:{role:K,elevation:0}}),[P,U]=sr("icon",{className:me.icon,elementType:Jc,externalForwardedProps:_,ownerState:z}),[re,ue]=sr("message",{className:me.message,elementType:wc,externalForwardedProps:_,ownerState:z}),[Oe,ge]=sr("action",{className:me.action,elementType:bc,externalForwardedProps:_,ownerState:z}),[J,w]=sr("closeButton",{elementType:Sa,externalForwardedProps:_,ownerState:z}),[O,L]=sr("closeIcon",{elementType:Sc,externalForwardedProps:_,ownerState:z});return D.jsxs(Ie,{...F,children:[M!==!1?D.jsx(P,{...U,children:M||Y[ee]||ia[ee]}):null,D.jsx(re,{...ue,children:f}),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]})}),kc=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 Rc(n){return Er("MuiAvatar",n)}wr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Cc=n=>{const{classes:t,variant:i,colorDefault:c}=n;return Ur({root:["root",i,c&&"colorDefault"],img:["img"],fallback:["fallback"]},Rc,t)},Nc=Le("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:i}=n;return[t.root,t[i.variant],i.colorDefault&&t.colorDefault]}})(xa(({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]})}}}]}))),Tc=Le("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(n,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Lc=Le(kc,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(n,t)=>t.fallback})({width:"75%",height:"75%"});function Pc({crossOrigin:n,referrerPolicy:t,src:i,srcSet:c}){const[l,f]=le.useState(!1);return le.useEffect(()=>{if(!i&&!c)return;f(!1);let m=!0;const I=new Image;return I.onload=()=>{m&&f("loaded")},I.onerror=()=>{m&&f("error")},I.crossOrigin=n,I.referrerPolicy=t,I.src=i,c&&(I.srcset=c),()=>{m=!1}},[n,t,i,c]),l}const Ec=le.forwardRef(function(t,i){const c=Ms({props:t,name:"MuiAvatar"}),{alt:l,children:f,className:m,component:I="div",slots:S={},slotProps:j={},imgProps:x,sizes:M,src:Y,srcSet:p,variant:K="circular",...ee}=c;let C=null;const k={...c,component:I,variant:K},q=Pc({...x,...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 me=Cc(k),[_,Ie]=sr("img",{className:me.img,elementType:Tc,externalForwardedProps:{slots:S,slotProps:{img:{...x,...j.img}}},additionalProps:{alt:l,src:Y,srcSet:p,sizes:M},ownerState:k});return z?C=D.jsx(_,{...Ie}):f||f===0?C=f:oe&&l?C=l[0]:C=D.jsx(Lc,{ownerState:k,className:me.fallback}),D.jsx(Nc,{as:I,className:Jr(me.root,m),ref:i,...ee,ownerState:k,children:C})}),Uc=wr("MuiBox",["root"]),Dc=sc(),Nr=pc({themeId:rc,defaultTheme:Dc,defaultClassName:Uc.root,generateClassName:ec.generate}),ca=le.createContext();function Bc(n){return Er("MuiGrid",n)}const zc=[0,1,2,3,4,5,6,7,8,9,10],$c=["column-reverse","column","row-reverse","row"],qc=["nowrap","wrap-reverse","wrap"],Or=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Sr=wr("MuiGrid",["root","container","item","zeroMinWidth",...zc.map(n=>`spacing-xs-${n}`),...$c.map(n=>`direction-xs-${n}`),...qc.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 Fc({theme:n,ownerState:t}){let i;return n.breakpoints.keys.reduce((c,l)=>{let f={};if(t[l]&&(i=t[l]),!i)return c;if(i===!0)f={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(i==="auto")f={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const m=Dr({values:t.columns,breakpoints:n.breakpoints.values}),I=typeof m=="object"?m[l]:m;if(I==null)return c;const S=`${Math.round(i/I*1e8)/1e6}%`;let j={};if(t.container&&t.item&&t.columnSpacing!==0){const x=n.spacing(t.columnSpacing);if(x!=="0px"){const M=`calc(${S} + ${x})`;j={flexBasis:M,maxWidth:M}}}f={flexBasis:S,flexGrow:0,maxWidth:S,...j}}return n.breakpoints.values[l]===0?Object.assign(c,f):c[n.breakpoints.up(l)]=f,c},{})}function Yc({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[`& > .${Sr.item}`]={maxWidth:"none"}),l})}function wa({breakpoints:n,values:t}){let i="";Object.keys(t).forEach(l=>{i===""&&t[l]!==0&&(i=l)});const c=Object.keys(n).sort((l,f)=>n[l]-n[f]);return c.slice(0,c.indexOf(i))}function Gc({theme:n,ownerState:t}){const{container:i,rowSpacing:c}=t;let l={};if(i&&c!==0){const f=Dr({values:c,breakpoints:n.breakpoints.values});let m;typeof f=="object"&&(m=wa({breakpoints:n.breakpoints.values,values:f})),l=ks({theme:n},f,(I,S)=>{const j=n.spacing(I);return j!=="0px"?{marginTop:`calc(-1 * ${j})`,[`& > .${Sr.item}`]:{paddingTop:j}}:m!=null&&m.includes(S)?{}:{marginTop:0,[`& > .${Sr.item}`]:{paddingTop:0}}})}return l}function Zc({theme:n,ownerState:t}){const{container:i,columnSpacing:c}=t;let l={};if(i&&c!==0){const f=Dr({values:c,breakpoints:n.breakpoints.values});let m;typeof f=="object"&&(m=wa({breakpoints:n.breakpoints.values,values:f})),l=ks({theme:n},f,(I,S)=>{const j=n.spacing(I);if(j!=="0px"){const x=`calc(-1 * ${j})`;return{width:`calc(100% + ${j})`,marginLeft:x,[`& > .${Sr.item}`]:{paddingLeft:j}}}return m!=null&&m.includes(S)?{}:{width:"100%",marginLeft:0,[`& > .${Sr.item}`]:{paddingLeft:0}}})}return l}function Wc(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 f=n[l];Number(f)>0&&c.push(i[`spacing-${l}-${String(f)}`])}),c}const Hc=Le("div",{name:"MuiGrid",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:i}=n,{container:c,direction:l,item:f,spacing:m,wrap:I,zeroMinWidth:S,breakpoints:j}=i;let x=[];c&&(x=Wc(m,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,f&&t.item,S&&t.zeroMinWidth,...x,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}}),Yc,Gc,Zc,Fc);function Qc(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 f=`spacing-${c}-${String(l)}`;i.push(f)}}),i}const Kc=n=>{const{classes:t,container:i,direction:c,item:l,spacing:f,wrap:m,zeroMinWidth:I,breakpoints:S}=n;let j=[];i&&(j=Qc(f,S));const x=[];S.forEach(Y=>{const p=n[Y];p&&x.push(`grid-${Y}-${String(p)}`)});const M={root:["root",i&&"container",l&&"item",I&&"zeroMinWidth",...j,c!=="row"&&`direction-xs-${String(c)}`,m!=="wrap"&&`wrap-xs-${String(m)}`,...x]};return Ur(M,Bc,t)},Os=le.forwardRef(function(t,i){const c=Ms({props:t,name:"MuiGrid"}),{breakpoints:l}=vr(),f=ua(c),{className:m,columns:I,columnSpacing:S,component:j="div",container:x=!1,direction:M="row",item:Y=!1,rowSpacing:p,spacing:K=0,wrap:ee="wrap",zeroMinWidth:C=!1,...k}=f,q=p||K,oe=S||K,z=le.useContext(ca),me=x?I||12:z,_={},Ie={...k};l.keys.forEach(U=>{k[U]!=null&&(_[U]=k[U],delete Ie[U])});const F={...f,columns:me,container:x,direction:M,item:Y,rowSpacing:q,columnSpacing:oe,wrap:ee,zeroMinWidth:C,spacing:K,..._,breakpoints:l.keys},P=Kc(F);return D.jsx(ca.Provider,{value:me,children:D.jsx(Hc,{ownerState:F,className:Jr(P.root,m),as:j,ref:i,...Ie})})}),Qe=["xs","sm","md","lg","xl"],Xc=(n,t,i=!0)=>i?Qe.indexOf(n)<=Qe.indexOf(t):Qe.indexOf(n)<Qe.indexOf(t),_c=(n,t,i=!1)=>i?Qe.indexOf(t)<=Qe.indexOf(n):Qe.indexOf(t)<Qe.indexOf(n),em=(n={})=>t=>{const{withTheme:i=!1,noSSR:c=!1,initialWidth:l}=n;function f(m){const I=vr(),S=m.theme||I,{initialWidth:j,width:x,...M}=ac({theme:S,name:"MuiWithWidth",props:m}),[Y,p]=le.useState(!1);oc(()=>{p(!0)},[]);const ee=S.breakpoints.keys.slice().reverse().reduce((k,q)=>{const oe=ur(S.breakpoints.up(q));return!k&&oe?q:k},null),C={width:x||(Y||c?ee:void 0)||j||l,...i?{theme:S}:{},...M};return C.width===void 0?null:D.jsx(t,{...C})}return f};function ba(n){const{children:t,only:i,width:c}=n,l=vr();let f=!0;if(i)if(Array.isArray(i))for(let m=0;m<i.length;m+=1){const I=i[m];if(c===I){f=!1;break}}else i&&c===i&&(f=!1);if(f)for(let m=0;m<l.breakpoints.keys.length;m+=1){const I=l.breakpoints.keys[m],S=n[`${I}Up`],j=n[`${I}Down`];if(S&&Xc(I,c)||j&&_c(I,c)){f=!1;break}}return f?t:null}ba.propTypes={children:Q.node,lgDown:Q.bool,lgUp:Q.bool,mdDown:Q.bool,mdUp:Q.bool,only:Q.oneOfType([Q.oneOf(["xs","sm","md","lg","xl"]),Q.arrayOf(Q.oneOf(["xs","sm","md","lg","xl"]))]),smDown:Q.bool,smUp:Q.bool,width:Q.string.isRequired,xlDown:Q.bool,xlUp:Q.bool,xsDown:Q.bool,xsUp:Q.bool};const rm=em()(ba);function sm(n){return Er("PrivateHiddenCss",n)}wr("PrivateHiddenCss",["root","xlDown","xlUp","onlyXl","lgDown","lgUp","onlyLg","mdDown","mdUp","onlyMd","smDown","smUp","onlySm","xsDown","xsUp","onlyXs"]);const om=n=>{const{classes:t,breakpoints:i}=n,c={root:["root",...i.map(({breakpoint:l,dir:f})=>f==="only"?`${f}${xr(l)}`:`${l}${xr(f)}`)]};return Ur(c,sm,t)},am=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(f=>{c[f]=l[f]}),c),{})}});function nm(n){const{children:t,className:i,only:c,...l}=n,f=vr(),m=[];for(let j=0;j<f.breakpoints.keys.length;j+=1){const x=f.breakpoints.keys[j],M=l[`${x}Up`],Y=l[`${x}Down`];M&&m.push({breakpoint:x,dir:"up"}),Y&&m.push({breakpoint:x,dir:"down"})}c&&(Array.isArray(c)?c:[c]).forEach(x=>{m.push({breakpoint:x,dir:"only"})});const I={...n,breakpoints:m},S=om(I);return D.jsx(am,{className:Jr(S.root,i),ownerState:I,children:t})}function ma(n){const{implementation:t="js",lgDown:i=!1,lgUp:c=!1,mdDown:l=!1,mdUp:f=!1,smDown:m=!1,smUp:I=!1,xlDown:S=!1,xlUp:j=!1,xsDown:x=!1,xsUp:M=!1,...Y}=n;return t==="js"?D.jsx(rm,{lgDown:i,lgUp:c,mdDown:l,mdUp:f,smDown:m,smUp:I,xlDown:S,xlUp:j,xsDown:x,xsUp:M,...Y}):D.jsx(nm,{lgDown:i,lgUp:c,mdDown:l,mdUp:f,smDown:m,smUp:I,xlDown:S,xlUp:j,xsDown:x,xsUp:M,...Y})}function dm(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&&m(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&&f(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"),f=e=>typeof e.name=="string"&&(e.url===void 0||typeof e.url=="string"),m=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)),S=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=="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"&&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=="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["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=="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&&m(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,K=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&&Md(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=="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"&&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",me=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=="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["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&&m(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&&m(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&&kd(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&&Jd(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&&wd(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&&Rd(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&&rn(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&&tn(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&&xe(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"),xe=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&&$a(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&qa(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&Fa(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&_a(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&en(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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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=="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"&&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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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=="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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),br=e=>typeof e.$ref=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,Yr=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ee(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,de=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&Ee(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,fe=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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&&Cd(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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,Zr=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Nd(s)}),Ls=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"),Ps=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,$a=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Es(s)}),Es=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)),qa=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Us(s)}),Us=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)),Fa=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Td(s)}),Ya=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"),Ga=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Za=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Wa=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Ha(e.flows)&&(e.description===void 0||typeof e.description=="string"),Ha=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&Qa(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Ka(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Ds(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Ds(e.clientCredentials)),Qa=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)),Ka=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)),Ds=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)),Xa=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),_a=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Ls(s)}),en=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)}),rn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&sn(s)}),sn=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&Io(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)),on=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,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&&Io(r)))&&(e.requestBody===void 0||typeof e.requestBody=="object"&&e.requestBody!==null&&Array.isArray(e.requestBody)===!1&&Ld(e.requestBody))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&nn(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"),an=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,nn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&Pd(s)}),dn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,tn=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),ln=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&&fn(e.info))&&(e.components===void 0||typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&In(e.components))&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&zs(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&Xn(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&&ed(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&&cn(e.variables)),cn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&mn(s)}),mn=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"),fn=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&&yn(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&vn(e.license))&&typeof e.version=="string",yn=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"),vn=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),In=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&&zs(e.pathItems))&&(e.responses===void 0||typeof e.responses=="object"&&e.responses!==null&&Array.isArray(e.responses)===!1&&Un(e.responses))&&(e.parameters===void 0||typeof e.parameters=="object"&&e.parameters!==null&&Array.isArray(e.parameters)===!1&&Dn(e.parameters))&&(e.requestBodies===void 0||typeof e.requestBodies=="object"&&e.requestBodies!==null&&Array.isArray(e.requestBodies)===!1&&Bn(e.requestBodies))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&zn(e.securitySchemes))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Qn(e.headers))&&(e.examples===void 0||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&Kn(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)}),gn=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.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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&&(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&&Bs(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",pn=e=>(typeof e.const=="string"||typeof e.const=="number"||typeof e.const=="boolean")&&(e.nullable===void 0||typeof e.nullable=="boolean")&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,An=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),hn=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),On=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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=="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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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.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!==null&&(e.examples===void 0||Array.isArray(e.examples)||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.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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),Vn=e=>typeof e.$ref=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,jn=e=>typeof e.$recursiveRef=="string"&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,Jn=e=>Array.isArray(e.allOf)&&e.allOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,wn=e=>Array.isArray(e.anyOf)&&e.anyOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&pe(r))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,bn=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&&Bs(e.discriminator))&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,Bs=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&T(e.mapping)),Mn=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),kn=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!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(e.examples)),zs=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&$s(s)}),$s=e=>(e.parameters===void 0||Array.isArray(e.parameters)&&e.parameters.every(r=>typeof r=="object"&&r!==null&&go(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)),qs=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&&Ed(s)}),Fs=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"),Rn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/examples\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,Ys=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,Cn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,$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&&go(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&&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"),Gs=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&&Zs(e.content)),Zs=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.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)),Tn=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/requestBodies\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,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)}),Ws=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&Zs(e.content))&&(e.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Pn(e.headers))&&(e.description===void 0||typeof e.description=="string"),Pn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Bd(s)}),Hs=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"),En=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/responses\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,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&&Ws(s)}),Dn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&qs(s)}),Bn=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)}),zn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&zd(s)}),$n=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"),qn=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),Fn=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),Yn=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Gn(e.flows)&&(e.description===void 0||typeof e.description=="string"),Gn=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&Zn(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&Wn(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&Qs(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&Qs(e.clientCredentials)),Zn=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)),Wn=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)),Qs=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)),Hn=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),Qn=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Hs(s)}),Kn=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)}),Xn=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)}),_n=e=>typeof e.$ref=="string"&&RegExp(/^#\/components\/pathItems\/(.*)/).test(e.$ref)&&e.examples!==null&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&W(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,ed=e=>typeof e.name=="string"&&(e.description===void 0||typeof e.description=="string"),rd=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&&ad(e.info))&&typeof e.components=="object"&&e.components!==null&&Array.isArray(e.components)===!1&&td(e.components)&&(e.paths===void 0||typeof e.paths=="object"&&e.paths!==null&&Array.isArray(e.paths)===!1&&mo(e.paths))&&(e.webhooks===void 0||typeof e.webhooks=="object"&&e.webhooks!==null&&Array.isArray(e.webhooks)===!1&&mo(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&&jd(r)))&&e["x-samchon-emended-v4"]===!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&&sd(e.variables)),sd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&od(s)}),od=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"),ad=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&&nd(e.contact))&&(e.license===void 0||typeof e.license=="object"&&e.license!==null&&dd(e.license))&&typeof e.version=="string",nd=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)),dd=e=>typeof e.name=="string"&&(e.identifier===void 0||typeof e.identifier=="string")&&(e.url===void 0||typeof e.url=="string"),td=e=>(e.schemas===void 0||typeof e.schemas=="object"&&e.schemas!==null&&Array.isArray(e.schemas)===!1&&Ks(e.schemas))&&(e.securitySchemes===void 0||typeof e.securitySchemes=="object"&&e.securitySchemes!==null&&Array.isArray(e.securitySchemes)===!1&&cd(e.securitySchemes)),Ks=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)}),Xs=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)),_s=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)),eo=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=="number")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number")&&(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)),ro=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=="number")&&(e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number")&&(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)),so=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)),oo=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)),ao=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)),no=e=>(e.properties===void 0||typeof e.properties=="object"&&e.properties!==null&&Array.isArray(e.properties)===!1&&Ks(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)),to=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)),ld=e=>Array.isArray(e.oneOf)&&e.oneOf.every(r=>typeof r=="object"&&r!==null&&Array.isArray(r)===!1&&bd(r))&&(e.discriminator===void 0||typeof e.discriminator=="object"&&e.discriminator!==null&&id(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)),lo=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)),io=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)),id=e=>typeof e.propertyName=="string"&&(e.mapping===void 0||typeof e.mapping=="object"&&e.mapping!==null&&Array.isArray(e.mapping)===!1&&T(e.mapping)),cd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&qd(s)}),md=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"),fd=e=>e.type==="http"&&e.scheme==="basic"&&(e.description===void 0||typeof e.description=="string"),yd=e=>e.type==="http"&&e.scheme==="bearer"&&(e.bearerFormat===void 0||typeof e.bearerFormat=="string")&&(e.description===void 0||typeof e.description=="string"),vd=e=>e.type==="oauth2"&&typeof e.flows=="object"&&e.flows!==null&&Array.isArray(e.flows)===!1&&Id(e.flows)&&(e.description===void 0||typeof e.description=="string"),Id=e=>(e.authorizationCode===void 0||typeof e.authorizationCode=="object"&&e.authorizationCode!==null&&Array.isArray(e.authorizationCode)===!1&&gd(e.authorizationCode))&&(e.implicit===void 0||typeof e.implicit=="object"&&e.implicit!==null&&Array.isArray(e.implicit)===!1&&pd(e.implicit))&&(e.password===void 0||typeof e.password=="object"&&e.password!==null&&Array.isArray(e.password)===!1&&co(e.password))&&(e.clientCredentials===void 0||typeof e.clientCredentials=="object"&&e.clientCredentials!==null&&Array.isArray(e.clientCredentials)===!1&&co(e.clientCredentials)),gd=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)),pd=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)),co=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)),Ad=e=>e.type==="openIdConnect"&&typeof e.openIdConnectUrl=="string"&&(e.description===void 0||typeof e.description=="string"),mo=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&Array.isArray(s)===!1&&hd(s)}),hd=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&&fo(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&&xd(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"),fo=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&&yo(e.examples)),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&&Od(s)}),Od=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"),ud=e=>(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&vo(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"),vo=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&&yo(e.examples)),xd=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.headers===void 0||typeof e.headers=="object"&&e.headers!==null&&Array.isArray(e.headers)===!1&&Vd(e.headers))&&(e.content===void 0||typeof e.content=="object"&&e.content!==null&&Array.isArray(e.content)===!1&&vo(e.content))&&(e.description===void 0||typeof e.description=="string")&&(e["x-nestia-encrypted"]===void 0||typeof e["x-nestia-encrypted"]=="boolean"),Vd=e=>Object.keys(e).every(r=>{const s=e[r];return s===void 0?!0:typeof s=="object"&&s!==null&&fo(s)}),jd=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"?S(e):e.type==="string"?x(e):e.type==="array"?M(e):e.type==="object"?Y(e):e.$ref!==void 0?p(e):e["x-anyOf"]!==void 0?K(e):e["x-oneOf"]!==void 0?ee(e):e.type==="null"?C(e):k(e),Jd=e=>e.type==="boolean"?oe(e):e.type==="number"?me(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,wd=e=>e.type==="boolean"?oe(e):e.type==="number"?me(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?fe(e):e.type==="null"?Gr(e):pr(e),Io=e=>e.in!==void 0?Es(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?on(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Ps(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")?gn(e):e.type==="boolean"?An(e):e.type==="number"?On(e):e.type==="integer"?hn(e):e.type==="string"?un(e):e.type==="array"?xn(e):e.type==="object"?Sn(e):e.$recursiveRef!==void 0?jn(e):e.type==="null"?Mn(e):e.const!==void 0?pn(e):e.$ref!==void 0?Vn(e):e.allOf!==void 0?Jn(e):e.anyOf!==void 0?wn(e):e.oneOf!==void 0?bn(e):kn(e),go=e=>e.in!==void 0?qs(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Cn(e):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Ys(e):!1,er=e=>e.const!==void 0?Xs(e):e.type==="boolean"?_s(e):e.type==="number"?ro(e):e.type==="integer"?eo(e):e.type==="string"?so(e):e.items!==void 0?oo(e):e.prefixItems!==void 0?ao(e):e.type==="object"?no(e):e.$ref!==void 0?to(e):e.oneOf!==void 0?ld(e):e.type==="null"?lo(e):io(e),bd=e=>e.const!==void 0?Xs(e):e.type==="boolean"?_s(e):e.type==="number"?ro(e):e.type==="integer"?eo(e):e.type==="string"?so(e):e.items!==void 0?oo(e):e.prefixItems!==void 0?ao(e):e.type==="object"?no(e):e.$ref!==void 0?to(e):e.type==="null"?lo(e):io(e),Md=e=>e.type==="boolean"?oe(e):e.type==="number"?me(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),kd=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,Rd=e=>e.$ref!==void 0?ne(e):w(e),Cd=e=>e.$ref!==void 0?kr(e):Mr(e),Nd=e=>e.schema!==void 0?Ls(e):e.$ref!==void 0?Ps(e):!1,Td=e=>e.type==="apiKey"?Ya(e):e.scheme==="basic"?Ga(e):e.scheme==="bearer"?Za(e):e.type==="oauth2"?Wa(e):e.type==="openIdConnect"?Xa(e):!1,Ld=e=>e.$ref!==void 0?an(e):Us(e),Pd=e=>e.$ref!==void 0?dn(e):Me(e),Ed=e=>e.$ref!==void 0?Rn(e):Fs(e),Ud=e=>e.$ref!==void 0?Tn(e):Gs(e),Dd=e=>e.$ref!==void 0?En(e):Ws(e),Bd=e=>e.$ref!==void 0?Ys(e):e.schema!==void 0?Hs(e):!1,zd=e=>e.type==="apiKey"?$n(e):e.scheme==="basic"?qn(e):e.scheme==="bearer"?Fn(e):e.type==="oauth2"?Yn(e):e.type==="openIdConnect"?Hn(e):!1,$d=e=>e.$ref!==void 0?_n(e):$s(e),qd=e=>e.type==="apiKey"?md(e):e.scheme==="basic"?fd(e):e.scheme==="bearer"?yd(e):e.type==="oauth2"?vd(e):e.type==="openIdConnect"?Ad(e):!1,Fd=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)?ln(e):e["x-samchon-emended-v4"]!==void 0?rd(e):!1,Yd=(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}))&&Gd(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}))&&dt(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}))&&tt(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}))&&lt(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}))&&It(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}))&&ut(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),Gd=(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}))&&Zd(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}))&&Wd(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),Zd=(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),Wd=(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),Hd=(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),Qd=(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=="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"&&(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),Kd=(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=="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["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),Xd=(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),_d=(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),et=(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),rt=(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),st=(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),ot=(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),at=(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),nt=(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),dt=(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}))&&Ci(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=="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"&&(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=="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["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),tt=(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}))&&po(d,r+V(a),s)||o(s,{path:r+V(a),expected:"SwaggerV2.IOperation.IResponse",value:d})}).every(a=>a)].every(a=>a),po=(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),lt=(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}))&&Ni(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),it=(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),ct=(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),mt=(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}))&&Se(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),Se=(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),ft=(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}))&&Se(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),yt=(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}))&&Se(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),vt=(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}))&&Se(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,Hi)=>typeof lr=="string"||o(s,{path:r+V(a)+"["+Hi+"]",expected:"string",value:lr})).every(lr=>lr)||o(s,{path:r+V(a),expected:"Array<string>",value:d})}).every(a=>a)].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&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"SwaggerV2.IPath",value:d}))&&gt(d,r+V(a),s)||o(s,{path:r+V(a),expected:"SwaggerV2.IPath",value:d})}).every(a=>a)].every(a=>a),gt=(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}))&&Mi(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),pt=(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}))&&ki(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}))&&ht(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),At=(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),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&&Array.isArray(d)===!1||o(s,{path:r+V(a),expected:"(SwaggerV2.IJsonSchema.IReference<`#/definitions/responses/${string}`> | SwaggerV2.IOperation.IResponse)",value:d}))&&Ti(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),Ot=(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),ut=(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),xt=(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}))&&jt(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}))&&bt(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}))&&nl(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}))&&ml(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}))&&St(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3.IServer.IVariable> | undefined)",value:e.variables})].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||o(s,{path:r+V(a),expected:"OpenApiV3.IServer.IVariable",value:d}))&&Vt(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IServer.IVariable",value:d})}).every(a=>a)].every(a=>a),Vt=(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),jt=(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}))&&Jt(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}))&&wt(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),Jt=(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),wt=(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),bt=(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}))&&Ao(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}))&&$t(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}))&&Gt(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}))&&Zt(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}))&&Wt(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}))&&ol(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}))&&al(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApiV3.IExample> | undefined)",value:e.examples})].every(a=>a),Ao=(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),Mt=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),H=(e,r,s=!0)=>[s===!1||Object.keys(e).map(a=>(e[a]===void 0,!0)).every(a=>a)].every(a=>a),kt=(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"||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"&&(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Rt=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].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=="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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].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}),(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | 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.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}))&&Ao(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Lt=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Pt=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Et=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Ut=(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}))&&Dt(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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)=>[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}))&&Se(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),Bt=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),zt=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),$t=(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}))&&ho(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IResponse",value:d})}).every(a=>a)].every(a=>a),ho=(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}))&&Oo(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}))&&Yt(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),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.IOperation.IMediaType",value:d}))&&qt(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IMediaType",value:d})}).every(a=>a)].every(a=>a),qt=(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}))&&ms(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),ms=(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}))&&Li(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),uo=(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),Ft=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),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||o(s,{path:r+V(a),expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d}))&&Pi(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),xo=(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}))&&ms(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),So=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Gt=(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}))&&Vo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IParameter",value:d})}).every(a=>a)].every(a=>a),Vo=(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}))&&ms(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),Zt=(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}))&&jo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IOperation.IRequestBody",value:d})}).every(a=>a)].every(a=>a),jo=(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}))&&Oo(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3.IOperation.IMediaType> | undefined)",value:e.content})].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:"(OpenApiV3.ISecurityScheme.IApiKey | OpenApiV3.ISecurityScheme.IHttpBasic | OpenApiV3.ISecurityScheme.IHttpBearer | OpenApiV3.ISecurityScheme.IOAuth2 | OpenApiV3.ISecurityScheme.IOpenId)",value:d}))&&Ei(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),Ht=(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),Qt=(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),Kt=(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),Xt=(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}))&&_t(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),_t=(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}))&&el(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}))&&rl(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}))&&Jo(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}))&&Jo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApiV3.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),el=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),rl=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Jo=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),sl=(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),ol=(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}))&&xo(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),al=(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}))&&uo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IExample",value:d})}).every(a=>a)].every(a=>a),nl=(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}))&&dl(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3.IPath",value:d})}).every(a=>a)].every(a=>a),dl=(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}))&&ra(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),tl=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),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}))&&ra(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}))&&Ui(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}))&&il(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),ll=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),il=(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}))&&Di(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),cl=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),ml=(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),fl=(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}))&&fs(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}))&&Il(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}))&&Al(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}))&&bo(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}))&&ri(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}))&&oi(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),fs=(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}))&&yl(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApiV3_1.IServer.IVariable> | undefined)",value:e.variables})].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.IServer.IVariable",value:d}))&&vl(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IServer.IVariable",value:d})}).every(a=>a)].every(a=>a),vl=(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),Il=(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}))&&gl(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}))&&pl(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),gl=(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),pl=(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),Al=(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}))&&bo(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}))&&zl(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}))&&$l(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}))&&ql(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}))&&Fl(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}))&&_l(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}))&&ei(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),hl=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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,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}))&&wo(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),Ol=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),ul=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),xl=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Sl=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | 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=="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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | 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.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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | 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.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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),wl=(e,r,s=!0)=>[typeof e.$ref=="string"||o(s,{path:r+".$ref",expected:"string",value:e.$ref}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),bl=(e,r,s=!0)=>[typeof e.$recursiveRef=="string"||o(s,{path:r+".$recursiveRef",expected:"string",value:e.$recursiveRef}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Ml=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),kl=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Rl=(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}))&&wo(e.discriminator,r+".discriminator",s)||o(s,{path:r+".discriminator",expected:"(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",value:e.discriminator}),(e.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),wo=(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}))&&Se(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),Cl=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].every(a=>a),Nl=(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!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))].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:"OpenApiV3_1.IPath",value:d}))&&Mo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IPath",value:d})}).every(a=>a)].every(a=>a),Mo=(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}))&&sa(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}))&&fs(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),ko=(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}))&&Bi(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),Ro=(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),Tl=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Co=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Ll=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),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}))&&sa(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}))&&zi(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}))&&Ul(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}))&&fs(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),No=(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}))&&To(e.content,r+".content",s)||o(s,{path:r+".content",expected:"(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",value:e.content})].every(a=>a),To=(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}))&&Pl(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IMediaType",value:d})}).every(a=>a)].every(a=>a),Pl=(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),El=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),Ul=(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}))&&$i(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),Lo=(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}))&&To(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}))&&Dl(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),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_1.IOperation.IParameter, "in"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:d}))&&qi(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),Po=(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),Bl=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),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.IOperation.IResponse",value:d}))&&Lo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IResponse",value:d})}).every(a=>a)].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:"OpenApiV3_1.IOperation.IParameter",value:d}))&&ko(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IParameter",value:d})}).every(a=>a)].every(a=>a),ql=(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}))&&No(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IOperation.IRequestBody",value:d})}).every(a=>a)].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||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}))&&Fi(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),Yl=(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),Gl=(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),Zl=(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),Wl=(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}))&&Hl(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),Hl=(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}))&&Ql(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}))&&Kl(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}))&&Eo(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}))&&Eo(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),Ql=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Kl=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Eo=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Xl=(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),_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">',value:d}))&&Po(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),ei=(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}))&&Ro(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApiV3_1.IExample",value:d})}).every(a=>a)].every(a=>a),ri=(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}))&&Yi(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),si=(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.examples!==null||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples}))&&(e.examples===void 0||Array.isArray(e.examples)||typeof e.examples=="object"&&e.examples!==null&&Array.isArray(e.examples)===!1&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, any> | undefined)",value:e.examples})||o(s,{path:r+".examples",expected:"(Array<any> | Record<string, 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),oi=(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),ai=(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}))&&ti(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}))&&ci(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}))&&Ko(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}))&&Ko(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}))&&bi(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-v4"]===!0||o(s,{path:r+'["x-samchon-emended-v4"]',expected:"true",value:e["x-samchon-emended-v4"]})].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}))&&ni(e.variables,r+".variables",s)||o(s,{path:r+".variables",expected:"(Record<string, OpenApi.IServer.IVariable> | undefined)",value:e.variables})].every(a=>a),ni=(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}))&&di(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IServer.IVariable",value:d})}).every(a=>a)].every(a=>a),di=(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),ti=(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}))&&li(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}))&&ii(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),li=(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),ii=(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),ci=(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}))&&Uo(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}))&&yi(e.securitySchemes,r+".securitySchemes",s)||o(s,{path:r+".securitySchemes",expected:"(Record<string, OpenApi.ISecurityScheme> | undefined)",value:e.securitySchemes})].every(a=>a),Uo=(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),Do=(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}))&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),Bo=(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}))&&H(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.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=="number"||o(s,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||o(s,{path:r+".exclusiveMaximum",expected:"(number | 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}))&&H(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=="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=="number"||o(s,{path:r+".exclusiveMinimum",expected:"(number | undefined)",value:e.exclusiveMinimum}),e.exclusiveMaximum===void 0||typeof e.exclusiveMaximum=="number"||o(s,{path:r+".exclusiveMaximum",expected:"(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}))&&H(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=="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}))&&H(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)=>[(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}))&&H(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.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}))&&H(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)=>[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}))&&Uo(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}))&&H(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)=>[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}))&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),mi=(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}))&&Ri(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}))&&fi(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}))&&H(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.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}))&&H(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)=>[!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}))&&H(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, any> | undefined)",value:e.examples})].every(a=>a),fi=(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}))&&Se(e.mapping,r+".mapping",s)||o(s,{path:r+".mapping",expected:"(Record<string, string> | undefined)",value:e.mapping})].every(a=>a),yi=(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}))&&Gi(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),vi=(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),Ii=(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),gi=(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),pi=(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}))&&Ai(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),Ai=(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}))&&hi(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}))&&Oi(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}))&&Qo(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}))&&Qo(e.clientCredentials,r+".clientCredentials",s)||o(s,{path:r+".clientCredentials",expected:'(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',value:e.clientCredentials})].every(a=>a),hi=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Oi=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),Qo=(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}))&&Se(e.scopes,r+".scopes",s)||o(s,{path:r+".scopes",expected:"(Record<string, string> | undefined)",value:e.scopes})].every(a=>a),ui=(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),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:"OpenApi.IPath",value:d}))&&xi(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IPath",value:d})}).every(a=>a)].every(a=>a),xi=(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}))&&Xo(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}))&&Vi(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}))&&ji(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),Xo=(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}))&&_o(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].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.IExample",value:d}))&&Si(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IExample",value:d})}).every(a=>a)].every(a=>a),Si=(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),Vi=(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}))&&ea(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),ea=(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}))&&_o(e.examples,r+".examples",s)||o(s,{path:r+".examples",expected:"(Record<string, OpenApi.IExample> | undefined)",value:e.examples})].every(a=>a),ji=(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}))&&Ji(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IOperation.IResponse",value:d})}).every(a=>a)].every(a=>a),Ji=(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}))&&wi(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}))&&ea(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),wi=(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}))&&Xo(d,r+V(a),s)||o(s,{path:r+V(a),expected:"OpenApi.IOperation.IParameter",value:d})}).every(a=>a)].every(a=>a),bi=(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"?Hd(e,r,s):e.type==="number"?Kd(e,r,s):e.type==="integer"?Qd(e,r,s):e.type==="string"?Xd(e,r,s):e.type==="array"?_d(e,r,s):e.type==="object"?et(e,r,s):e.$ref!==void 0?rt(e,r,s):e["x-anyOf"]!==void 0?st(e,r,s):e["x-oneOf"]!==void 0?ot(e,r,s):e.type==="null"?at(e,r,s):nt(e,r,s),Mi=(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)||pt(e,r,!1),ki=(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)||At(e,r,!1),Ue=(e,r,s=!0)=>e.type==="boolean"?Mt(e,r,s):e.type==="number"?Rt(e,r,s):e.type==="integer"?kt(e,r,s):e.type==="string"?Ct(e,r,s):e.type==="array"?Nt(e,r,s):e.type==="object"?Tt(e,r,s):e.$ref!==void 0?Lt(e,r,s):e.allOf!==void 0?Pt(e,r,s):e.anyOf!==void 0?Et(e,r,s):e.oneOf!==void 0?Ut(e,r,s):e.type==="null"?Bt(e,r,s):zt(e,r,s),ra=(e,r,s=!0)=>e.in!==void 0?Vo(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?tl(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?So(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)?hl(e,r,s):e.type==="boolean"?ul(e,r,s):e.type==="number"?Sl(e,r,s):e.type==="integer"?xl(e,r,s):e.type==="string"?Vl(e,r,s):e.type==="array"?jl(e,r,s):e.type==="object"?Jl(e,r,s):e.$recursiveRef!==void 0?bl(e,r,s):e.type==="null"?Cl(e,r,s):e.const!==void 0?Ol(e,r,s):e.$ref!==void 0?wl(e,r,s):e.allOf!==void 0?Ml(e,r,s):e.anyOf!==void 0?kl(e,r,s):e.oneOf!==void 0?Rl(e,r,s):Nl(e,r,s),sa=(e,r,s=!0)=>e.in!==void 0?ko(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/parameters\/(.*)/).test(e.$ref)?Ll(e,r,s):typeof e.$ref=="string"&&RegExp(/^#\/components\/headers\/(.*)/).test(e.$ref)?Co(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?Do(e,r,s):e.type==="boolean"?Bo(e,r,s):e.type==="number"?$o(e,r,s):e.type==="integer"?zo(e,r,s):e.type==="string"?qo(e,r,s):e.items!==void 0?Fo(e,r,s):e.prefixItems!==void 0?Yo(e,r,s):e.type==="object"?Go(e,r,s):e.$ref!==void 0?Zo(e,r,s):e.oneOf!==void 0?mi(e,r,s):e.type==="null"?Wo(e,r,s):Ho(e,r,s),Ri=(e,r,s=!0)=>e.const!==void 0?Do(e,r,s):e.type==="boolean"?Bo(e,r,s):e.type==="number"?$o(e,r,s):e.type==="integer"?zo(e,r,s):e.type==="string"?qo(e,r,s):e.items!==void 0?Fo(e,r,s):e.prefixItems!==void 0?Yo(e,r,s):e.type==="object"?Go(e,r,s):e.$ref!==void 0?Zo(e,r,s):e.type==="null"?Wo(e,r,s):Ho(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.$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),Ni=(e,r,s=!0)=>e.type==="apiKey"?it(e,r,s):e.type==="basic"?ct(e,r,s):e.flow==="implicit"?mt(e,r,s):e.flow==="accessCode"?ft(e,r,s):e.flow==="application"?vt(e,r,s):e.flow==="password"?yt(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}),Ti=(e,r,s=!0)=>e.$ref!==void 0?Ot(e,r,s):po(e,r,s),Li=(e,r,s=!0)=>e.$ref!==void 0?Ft(e,r,s):uo(e,r,s),Pi=(e,r,s=!0)=>e.schema!==void 0?xo(e,r,s):e.$ref!==void 0?So(e,r,s):o(s,{path:r,expected:'(Omit<OpenApiV3.IOperation.IParameter, "in"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)',value:e}),Ei=(e,r,s=!0)=>e.type==="apiKey"?Ht(e,r,s):e.scheme==="basic"?Qt(e,r,s):e.scheme==="bearer"?Kt(e,r,s):e.type==="oauth2"?Xt(e,r,s):e.type==="openIdConnect"?sl(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}),Ui=(e,r,s=!0)=>e.$ref!==void 0?ll(e,r,s):jo(e,r,s),Di=(e,r,s=!0)=>e.$ref!==void 0?cl(e,r,s):ho(e,r,s),Bi=(e,r,s=!0)=>e.$ref!==void 0?Tl(e,r,s):Ro(e,r,s),zi=(e,r,s=!0)=>e.$ref!==void 0?El(e,r,s):No(e,r,s),$i=(e,r,s=!0)=>e.$ref!==void 0?Bl(e,r,s):Lo(e,r,s),qi=(e,r,s=!0)=>e.$ref!==void 0?Co(e,r,s):e.schema!==void 0?Po(e,r,s):o(s,{path:r,expected:'(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',value:e}),Fi=(e,r,s=!0)=>e.type==="apiKey"?Yl(e,r,s):e.scheme==="basic"?Gl(e,r,s):e.scheme==="bearer"?Zl(e,r,s):e.type==="oauth2"?Wl(e,r,s):e.type==="openIdConnect"?Xl(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}),Yi=(e,r,s=!0)=>e.$ref!==void 0?si(e,r,s):Mo(e,r,s),Gi=(e,r,s=!0)=>e.type==="apiKey"?vi(e,r,s):e.scheme==="basic"?Ii(e,r,s):e.scheme==="bearer"?gi(e,r,s):e.type==="oauth2"?pi(e,r,s):e.type==="openIdConnect"?ui(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}),Zi=(e,r,s=!0)=>e.swagger!==void 0?Yd(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))?xt(e,r,s):typeof e.openapi=="string"&&RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(e.openapi)?fl(e,r,s):e["x-samchon-emended-v4"]!==void 0?ai(e,r,s):o(s,{path:r,expected:"(SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument)",value:e}),Wi=e=>typeof e=="object"&&e!==null&&Fd(e);let Cr,o;return e=>{if(Wi(e)===!1){Cr=[],o=nc(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}))&&Zi(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:dc.application({model:n.model,document:tc.convert(t.data),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 tm(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 lm(n){var t=tm(n,"string");return Vr(t)=="symbol"?t:t+""}function im(n,t,i){return(t=lm(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){im(n,l,i[l])})}return n}const cm={default:"#D4D4D4",background:"#1E1E1E",background_warning:"#1E1E1E",string:"#CE8453",number:"#B5CE9F",colon:"#49B8F7",keys:"#9CDCFE",keys_whiteSpace:"#AF74A5",primitive:"#6392C6"},mm={default:"#D4D4D4",background:"#FCFDFD",background_warning:"#FEECEB",string:"#FA7921",number:"#70CE35",colon:"#49B8F7",keys:"#59A5D8",keys_whiteSpace:"#835FB6",primitive:"#386FA4"},us={dark_vscode_tribute:cm,light_mitsuketa_tribute:mm};var Ma={exports:{}};(function(n,t){function i(y,v,h){if(N(v)!=="string"||v==="")return;let A=m(y);var u=S(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=m(y);var u=x(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],xe=g[Je];($===null||X<$)&&Je===b&&(Je=R),ie[Je]=u(xe,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 f(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 xe=se[G],Ir=b[xe];(X===null||ne<X)&&(u||xe===R&&(xe=$,u=!0)),ye[xe]=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 m(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=S(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 S(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=x(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 x(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 K(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 me(y)===!1}function me(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 K(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 x(y,v,h)},deepGet_Key:function(y,v,h){return j(y,v,h)},locateAll_Key:function(y,v,h){return S(y,v,h)},deepFilter_Key:function(y,v,h){return I(y,v,h)},deepClone:function(y,v,h){return m(y,v,h)},renameKey:function(y,v,h,A){return f(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})(Ma);var fr=Ma.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="")=>{fr.getType(t)!==i.toLowerCase()&&ce.throwError(ce.getCaller(2),n,"to be type "+i.toLowerCase())},isAnyTypeOf:(n="<unknown parameter>",t,i=[])=>{i.forEach(c=>{fr.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=fr.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)}},fm=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"),fm(t[c])),n):n,fa={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 ym 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",f=this.props.width||"479px";this.totalHeight=l,this.totalWidth=f,!("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,f=this.style,m=this.confirmGood,I=this.totalHeight,S=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:S,margin:0,boxSizing:"border-box",position:"relative"},f.outerBox)},m?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:S,margin:0,boxSizing:"border-box",overflow:"hidden",fontFamily:"Roboto, sans-serif"},f.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)"},f.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)"},f.body),onClick:this.onClick},B.createElement("span",{name:"labels",id:t&&t+"-labels",ref:x=>this.refLabels=x,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"},f.labelColumn),onClick:this.onClick},this.renderLabels()),B.createElement("span",{id:t,ref:x=>this.refContent=x,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"},f.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||fa,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,f=this.state.lines?this.state.lines:1;let m=new Array(f);for(var I=0;I<f-1;I++)m[I]=I+1;return m.map(S=>{const j=S!==l?t.default:"red";return B.createElement("div",{key:S,style:He({},i.labels,{color:j})},S)})}createMarkup(t){return t===void 0?{__html:""}:{__html:""+t}}newSpan(t,i,c){let l=this.colors,f=i.type,m=i.string,I="";switch(f){case"string":case"number":case"primitive":case"error":I=l[i.type];break;case"key":m===" "?I=l.keys_whiteSpace:I=l.keys;break;case"symbol":m===":"?I=l.colon:I=l.default;break;default:I=l.default;break}return m.length!==m.replace(/</g,"").replace(/>/g,"").length&&(m="<xmp style=display:inline;>"+m+"</xmp>"),'<span type="'+f+'" value="'+m+'" depth="'+c+'" style="color:'+I+'">'+m+"</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,f=0,m;if(c.focusNode&&i(c.focusNode)){for(m=c.focusNode,l=c.focusOffset;m&&m!==this.refContent;)if(m.previousSibling)m=m.previousSibling,t&&m.nodeName==="BR"&&f++,l+=m.textContent.length;else if(m=m.parentNode,m===null)break}return l+f}setCursorPosition(t){if([!1,null,void 0].indexOf(t)>-1)return;const i=(l,f,m)=>{if(m||(m=document.createRange(),m.selectNode(l),m.setStart(l,0)),f.count===0)m.setEnd(l,f.count);else if(l&&f.count>0)if(l.nodeType===Node.TEXT_NODE)l.textContent.length<f.count?f.count-=l.textContent.length:(m.setEnd(l,f.count),f.count=0);else for(var I=0;I<l.childNodes.length&&(m=i(l.childNodes[I],f,m),f.count!==0);I++);return m},c=l=>{if(l<0)return;let f=window.getSelection(),m=i(this.refContent,{count:l});m&&(m.collapse(!1),f.removeAllRanges(),f.addRange(m))};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 f=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(f)}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:f}=this.state,{resetConfiguration:m}=this,I=fr.getType(i);["object","array"].indexOf(I)===-1&&ce.throwError("showPlaceholder","placeholder","either an object or an array");let x=!fr.identical(i,l);if(x||m&&f!==void 0&&(x=!fr.identical(i,f)),!x)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||fa,c=this.newSpan;if("nodeType"in t){let K=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){m={token:J,line:I,reason:w},p.tokens_merge[J+O].type="error"},me=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 x=t.cloneNode(!0);if(!x.hasChildNodes())return"";const Y=x.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(K(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(K(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 f=l+1;f<p.tokens_normalize.length;f++){const E=p.tokens_normalize[f];if(w.type!==E.type)break;O.string+=E.string,O.tokens.push(f),L++}l+=L}p.tokens_merge.push(O)}const q=`'"`,oe="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$";var m=!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&&!m;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(me(l,["}"])){z(l,te(i.brace.curly.cannotWrap,{token:","}));break}z(l,te(i.invalidToken.tokenSequence.prohibited,{firstToken:"{",secondToken:","}));break}if(me(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&&me(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(me(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"&&me(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 S=0;S<O.length&&!m;S++){const y=O.charAt(S);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,!m){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(!m&&[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)}m||z(T,te(i.invalidToken.unexpected,{token:y.string}))}let U=1,re=0;if(!m)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(m){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(m){let J=function(w){return w&&{}.toString.call(w)==="[object Function]"};"modifyErrorText"in this.props&&J(this.props.modifyErrorText)&&(m.reason=this.props.modifyErrorText(m.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:m}}if(!("nodeType"in t)){let M=function(){return x.currentChar==="\\"},Y=function(){if(`'"`.indexOf(x.currentChar)===-1)return!1;if(!x.stringOpen)return K(),x.stringStart=x.position,x.stringOpen=x.currentChar,!0;if(x.stringOpen===x.currentChar){K();const F=x.inputText.substring(x.stringStart,x.position+1);return ee(F),x.stringOpen=!1,!0}return!1},p=function(){if(":,{}[]".indexOf(x.currentChar)===-1||x.stringOpen)return!1;switch(K(),ee(x.currentChar),x.currentChar){case":":return x.isValue=!0,!0;case"{":case"[":x.brackets.push(x.currentChar);break;case"}":case"]":x.brackets.pop();break}return x.currentChar!==":"&&(x.isValue=x.brackets[x.brackets.length-1]==="["),!0},K=function(){return x.tokenSecondary.length===0?!1:(x.tokens.push(x.tokenSecondary),x.tokenSecondary="",!0)},ee=function(F){return F.length===0?!1:(x.tokens.push(F),!0)},q=function(F){for(var P=[],U=0;U<F*2;U++)P.push(" ");return(F>0?`
11
- `:"")+P.join("")},me=function(F){var P=[];F>0&&z++;for(var U=0;U<F*2;U++)P.push("&nbsp;");return(F>0?"<br>":"")+P.join("")},x={inputText:JSON.stringify(t),position:0,currentChar:"",tokenSecondary:"",brackets:[],isValue:!1,stringOpen:!1,stringStart:0,tokens:[]};for(var l=0;l<x.inputText.length;l++){x.position=l,x.currentChar=x.inputText.charAt(x.position);const P=p(),U=Y(),re=M();!P&&!U&&!re&&(x.stringOpen||(x.tokenSecondary+=x.currentChar))}let C={brackets:[],isValue:!1,tokens:[]};C.tokens=x.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+me(P.depth):_+=U;break;case"}":case"]":const ue=l>0?C.tokens[l-1]:"";"[{".indexOf(ue.string)===-1?_+=me(P.depth)+(Ie===l?"<br>":"")+U:_+=U;break;case":":_+=U+" ";break;case",":_+=U+me(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}}}}/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function ka(n){return typeof n>"u"||n===null}function vm(n){return typeof n=="object"&&n!==null}function Im(n){return Array.isArray(n)?n:ka(n)?[]:[n]}function gm(n,t){var i,c,l,f;if(t)for(f=Object.keys(t),i=0,c=f.length;i<c;i+=1)l=f[i],n[l]=t[l];return n}function pm(n,t){var i="",c;for(c=0;c<t;c+=1)i+=n;return i}function Am(n){return n===0&&Number.NEGATIVE_INFINITY===1/n}var hm=ka,Om=vm,um=Im,xm=pm,Sm=Am,Vm=gm,je={isNothing:hm,isObject:Om,toArray:um,repeat:xm,isNegativeZero:Sm,extend:Vm};function Ra(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=Ra(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+": "+Ra(this,t)};var De=jr;function xs(n,t,i,c,l){var f="",m="",I=Math.floor(l/2)-1;return c-t>I&&(f=" ... ",t=c-I+f.length),i-c>I&&(m=" ...",i=c+I-m.length),{str:f+n.slice(t,i).replace(/\t/g,"→")+m,pos:c-t+f.length}}function Ss(n,t){return je.repeat(" ",t-n.length)+n}function jm(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=[],f,m=-1;f=i.exec(n.buffer);)l.push(f.index),c.push(f.index+f[0].length),n.position<=f.index&&m<0&&(m=c.length-2);m<0&&(m=c.length-1);var I="",S,j,x=Math.min(n.line+t.linesAfter,l.length).toString().length,M=t.maxLength-(t.indent+x+3);for(S=1;S<=t.linesBefore&&!(m-S<0);S++)j=xs(n.buffer,c[m-S],l[m-S],n.position-(c[m]-c[m-S]),M),I=je.repeat(" ",t.indent)+Ss((n.line-S+1).toString(),x)+" | "+j.str+`
14
- `+I;for(j=xs(n.buffer,c[m],l[m],n.position,M),I+=je.repeat(" ",t.indent)+Ss((n.line+1).toString(),x)+" | "+j.str+`
15
- `,I+=je.repeat("-",t.indent+x+3+j.pos)+`^
16
- `,S=1;S<=t.linesAfter&&!(m+S>=l.length);S++)j=xs(n.buffer,c[m+S],l[m+S],n.position-(c[m]-c[m+S]),M),I+=je.repeat(" ",t.indent)+Ss((n.line+S+1).toString(),x)+" | "+j.str+`
17
- `;return I.replace(/\n$/,"")}var Jm=jm,wm=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],bm=["scalar","sequence","mapping"];function Mm(n){var t={};return n!==null&&Object.keys(n).forEach(function(i){n[i].forEach(function(c){t[String(c)]=i})}),t}function km(n,t){if(t=t||{},Object.keys(t).forEach(function(i){if(wm.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=Mm(t.styleAliases||null),bm.indexOf(this.kind)===-1)throw new De('Unknown kind "'+this.kind+'" is specified for "'+n+'" YAML type.')}var Ve=km;function ya(n,t){var i=[];return n[t].forEach(function(c){var l=i.length;i.forEach(function(f,m){f.tag===c.tag&&f.kind===c.kind&&f.multi===c.multi&&(l=m)}),i[l]=c}),i}function Rm(){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(f){if(!(f instanceof Ve))throw new De("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(f.loadKind&&f.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(f.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(f){if(!(f 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=ya(l,"implicit"),l.compiledExplicit=ya(l,"explicit"),l.compiledTypeMap=Rm(l.compiledImplicit,l.compiledExplicit),l};var Cm=bs,Nm=new Ve("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),Tm=new Ve("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),Lm=new Ve("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),Pm=new Cm({explicit:[Nm,Tm,Lm]});function Em(n){if(n===null)return!0;var t=n.length;return t===1&&n==="~"||t===4&&(n==="null"||n==="Null"||n==="NULL")}function Um(){return null}function Dm(n){return n===null}var Bm=new Ve("tag:yaml.org,2002:null",{kind:"scalar",resolve:Em,construct:Um,predicate:Dm,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function zm(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 $m(n){return n==="true"||n==="True"||n==="TRUE"}function qm(n){return Object.prototype.toString.call(n)==="[object Boolean]"}var Fm=new Ve("tag:yaml.org,2002:bool",{kind:"scalar",resolve:zm,construct:$m,predicate:qm,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 Ym(n){return 48<=n&&n<=57||65<=n&&n<=70||97<=n&&n<=102}function Gm(n){return 48<=n&&n<=55}function Zm(n){return 48<=n&&n<=57}function Wm(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(!Ym(n.charCodeAt(i)))return!1;c=!0}return c&&l!=="_"}if(l==="o"){for(i++;i<t;i++)if(l=n[i],l!=="_"){if(!Gm(n.charCodeAt(i)))return!1;c=!0}return c&&l!=="_"}}if(l==="_")return!1;for(;i<t;i++)if(l=n[i],l!=="_"){if(!Zm(n.charCodeAt(i)))return!1;c=!0}return!(!c||l==="_")}function Hm(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 Qm(n){return Object.prototype.toString.call(n)==="[object Number]"&&n%1===0&&!je.isNegativeZero(n)}var Km=new Ve("tag:yaml.org,2002:int",{kind:"scalar",resolve:Wm,construct:Hm,predicate:Qm,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"]}}),Xm=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function _m(n){return!(n===null||!Xm.test(n)||n[n.length-1]==="_")}function ef(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 rf=/^[-+]?[0-9]+e/;function sf(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),rf.test(i)?i.replace("e",".e"):i}function of(n){return Object.prototype.toString.call(n)==="[object Number]"&&(n%1!==0||je.isNegativeZero(n))}var af=new Ve("tag:yaml.org,2002:float",{kind:"scalar",resolve:_m,construct:ef,predicate:of,represent:sf,defaultStyle:"lowercase"}),nf=Pm.extend({implicit:[Bm,Fm,Km,af]}),df=nf,Ca=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Na=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 tf(n){return n===null?!1:Ca.exec(n)!==null||Na.exec(n)!==null}function lf(n){var t,i,c,l,f,m,I,S=0,j=null,x,M,Y;if(t=Ca.exec(n),t===null&&(t=Na.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(f=+t[4],m=+t[5],I=+t[6],t[7]){for(S=t[7].slice(0,3);S.length<3;)S+="0";S=+S}return t[9]&&(x=+t[10],M=+(t[11]||0),j=(x*60+M)*6e4,t[9]==="-"&&(j=-j)),Y=new Date(Date.UTC(i,c,l,f,m,I,S)),j&&Y.setTime(Y.getTime()-j),Y}function cf(n){return n.toISOString()}var mf=new Ve("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:tf,construct:lf,instanceOf:Date,represent:cf});function ff(n){return n==="<<"||n===null}var yf=new Ve("tag:yaml.org,2002:merge",{kind:"scalar",resolve:ff}),Rs=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
18
- \r`;function vf(n){if(n===null)return!1;var t,i,c=0,l=n.length,f=Rs;for(i=0;i<l;i++)if(t=f.indexOf(n.charAt(i)),!(t>64)){if(t<0)return!1;c+=6}return c%8===0}function If(n){var t,i,c=n.replace(/[\r\n=]/g,""),l=c.length,f=Rs,m=0,I=[];for(t=0;t<l;t++)t%4===0&&t&&(I.push(m>>16&255),I.push(m>>8&255),I.push(m&255)),m=m<<6|f.indexOf(c.charAt(t));return i=l%4*6,i===0?(I.push(m>>16&255),I.push(m>>8&255),I.push(m&255)):i===18?(I.push(m>>10&255),I.push(m>>2&255)):i===12&&I.push(m>>4&255),new Uint8Array(I)}function gf(n){var t="",i=0,c,l,f=n.length,m=Rs;for(c=0;c<f;c++)c%3===0&&c&&(t+=m[i>>18&63],t+=m[i>>12&63],t+=m[i>>6&63],t+=m[i&63]),i=(i<<8)+n[c];return l=f%3,l===0?(t+=m[i>>18&63],t+=m[i>>12&63],t+=m[i>>6&63],t+=m[i&63]):l===2?(t+=m[i>>10&63],t+=m[i>>4&63],t+=m[i<<2&63],t+=m[64]):l===1&&(t+=m[i>>2&63],t+=m[i<<4&63],t+=m[64],t+=m[64]),t}function pf(n){return Object.prototype.toString.call(n)==="[object Uint8Array]"}var Af=new Ve("tag:yaml.org,2002:binary",{kind:"scalar",resolve:vf,construct:If,predicate:pf,represent:gf}),hf=Object.prototype.hasOwnProperty,Of=Object.prototype.toString;function uf(n){if(n===null)return!0;var t=[],i,c,l,f,m,I=n;for(i=0,c=I.length;i<c;i+=1){if(l=I[i],m=!1,Of.call(l)!=="[object Object]")return!1;for(f in l)if(hf.call(l,f))if(!m)m=!0;else return!1;if(!m)return!1;if(t.indexOf(f)===-1)t.push(f);else return!1}return!0}function xf(n){return n!==null?n:[]}var Sf=new Ve("tag:yaml.org,2002:omap",{kind:"sequence",resolve:uf,construct:xf}),Vf=Object.prototype.toString;function jf(n){if(n===null)return!0;var t,i,c,l,f,m=n;for(f=new Array(m.length),t=0,i=m.length;t<i;t+=1){if(c=m[t],Vf.call(c)!=="[object Object]"||(l=Object.keys(c),l.length!==1))return!1;f[t]=[l[0],c[l[0]]]}return!0}function Jf(n){if(n===null)return[];var t,i,c,l,f,m=n;for(f=new Array(m.length),t=0,i=m.length;t<i;t+=1)c=m[t],l=Object.keys(c),f[t]=[l[0],c[l[0]]];return f}var wf=new Ve("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:jf,construct:Jf}),bf=Object.prototype.hasOwnProperty;function Mf(n){if(n===null)return!0;var t,i=n;for(t in i)if(bf.call(i,t)&&i[t]!==null)return!1;return!0}function kf(n){return n!==null?n:{}}var Rf=new Ve("tag:yaml.org,2002:set",{kind:"mapping",resolve:Mf,construct:kf}),Cf=df.extend({implicit:[mf,yf],explicit:[Af,Sf,wf,Rf]}),Xe=Object.prototype.hasOwnProperty,Tr=1,Ta=2,La=3,Lr=4,Vs=1,Nf=2,va=3,Tf=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Lf=/[\x85\u2028\u2029]/,Pf=/[,\[\]\{\}]/,Pa=/^(?:!|!!|![a-z\-]+!)$/i,Ea=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Ia(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 Ef(n){var t;return 48<=n&&n<=57?n-48:(t=n|32,97<=t&&t<=102?t-97+10:-1)}function Uf(n){return n===120?2:n===117?4:n===85?8:0}function Df(n){return 48<=n&&n<=57?n-48:-1}function ga(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 Bf(n){return n<=65535?String.fromCharCode(n):String.fromCharCode((n-65536>>10)+55296,(n-65536&1023)+56320)}var Ua=new Array(256),Da=new Array(256);for(var ir=0;ir<256;ir++)Ua[ir]=ga(ir)?1:0,Da[ir]=ga(ir);function zf(n,t){this.input=n,this.filename=t.filename||null,this.schema=t.schema||Cf,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 Ba(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=Jm(i),new De(t,i)}function Z(n,t){throw Ba(n,t)}function Pr(n,t){n.onWarning&&n.onWarning.call(null,Ba(n,t))}var pa={YAML:function(t,i,c){var l,f,m;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"),f=parseInt(l[1],10),m=parseInt(l[2],10),f!==1&&Z(t,"unacceptable YAML version of the document"),t.version=c[0],t.checkLineBreaks=m<2,m!==1&&m!==2&&Pr(t,"unsupported YAML version of the document")},TAG:function(t,i,c){var l,f;c.length!==2&&Z(t,"TAG directive accepts exactly two arguments"),l=c[0],f=c[1],Pa.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'),Ea.test(f)||Z(t,"ill-formed tag prefix (second argument) of the TAG directive");try{f=decodeURIComponent(f)}catch{Z(t,"tag prefix is malformed: "+f)}t.tagMap[l]=f}};function Ke(n,t,i,c){var l,f,m,I;if(t<i){if(I=n.input.slice(t,i),c)for(l=0,f=I.length;l<f;l+=1)m=I.charCodeAt(l),m===9||32<=m&&m<=1114111||Z(n,"expected valid JSON character");else Tf.test(I)&&Z(n,"the stream contains non-printable characters");n.result+=I}}function Aa(n,t,i,c){var l,f,m,I;for(je.isObject(i)||Z(n,"cannot merge mappings; the provided source object is unacceptable"),l=Object.keys(i),m=0,I=l.length;m<I;m+=1)f=l[m],Xe.call(t,f)||(t[f]=i[f],c[f]=!0)}function mr(n,t,i,c,l,f,m,I,S){var j,x;if(Array.isArray(l))for(l=Array.prototype.slice.call(l),j=0,x=l.length;j<x;j+=1)Array.isArray(l[j])&&Z(n,"nested arrays are not supported inside keys"),typeof l=="object"&&Ia(l[j])==="[object Object]"&&(l[j]="[object Object]");if(typeof l=="object"&&Ia(l)==="[object Object]"&&(l="[object Object]"),l=String(l),t===null&&(t={}),c==="tag:yaml.org,2002:merge")if(Array.isArray(f))for(j=0,x=f.length;j<x;j+=1)Aa(n,t,f[j],i);else Aa(n,t,f,i);else!n.json&&!Xe.call(i,l)&&Xe.call(t,l)&&(n.line=m||n.line,n.lineStart=I||n.lineStart,n.position=S||n.position,Z(n,"duplicated mapping key")),l==="__proto__"?Object.defineProperty(t,l,{configurable:!0,enumerable:!0,writable:!0,value:f}):t[l]=f,delete i[l];return t}function Cs(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(Cs(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 Ns(n,t){t===1?n.result+=" ":t>1&&(n.result+=je.repeat(`
20
- `,t-1))}function $f(n,t,i){var c,l,f,m,I,S,j,x,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="",f=m=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(S=n.line,j=n.lineStart,x=n.lineIndent,he(n,!1,-1),n.lineIndent>=t){I=!0,p=n.input.charCodeAt(n.position);continue}else{n.position=m,n.line=S,n.lineStart=j,n.lineIndent=x;break}}I&&(Ke(n,f,m,!1),Ns(n,n.line-S),f=m=n.position,I=!1),or(p)||(m=n.position+1),p=n.input.charCodeAt(++n.position)}return Ke(n,f,m,!1),n.result?!0:(n.kind=M,n.result=Y,!1)}function qf(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),Ns(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 Ff(n,t){var i,c,l,f,m,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&&Ua[I])n.result+=Da[I],n.position++;else if((m=Uf(I))>0){for(l=m,f=0;l>0;l--)I=n.input.charCodeAt(++n.position),(m=Ef(I))>=0?f=(f<<4)+m:Z(n,"expected hexadecimal character");n.result+=Bf(f),n.position++}else Z(n,"unknown escape sequence");i=c=n.position}else Ne(I)?(Ke(n,i,c,!0),Ns(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 Yf(n,t){var i=!0,c,l,f,m=n.tag,I,S=n.anchor,j,x,M,Y,p,K=Object.create(null),ee,C,k,q;if(q=n.input.charCodeAt(n.position),q===91)x=93,p=!1,I=[];else if(q===123)x=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===x)return n.position++,n.tag=m,n.anchor=S,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,f=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?mr(n,I,K,C,ee,k,c,l,f):M?I.push(mr(n,null,K,C,ee,k,c,l,f)):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 Gf(n,t){var i,c,l=Vs,f=!1,m=!1,I=t,S=0,j=!1,x,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?va:Nf:Z(n,"repeat of a chomping mode identifier");else if((x=Df(M))>=0)x===0?Z(n,"bad explicit indentation width of a block scalar; it cannot be less than one"):m?Z(n,"repeat of an indentation width identifier"):(I=t+x-1,m=!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(Cs(n),n.lineIndent=0,M=n.input.charCodeAt(n.position);(!m||n.lineIndent<I)&&M===32;)n.lineIndent++,M=n.input.charCodeAt(++n.position);if(!m&&n.lineIndent>I&&(I=n.lineIndent),Ne(M)){S++;continue}if(n.lineIndent<I){l===va?n.result+=je.repeat(`
21
- `,f?1+S:S):l===Vs&&f&&(n.result+=`
22
- `);break}for(c?or(M)?(j=!0,n.result+=je.repeat(`
23
- `,f?1+S:S)):j?(j=!1,n.result+=je.repeat(`
24
- `,S+1)):S===0?f&&(n.result+=" "):n.result+=je.repeat(`
25
- `,S):n.result+=je.repeat(`
26
- `,f?1+S:S),f=!0,m=!0,S=0,i=n.position;!Ne(M)&&M!==0;)M=n.input.charCodeAt(++n.position);Ke(n,i,n.position,!1)}return!0}function ha(n,t){var i,c=n.tag,l=n.anchor,f=[],m,I=!1,S;if(n.firstTabInLine!==-1)return!1;for(n.anchor!==null&&(n.anchorMap[n.anchor]=f),S=n.input.charCodeAt(n.position);S!==0&&(n.firstTabInLine!==-1&&(n.position=n.firstTabInLine,Z(n,"tab characters must not be used in indentation")),!(S!==45||(m=n.input.charCodeAt(n.position+1),!we(m))));){if(I=!0,n.position++,he(n,!0,-1)&&n.lineIndent<=t){f.push(null),S=n.input.charCodeAt(n.position);continue}if(i=n.line,yr(n,t,La,!1,!0),f.push(n.result),he(n,!0,-1),S=n.input.charCodeAt(n.position),(n.line===i||n.lineIndent>t)&&S!==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=f,!0):!1}function Zf(n,t,i){var c,l,f,m,I,S,j=n.tag,x=n.anchor,M={},Y=Object.create(null),p=null,K=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),f=n.line,(q===63||q===58)&&we(c))q===63?(C&&(mr(n,M,Y,p,K,null,m,I,S),p=K=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(m=n.line,I=n.lineStart,S=n.position,!yr(n,i,Ta,!1,!0))break;if(n.line===f){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&&(mr(n,M,Y,p,K,null,m,I,S),p=K=ee=null),k=!0,C=!1,l=!1,p=n.tag,K=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=x,!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=x,!0}if((n.line===f||n.lineIndent>t)&&(C&&(m=n.line,I=n.lineStart,S=n.position),yr(n,t,Lr,!0,l)&&(C?K=n.result:ee=n.result),C||(mr(n,M,Y,p,K,ee,m,I,S),p=K=ee=null),he(n,!0,-1),q=n.input.charCodeAt(n.position)),(n.line===f||n.lineIndent>t)&&q!==0)Z(n,"bad indentation of a mapping entry");else if(n.lineIndent<t)break}return C&&mr(n,M,Y,p,K,null,m,I,S),k&&(n.tag=j,n.anchor=x,n.kind="mapping",n.result=M),k}function Wf(n){var t,i=!1,c=!1,l,f,m;if(m=n.input.charCodeAt(n.position),m!==33)return!1;if(n.tag!==null&&Z(n,"duplication of a tag property"),m=n.input.charCodeAt(++n.position),m===60?(i=!0,m=n.input.charCodeAt(++n.position)):m===33?(c=!0,l="!!",m=n.input.charCodeAt(++n.position)):l="!",t=n.position,i){do m=n.input.charCodeAt(++n.position);while(m!==0&&m!==62);n.position<n.length?(f=n.input.slice(t,n.position),m=n.input.charCodeAt(++n.position)):Z(n,"unexpected end of the stream within a verbatim tag")}else{for(;m!==0&&!we(m);)m===33&&(c?Z(n,"tag suffix cannot contain exclamation marks"):(l=n.input.slice(t-1,n.position+1),Pa.test(l)||Z(n,"named tag handle cannot contain such characters"),c=!0,t=n.position+1)),m=n.input.charCodeAt(++n.position);f=n.input.slice(t,n.position),Pf.test(f)&&Z(n,"tag suffix cannot contain flow indicator characters")}f&&!Ea.test(f)&&Z(n,"tag name cannot contain such characters: "+f);try{f=decodeURIComponent(f)}catch{Z(n,"tag name is malformed: "+f)}return i?n.tag=f:Xe.call(n.tagMap,l)?n.tag=n.tagMap[l]+f:l==="!"?n.tag="!"+f:l==="!!"?n.tag="tag:yaml.org,2002:"+f:Z(n,'undeclared tag handle "'+l+'"'),!0}function Hf(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 Qf(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 f,m,I,S=1,j=!1,x=!1,M,Y,p,K,ee,C;if(n.listener!==null&&n.listener("open",n),n.tag=null,n.anchor=null,n.kind=null,n.result=null,f=m=I=Lr===i||La===i,c&&he(n,!0,-1)&&(j=!0,n.lineIndent>t?S=1:n.lineIndent===t?S=0:n.lineIndent<t&&(S=-1)),S===1)for(;Wf(n)||Hf(n);)he(n,!0,-1)?(j=!0,I=f,n.lineIndent>t?S=1:n.lineIndent===t?S=0:n.lineIndent<t&&(S=-1)):I=!1;if(I&&(I=j||l),(S===1||Lr===i)&&(Tr===i||Ta===i?ee=t:ee=t+1,C=n.position-n.lineStart,S===1?I&&(ha(n,C)||Zf(n,C,ee))||Yf(n,ee)?x=!0:(m&&Gf(n,ee)||qf(n,ee)||Ff(n,ee)?x=!0:Qf(n)?(x=!0,(n.tag!==null||n.anchor!==null)&&Z(n,"alias node should not have any properties")):$f(n,ee,Tr===i)&&(x=!0,n.tag===null&&(n.tag="?")),n.anchor!==null&&(n.anchorMap[n.anchor]=n.result)):S===0&&(x=I&&ha(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(K=n.implicitTypes[M],K.resolve(n.result)){n.result=K.construct(n.result),n.tag=K.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))K=n.typeMap[n.kind||"fallback"][n.tag];else for(K=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){K=p[M];break}K||Z(n,"unknown tag !<"+n.tag+">"),n.result!==null&&K.kind!==n.kind&&Z(n,"unacceptable node kind for !<"+n.tag+'> tag; it should be "'+K.kind+'", not "'+n.kind+'"'),K.resolve(n.result,n.tag)?(n.result=K.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||x}function Kf(n){var t=n.position,i,c,l,f=!1,m;for(n.version=null,n.checkLineBreaks=n.legacy,n.tagMap=Object.create(null),n.anchorMap=Object.create(null);(m=n.input.charCodeAt(n.position))!==0&&(he(n,!0,-1),m=n.input.charCodeAt(n.position),!(n.lineIndent>0||m!==37));){for(f=!0,m=n.input.charCodeAt(++n.position),i=n.position;m!==0&&!we(m);)m=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");m!==0;){for(;or(m);)m=n.input.charCodeAt(++n.position);if(m===35){do m=n.input.charCodeAt(++n.position);while(m!==0&&!Ne(m));break}if(Ne(m))break;for(i=n.position;m!==0&&!we(m);)m=n.input.charCodeAt(++n.position);l.push(n.input.slice(i,n.position))}m!==0&&Cs(n),Xe.call(pa,c)?pa[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)):f&&Z(n,"directives end mark is expected"),yr(n,n.lineIndent-1,Lr,!1,!0),he(n,!0,-1),n.checkLineBreaks&&Lf.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 Xf(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 zf(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;)Kf(i);return i.documents}function _f(n,t){var i=Xf(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 ey=_f,ry={load:ey},sy=ry.load;const oy=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"),ay=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"),ny=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"),dy=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 f in i)Object.prototype.hasOwnProperty.call(i,f)&&(t[f]=i[f])}return t},be.apply(this,arguments)};function js(n,t,i){for(var c=0,l=t.length,f;c<l;c++)(f||!(c in t))&&(f||(f=Array.prototype.slice.call(t,0,c)),f[c]=t[c]);return n.concat(f||Array.prototype.slice.call(t))}var ty="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 za(n){var t=n.size,i=n.file,c=n.index,l=n.disabled,f=n.handleRemoveFile,m=vr(),I=le.useRef(null),S=B.createElement(dy,{color:"primary",fontSize:"large"});return/\.(g?zip|tar|gz|rar)$/i.test(i.name)&&(S=B.createElement(ay,{color:"primary",fontSize:"large"})),/\.(mp.|midi|mkv|avi)$/i.test(i.name)&&(S=B.createElement(ny,{color:"primary",fontSize:"large"})),B.createElement(B.Fragment,null,B.createElement(Nr,{sx:{mb:0,display:"flex",alignItems:"center","&:nth-of-type(even)":{backgroundColor:m.palette.action.hover}}},B.createElement(Nr,{sx:{display:"flex",flexGrow:1,alignItems:"center"}},B.createElement(Ec,{alt:"",src:i.path,ref:I,variant:"rounded",sx:{m:.5,width:32,height:32,display:"flex",background:"transparent"}},S),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(Sa,{disabled:l,onClick:function(j){return f(j,c)}},B.createElement(oy,null)))))}za.propTypes={size:Q.string,file:Q.object,disabled:Q.bool,index:Q.number.isRequired,handleRemoveFile:Q.func.isRequired};var ly=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)"}}}),Oa=1024*1024;function Ts(n){var t=n.title,i=n.header,c=n.onError,l=n.disabled,f=n.imageSrc,m=n.getBase64,I=n.imageSrcAlt,S=n.multiFile,j=n.leftLabel,x=n.rightLabel,M=n.buttonLabel,Y=n.maxFileSize,p=n.bannerProps,K=n.BannerProps,ee=n.acceptedType,C=n.defaultFiles,k=n.onFilesChange,q=n.maxUploadFiles,oe=q===void 0?0:q,z=n.containerProps,me=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),K),E=be(be({},z),me),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],xe=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,fe){if(se(!1),g(null),!fe&&de.target.files&&(fe=de.target.files),(!fe||fe.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=fe[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"}}m||(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<(fe==null?void 0:fe.length);pr++)Gr(pr);return de.target.value="",!0}catch(Ar){return g(Ar.toString()),!1}return!1},gr=function(de,fe){if(g(null),xe.current&&(xe.current.value=""),typeof fe!="number"){ie([]),Je([]);return}if(fe<0||fe>G.length-1)return console.error("item's index not found...");var Pe=be({},G[fe]);return G==null||G.splice(fe,1),ve==null||ve.splice(fe,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 fe;de.stopPropagation(),de.preventDefault(),se(!1),$({event:de,files:(fe=de.dataTransfer)===null||fe===void 0?void 0:fe.files})},[]),Fr=le.useCallback(function(){se(!1)},[]),br=function(){return{addFile:W,removeFile:gr,input:xe.current,files:m?G:ve}};le.useEffect(function(){xe.current&&_&&typeof _=="function"&&_(br())},[xe.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(m?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:f||ty,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(ma,{smDown:!0},B.createElement(ke,{variant:"h5"},B.createElement("b",null,i))),B.createElement(ma,{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=xe.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),x),B.createElement("input",{type:"file",ref:xe,onChange:function(de){return W(de)},multiple:S,accept:ee,style:{display:"none"}})))),u&&B.createElement(Mc,{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(ly,{component:"div",sx:{overflowY:"auto",mt:2,mr:-1,pr:1,height:Oe,maxHeight:ge}},G==null?void 0:G.map(function(de,fe){var Pe=(de.size/1024).toFixed(2)+" Kb";return de.size>Oa&&(Pe=(de.size/Oa).toFixed(2)+" Mb"),B.createElement(za,{file:de,size:Pe,index:fe,disabled:l,key:"upload-file--".concat(fe),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")))))}Ts.propTypes={getBase64:Q.bool,maxUploadFiles:Q.number,title:Q.string,header:Q.string,leftLabel:Q.string,rightLabel:Q.string,buttonLabel:Q.string,multiFile:Q.bool,disabled:Q.bool,defaultFiles:Q.array,maxFileSize:Q.number,maxFilesContainerHeight:Q.number,errorSizeMessage:Q.string,imageSrc:Q.string,imageSrcAlt:Q.string,acceptedType:Q.string,bannerProps:Q.object,BannerProps:Q.object,containerProps:Q.object,ContainerProps:Q.object,allowedExtensions:Q.array,onError:Q.func,onContextReady:Q.func,onFilesChange:Q.func,showPlaceholderImage:Q.bool,LabelsGridProps:Q.object,PlaceholderGridProps:Q.object,placeholderImageDimension:Q.object,PlaceholderImageDimension:Q.object};Ts.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:{}};function iy(n){const[t,i]=B.useState([]),c=async l=>{const f=l.at(-1);if(f===void 0){n.onChange(null,null);return}const m=await f.arrayBuffer(),I=new TextDecoder().decode(m),S=f.name.split(".").pop();try{const j=S==="json"?JSON.parse(I):sy(I),x=dm({model:"chatgpt",document:j,options:{reference:!0}});x.success===!0?n.onChange(x.data,null):n.onChange(null,JSON.stringify(x.errors,null,2))}catch{n.onChange(null,S==="json"?"Invalid JSON file":"Invalid YAML file");return}l.length>1&&i([f])};return D.jsx(Ts,{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"})}const cy={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"};function my(n){const[t,i]=le.useState("http://localhost:37001"),[c,l]=le.useState({Authorization:"YOUR_SERVER_API_KEY"}),[f,m]=le.useState("gpt-4o-mini"),[I,S]=le.useState(""),[j,x]=le.useState(null),[M,Y]=le.useState(!1),p=C=>{n.onError!=null?n.onError(C):alert(C)},K=(C,k)=>{x(C),k!==null&&p(k)},ee=async()=>{if(j!==null){Y(!0);try{const C={api:new ic({apiKey:I,dangerouslyAllowBrowser:!0}),model:f},k=new cc({model:"chatgpt",vendor:C,controllers:[{protocol:"http",name:"main",application:j,connection:{host:t,headers:c}}]});n.onSuccess(D.jsx(mc,{agent:k}))}catch(C){p(C instanceof Error?C.message:"unknown error"),Y(!1)}}};return D.jsxs("div",{style:n.style,children:[D.jsx(iy,{onChange:K}),D.jsx("br",{}),D.jsxs(lc,{fullWidth:!0,children:[D.jsx(ke,{variant:"h6",children:"HTTP Connection"}),D.jsx("br",{}),D.jsx(da,{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(ym,{locale:cy,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(ta,{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(ta,{defaultValue:f,onChange:(C,k)=>m(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(da,{onChange:C=>S(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:()=>void ee().catch(()=>{}),children:M?"Generating...":"Generate AI Chatbot"})]})}na(window.document.getElementById("root")).render(D.jsx(my,{style:{width:"calc(100% - 30px)",height:"calc(100% - 30px)",overflowY:"auto",padding:15},onSuccess:n=>{na(window.document.getElementById("root")).render(n)}}));