@kong-ui-public/spec-renderer 2.1.9 → 2.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/spec-renderer.es.js +106 -106
- package/dist/spec-renderer.umd.js +4 -4
- package/package.json +2 -2
|
@@ -141,7 +141,7 @@ Error generating stack: `+Pe.message+`
|
|
|
141
141
|
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Di!==5&&(Di=2),Kt=yl(Kt,ut),vo=qe;do{switch(vo.tag){case 3:Pe=Kt,vo.flags|=4096,v&=-v,vo.lanes|=v,qu(vo,wl(0,Pe,v));break e;case 1:Pe=Kt;var Ha=vo.type,ga=vo.stateNode;if(!(64&vo.flags)&&(typeof Ha.getDerivedStateFromError=="function"||ga!==null&&typeof ga.componentDidCatch=="function"&&(Wi===null||!Wi.has(ga)))){vo.flags|=4096,v&=-v,vo.lanes|=v,qu(vo,cf(vo,Pe,v));break e}}vo=vo.return}while(vo!==null)}gf(D)}catch(Va){v=Va,Ni===D&&D!==null&&(Ni=D=D.return);continue}break}}function cp(){var c=Is.current;return Is.current=ed,c===null?ed:c}function ku(c,v){var D=Qa;Qa|=16;var Z=cp();for(ys===c&&ps===v||$l(c,v);;)try{F0();break}catch(pe){Ul(c,pe)}if(Qn(),Qa=D,Is.current=Z,Ni!==null)throw Error(x(261));return ys=null,ps=0,Di}function F0(){for(;Ni!==null;)df(Ni)}function Sg(){for(;Ni!==null&&!A0();)df(Ni)}function df(c){var v=xg(c.alternate,c,Ml);c.memoizedProps=c.pendingProps,v===null?gf(c):Ni=v,bg.current=null}function gf(c){var v=c;do{var D=v.alternate;if(c=v.return,(2048&v.flags)==0){if((D=$c(D,v,Ml))!==null)return void(Ni=D);if((D=v).tag!==24&&D.tag!==23||D.memoizedState===null||1073741824&Ml||!(4&D.mode)){for(var Z=0,pe=D.child;pe!==null;)Z|=pe.lanes|pe.childLanes,pe=pe.sibling;D.childLanes=Z}c!==null&&!(2048&c.flags)&&(c.firstEffect===null&&(c.firstEffect=v.firstEffect),v.lastEffect!==null&&(c.lastEffect!==null&&(c.lastEffect.nextEffect=v.firstEffect),c.lastEffect=v.lastEffect),1<v.flags&&(c.lastEffect!==null?c.lastEffect.nextEffect=v:c.firstEffect=v,c.lastEffect=v))}else{if((D=N0(v))!==null)return D.flags&=2047,void(Ni=D);c!==null&&(c.firstEffect=c.lastEffect=null,c.flags|=2048)}if((v=v.sibling)!==null)return void(Ni=v);Ni=v=c}while(v!==null);Di===0&&(Di=5)}function pc(c){var v=cu();return Il(99,_g.bind(null,c,v)),null}function _g(c,v){do Ms();while(rp!==null);if(48&Qa)throw Error(x(327));var D=c.finishedWork;if(D===null)return null;if(c.finishedWork=null,c.finishedLanes=0,D===c.current)throw Error(x(177));c.callbackNode=null;var Z=D.lanes|D.childLanes,pe=Z,Pe=c.pendingLanes&~pe;c.pendingLanes=pe,c.suspendedLanes=0,c.pingedLanes=0,c.expiredLanes&=pe,c.mutableReadLanes&=pe,c.entangledLanes&=pe,pe=c.entanglements;for(var qe=c.eventTimes,ut=c.expirationTimes;0<Pe;){var Kt=31-Gr(Pe),_r=1<<Kt;pe[Kt]=0,qe[Kt]=-1,ut[Kt]=-1,Pe&=~_r}if(xc!==null&&!(24&Z)&&xc.has(c)&&xc.delete(c),c===ys&&(Ni=ys=null,ps=0),1<D.flags?D.lastEffect!==null?(D.lastEffect.nextEffect=D,Z=D.firstEffect):Z=D:Z=D.firstEffect,Z!==null){if(pe=Qa,Qa|=32,bg.current=null,qd=fo,vt(qe=Ve())){if("selectionStart"in qe)ut={start:qe.selectionStart,end:qe.selectionEnd};else e:if(ut=(ut=qe.ownerDocument)&&ut.defaultView||window,(_r=ut.getSelection&&ut.getSelection())&&_r.rangeCount!==0){ut=_r.anchorNode,Pe=_r.anchorOffset,Kt=_r.focusNode,_r=_r.focusOffset;try{ut.nodeType,Kt.nodeType}catch{ut=null;break e}var bo=0,aa=-1,vo=-1,ma=0,Ka=0,La=qe,jr=null;t:for(;;){for(var gr;La!==ut||Pe!==0&&La.nodeType!==3||(aa=bo+Pe),La!==Kt||_r!==0&&La.nodeType!==3||(vo=bo+_r),La.nodeType===3&&(bo+=La.nodeValue.length),(gr=La.firstChild)!==null;)jr=La,La=gr;for(;;){if(La===qe)break t;if(jr===ut&&++ma===Pe&&(aa=bo),jr===Kt&&++Ka===_r&&(vo=bo),(gr=La.nextSibling)!==null)break;jr=(La=jr).parentNode}La=gr}ut=aa===-1||vo===-1?null:{start:aa,end:vo}}else ut=null;ut=ut||{start:0,end:0}}else ut=null;Kd={focusedElem:qe,selectionRange:ut},fo=!1,Fl=null,np=!1,ta=Z;do try{jg()}catch(Da){if(ta===null)throw Error(x(330));Vc(ta,Da),ta=ta.nextEffect}while(ta!==null);Fl=null,ta=Z;do try{for(qe=c;ta!==null;){var xr=ta.flags;if(16&xr&&Er(ta.stateNode,""),128&xr){var no=ta.alternate;if(no!==null){var po=no.ref;po!==null&&(typeof po=="function"?po(null):po.current=null)}}switch(1038&xr){case 2:Bl(ta),ta.flags&=-3;break;case 6:Bl(ta),ta.flags&=-3,Ri(ta.alternate,ta);break;case 1024:ta.flags&=-1025;break;case 1028:ta.flags&=-1025,Ri(ta.alternate,ta);break;case 4:Ri(ta.alternate,ta);break;case 8:cd(qe,ut=ta);var Ha=ut.alternate;id(ut),Ha!==null&&id(Ha)}ta=ta.nextEffect}}catch(Da){if(ta===null)throw Error(x(330));Vc(ta,Da),ta=ta.nextEffect}while(ta!==null);if(po=Kd,no=Ve(),xr=po.focusedElem,qe=po.selectionRange,no!==xr&&xr&&xr.ownerDocument&&ze(xr.ownerDocument.documentElement,xr)){for(qe!==null&&vt(xr)&&(no=qe.start,(po=qe.end)===void 0&&(po=no),"selectionStart"in xr?(xr.selectionStart=no,xr.selectionEnd=Math.min(po,xr.value.length)):(po=(no=xr.ownerDocument||document)&&no.defaultView||window).getSelection&&(po=po.getSelection(),ut=xr.textContent.length,Ha=Math.min(qe.start,ut),qe=qe.end===void 0?Ha:Math.min(qe.end,ut),!po.extend&&Ha>qe&&(ut=qe,qe=Ha,Ha=ut),ut=je(xr,Ha),Pe=je(xr,qe),ut&&Pe&&(po.rangeCount!==1||po.anchorNode!==ut.node||po.anchorOffset!==ut.offset||po.focusNode!==Pe.node||po.focusOffset!==Pe.offset)&&((no=no.createRange()).setStart(ut.node,ut.offset),po.removeAllRanges(),Ha>qe?(po.addRange(no),po.extend(Pe.node,Pe.offset)):(no.setEnd(Pe.node,Pe.offset),po.addRange(no))))),no=[],po=xr;po=po.parentNode;)po.nodeType===1&&no.push({element:po,left:po.scrollLeft,top:po.scrollTop});for(typeof xr.focus=="function"&&xr.focus(),xr=0;xr<no.length;xr++)(po=no[xr]).element.scrollLeft=po.left,po.element.scrollTop=po.top}fo=!!qd,Kd=qd=null,c.current=D,ta=Z;do try{for(xr=c;ta!==null;){var ga=ta.flags;if(36&ga&&L0(xr,ta.alternate,ta),128&ga){no=void 0;var Va=ta.ref;if(Va!==null){var gn=ta.stateNode;ta.tag,no=gn,typeof Va=="function"?Va(no):Va.current=no}}ta=ta.nextEffect}}catch(Da){if(ta===null)throw Error(x(330));Vc(ta,Da),ta=ta.nextEffect}while(ta!==null);ta=null,C0(),Qa=pe}else c.current=D;if(Kc)Kc=!1,rp=c,op=v;else for(ta=Z;ta!==null;)v=ta.nextEffect,ta.nextEffect=null,8&ta.flags&&((ga=ta).sibling=null,ga.stateNode=null),ta=v;if((Z=c.pendingLanes)===0&&(Wi=null),Z===1?c===hd?Ll++:(Ll=0,hd=c):Ll=0,D=D.stateNode,Nc&&typeof Nc.onCommitFiberRoot=="function")try{Nc.onCommitFiberRoot(Bp,D,void 0,(64&D.current.flags)==64)}catch{}if(Gs(c,ji()),pd)throw pd=!1,c=kl,kl=null,c;return 8&Qa||wc(),null}function jg(){for(;ta!==null;){var c=ta.alternate;np||Fl===null||(8&ta.flags?kt(ta,Fl)&&(np=!0):ta.tag===13&&Vi(c,ta)&&kt(ta,Fl)&&(np=!0));var v=ta.flags;256&v&&M0(c,ta),!(512&v)||Kc||(Kc=!0,$u(97,function(){return Ms(),null})),ta=ta.nextEffect}}function Ms(){if(op!==90){var c=97<op?97:op;return op=90,Il(c,hf)}return!1}function $0(c,v){dd.push(v,c),Kc||(Kc=!0,$u(97,function(){return Ms(),null}))}function bd(c,v){gd.push(v,c),Kc||(Kc=!0,$u(97,function(){return Ms(),null}))}function hf(){if(rp===null)return!1;var c=rp;if(rp=null,(48&Qa)!=0)throw Error(x(331));var v=Qa;Qa|=32;var D=gd;gd=[];for(var Z=0;Z<D.length;Z+=2){var pe=D[Z],Pe=D[Z+1],qe=pe.destroy;if(pe.destroy=void 0,typeof qe=="function")try{qe()}catch(Kt){if(Pe===null)throw Error(x(330));Vc(Pe,Kt)}}for(D=dd,dd=[],Z=0;Z<D.length;Z+=2){pe=D[Z],Pe=D[Z+1];try{var ut=pe.create;pe.destroy=ut()}catch(Kt){if(Pe===null)throw Error(x(330));Vc(Pe,Kt)}}for(ut=c.current.firstEffect;ut!==null;)c=ut.nextEffect,ut.nextEffect=null,8&ut.flags&&(ut.sibling=null,ut.stateNode=null),ut=c;return Qa=v,wc(),!0}function vd(c,v,D){bi(c,v=wl(0,v=yl(D,v),1)),v=zs(),(c=fd(c,1))!==null&&(io(c,1,v),Gs(c,v))}function Vc(c,v){if(c.tag===3)vd(c,c,v);else for(var D=c.return;D!==null;){if(D.tag===3){vd(D,c,v);break}if(D.tag===1){var Z=D.stateNode;if(typeof D.type.getDerivedStateFromError=="function"||typeof Z.componentDidCatch=="function"&&(Wi===null||!Wi.has(Z))){var pe=cf(D,c=yl(v,c),1);if(bi(D,pe),pe=zs(),(D=fd(D,1))!==null)io(D,1,pe),Gs(D,pe);else if(typeof Z.componentDidCatch=="function"&&(Wi===null||!Wi.has(Z)))try{Z.componentDidCatch(v,c)}catch{}break}}D=D.return}}function U0(c,v,D){var Z=c.pingCache;Z!==null&&Z.delete(v),v=zs(),c.pingedLanes|=c.suspendedLanes&D,ys===c&&(ps&D)===D&&(Di===4||Di===3&&(62914560&ps)===ps&&500>ji()-wg?$l(c,0):ud|=D),Gs(c,v)}function q0(c,v){var D=c.stateNode;D!==null&&D.delete(v),(v=0)==0&&(2&(v=c.mode)?4&v?(Ec===0&&(Ec=mu),(v=$n(62914560&~Ec))===0&&(v=4194304)):v=cu()===99?1:2:v=1),D=zs(),(c=fd(c,v))!==null&&(io(c,v,D),Gs(c,D))}function Og(c,v,D,Z){this.tag=c,this.key=D,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=v,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Z,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ls(c,v,D,Z){return new Og(c,v,D,Z)}function yd(c){return!(!(c=c.prototype)||!c.isReactComponent)}function Wc(c,v){var D=c.alternate;return D===null?((D=Ls(c.tag,v,c.key,c.mode)).elementType=c.elementType,D.type=c.type,D.stateNode=c.stateNode,D.alternate=c,c.alternate=D):(D.pendingProps=v,D.type=c.type,D.flags=0,D.nextEffect=null,D.firstEffect=null,D.lastEffect=null),D.childLanes=c.childLanes,D.lanes=c.lanes,D.child=c.child,D.memoizedProps=c.memoizedProps,D.memoizedState=c.memoizedState,D.updateQueue=c.updateQueue,v=c.dependencies,D.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext},D.sibling=c.sibling,D.index=c.index,D.ref=c.ref,D}function lp(c,v,D,Z,pe,Pe){var qe=2;if(Z=c,typeof c=="function")yd(c)&&(qe=1);else if(typeof c=="string")qe=5;else e:switch(c){case N:return ql(D.children,pe,Pe,v);case Ie:qe=8,pe|=16;break;case W:qe=8,pe|=1;break;case J:return(c=Ls(12,D,v,8|pe)).elementType=J,c.type=J,c.lanes=Pe,c;case ue:return(c=Ls(13,D,v,pe)).type=ue,c.elementType=ue,c.lanes=Pe,c;case Q:return(c=Ls(19,D,v,pe)).elementType=Q,c.lanes=Pe,c;case Fe:return up(D,pe,Pe,v);case Te:return(c=Ls(24,D,v,pe)).elementType=Te,c.lanes=Pe,c;default:if(typeof c=="object"&&c!==null)switch(c.$$typeof){case ee:qe=10;break e;case re:qe=9;break e;case X:qe=11;break e;case me:qe=14;break e;case ie:qe=16,Z=null;break e;case se:qe=22;break e}throw Error(x(130,c==null?c:typeof c,""))}return(v=Ls(qe,D,v,pe)).elementType=c,v.type=Z,v.lanes=Pe,v}function ql(c,v,D,Z){return(c=Ls(7,c,Z,v)).lanes=D,c}function up(c,v,D,Z){return(c=Ls(23,c,Z,v)).elementType=Fe,c.lanes=D,c}function wd(c,v,D){return(c=Ls(6,c,null,v)).lanes=D,c}function pp(c,v,D){return(v=Ls(4,c.children!==null?c.children:[],c.key,v)).lanes=D,v.stateNode={containerInfo:c.containerInfo,pendingChildren:null,implementation:c.implementation},v}function K0(c,v,D){this.tag=v,this.containerInfo=c,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=D,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Tt(0),this.expirationTimes=Tt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tt(0),this.mutableSourceEagerHydrationData=null}function xu(c,v,D,Z){var pe=v.current,Pe=zs(),qe=xl(pe);e:if(D){t:{if(uo(D=D._reactInternals)!==D||D.tag!==1)throw Error(x(170));var ut=D;do{switch(ut.tag){case 3:ut=ut.stateNode.context;break t;case 1:if(ls(ut.type)){ut=ut.stateNode.__reactInternalMemoizedMergedChildContext;break t}}ut=ut.return}while(ut!==null);throw Error(x(171))}if(D.tag===1){var Kt=D.type;if(ls(Kt)){D=Gd(D,Kt,ut);break e}}D=ut}else D=sl;return v.context===null?v.context=D:v.pendingContext=D,(v=dl(Pe,qe)).payload={element:c},(Z=Z===void 0?null:Z)!==null&&(v.callback=Z),bi(pe,v),Sc(pe,qe,Pe),qe}function kd(c){return(c=c.current).child?(c.child.tag,c.child.stateNode):null}function Ag(c,v){if((c=c.memoizedState)!==null&&c.dehydrated!==null){var D=c.retryLane;c.retryLane=D!==0&&D<v?D:v}}function xd(c,v){Ag(c,v),(c=c.alternate)&&Ag(c,v)}function dp(c,v,D){var Z=D!=null&&D.hydrationOptions!=null&&D.hydrationOptions.mutableSources||null;if(D=new K0(c,v,D!=null&&D.hydrate===!0),v=Ls(3,null,null,v===2?7:v===1?3:0),D.current=v,v.stateNode=D,eg(v),c[au]=D.current,Rh(c.nodeType===8?c.parentNode:c),Z)for(c=0;c<Z.length;c++){var pe=(v=Z[c])._getVersion;pe=pe(v._source),D.mutableSourceEagerHydrationData==null?D.mutableSourceEagerHydrationData=[v,pe]:D.mutableSourceEagerHydrationData.push(v,pe)}this._internalRoot=D}function gp(c){return!(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11&&(c.nodeType!==8||c.nodeValue!==" react-mount-point-unstable "))}function Eu(c,v,D,Z,pe){var Pe=D._reactRootContainer;if(Pe){var qe=Pe._internalRoot;if(typeof pe=="function"){var ut=pe;pe=function(){var _r=kd(qe);ut.call(_r)}}xu(v,qe,c,pe)}else{if(Pe=D._reactRootContainer=function(_r,bo){if(bo||(bo=!(!(bo=_r?_r.nodeType===9?_r.documentElement:_r.firstChild:null)||bo.nodeType!==1||!bo.hasAttribute("data-reactroot"))),!bo)for(var aa;aa=_r.lastChild;)_r.removeChild(aa);return new dp(_r,0,bo?{hydrate:!0}:void 0)}(D,Z),qe=Pe._internalRoot,typeof pe=="function"){var Kt=pe;pe=function(){var _r=kd(qe);Kt.call(_r)}}Eg(function(){xu(v,qe,c,pe)})}return kd(qe)}function ff(c,v){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gp(v))throw Error(x(200));return function(Z,pe,Pe){var qe=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$,key:qe==null?null:""+qe,children:Z,containerInfo:pe,implementation:Pe}}(c,v,null,D)}xg=function(c,v,D){var Z=v.lanes;if(c!==null)if(c.memoizedProps!==v.pendingProps||Cs.current)lc=!0;else{if(!(D&Z)){switch(lc=!1,v.tag){case 3:nf(v),Vp();break;case 5:ng(v);break;case 1:ls(v.type)&&ul(v);break;case 4:Rl(v,v.stateNode.containerInfo);break;case 10:Z=v.memoizedProps.value;var pe=v.type._context;mi($p,pe._currentValue),pe._currentValue=Z;break;case 13:if(v.memoizedState!==null)return D&v.child.childLanes?gg(c,v,D):(mi(si,1&si.current),(v=Fc(c,v,D))!==null?v.sibling:null);mi(si,1&si.current);break;case 19:if(Z=(D&v.childLanes)!=0,(64&c.flags)!=0){if(Z)return Lc(c,v,D);v.flags|=64}if((pe=v.memoizedState)!==null&&(pe.rendering=null,pe.tail=null,pe.lastEffect=null),mi(si,si.current),Z)break;return null;case 23:case 24:return v.lanes=0,of(c,v,D)}return Fc(c,v,D)}lc=(16384&c.flags)!=0}else lc=!1;switch(v.lanes=0,v.tag){case 2:if(Z=v.type,c!==null&&(c.alternate=null,v.alternate=null,v.flags|=2),c=v.pendingProps,pe=ll(v,_i.current),Ti(v,D),pe=lg(null,v,Z,c,pe,D),v.flags|=1,typeof pe=="object"&&pe!==null&&typeof pe.render=="function"&&pe.$$typeof===void 0){if(v.tag=1,v.memoizedState=null,v.updateQueue=null,ls(Z)){var Pe=!0;ul(v)}else Pe=!1;v.memoizedState=pe.state!==null&&pe.state!==void 0?pe.state:null,eg(v);var qe=Z.getDerivedStateFromProps;typeof qe=="function"&&fs(v,Z,qe,c),pe.updater=gl,v.stateNode=pe,pe._reactInternals=v,qp(v,Z,c,D),v=dg(null,v,Z,!0,Pe,D)}else v.tag=0,Bs(null,v,pe,D),v=v.child;return v;case 16:pe=v.elementType;e:{switch(c!==null&&(c.alternate=null,v.alternate=null,v.flags|=2),c=v.pendingProps,pe=(Pe=pe._init)(pe._payload),v.type=pe,Pe=v.tag=function(bo){if(typeof bo=="function")return yd(bo)?1:0;if(bo!=null){if((bo=bo.$$typeof)===X)return 11;if(bo===me)return 14}return 2}(pe),c=ac(pe,c),Pe){case 0:v=pg(null,v,pe,c,D);break e;case 1:v=af(null,v,pe,c,D);break e;case 11:v=ef(null,v,pe,c,D);break e;case 14:v=tf(null,v,pe,ac(pe.type,c),Z,D);break e}throw Error(x(306,pe,""))}return v;case 0:return Z=v.type,pe=v.pendingProps,pg(c,v,Z,pe=v.elementType===Z?pe:ac(Z,pe),D);case 1:return Z=v.type,pe=v.pendingProps,af(c,v,Z,pe=v.elementType===Z?pe:ac(Z,pe),D);case 3:if(nf(v),Z=v.updateQueue,c===null||Z===null)throw Error(x(282));if(Z=v.pendingProps,pe=(pe=v.memoizedState)!==null?pe.element:null,Uu(c,v),lu(v,Z,null,D),(Z=v.memoizedState.element)===pe)Vp(),v=Fc(c,v,D);else{if((Pe=(pe=v.stateNode).hydrate)&&(bs=ou(v.stateNode.containerInfo.firstChild),Js=v,Pe=Ps=!0),Pe){if((c=pe.mutableSourceEagerHydrationData)!=null)for(pe=0;pe<c.length;pe+=2)(Pe=c[pe])._workInProgressVersionPrimary=c[pe+1],ic.push(Pe);for(D=ag(v,null,Z,D),v.child=D;D;)D.flags=-3&D.flags|1024,D=D.sibling}else Bs(c,v,Z,D),Vp();v=v.child}return v;case 5:return ng(v),c===null&&ig(v),Z=v.type,pe=v.pendingProps,Pe=c!==null?c.memoizedProps:null,qe=pe.children,Bu(Z,pe)?qe=null:Pe!==null&&Bu(Z,Pe)&&(v.flags|=16),hu(c,v),Bs(c,v,qe,D),v.child;case 6:return c===null&&ig(v),null;case 13:return gg(c,v,D);case 4:return Rl(v,v.stateNode.containerInfo),Z=v.pendingProps,c===null?v.child=ms(v,null,Z,D):Bs(c,v,Z,D),v.child;case 11:return Z=v.type,pe=v.pendingProps,ef(c,v,Z,pe=v.elementType===Z?pe:ac(Z,pe),D);case 7:return Bs(c,v,v.pendingProps,D),v.child;case 8:case 12:return Bs(c,v,v.pendingProps.children,D),v.child;case 10:e:{Z=v.type._context,pe=v.pendingProps,qe=v.memoizedProps,Pe=pe.value;var ut=v.type._context;if(mi($p,ut._currentValue),ut._currentValue=Pe,qe!==null)if(ut=qe.value,(Pe=ua(ut,Pe)?0:0|(typeof Z._calculateChangedBits=="function"?Z._calculateChangedBits(ut,Pe):1073741823))===0){if(qe.children===pe.children&&!Cs.current){v=Fc(c,v,D);break e}}else for((ut=v.child)!==null&&(ut.return=v);ut!==null;){var Kt=ut.dependencies;if(Kt!==null){qe=ut.child;for(var _r=Kt.firstContext;_r!==null;){if(_r.context===Z&&_r.observedBits&Pe){ut.tag===1&&((_r=dl(-1,D&-D)).tag=2,bi(ut,_r)),ut.lanes|=D,(_r=ut.alternate)!==null&&(_r.lanes|=D),Na(ut.return,D),Kt.lanes|=D;break}_r=_r.next}}else qe=ut.tag===10&&ut.type===v.type?null:ut.child;if(qe!==null)qe.return=ut;else for(qe=ut;qe!==null;){if(qe===v){qe=null;break}if((ut=qe.sibling)!==null){ut.return=qe.return,qe=ut;break}qe=qe.return}ut=qe}Bs(c,v,pe.children,D),v=v.child}return v;case 9:return pe=v.type,Z=(Pe=v.pendingProps).children,Ti(v,D),Z=Z(pe=hs(pe,Pe.unstable_observedBits)),v.flags|=1,Bs(c,v,Z,D),v.child;case 14:return Pe=ac(pe=v.type,v.pendingProps),tf(c,v,pe,Pe=ac(pe.type,Pe),Z,D);case 15:return rf(c,v,v.type,v.pendingProps,Z,D);case 17:return Z=v.type,pe=v.pendingProps,pe=v.elementType===Z?pe:ac(Z,pe),c!==null&&(c.alternate=null,v.alternate=null,v.flags|=2),v.tag=1,ls(Z)?(c=!0,ul(v)):c=!1,Ti(v,D),og(v,Z,pe),qp(v,Z,pe,D),dg(null,v,Z,!0,c,D);case 19:return Lc(c,v,D);case 23:case 24:return of(c,v,D)}throw Error(x(156,v.tag))},dp.prototype.render=function(c){xu(c,this._internalRoot,null,null)},dp.prototype.unmount=function(){var c=this._internalRoot,v=c.containerInfo;xu(null,c,null,function(){v[au]=null})},Qt=function(c){c.tag===13&&(Sc(c,4,zs()),xd(c,4))},Pr=function(c){c.tag===13&&(Sc(c,67108864,zs()),xd(c,67108864))},bt=function(c){if(c.tag===13){var v=zs(),D=xl(c);Sc(c,D,v),xd(c,D)}},Jt=function(c,v){return v()},ao=function(c,v,D){switch(v){case"input":if(ot(c,D),v=D.name,D.type==="radio"&&v!=null){for(D=c;D.parentNode;)D=D.parentNode;for(D=D.querySelectorAll("input[name="+JSON.stringify(""+v)+'][type="radio"]'),v=0;v<D.length;v++){var Z=D[v];if(Z!==c&&Z.form===c.form){var pe=Mu(Z);if(!pe)throw Error(x(90));lr(Z),ot(Z,pe)}}}break;case"textarea":te(c,D);break;case"select":(v=D.value)!=null&&zt(c,!!D.multiple,v,!1)}},wo=sp,Ao=function(c,v,D,Z,pe){var Pe=Qa;Qa|=4;try{return Il(98,c.bind(null,v,D,Z,pe))}finally{(Qa=Pe)===0&&(vu(),wc())}},ko=function(){!(49&Qa)&&(function(){if(xc!==null){var c=xc;xc=null,c.forEach(function(v){v.expiredLanes|=24&v.pendingLanes,Gs(v,ji())})}wc()}(),Ms())},ia=function(c,v){var D=Qa;Qa|=2;try{return c(v)}finally{(Qa=D)===0&&(vu(),wc())}};var Cg={Events:[nu,iu,Mu,Zr,Lo,Ms,{current:!1}]},Or={findFiberByHostInstance:nl,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},H0={bundleType:Or.bundleType,version:Or.version,rendererPackageName:Or.rendererPackageName,rendererConfig:Or.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:B.ReactCurrentDispatcher,findHostInstanceByFiber:function(c){return(c=Je(c))===null?null:c.stateNode},findFiberByHostInstance:Or.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Kl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kl.isDisabled&&Kl.supportsFiber)try{Bp=Kl.inject(H0),Nc=Kl}catch{}}A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cg,A.createPortal=ff,A.findDOMNode=function(c){if(c==null)return null;if(c.nodeType===1)return c;var v=c._reactInternals;if(v===void 0)throw typeof c.render=="function"?Error(x(188)):Error(x(268,Object.keys(c)));return c=(c=Je(v))===null?null:c.stateNode},A.flushSync=function(c,v){var D=Qa;if(48&D)return c(v);Qa|=1;try{if(c)return Il(99,c.bind(null,v))}finally{Qa=D,wc()}},A.hydrate=function(c,v,D){if(!gp(v))throw Error(x(200));return Eu(null,c,v,!0,D)},A.render=function(c,v,D){if(!gp(v))throw Error(x(200));return Eu(null,c,v,!1,D)},A.unmountComponentAtNode=function(c){if(!gp(c))throw Error(x(40));return!!c._reactRootContainer&&(Eg(function(){Eu(null,null,c,!1,function(){c._reactRootContainer=null,c[au]=null})}),!0)},A.unstable_batchedUpdates=sp,A.unstable_createPortal=function(c,v){return ff(c,v,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},A.unstable_renderSubtreeIntoContainer=function(c,v,D,Z){if(!gp(D))throw Error(x(200));if(c==null||c._reactInternals===void 0)throw Error(x(38));return Eu(c,v,D,!1,Z)},A.version="17.0.2"},30883:(y,A,a)=>{(function p(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE=="function")try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p)}catch(k){console.error(k)}})(),y.exports=a(46117)},20634:(y,A,a)=>{var p,k=a(45463),_="<<anonymous>>",x=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};x.isRequired=x;var C=function(){return x};function P(u){var g=typeof u;return Array.isArray(u)?"array":u instanceof RegExp?"object":u instanceof k.Iterable?"Immutable."+u.toSource().split(" ")[0]:g}function d(u){function g(m,S,j,w,O,z){for(var T=arguments.length,B=Array(T>6?T-6:0),q=6;q<T;q++)B[q-6]=arguments[q];return z=z||j,w=w||_,S[j]!=null?u.apply(void 0,[S,j,w,O,z].concat(B)):m?new Error("Required "+O+" `"+z+"` was not specified in `"+w+"`."):void 0}var s=g.bind(null,!1);return s.isRequired=g.bind(null,!0),s}function i(u,g){return s="Iterable."+u,m=function(S){return k.Iterable.isIterable(S)&&g(S)},d(function(S,j,w,O,z){var T=S[j];if(!m(T)){var B=P(T);return new Error("Invalid "+O+" `"+z+"` of type `"+B+"` supplied to `"+w+"`, expected `"+s+"`.")}return null});var s,m}(p={listOf:C,mapOf:C,orderedMapOf:C,setOf:C,orderedSetOf:C,stackOf:C,iterableOf:C,recordOf:C,shape:C,contains:C,mapContains:C,orderedMapContains:C,list:x,map:x,orderedMap:x,set:x,orderedSet:x,stack:x,seq:x,record:x,iterable:x}).iterable.indexed=i("Indexed",k.Iterable.isIndexed),p.iterable.keyed=i("Keyed",k.Iterable.isKeyed),y.exports=p},99969:(y,A)=>{var a=typeof Symbol=="function"&&Symbol.for,p=a?Symbol.for("react.element"):60103,k=a?Symbol.for("react.portal"):60106,_=a?Symbol.for("react.fragment"):60107,x=a?Symbol.for("react.strict_mode"):60108,C=a?Symbol.for("react.profiler"):60114,P=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,i=a?Symbol.for("react.async_mode"):60111,u=a?Symbol.for("react.concurrent_mode"):60111,g=a?Symbol.for("react.forward_ref"):60112,s=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.suspense_list"):60120,S=a?Symbol.for("react.memo"):60115,j=a?Symbol.for("react.lazy"):60116,w=a?Symbol.for("react.block"):60121,O=a?Symbol.for("react.fundamental"):60117,z=a?Symbol.for("react.responder"):60118,T=a?Symbol.for("react.scope"):60119;function B($){if(typeof $=="object"&&$!==null){var N=$.$$typeof;switch(N){case p:switch($=$.type){case i:case u:case _:case C:case x:case s:return $;default:switch($=$&&$.$$typeof){case d:case g:case j:case S:case P:return $;default:return N}}case k:return N}}}function q($){return B($)===u}A.AsyncMode=i,A.ConcurrentMode=u,A.ContextConsumer=d,A.ContextProvider=P,A.Element=p,A.ForwardRef=g,A.Fragment=_,A.Lazy=j,A.Memo=S,A.Portal=k,A.Profiler=C,A.StrictMode=x,A.Suspense=s,A.isAsyncMode=function($){return q($)||B($)===i},A.isConcurrentMode=q,A.isContextConsumer=function($){return B($)===d},A.isContextProvider=function($){return B($)===P},A.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===p},A.isForwardRef=function($){return B($)===g},A.isFragment=function($){return B($)===_},A.isLazy=function($){return B($)===j},A.isMemo=function($){return B($)===S},A.isPortal=function($){return B($)===k},A.isProfiler=function($){return B($)===C},A.isStrictMode=function($){return B($)===x},A.isSuspense=function($){return B($)===s},A.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===_||$===u||$===C||$===x||$===s||$===m||typeof $=="object"&&$!==null&&($.$$typeof===j||$.$$typeof===S||$.$$typeof===P||$.$$typeof===d||$.$$typeof===g||$.$$typeof===O||$.$$typeof===z||$.$$typeof===T||$.$$typeof===w)},A.typeOf=B},8733:(y,A,a)=>{y.exports=a(99969)},85266:(y,A)=>{var a=Symbol.for("react.element"),p=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),P=Symbol.for("react.context"),d=Symbol.for("react.server_context"),i=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),s=Symbol.for("react.memo"),m=Symbol.for("react.lazy");function S(j){if(typeof j=="object"&&j!==null){var w=j.$$typeof;switch(w){case a:switch(j=j.type){case k:case x:case _:case u:case g:return j;default:switch(j=j&&j.$$typeof){case d:case P:case i:case m:case s:case C:return j;default:return w}}case p:return w}}}A.isContextConsumer=function(j){return S(j)===P}},67086:(y,A,a)=>{y.exports=a(85266)},81386:(y,A,a)=>{var p=a(34913),k=60103,_=60106;A.Fragment=60107,A.StrictMode=60108,A.Profiler=60114;var x=60109,C=60110,P=60112;A.Suspense=60113;var d=60115,i=60116;if(typeof Symbol=="function"&&Symbol.for){var u=Symbol.for;k=u("react.element"),_=u("react.portal"),A.Fragment=u("react.fragment"),A.StrictMode=u("react.strict_mode"),A.Profiler=u("react.profiler"),x=u("react.provider"),C=u("react.context"),P=u("react.forward_ref"),A.Suspense=u("react.suspense"),d=u("react.memo"),i=u("react.lazy")}var g=typeof Symbol=="function"&&Symbol.iterator;function s(ie){for(var se="https://reactjs.org/docs/error-decoder.html?invariant="+ie,ve=1;ve<arguments.length;ve++)se+="&args[]="+encodeURIComponent(arguments[ve]);return"Minified React error #"+ie+"; visit "+se+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S={};function j(ie,se,ve){this.props=ie,this.context=se,this.refs=S,this.updater=ve||m}function w(){}function O(ie,se,ve){this.props=ie,this.context=se,this.refs=S,this.updater=ve||m}j.prototype.isReactComponent={},j.prototype.setState=function(ie,se){if(typeof ie!="object"&&typeof ie!="function"&&ie!=null)throw Error(s(85));this.updater.enqueueSetState(this,ie,se,"setState")},j.prototype.forceUpdate=function(ie){this.updater.enqueueForceUpdate(this,ie,"forceUpdate")},w.prototype=j.prototype;var z=O.prototype=new w;z.constructor=O,p(z,j.prototype),z.isPureReactComponent=!0;var T={current:null},B=Object.prototype.hasOwnProperty,q={key:!0,ref:!0,__self:!0,__source:!0};function $(ie,se,ve){var Ie,Fe={},Te=null,He=null;if(se!=null)for(Ie in se.ref!==void 0&&(He=se.ref),se.key!==void 0&&(Te=""+se.key),se)B.call(se,Ie)&&!q.hasOwnProperty(Ie)&&(Fe[Ie]=se[Ie]);var tt=arguments.length-2;if(tt===1)Fe.children=ve;else if(1<tt){for(var Ne=Array(tt),Ce=0;Ce<tt;Ce++)Ne[Ce]=arguments[Ce+2];Fe.children=Ne}if(ie&&ie.defaultProps)for(Ie in tt=ie.defaultProps)Fe[Ie]===void 0&&(Fe[Ie]=tt[Ie]);return{$$typeof:k,type:ie,key:Te,ref:He,props:Fe,_owner:T.current}}function N(ie){return typeof ie=="object"&&ie!==null&&ie.$$typeof===k}var W=/\/+/g;function J(ie,se){return typeof ie=="object"&&ie!==null&&ie.key!=null?function(ve){var Ie={"=":"=0",":":"=2"};return"$"+ve.replace(/[=:]/g,function(Fe){return Ie[Fe]})}(""+ie.key):se.toString(36)}function ee(ie,se,ve,Ie,Fe){var Te=typeof ie;Te!=="undefined"&&Te!=="boolean"||(ie=null);var He=!1;if(ie===null)He=!0;else switch(Te){case"string":case"number":He=!0;break;case"object":switch(ie.$$typeof){case k:case _:He=!0}}if(He)return Fe=Fe(He=ie),ie=Ie===""?"."+J(He,0):Ie,Array.isArray(Fe)?(ve="",ie!=null&&(ve=ie.replace(W,"$&/")+"/"),ee(Fe,se,ve,"",function(Ce){return Ce})):Fe!=null&&(N(Fe)&&(Fe=function(Ce,ht){return{$$typeof:k,type:Ce.type,key:ht,ref:Ce.ref,props:Ce.props,_owner:Ce._owner}}(Fe,ve+(!Fe.key||He&&He.key===Fe.key?"":(""+Fe.key).replace(W,"$&/")+"/")+ie)),se.push(Fe)),1;if(He=0,Ie=Ie===""?".":Ie+":",Array.isArray(ie))for(var tt=0;tt<ie.length;tt++){var Ne=Ie+J(Te=ie[tt],tt);He+=ee(Te,se,ve,Ne,Fe)}else if(Ne=function(Ce){return Ce===null||typeof Ce!="object"?null:typeof(Ce=g&&Ce[g]||Ce["@@iterator"])=="function"?Ce:null}(ie),typeof Ne=="function")for(ie=Ne.call(ie),tt=0;!(Te=ie.next()).done;)He+=ee(Te=Te.value,se,ve,Ne=Ie+J(Te,tt++),Fe);else if(Te==="object")throw se=""+ie,Error(s(31,se==="[object Object]"?"object with keys {"+Object.keys(ie).join(", ")+"}":se));return He}function re(ie,se,ve){if(ie==null)return ie;var Ie=[],Fe=0;return ee(ie,Ie,"","",function(Te){return se.call(ve,Te,Fe++)}),Ie}function X(ie){if(ie._status===-1){var se=ie._result;se=se(),ie._status=0,ie._result=se,se.then(function(ve){ie._status===0&&(ve=ve.default,ie._status=1,ie._result=ve)},function(ve){ie._status===0&&(ie._status=2,ie._result=ve)})}if(ie._status===1)return ie._result;throw ie._result}var ue={current:null};function Q(){var ie=ue.current;if(ie===null)throw Error(s(321));return ie}var me={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:p};A.Children={map:re,forEach:function(ie,se,ve){re(ie,function(){se.apply(this,arguments)},ve)},count:function(ie){var se=0;return re(ie,function(){se++}),se},toArray:function(ie){return re(ie,function(se){return se})||[]},only:function(ie){if(!N(ie))throw Error(s(143));return ie}},A.Component=j,A.PureComponent=O,A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=me,A.cloneElement=function(ie,se,ve){if(ie==null)throw Error(s(267,ie));var Ie=p({},ie.props),Fe=ie.key,Te=ie.ref,He=ie._owner;if(se!=null){if(se.ref!==void 0&&(Te=se.ref,He=T.current),se.key!==void 0&&(Fe=""+se.key),ie.type&&ie.type.defaultProps)var tt=ie.type.defaultProps;for(Ne in se)B.call(se,Ne)&&!q.hasOwnProperty(Ne)&&(Ie[Ne]=se[Ne]===void 0&&tt!==void 0?tt[Ne]:se[Ne])}var Ne=arguments.length-2;if(Ne===1)Ie.children=ve;else if(1<Ne){tt=Array(Ne);for(var Ce=0;Ce<Ne;Ce++)tt[Ce]=arguments[Ce+2];Ie.children=tt}return{$$typeof:k,type:ie.type,key:Fe,ref:Te,props:Ie,_owner:He}},A.createContext=function(ie,se){return se===void 0&&(se=null),(ie={$$typeof:C,_calculateChangedBits:se,_currentValue:ie,_currentValue2:ie,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:x,_context:ie},ie.Consumer=ie},A.createElement=$,A.createFactory=function(ie){var se=$.bind(null,ie);return se.type=ie,se},A.createRef=function(){return{current:null}},A.forwardRef=function(ie){return{$$typeof:P,render:ie}},A.isValidElement=N,A.lazy=function(ie){return{$$typeof:i,_payload:{_status:-1,_result:ie},_init:X}},A.memo=function(ie,se){return{$$typeof:d,type:ie,compare:se===void 0?null:se}},A.useCallback=function(ie,se){return Q().useCallback(ie,se)},A.useContext=function(ie,se){return Q().useContext(ie,se)},A.useDebugValue=function(){},A.useEffect=function(ie,se){return Q().useEffect(ie,se)},A.useImperativeHandle=function(ie,se,ve){return Q().useImperativeHandle(ie,se,ve)},A.useLayoutEffect=function(ie,se){return Q().useLayoutEffect(ie,se)},A.useMemo=function(ie,se){return Q().useMemo(ie,se)},A.useReducer=function(ie,se,ve){return Q().useReducer(ie,se,ve)},A.useRef=function(ie){return Q().useRef(ie)},A.useState=function(ie){return Q().useState(ie)},A.version="17.0.2"},92451:(y,A,a)=>{y.exports=a(81386)},92534:(y,A,a)=>{Object.defineProperty(A,"__esModule",{value:!0});var p,k=a(45463),_=(p=k)&&p.__esModule?p:{default:p},x=a(13465);A.default=function(C){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_.default.Map,d=Object.keys(C);return function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:P(),u=arguments[1];return i.withMutations(function(g){d.forEach(function(s){var m=(0,C[s])(g.get(s),u);(0,x.validateNextState)(m,s,u),g.set(s,m)})})}},y.exports=A.default},26566:(y,A,a)=>{A.H=void 0;var p,k=a(92534),_=(p=k)&&p.__esModule?p:{default:p};A.H=_.default},68855:(y,A)=>{Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(a){return a&&a.type==="@@redux/INIT"?"initialState argument passed to createStore":"previous state received by the reducer"},y.exports=A.default},4574:(y,A,a)=>{Object.defineProperty(A,"__esModule",{value:!0});var p=_(a(45463)),k=_(a(68855));function _(x){return x&&x.__esModule?x:{default:x}}A.default=function(x,C,P){var d=Object.keys(C);if(!d.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var i=(0,k.default)(P);if(p.default.isImmutable?!p.default.isImmutable(x):!p.default.Iterable.isIterable(x))return"The "+i+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+d.join('", "')+'".';var u=x.toSeq().keySeq().toArray().filter(function(g){return!C.hasOwnProperty(g)});return u.length>0?"Unexpected "+(u.length===1?"property":"properties")+' "'+u.join('", "')+'" found in '+i+'. Expected to find one of the known reducer property names instead: "'+d.join('", "')+'". Unexpected properties will be ignored.':null},y.exports=A.default},13465:(y,A,a)=>{Object.defineProperty(A,"__esModule",{value:!0}),A.validateNextState=A.getUnexpectedInvocationParameterMessage=A.getStateName=void 0;var p=x(a(68855)),k=x(a(4574)),_=x(a(83001));function x(C){return C&&C.__esModule?C:{default:C}}A.getStateName=p.default,A.getUnexpectedInvocationParameterMessage=k.default,A.validateNextState=_.default},83001:(y,A)=>{Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(a,p,k){if(a===void 0)throw new Error('Reducer "'+p+'" returned undefined when handling "'+k.type+'" action. To ignore an action, you must explicitly return the previous state.')},y.exports=A.default},34667:y=>{var A,a="";y.exports=function(p,k){if(typeof p!="string")throw new TypeError("expected a string");if(k===1)return p;if(k===2)return p+p;var _=p.length*k;if(A!==p||A===void 0)A=p,a="";else if(a.length>=_)return a.substr(0,_);for(;_>a.length&&k>1;)1&k&&(a+=p),k>>=1,p+=p;return a=(a+=p).substr(0,_)}},42686:y=>{y.exports=function(A,a){if(a=a.split(":")[0],!(A=+A))return!1;switch(a){case"http":case"ws":return A!==80;case"https":case"wss":return A!==443;case"ftp":return A!==21;case"gopher":return A!==70;case"file":return!1}return A!==0}},83393:(y,A,a)=>{const p=a(30089),k=a(60400),_=a(98024),x=a(50149);y.exports=C=>{var P,d,i=0,u={type:k.ROOT,stack:[]},g=u,s=u.stack,m=[],S=N=>{p.error(C,"Nothing to repeat at column "+(N-1))},j=p.strToChars(C);for(P=j.length;i<P;)switch(d=j[i++]){case"\\":switch(d=j[i++]){case"b":s.push(x.wordBoundary());break;case"B":s.push(x.nonWordBoundary());break;case"w":s.push(_.words());break;case"W":s.push(_.notWords());break;case"d":s.push(_.ints());break;case"D":s.push(_.notInts());break;case"s":s.push(_.whitespace());break;case"S":s.push(_.notWhitespace());break;default:/\d/.test(d)?s.push({type:k.REFERENCE,value:parseInt(d,10)}):s.push({type:k.CHAR,value:d.charCodeAt(0)})}break;case"^":s.push(x.begin());break;case"$":s.push(x.end());break;case"[":var w;j[i]==="^"?(w=!0,i++):w=!1;var O=p.tokenizeClass(j.slice(i),C);i+=O[1],s.push({type:k.SET,set:O[0],not:w});break;case".":s.push(_.anyChar());break;case"(":var z={type:k.GROUP,stack:[],remember:!0};(d=j[i])==="?"&&(d=j[i+1],i+=2,d==="="?z.followedBy=!0:d==="!"?z.notFollowedBy=!0:d!==":"&&p.error(C,`Invalid group, character '${d}' after '?' at column `+(i-1)),z.remember=!1),s.push(z),m.push(g),g=z,s=z.stack;break;case")":m.length===0&&p.error(C,"Unmatched ) at column "+(i-1)),s=(g=m.pop()).options?g.options[g.options.length-1]:g.stack;break;case"|":g.options||(g.options=[g.stack],delete g.stack);var T=[];g.options.push(T),s=T;break;case"{":var B,q,$=/^(\d+)(,(\d+)?)?\}/.exec(j.slice(i));$!==null?(s.length===0&&S(i),B=parseInt($[1],10),q=$[2]?$[3]?parseInt($[3],10):1/0:B,i+=$[0].length,s.push({type:k.REPETITION,min:B,max:q,value:s.pop()})):s.push({type:k.CHAR,value:123});break;case"?":s.length===0&&S(i),s.push({type:k.REPETITION,min:0,max:1,value:s.pop()});break;case"+":s.length===0&&S(i),s.push({type:k.REPETITION,min:1,max:1/0,value:s.pop()});break;case"*":s.length===0&&S(i),s.push({type:k.REPETITION,min:0,max:1/0,value:s.pop()});break;default:s.push({type:k.CHAR,value:d.charCodeAt(0)})}return m.length!==0&&p.error(C,"Unterminated group"),u},y.exports.types=k},50149:(y,A,a)=>{const p=a(60400);A.wordBoundary=()=>({type:p.POSITION,value:"b"}),A.nonWordBoundary=()=>({type:p.POSITION,value:"B"}),A.begin=()=>({type:p.POSITION,value:"^"}),A.end=()=>({type:p.POSITION,value:"$"})},98024:(y,A,a)=>{const p=a(60400),k=()=>[{type:p.RANGE,from:48,to:57}],_=()=>[{type:p.CHAR,value:95},{type:p.RANGE,from:97,to:122},{type:p.RANGE,from:65,to:90}].concat(k()),x=()=>[{type:p.CHAR,value:9},{type:p.CHAR,value:10},{type:p.CHAR,value:11},{type:p.CHAR,value:12},{type:p.CHAR,value:13},{type:p.CHAR,value:32},{type:p.CHAR,value:160},{type:p.CHAR,value:5760},{type:p.RANGE,from:8192,to:8202},{type:p.CHAR,value:8232},{type:p.CHAR,value:8233},{type:p.CHAR,value:8239},{type:p.CHAR,value:8287},{type:p.CHAR,value:12288},{type:p.CHAR,value:65279}];A.words=()=>({type:p.SET,set:_(),not:!1}),A.notWords=()=>({type:p.SET,set:_(),not:!0}),A.ints=()=>({type:p.SET,set:k(),not:!1}),A.notInts=()=>({type:p.SET,set:k(),not:!0}),A.whitespace=()=>({type:p.SET,set:x(),not:!1}),A.notWhitespace=()=>({type:p.SET,set:x(),not:!0}),A.anyChar=()=>({type:p.SET,set:[{type:p.CHAR,value:10},{type:p.CHAR,value:13},{type:p.CHAR,value:8232},{type:p.CHAR,value:8233}],not:!0})},60400:y=>{y.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},30089:(y,A,a)=>{const p=a(60400),k=a(98024),_={0:0,t:9,n:10,v:11,f:12,r:13};A.strToChars=function(x){return x=x.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,function(C,P,d,i,u,g,s,m){if(d)return C;var S=P?8:i?parseInt(i,16):u?parseInt(u,16):g?parseInt(g,8):s?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(s):_[m],j=String.fromCharCode(S);return/[[\]{}^$.|?*+()]/.test(j)&&(j="\\"+j),j})},A.tokenizeClass=(x,C)=>{for(var P,d,i=[],u=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;(P=u.exec(x))!=null;)if(P[1])i.push(k.words());else if(P[2])i.push(k.ints());else if(P[3])i.push(k.whitespace());else if(P[4])i.push(k.notWords());else if(P[5])i.push(k.notInts());else if(P[6])i.push(k.notWhitespace());else if(P[7])i.push({type:p.RANGE,from:(P[8]||P[9]).charCodeAt(0),to:P[10].charCodeAt(0)});else{if(!(d=P[12]))return[i,u.lastIndex];i.push({type:p.CHAR,value:d.charCodeAt(0)})}A.error(C,"Unterminated character class")},A.error=(x,C)=>{throw new SyntaxError("Invalid regular expression: /"+x+"/: "+C)}},80286:(y,A)=>{var a,p,k,_;if(typeof performance=="object"&&typeof performance.now=="function"){var x=performance;A.unstable_now=function(){return x.now()}}else{var C=Date,P=C.now();A.unstable_now=function(){return C.now()-P}}if(typeof window>"u"||typeof MessageChannel!="function"){var d=null,i=null,u=function(){if(d!==null)try{var Te=A.unstable_now();d(!0,Te),d=null}catch(He){throw setTimeout(u,0),He}};a=function(Te){d!==null?setTimeout(a,0,Te):(d=Te,setTimeout(u,0))},p=function(Te,He){i=setTimeout(Te,He)},k=function(){clearTimeout(i)},A.unstable_shouldYield=function(){return!1},_=A.unstable_forceFrameRate=function(){}}else{var g=window.setTimeout,s=window.clearTimeout;if(typeof console<"u"){var m=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof m!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var S=!1,j=null,w=-1,O=5,z=0;A.unstable_shouldYield=function(){return A.unstable_now()>=z},_=function(){},A.unstable_forceFrameRate=function(Te){0>Te||125<Te?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<Te?Math.floor(1e3/Te):5};var T=new MessageChannel,B=T.port2;T.port1.onmessage=function(){if(j!==null){var Te=A.unstable_now();z=Te+O;try{j(!0,Te)?B.postMessage(null):(S=!1,j=null)}catch(He){throw B.postMessage(null),He}}else S=!1},a=function(Te){j=Te,S||(S=!0,B.postMessage(null))},p=function(Te,He){w=g(function(){Te(A.unstable_now())},He)},k=function(){s(w),w=-1}}function q(Te,He){var tt=Te.length;Te.push(He);e:for(;;){var Ne=tt-1>>>1,Ce=Te[Ne];if(!(Ce!==void 0&&0<W(Ce,He)))break e;Te[Ne]=He,Te[tt]=Ce,tt=Ne}}function $(Te){return(Te=Te[0])===void 0?null:Te}function N(Te){var He=Te[0];if(He!==void 0){var tt=Te.pop();if(tt!==He){Te[0]=tt;e:for(var Ne=0,Ce=Te.length;Ne<Ce;){var ht=2*(Ne+1)-1,mt=Te[ht],_t=ht+1,Yt=Te[_t];if(mt!==void 0&&0>W(mt,tt))Yt!==void 0&&0>W(Yt,mt)?(Te[Ne]=Yt,Te[_t]=tt,Ne=_t):(Te[Ne]=mt,Te[ht]=tt,Ne=ht);else{if(!(Yt!==void 0&&0>W(Yt,tt)))break e;Te[Ne]=Yt,Te[_t]=tt,Ne=_t}}}return He}return null}function W(Te,He){var tt=Te.sortIndex-He.sortIndex;return tt!==0?tt:Te.id-He.id}var J=[],ee=[],re=1,X=null,ue=3,Q=!1,me=!1,ie=!1;function se(Te){for(var He=$(ee);He!==null;){if(He.callback===null)N(ee);else{if(!(He.startTime<=Te))break;N(ee),He.sortIndex=He.expirationTime,q(J,He)}He=$(ee)}}function ve(Te){if(ie=!1,se(Te),!me)if($(J)!==null)me=!0,a(Ie);else{var He=$(ee);He!==null&&p(ve,He.startTime-Te)}}function Ie(Te,He){me=!1,ie&&(ie=!1,k()),Q=!0;var tt=ue;try{for(se(He),X=$(J);X!==null&&(!(X.expirationTime>He)||Te&&!A.unstable_shouldYield());){var Ne=X.callback;if(typeof Ne=="function"){X.callback=null,ue=X.priorityLevel;var Ce=Ne(X.expirationTime<=He);He=A.unstable_now(),typeof Ce=="function"?X.callback=Ce:X===$(J)&&N(J),se(He)}else N(J);X=$(J)}if(X!==null)var ht=!0;else{var mt=$(ee);mt!==null&&p(ve,mt.startTime-He),ht=!1}return ht}finally{X=null,ue=tt,Q=!1}}var Fe=_;A.unstable_IdlePriority=5,A.unstable_ImmediatePriority=1,A.unstable_LowPriority=4,A.unstable_NormalPriority=3,A.unstable_Profiling=null,A.unstable_UserBlockingPriority=2,A.unstable_cancelCallback=function(Te){Te.callback=null},A.unstable_continueExecution=function(){me||Q||(me=!0,a(Ie))},A.unstable_getCurrentPriorityLevel=function(){return ue},A.unstable_getFirstCallbackNode=function(){return $(J)},A.unstable_next=function(Te){switch(ue){case 1:case 2:case 3:var He=3;break;default:He=ue}var tt=ue;ue=He;try{return Te()}finally{ue=tt}},A.unstable_pauseExecution=function(){},A.unstable_requestPaint=Fe,A.unstable_runWithPriority=function(Te,He){switch(Te){case 1:case 2:case 3:case 4:case 5:break;default:Te=3}var tt=ue;ue=Te;try{return He()}finally{ue=tt}},A.unstable_scheduleCallback=function(Te,He,tt){var Ne=A.unstable_now();switch(typeof tt=="object"&&tt!==null?tt=typeof(tt=tt.delay)=="number"&&0<tt?Ne+tt:Ne:tt=Ne,Te){case 1:var Ce=-1;break;case 2:Ce=250;break;case 5:Ce=1073741823;break;case 4:Ce=1e4;break;default:Ce=5e3}return Te={id:re++,callback:He,priorityLevel:Te,startTime:tt,expirationTime:Ce=tt+Ce,sortIndex:-1},tt>Ne?(Te.sortIndex=tt,q(ee,Te),$(J)===null&&Te===$(ee)&&(ie?k():ie=!0,p(ve,tt-Ne))):(Te.sortIndex=Ce,q(J,Te),me||Q||(me=!0,a(Ie))),Te},A.unstable_wrapCallback=function(Te){var He=ue;return function(){var tt=ue;ue=He;try{return Te.apply(this,arguments)}finally{ue=tt}}}},26449:(y,A,a)=>{y.exports=a(80286)},25664:y=>{class A extends Error{constructor(x){super(A._prepareSuperMessage(x)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,A)}static _prepareSuperMessage(x){try{return JSON.stringify(x)}catch{return String(x)}}}const a=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],p=Symbol(".toJSON called"),k=({from:_,seen:x,to_:C,forceEnumerable:P,maxDepth:d,depth:i})=>{const u=C||(Array.isArray(_)?[]:{});if(x.push(_),i>=d)return u;if(typeof _.toJSON=="function"&&_[p]!==!0)return(g=>{g[p]=!0;const s=g.toJSON();return delete g[p],s})(_);for(const[g,s]of Object.entries(_))typeof Buffer=="function"&&Buffer.isBuffer(s)?u[g]="[object Buffer]":typeof s!="function"&&(s&&typeof s=="object"?x.includes(_[g])?u[g]="[Circular]":(i++,u[g]=k({from:_[g],seen:x.slice(),forceEnumerable:P,maxDepth:d,depth:i})):u[g]=s);for(const{property:g,enumerable:s}of a)typeof _[g]=="string"&&Object.defineProperty(u,g,{value:_[g],enumerable:!!P||s,configurable:!0,writable:!0});return u};y.exports={serializeError:(_,x={})=>{const{maxDepth:C=Number.POSITIVE_INFINITY}=x;return typeof _=="object"&&_!==null?k({from:_,seen:[],forceEnumerable:!0,maxDepth:C,depth:0}):typeof _=="function"?`[Function: ${_.name||"anonymous"}]`:_},deserializeError:(_,x={})=>{const{maxDepth:C=Number.POSITIVE_INFINITY}=x;if(_ instanceof Error)return _;if(typeof _=="object"&&_!==null&&!Array.isArray(_)){const P=new Error;return k({from:_,seen:[],to_:P,maxDepth:C,depth:0}),P}return new A(_)}}},51546:(y,A,a)=>{var p=a(38872),k=a(19971),_=a(78622)(),x=a(11011),C=a(51653),P=p("%Math.floor%");y.exports=function(d,i){if(typeof d!="function")throw new C("`fn` is not a function");if(typeof i!="number"||i<0||i>4294967295||P(i)!==i)throw new C("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],g=!0,s=!0;if("length"in d&&x){var m=x(d,"length");m&&!m.configurable&&(g=!1),m&&!m.writable&&(s=!1)}return(g||s||!u)&&(_?k(d,"length",i,!0,!0):k(d,"length",i)),d}},10885:y=>{var A=(()=>{var a=Object.defineProperty,p=Object.getOwnPropertyDescriptor,k=Object.getOwnPropertyNames,_=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,P=(w,O,z)=>O in w?a(w,O,{enumerable:!0,configurable:!0,writable:!0,value:z}):w[O]=z,d=(w,O)=>{for(var z in O||(O={}))x.call(O,z)&&P(w,z,O[z]);if(_)for(var z of _(O))C.call(O,z)&&P(w,z,O[z]);return w},i=(w,O,z)=>(P(w,typeof O!="symbol"?O+"":O,z),z),u={};((w,O)=>{for(var z in O)a(w,z,{get:O[z],enumerable:!0})})(u,{DEFAULT_OPTIONS:()=>s,DEFAULT_UUID_LENGTH:()=>g,default:()=>j});var g=6,s={dictionary:"alphanum",shuffle:!0,debug:!1,length:g,counter:0},m=class{constructor(w={}){i(this,"counter"),i(this,"debug"),i(this,"dict"),i(this,"version"),i(this,"dictIndex",0),i(this,"dictRange",[]),i(this,"lowerBound",0),i(this,"upperBound",0),i(this,"dictLength",0),i(this,"uuidLength"),i(this,"_digit_first_ascii",48),i(this,"_digit_last_ascii",58),i(this,"_alpha_lower_first_ascii",97),i(this,"_alpha_lower_last_ascii",123),i(this,"_hex_last_ascii",103),i(this,"_alpha_upper_first_ascii",65),i(this,"_alpha_upper_last_ascii",91),i(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),i(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),i(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),i(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),i(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),i(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),i(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),i(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),i(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),i(this,"log",(...$)=>{const N=[...$];if(N[0]=`[short-unique-id] ${$[0]}`,this.debug===!0&&typeof console<"u"&&console!==null)return console.log(...N)}),i(this,"setDictionary",($,N)=>{let W;if($&&Array.isArray($)&&$.length>1)W=$;else{let J;W=[],this.dictIndex=J=0;const ee=`_${$}_dict_ranges`,re=this._dict_ranges[ee];Object.keys(re).forEach(X=>{const ue=X;for(this.dictRange=re[ue],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=J=this.lowerBound;this.lowerBound<=this.upperBound?J<this.upperBound:J>this.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?J+=1:J-=1)W.push(String.fromCharCode(this.dictIndex))})}N&&(W=W.sort(()=>Math.random()-.5)),this.dict=W,this.dictLength=this.dict.length,this.setCounter(0)}),i(this,"seq",()=>this.sequentialUUID()),i(this,"sequentialUUID",()=>{let $,N,W="";$=this.counter;do N=$%this.dictLength,$=Math.trunc($/this.dictLength),W+=this.dict[N];while($!==0);return this.counter+=1,W}),i(this,"rnd",($=this.uuidLength||g)=>this.randomUUID($)),i(this,"randomUUID",($=this.uuidLength||g)=>{let N,W,J;if($==null||$<1)throw new Error("Invalid UUID Length Provided");for(N="",J=0;J<$;J+=1)W=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,N+=this.dict[W];return N}),i(this,"fmt",($,N)=>this.formattedUUID($,N)),i(this,"formattedUUID",($,N)=>{const W={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return $.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,J=>{const ee=J.slice(0,2),re=parseInt(J.slice(2),10);return ee==="$s"?W[ee]().padStart(re,"0"):ee==="$t"&&N?W[ee](re,N):W[ee](re)})}),i(this,"availableUUIDs",($=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,$).toFixed(0))),i(this,"approxMaxBeforeCollision",($=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*$).toFixed(20))),i(this,"collisionProbability",($=this.availableUUIDs(this.uuidLength),N=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision($)/this.availableUUIDs(N)).toFixed(20))),i(this,"uniqueness",($=this.availableUUIDs(this.uuidLength))=>{const N=parseFloat((1-this.approxMaxBeforeCollision($)/$).toFixed(20));return N>1?1:N<0?0:N}),i(this,"getVersion",()=>this.version),i(this,"stamp",($,N)=>{const W=Math.floor(+(N||new Date)/1e3).toString(16);if(typeof $=="number"&&$===0)return W;if(typeof $!="number"||$<10)throw new Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join(`
|
|
142
142
|
`));const J=$-9,ee=Math.round(Math.random()*(J>15?15:J)),re=this.randomUUID(J);return`${re.substring(0,ee)}${W}${re.substring(ee)}${ee.toString(16)}`}),i(this,"parseStamp",($,N)=>{if(N&&!/t0|t[1-9]\d{1,}/.test(N))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const W=N?N.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,ee=>{const re={$r:Q=>[...Array(Q)].map(()=>"r").join(""),$s:Q=>[...Array(Q)].map(()=>"s").join(""),$t:Q=>[...Array(Q)].map(()=>"t").join("")},X=ee.slice(0,2),ue=parseInt(ee.slice(2),10);return re[X](ue)}).replace(/^(.*?)(t{8,})(.*)$/g,(ee,re,X)=>$.substring(re.length,re.length+X.length)):$;if(W.length===8)return new Date(1e3*parseInt(W,16));if(W.length<10)throw new Error("Stamp length invalid");const J=parseInt(W.substring(W.length-1),16);return new Date(1e3*parseInt(W.substring(J,J+8),16))}),i(this,"setCounter",$=>{this.counter=$});const O=d(d({},s),w);this.counter=0,this.debug=!1,this.dict=[],this.version="5.0.2";const{dictionary:z,shuffle:T,length:B,counter:q}=O;return this.uuidLength=B,this.setDictionary(z,T),this.setCounter(q),this.debug=O.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}};i(m,"default",m);var S,j=m;return S=u,((w,O,z,T)=>{if(O&&typeof O=="object"||typeof O=="function")for(let B of k(O))x.call(w,B)||B===z||a(w,B,{get:()=>O[B],enumerable:!(T=p(O,B))||T.enumerable});return w})(a({},"__esModule",{value:!0}),S)})();y.exports=A.default,typeof window<"u"&&(A=A.default)},19192:(y,A,a)=>{var p=a(38872),k=a(15689),_=a(67367),x=p("%TypeError%"),C=p("%WeakMap%",!0),P=p("%Map%",!0),d=k("WeakMap.prototype.get",!0),i=k("WeakMap.prototype.set",!0),u=k("WeakMap.prototype.has",!0),g=k("Map.prototype.get",!0),s=k("Map.prototype.set",!0),m=k("Map.prototype.has",!0),S=function(j,w){for(var O,z=j;(O=z.next)!==null;z=O)if(O.key===w)return z.next=O.next,O.next=j.next,j.next=O,O};y.exports=function(){var j,w,O,z={assert:function(T){if(!z.has(T))throw new x("Side channel does not contain "+_(T))},get:function(T){if(C&&T&&(typeof T=="object"||typeof T=="function")){if(j)return d(j,T)}else if(P){if(w)return g(w,T)}else if(O)return function(B,q){var $=S(B,q);return $&&$.value}(O,T)},has:function(T){if(C&&T&&(typeof T=="object"||typeof T=="function")){if(j)return u(j,T)}else if(P){if(w)return m(w,T)}else if(O)return function(B,q){return!!S(B,q)}(O,T);return!1},set:function(T,B){C&&T&&(typeof T=="object"||typeof T=="function")?(j||(j=new C),i(j,T,B)):P?(w||(w=new P),s(w,T,B)):(O||(O={key:{},next:null}),function(q,$,N){var W=S(q,$);W?W.value=N:q.next={key:$,next:q.next,value:N}}(O,T,B))}};return z}},70335:y=>{(function(){var A,a,p,k,_,x="properties",C="deepProperties",P="propertyDescriptors",d="staticProperties",i="staticDeepProperties",u="staticPropertyDescriptors",g="configuration",s="deepConfiguration",m="deepProps",S="deepStatics",j="deepConf",w="initializers",O="methods",z="composers",T="compose";function B(se){return Object.getOwnPropertyNames(se).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(se):[])}function q(se,ve){return Array.prototype.slice.call(arguments,2).reduce(se,ve)}var $=q.bind(0,function(se,ve){if(ve)for(var Ie=B(ve),Fe=0;Fe<Ie.length;Fe+=1)Object.defineProperty(se,Ie[Fe],Object.getOwnPropertyDescriptor(ve,Ie[Fe]));return se});function N(se){return typeof se=="function"}function W(se){return se&&typeof se=="object"||N(se)}function J(se){return se&&typeof se=="object"&&se.__proto__==Object.prototype}var ee=q.bind(0,function se(ve,Ie){if(Ie===A)return ve;if(Array.isArray(Ie))return(Array.isArray(ve)?ve:[]).concat(Ie);if(!J(Ie))return Ie;for(var Fe,Te,He=B(Ie),tt=0;tt<He.length;)Fe=He[tt++],(Te=Object.getOwnPropertyDescriptor(Ie,Fe)).hasOwnProperty("value")?Te.value!==A&&(ve[Fe]=se(J(ve[Fe])||Array.isArray(Ie[Fe])?ve[Fe]:{},Ie[Fe])):Object.defineProperty(ve,Fe,Te);return ve});function re(){return(a=Array.prototype.concat.apply([],arguments).filter(function(se,ve,Ie){return N(se)&&Ie.indexOf(se)===ve})).length?a:A}function X(se,ve){function Ie(Te,He){W(ve[Te])&&(W(se[Te])||(se[Te]={}),(He||$)(se[Te],ve[Te]))}function Fe(Te){(a=re(se[Te],ve[Te]))&&(se[Te]=a)}return ve&&W(ve=ve[T]||ve)&&(Ie(O),Ie(x),Ie(C,ee),Ie(P),Ie(d),Ie(i,ee),Ie(u),Ie(g),Ie(s,ee),Fe(w),Fe(z)),se}function ue(){return function(se){return a=function ve(Ie){var Fe,Te,He=ve[T]||{},tt={__proto__:He[O]},Ne=He[w],Ce=Array.prototype.slice.apply(arguments),ht=He[C];if(ht&&ee(tt,ht),(ht=He[x])&&$(tt,ht),(ht=He[P])&&Object.defineProperties(tt,ht),!Ne||!Ne.length)return tt;for(Ie===A&&(Ie={}),He=0;He<Ne.length;)N(Fe=Ne[He++])&&(tt=(Te=Fe.call(tt,Ie,{instance:tt,stamp:ve,args:Ce}))===A?tt:Te);return tt},(p=se[i])&&ee(a,p),(p=se[d])&&$(a,p),(p=se[u])&&Object.defineProperties(a,p),p=N(a[T])?a[T]:ue,$(a[T]=function(){return p.apply(this,arguments)},se),a}(Array.prototype.concat.apply([this],arguments).reduce(X,{}))}function Q(se){return N(se)&&N(se[T])}var me={};function ie(se,ve){return function(){return(k={})[se]=ve.apply(A,Array.prototype.concat.apply([{}],arguments)),((a=this)&&a[T]||p).call(a,k)}}me[O]=ie(O,$),me[x]=me.props=ie(x,$),me[w]=me.init=ie(w,re),me[z]=ie(z,re),me[C]=me[m]=ie(C,ee),me[d]=me.statics=ie(d,$),me[i]=me[S]=ie(i,ee),me[g]=me.conf=ie(g,$),me[s]=me[j]=ie(s,ee),me[P]=ie(P,$),me[u]=ie(u,$),p=me[T]=$(function(){for(var se,ve,Ie=0,Fe=[],Te=arguments,He=this;Ie<Te.length;)W(se=Te[Ie++])&&Fe.push(Q(se)?se:((k={})[O]=(ve=se)[O]||A,p=ve.props,k[x]=W((a=ve[x])||p)?$({},p,a):A,k[w]=re(ve.init,ve[w]),k[z]=re(ve[z]),p=ve[m],k[C]=W((a=ve[C])||p)?ee({},p,a):A,k[P]=ve[P],p=ve.statics,k[d]=W((a=ve[d])||p)?$({},p,a):A,p=ve[S],k[i]=W((a=ve[i])||p)?ee({},p,a):A,a=ve[u],k[u]=W((p=ve.name&&{name:{value:ve.name}})||a)?$({},a,p):A,p=ve.conf,k[g]=W((a=ve[g])||p)?$({},p,a):A,p=ve[j],k[s]=W((a=ve[s])||p)?ee({},p,a):A,k));if(se=ue.apply(He||_,Fe),He&&Fe.unshift(He),Array.isArray(Te=se[T][z]))for(Ie=0;Ie<Te.length;)se=Q(He=Te[Ie++]({stamp:se,composables:Fe}))?He:se;return se},me),me.create=function(){return this.apply(A,arguments)},(k={})[d]=me,_=ue(k),p[T]=p.bind(),p.version="4.3.2",y.exports=p})()},93164:y=>{var A=[];function a(_){for(var x=-1,C=0;C<A.length;C++)if(A[C].identifier===_){x=C;break}return x}function p(_,x){for(var C={},P=[],d=0;d<_.length;d++){var i=_[d],u=x.base?i[0]+x.base:i[0],g=C[u]||0,s="".concat(u," ").concat(g);C[u]=g+1;var m=a(s),S={css:i[1],media:i[2],sourceMap:i[3],supports:i[4],layer:i[5]};if(m!==-1)A[m].references++,A[m].updater(S);else{var j=k(S,x);x.byIndex=d,A.splice(d,0,{identifier:s,updater:j,references:1})}P.push(s)}return P}function k(_,x){var C=x.domAPI(x);return C.update(_),function(P){if(P){if(P.css===_.css&&P.media===_.media&&P.sourceMap===_.sourceMap&&P.supports===_.supports&&P.layer===_.layer)return;C.update(_=P)}else C.remove()}}y.exports=function(_,x){var C=p(_=_||[],x=x||{});return function(P){P=P||[];for(var d=0;d<C.length;d++){var i=a(C[d]);A[i].references--}for(var u=p(P,x),g=0;g<C.length;g++){var s=a(C[g]);A[s].references===0&&(A[s].updater(),A.splice(s,1))}C=u}}},76416:y=>{y.exports=function(A){var a=document.createElement("style");return A.setAttributes(a,A.attributes),A.insert(a,A.options),a}},9252:(y,A,a)=>{y.exports=function(p){var k=a.nc;k&&p.setAttribute("nonce",k)}},62165:y=>{y.exports=function(A){if(typeof document>"u")return{update:function(){},remove:function(){}};var a=A.insertStyleElement(A);return{update:function(p){(function(k,_,x){var C="";x.supports&&(C+="@supports (".concat(x.supports,") {")),x.media&&(C+="@media ".concat(x.media," {"));var P=x.layer!==void 0;P&&(C+="@layer".concat(x.layer.length>0?" ".concat(x.layer):""," {")),C+=x.css,P&&(C+="}"),x.media&&(C+="}"),x.supports&&(C+="}");var d=x.sourceMap;d&&typeof btoa<"u"&&(C+=`
|
|
143
143
|
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(d))))," */")),_.styleTagTransform(C,k,_.options)})(a,A,p)},remove:function(){(function(p){if(p.parentNode===null)return!1;p.parentNode.removeChild(p)})(a)}}}},59469:y=>{y.exports=function(A,a){if(a.styleSheet)a.styleSheet.cssText=A;else{for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(document.createTextNode(A))}}},3498:y=>{y.exports=function(){var A=document.getSelection();if(!A.rangeCount)return function(){};for(var a=document.activeElement,p=[],k=0;k<A.rangeCount;k++)p.push(A.getRangeAt(k));switch(a.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":a.blur();break;default:a=null}return A.removeAllRanges(),function(){A.type==="Caret"&&A.removeAllRanges(),A.rangeCount||p.forEach(function(_){A.addRange(_)}),a&&a.focus()}}},7356:y=>{function A(i){return Object.prototype.toString.call(i)}var a=Array.isArray||function(i){return Object.prototype.toString.call(i)==="[object Array]"};function p(i,u){if(i.forEach)return i.forEach(u);for(var g=0;g<i.length;g++)u(i[g],g,i)}var k=Object.keys||function(i){var u=[];for(var g in i)u.push(g);return u},_=Object.prototype.hasOwnProperty||function(i,u){return u in i};function x(i){if(typeof i=="object"&&i!==null){var u;if(a(i))u=[];else if(A(i)==="[object Date]")u=new Date(i.getTime?i.getTime():i);else if(function(m){return A(m)==="[object RegExp]"}(i))u=new RegExp(i);else if(function(m){return A(m)==="[object Error]"}(i))u={message:i.message};else if(function(m){return A(m)==="[object Boolean]"}(i)||function(m){return A(m)==="[object Number]"}(i)||function(m){return A(m)==="[object String]"}(i))u=Object(i);else if(Object.create&&Object.getPrototypeOf)u=Object.create(Object.getPrototypeOf(i));else if(i.constructor===Object)u={};else{var g=i.constructor&&i.constructor.prototype||i.__proto__||{},s=function(){};s.prototype=g,u=new s}return p(k(i),function(m){u[m]=i[m]}),u}return i}function C(i,u,g){var s=[],m=[],S=!0;return function j(w){var O=g?x(w):w,z={},T=!0,B={node:O,node_:w,path:[].concat(s),parent:m[m.length-1],parents:m,key:s[s.length-1],isRoot:s.length===0,level:s.length,circular:null,update:function(N,W){B.isRoot||(B.parent.node[B.key]=N),B.node=N,W&&(T=!1)},delete:function(N){delete B.parent.node[B.key],N&&(T=!1)},remove:function(N){a(B.parent.node)?B.parent.node.splice(B.key,1):delete B.parent.node[B.key],N&&(T=!1)},keys:null,before:function(N){z.before=N},after:function(N){z.after=N},pre:function(N){z.pre=N},post:function(N){z.post=N},stop:function(){S=!1},block:function(){T=!1}};if(!S)return B;function q(){if(typeof B.node=="object"&&B.node!==null){B.keys&&B.node_===B.node||(B.keys=k(B.node)),B.isLeaf=B.keys.length===0;for(var N=0;N<m.length;N++)if(m[N].node_===w){B.circular=m[N];break}}else B.isLeaf=!0,B.keys=null;B.notLeaf=!B.isLeaf,B.notRoot=!B.isRoot}q();var $=u.call(B,B.node);return $!==void 0&&B.update&&B.update($),z.before&&z.before.call(B,B.node),T&&(typeof B.node!="object"||B.node===null||B.circular||(m.push(B),q(),p(B.keys,function(N,W){s.push(N),z.pre&&z.pre.call(B,B.node[N],N);var J=j(B.node[N]);g&&_.call(B.node,N)&&(B.node[N]=J.node),J.isLast=W===B.keys.length-1,J.isFirst=W===0,z.post&&z.post.call(B,J),s.pop()}),m.pop()),z.after&&z.after.call(B,B.node)),B}(i).node}function P(i){this.value=i}function d(i){return new P(i)}P.prototype.get=function(i){for(var u=this.value,g=0;g<i.length;g++){var s=i[g];if(!u||!_.call(u,s))return;u=u[s]}return u},P.prototype.has=function(i){for(var u=this.value,g=0;g<i.length;g++){var s=i[g];if(!u||!_.call(u,s))return!1;u=u[s]}return!0},P.prototype.set=function(i,u){for(var g=this.value,s=0;s<i.length-1;s++){var m=i[s];_.call(g,m)||(g[m]={}),g=g[m]}return g[i[s]]=u,u},P.prototype.map=function(i){return C(this.value,i,!0)},P.prototype.forEach=function(i){return this.value=C(this.value,i,!1),this.value},P.prototype.reduce=function(i,u){var g=arguments.length===1,s=g?this.value:u;return this.forEach(function(m){this.isRoot&&g||(s=i.call(this,s,m))}),s},P.prototype.paths=function(){var i=[];return this.forEach(function(){i.push(this.path)}),i},P.prototype.nodes=function(){var i=[];return this.forEach(function(){i.push(this.node)}),i},P.prototype.clone=function(){var i=[],u=[];return function g(s){for(var m=0;m<i.length;m++)if(i[m]===s)return u[m];if(typeof s=="object"&&s!==null){var S=x(s);return i.push(s),u.push(S),p(k(s),function(j){S[j]=g(s[j])}),i.pop(),u.pop(),S}return s}(this.value)},p(k(P.prototype),function(i){d[i]=function(u){var g=[].slice.call(arguments,1),s=new P(u);return s[i].apply(s,g)}}),y.exports=d},45710:(y,A,a)=>{var p=a(42686),k=a(32439),_=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,x=/[\n\r\t]/g,C=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,P=/:\d+$/,d=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,i=/^[a-zA-Z]:/;function u(O){return(O||"").toString().replace(_,"")}var g=[["#","hash"],["?","query"],function(O,z){return S(z.protocol)?O.replace(/\\/g,"/"):O},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],s={hash:1,query:1};function m(O){var z,T=(typeof window<"u"?window:a.g!==void 0?a.g:typeof self<"u"?self:{}).location||{},B={},q=typeof(O=O||T);if(O.protocol==="blob:")B=new w(unescape(O.pathname),{});else if(q==="string")for(z in B=new w(O,{}),s)delete B[z];else if(q==="object"){for(z in O)z in s||(B[z]=O[z]);B.slashes===void 0&&(B.slashes=C.test(O.href))}return B}function S(O){return O==="file:"||O==="ftp:"||O==="http:"||O==="https:"||O==="ws:"||O==="wss:"}function j(O,z){O=(O=u(O)).replace(x,""),z=z||{};var T,B=d.exec(O),q=B[1]?B[1].toLowerCase():"",$=!!B[2],N=!!B[3],W=0;return $?N?(T=B[2]+B[3]+B[4],W=B[2].length+B[3].length):(T=B[2]+B[4],W=B[2].length):N?(T=B[3]+B[4],W=B[3].length):T=B[4],q==="file:"?W>=2&&(T=T.slice(2)):S(q)?T=B[4]:q?$&&(T=T.slice(2)):W>=2&&S(z.protocol)&&(T=B[4]),{protocol:q,slashes:$||S(q),slashesCount:W,rest:T}}function w(O,z,T){if(O=(O=u(O)).replace(x,""),!(this instanceof w))return new w(O,z,T);var B,q,$,N,W,J,ee=g.slice(),re=typeof z,X=this,ue=0;for(re!=="object"&&re!=="string"&&(T=z,z=null),T&&typeof T!="function"&&(T=k.parse),B=!(q=j(O||"",z=m(z))).protocol&&!q.slashes,X.slashes=q.slashes||B&&z.slashes,X.protocol=q.protocol||z.protocol||"",O=q.rest,(q.protocol==="file:"&&(q.slashesCount!==2||i.test(O))||!q.slashes&&(q.protocol||q.slashesCount<2||!S(X.protocol)))&&(ee[3]=[/(.*)/,"pathname"]);ue<ee.length;ue++)typeof(N=ee[ue])!="function"?($=N[0],J=N[1],$!=$?X[J]=O:typeof $=="string"?~(W=$==="@"?O.lastIndexOf($):O.indexOf($))&&(typeof N[2]=="number"?(X[J]=O.slice(0,W),O=O.slice(W+N[2])):(X[J]=O.slice(W),O=O.slice(0,W))):(W=$.exec(O))&&(X[J]=W[1],O=O.slice(0,W.index)),X[J]=X[J]||B&&N[3]&&z[J]||"",N[4]&&(X[J]=X[J].toLowerCase())):O=N(O,X);T&&(X.query=T(X.query)),B&&z.slashes&&X.pathname.charAt(0)!=="/"&&(X.pathname!==""||z.pathname!=="")&&(X.pathname=function(Q,me){if(Q==="")return me;for(var ie=(me||"/").split("/").slice(0,-1).concat(Q.split("/")),se=ie.length,ve=ie[se-1],Ie=!1,Fe=0;se--;)ie[se]==="."?ie.splice(se,1):ie[se]===".."?(ie.splice(se,1),Fe++):Fe&&(se===0&&(Ie=!0),ie.splice(se,1),Fe--);return Ie&&ie.unshift(""),ve!=="."&&ve!==".."||ie.push(""),ie.join("/")}(X.pathname,z.pathname)),X.pathname.charAt(0)!=="/"&&S(X.protocol)&&(X.pathname="/"+X.pathname),p(X.port,X.protocol)||(X.host=X.hostname,X.port=""),X.username=X.password="",X.auth&&(~(W=X.auth.indexOf(":"))?(X.username=X.auth.slice(0,W),X.username=encodeURIComponent(decodeURIComponent(X.username)),X.password=X.auth.slice(W+1),X.password=encodeURIComponent(decodeURIComponent(X.password))):X.username=encodeURIComponent(decodeURIComponent(X.auth)),X.auth=X.password?X.username+":"+X.password:X.username),X.origin=X.protocol!=="file:"&&S(X.protocol)&&X.host?X.protocol+"//"+X.host:"null",X.href=X.toString()}w.prototype={set:function(O,z,T){var B=this;switch(O){case"query":typeof z=="string"&&z.length&&(z=(T||k.parse)(z)),B[O]=z;break;case"port":B[O]=z,p(z,B.protocol)?z&&(B.host=B.hostname+":"+z):(B.host=B.hostname,B[O]="");break;case"hostname":B[O]=z,B.port&&(z+=":"+B.port),B.host=z;break;case"host":B[O]=z,P.test(z)?(z=z.split(":"),B.port=z.pop(),B.hostname=z.join(":")):(B.hostname=z,B.port="");break;case"protocol":B.protocol=z.toLowerCase(),B.slashes=!T;break;case"pathname":case"hash":if(z){var q=O==="pathname"?"/":"#";B[O]=z.charAt(0)!==q?q+z:z}else B[O]=z;break;case"username":case"password":B[O]=encodeURIComponent(z);break;case"auth":var $=z.indexOf(":");~$?(B.username=z.slice(0,$),B.username=encodeURIComponent(decodeURIComponent(B.username)),B.password=z.slice($+1),B.password=encodeURIComponent(decodeURIComponent(B.password))):B.username=encodeURIComponent(decodeURIComponent(z))}for(var N=0;N<g.length;N++){var W=g[N];W[4]&&(B[W[1]]=B[W[1]].toLowerCase())}return B.auth=B.password?B.username+":"+B.password:B.username,B.origin=B.protocol!=="file:"&&S(B.protocol)&&B.host?B.protocol+"//"+B.host:"null",B.href=B.toString(),B},toString:function(O){O&&typeof O=="function"||(O=k.stringify);var z,T=this,B=T.host,q=T.protocol;q&&q.charAt(q.length-1)!==":"&&(q+=":");var $=q+(T.protocol&&T.slashes||S(T.protocol)?"//":"");return T.username?($+=T.username,T.password&&($+=":"+T.password),$+="@"):T.password?($+=":"+T.password,$+="@"):T.protocol!=="file:"&&S(T.protocol)&&!B&&T.pathname!=="/"&&($+="@"),(B[B.length-1]===":"||P.test(T.hostname)&&!T.port)&&(B+=":"),$+=B+T.pathname,(z=typeof T.query=="object"?O(T.query):T.query)&&($+=z.charAt(0)!=="?"?"?"+z:z),T.hash&&($+=T.hash),$}},w.extractProtocol=j,w.location=m,w.trimLeft=u,w.qs=k,y.exports=w},58413:(y,A,a)=>{var p=a(92451),k=typeof Object.is=="function"?Object.is:function(u,g){return u===g&&(u!==0||1/u==1/g)||u!=u&&g!=g},_=p.useState,x=p.useEffect,C=p.useLayoutEffect,P=p.useDebugValue;function d(u){var g=u.getSnapshot;u=u.value;try{var s=g();return!k(u,s)}catch{return!0}}var i=typeof window>"u"||window.document===void 0||window.document.createElement===void 0?function(u,g){return g()}:function(u,g){var s=g(),m=_({inst:{value:s,getSnapshot:g}}),S=m[0].inst,j=m[1];return C(function(){S.value=s,S.getSnapshot=g,d(S)&&j({inst:S})},[u,s,g]),x(function(){return d(S)&&j({inst:S}),u(function(){d(S)&&j({inst:S})})},[u]),P(s),s};A.useSyncExternalStore=p.useSyncExternalStore!==void 0?p.useSyncExternalStore:i},13266:(y,A,a)=>{var p=a(92451),k=a(17862),_=typeof Object.is=="function"?Object.is:function(u,g){return u===g&&(u!==0||1/u==1/g)||u!=u&&g!=g},x=k.useSyncExternalStore,C=p.useRef,P=p.useEffect,d=p.useMemo,i=p.useDebugValue;A.useSyncExternalStoreWithSelector=function(u,g,s,m,S){var j=C(null);if(j.current===null){var w={hasValue:!1,value:null};j.current=w}else w=j.current;j=d(function(){function z(N){if(!q){if(q=!0,T=N,N=m(N),S!==void 0&&w.hasValue){var W=w.value;if(S(W,N))return B=W}return B=N}if(W=B,_(T,N))return W;var J=m(N);return S!==void 0&&S(W,J)?W:(T=N,B=J)}var T,B,q=!1,$=s===void 0?null:s;return[function(){return z(g())},$===null?void 0:function(){return z($())}]},[g,s,m,S]);var O=x(u,j[0],j[1]);return P(function(){w.hasValue=!0,w.value=O},[O]),i(O),O}},17862:(y,A,a)=>{y.exports=a(58413)},24904:(y,A,a)=>{y.exports=a(13266)},69592:(y,A,a)=>{var p=a(34667),k=function(P){return/<\/+[^>]+>/.test(P)},_=function(P){return/<[^>]+\/>/.test(P)},x=function(P){return function(d){return/<[^>!]+>/.test(d)}(P)&&!k(P)&&!_(P)};function C(P){return k(P)?"ClosingTag":x(P)?"OpeningTag":_(P)?"SelfClosingTag":"Text"}y.exports=function(P){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=d.indentor,u=d.textNodesOnSameLine,g=0,s=[];i=i||" ";var m,S,j=(m=P,(S=m,S.split(/(<\/?[^>]+>)/g).filter(function(w){return w.trim()!==""})).map(function(w){return{value:w,type:C(w)}})).map(function(w,O,z){var T=w.value,B=w.type;B==="ClosingTag"&&g--;var q=p(i,g),$=q+T;if(B==="OpeningTag"&&g++,u){var N=z[O-1],W=z[O-2];B==="ClosingTag"&&N.type==="Text"&&W.type==="OpeningTag"&&($=""+q+W.value+N.value+T,s.push(O-2,O-1))}return $});return s.forEach(function(w){return j[w]=null}),j.filter(function(w){return!!w}).join(`
|
|
144
|
-
`)}},50005:function(y,A){var a,p,k;p=[],a=function(){var _=function(s){return s&&"getComputedStyle"in window&&window.getComputedStyle(s)["scroll-behavior"]==="smooth"};if(typeof window>"u"||!("document"in window))return{};var x=function(s,m,S){var j;m=m||999,S||S===0||(S=9);var w=function(N){j=N},O=function(){clearTimeout(j),w(0)},z=function(N){return Math.max(0,s.getTopOf(N)-S)},T=function(N,W,J){if(O(),W===0||W&&W<0||_(s.body))s.toY(N),J&&J();else{var ee=s.getY(),re=Math.max(0,N)-ee,X=new Date().getTime();W=W||Math.min(Math.abs(re),m),function ue(){w(setTimeout(function(){var Q=Math.min(1,(new Date().getTime()-X)/W),me=Math.max(0,Math.floor(ee+re*(Q<.5?2*Q*Q:Q*(4-2*Q)-1)));s.toY(me),Q<1&&s.getHeight()+me<s.body.scrollHeight?ue():(setTimeout(O,99),J&&J())},9))}()}},B=function(N,W,J){T(z(N),W,J)},q=function(N,W,J){var ee=N.getBoundingClientRect().height,re=s.getTopOf(N)+ee,X=s.getHeight(),ue=s.getY(),Q=ue+X;z(N)<ue||ee+S>X?B(N,W,J):re+S>Q?T(re-X+S,W,J):J&&J()},$=function(N,W,J,ee){T(Math.max(0,s.getTopOf(N)-s.getHeight()/2+(J||N.getBoundingClientRect().height/2)),W,ee)};return{setup:function(N,W){return(N===0||N)&&(m=N),(W===0||W)&&(S=W),{defaultDuration:m,edgeOffset:S}},to:B,toY:T,intoView:q,center:$,stop:O,moving:function(){return!!j},getY:s.getY,getTopOf:s.getTopOf}},C=document.documentElement,P=function(){return window.scrollY||C.scrollTop},d=x({body:document.scrollingElement||document.body,toY:function(s){window.scrollTo(0,s)},getY:P,getHeight:function(){return window.innerHeight||C.clientHeight},getTopOf:function(s){return s.getBoundingClientRect().top+P()-C.offsetTop}});if(d.createScroller=function(s,m,S){return x({body:s,toY:function(j){s.scrollTop=j},getY:function(){return s.scrollTop},getHeight:function(){return Math.min(s.clientHeight,window.innerHeight||C.clientHeight)},getTopOf:function(j){return j.offsetTop}},m,S)},"addEventListener"in window&&!window.noZensmooth&&!_(document.body)){var i="history"in window&&"pushState"in history,u=i&&"scrollRestoration"in history;u&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){u&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(s){s.state&&"zenscrollY"in s.state&&d.toY(s.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var s=d.setup().edgeOffset;if(s){var m=document.getElementById(window.location.href.split("#")[1]);if(m){var S=Math.max(0,d.getTopOf(m)-s),j=d.getY()-S;0<=j&&j<9&&window.scrollTo(0,S)}}},9)},!1);var g=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(s){for(var m=s.target;m&&m.tagName!=="A";)m=m.parentNode;if(!(!m||s.which!==1||s.shiftKey||s.metaKey||s.ctrlKey||s.altKey)){if(u){var S=history.state&&typeof history.state=="object"?history.state:{};S.zenscrollY=d.getY();try{history.replaceState(S,"")}catch{}}var j=m.getAttribute("href")||"";if(j.indexOf("#")===0&&!g.test(m.className)){var w=0,O=document.getElementById(j.substring(1));if(j!=="#"){if(!O)return;w=d.getTopOf(O)}s.preventDefault();var z=function(){window.location=j},T=d.setup().edgeOffset;T&&(w=Math.max(0,w-T),i&&(z=function(){history.pushState({},"",j)})),d.toY(w,null,z)}}},!1)}return d}(),(k=typeof a=="function"?a.apply(A,p):a)===void 0||(y.exports=k)},95712:y=>{y.exports="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z"},35744:y=>{y.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg=="},99090:y=>{y.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII="},5015:y=>{y.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC"},5613:y=>{y.exports='data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'},78709:y=>{y.exports="data:image/svg+xml,%3Csvg width=%2713%27 height=%2711%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M10.633 0L12 1.397 3.583 10 0 6.337 1.367 4.94l2.216 2.265z%27 fill=%27%23FFF%27 fill-rule=%27nonzero%27/%3E%3C/svg%3E"},88507:y=>{y.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 version=%271.1%27 width=%2716%27 height=%2716%27 aria-hidden=%27true%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z%27%3E%3C/path%3E%3C/svg%3E"},11264:y=>{y.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.45%27 fill-rule=%27evenodd%27 d=%27M6 12c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6 6 2.6862915 6 6c0 1.29583043-.410791 2.49571549-1.1092521 3.47653436l1.2305724 1.23057244 2.8232632 2.8338633c.3897175.3911808.3947266 1.0192147.005164 1.4087774-.3868655.3868655-1.014825.3873148-1.4087774-.005164l-2.8338633-2.8232632-1.23057244-1.2305724C8.49571549 11.589209 7.29583043 12 6 12zm4-6c0-2.209139-1.790861-4-4-4S2 3.790861 2 6s1.790861 4 4 4 4-1.790861 4-4z%27/%3E%3C/svg%3E"},78670:y=>{y.exports="data:image/svg+xml,%3Csvg%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%0A%3Cpath%20d%3D%27M9.60005%202.40021L1.80005%2010.2002%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3Cpath%20d%3D%27M9.60005%2010.2002L1.80005%202.40021%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3C%2Fsvg%3E"},17156:y=>{y.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMDAwMDAwIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+"},46274:y=>{y.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27%3E%3Cpath d=%27M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%27/%3E%3C/svg%3E"},95234:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M13.418 7.859a.695.695 0 0 1 .978 0 .68.68 0 0 1 0 .969l-3.908 3.83a.697.697 0 0 1-.979 0l-3.908-3.83a.68.68 0 0 1 0-.969.695.695 0 0 1 .978 0L10 11l3.418-3.141z"/></svg>'},7779:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="3 7 10 8"><path fill="%2341474E" fill-rule="evenodd" d="M6.333 15 3 11.667l1.333-1.334 2 2L11.667 7 13 8.333z"/></svg>'},12153:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" aria-hidden="true"><path fill="%23fff" fill-rule="evenodd" d="M4 12h4v1H4v-1zm5-6H4v1h5V6zm2 3V7l-3 3 3 3v-2h5V9h-5zM6.5 8H4v1h2.5V8zM4 11h2.5v-1H4v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V5H3v9h10v-2zM4 4h8c0-.55-.45-1-1-1h-1c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H5c-.55 0-1 .45-1 1z"/></svg>'},25294:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'},63930:()=>{},34279:(y,A,a)=>{y.exports=a(83600)},29755:(y,A,a)=>{y.exports=a(92952)},13706:(y,A,a)=>{y.exports=a(43713)},69370:(y,A,a)=>{y.exports=a(92507)},5517:(y,A,a)=>{y.exports=a(46976)},6677:(y,A,a)=>{y.exports=a(56554)},11050:(y,A,a)=>{y.exports=a(68393)},52932:(y,A,a)=>{y.exports=a(90133)},9187:(y,A,a)=>{y.exports=a(54822)},56035:(y,A,a)=>{y.exports=a(15342)},9582:(y,A,a)=>{y.exports=a(67007)},38902:(y,A,a)=>{y.exports=a(73691)},47056:(y,A,a)=>{y.exports=a(32065)},54683:(y,A,a)=>{y.exports=a(59718)},61217:(y,A,a)=>{y.exports=a(92672)},81980:(y,A,a)=>{y.exports=a(13179)},57475:(y,A,a)=>{y.exports=a(43312)},88503:(y,A,a)=>{y.exports=a(79518)},67446:(y,A,a)=>{y.exports=a(75067)},40175:(y,A,a)=>{y.exports=a(39104)},99669:(y,A,a)=>{y.exports=a(92748)},59093:(y,A,a)=>{y.exports=a(536)},54709:(y,A,a)=>{y.exports=a(92424)},4217:(y,A,a)=>{y.exports=a(49502)},38645:(y,A,a)=>{y.exports=a(97368)},8999:(y,A,a)=>{y.exports=a(95946)},32570:(y,A,a)=>{y.exports=a(81114)},81607:(y,A,a)=>{y.exports=a(29253)},91729:(y,A,a)=>{y.exports=a(370)},9472:(y,A,a)=>{y.exports=a(56985)},39732:(y,A,a)=>{y.exports=a(37405)},63873:(y,A,a)=>{y.exports=a(53058)},46424:(y,A,a)=>{y.exports=a(37281)},63917:(y,A,a)=>{y.exports=a(14760)},75035:(y,A,a)=>{y.exports=a(73826)},43276:(y,A,a)=>{y.exports=a(81610)},66435:(y,A,a)=>{y.exports=a(65514)},47289:(y,A,a)=>{y.exports=a(2363)},64089:(y,A,a)=>{y.exports=a(25670)},36564:(y,A,a)=>{y.exports=a(24062)},3766:(y,A,a)=>{y.exports=a(64186)},29060:(y,A,a)=>{y.exports=a(70640)},82559:(y,A,a)=>{y.exports=a(44e3)}},pn={};function st(y){var A=pn[y];if(A!==void 0)return A.exports;var a=pn[y]={id:y,loaded:!1,exports:{}};return Mo[y].call(a.exports,a,a.exports,st),a.loaded=!0,a.exports}st.m=Mo,st.n=y=>{var A=y&&y.__esModule?()=>y.default:()=>y;return st.d(A,{a:A}),A},zo=Object.getPrototypeOf?y=>Object.getPrototypeOf(y):y=>y.__proto__,st.t=function(y,A){if(1&A&&(y=this(y)),8&A||typeof y=="object"&&y&&(4&A&&y.__esModule||16&A&&typeof y.then=="function"))return y;var a=Object.create(null);st.r(a);var p={};yr=yr||[null,zo({}),zo([]),zo(zo)];for(var k=2&A&&y;typeof k=="object"&&!~yr.indexOf(k);k=zo(k))Object.getOwnPropertyNames(k).forEach(_=>p[_]=()=>y[_]);return p.default=()=>y,st.d(a,p),a},st.d=(y,A)=>{for(var a in A)st.o(A,a)&&!st.o(y,a)&&Object.defineProperty(y,a,{enumerable:!0,get:A[a]})},st.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),st.o=(y,A)=>Object.prototype.hasOwnProperty.call(y,A),st.r=y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},st.nmd=y=>(y.paths=[],y.children||(y.children=[]),y),st.b=document.baseURI||self.location.href,st.nc=void 0,(()=>{var Rd,Iu,Op,zu,Ap,Ql,fc,Nd,Dd,Bd;var y={};st.r(y),st.d(y,{JsonPatchError:()=>va,_areEquals:()=>Ei,applyOperation:()=>zn,applyPatch:()=>ni,applyReducer:()=>Fn,deepClone:()=>ln,getValueByPointer:()=>Za,validate:()=>xi,validator:()=>Ma});var A={};st.r(A),st.d(A,{compare:()=>Sa,generate:()=>Yi,observe:()=>Pi,unobserve:()=>os});var a={};st.r(a),st.d(a,{bJ:()=>ep,uQ:()=>mg,Zd:()=>cd,LH:()=>Bl,isHttpUrl:()=>Uc,hd:()=>Vi,aj:()=>tp,z9:()=>Ri,zj:()=>Is});var p={};st.r(p),st.d(p,{hasElementSourceMap:()=>Ig,includesClasses:()=>Ed,includesSymbols:()=>Tx,isAnnotationElement:()=>Ix,isArrayElement:()=>dc,isBooleanElement:()=>Pg,isCommentElement:()=>zx,isElement:()=>ts,isLinkElement:()=>xy,isMemberElement:()=>Ys,isNullElement:()=>G0,isNumberElement:()=>J0,isObjectElement:()=>Rn,isParseResultElement:()=>Sy,isPrimitiveElement:()=>hp,isRefElement:()=>Ey,isSourceMapElement:()=>_y,isStringElement:()=>bn});var k={};st.r(k),st.d(k,{isJSONReferenceElement:()=>Q4,isJSONSchemaElement:()=>Z4,isLinkDescriptionElement:()=>e5,isMediaElement:()=>X4});var _={};st.r(_),st.d(_,{isBooleanJsonSchemaElement:()=>c6,isCallbackElement:()=>W5,isComponentsElement:()=>J5,isContactElement:()=>G5,isExampleElement:()=>Y5,isExternalDocumentationElement:()=>Z5,isHeaderElement:()=>Cd,isInfoElement:()=>Q5,isLicenseElement:()=>X5,isLinkElement:()=>e6,isMediaTypeElement:()=>Mf,isOpenApi3_0Element:()=>r6,isOpenapiElement:()=>t6,isOperationElement:()=>sw,isParameterElement:()=>o6,isPathItemElement:()=>gb,isPathsElement:()=>a6,isReferenceElement:()=>ai,isRequestBodyElement:()=>n6,isResponseElement:()=>Bf,isResponsesElement:()=>i6,isSchemaElement:()=>s6,isSecurityRequirementElement:()=>l6,isSecuritySchemeElement:()=>u6,isServerElement:()=>p6,isServerVariableElement:()=>d6,isServersElement:()=>cw});var x={};st.r(x),st.d(x,{isBooleanJsonSchemaElement:()=>ov,isCallbackElement:()=>B8,isComponentsElement:()=>M8,isContactElement:()=>L8,isExampleElement:()=>F8,isExternalDocumentationElement:()=>$8,isHeaderElement:()=>U8,isInfoElement:()=>q8,isJsonSchemaDialectElement:()=>_w,isLicenseElement:()=>K8,isLinkElement:()=>H8,isMediaTypeElement:()=>a9,isOpenApi3_1Element:()=>tv,isOpenapiElement:()=>V8,isOperationElement:()=>jw,isParameterElement:()=>W8,isPathItemElement:()=>rv,isPathItemElementExternal:()=>J8,isPathsElement:()=>G8,isReferenceElement:()=>lh,isReferenceElementExternal:()=>Y8,isRequestBodyElement:()=>Z8,isResponseElement:()=>Q8,isResponsesElement:()=>X8,isSchemaElement:()=>uh,isSecurityRequirementElement:()=>e9,isSecuritySchemeElement:()=>t9,isServerElement:()=>r9,isServerVariableElement:()=>o9});var C={};st.r(C),st.d(C,{cookie:()=>RS,header:()=>TS,path:()=>PS,query:()=>IS});var P=st(92451),d=st(45463),i=st.n(d);function u(e){return u=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},u(e)}function g(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},S(e)}function j(e,t){return j=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},j(e,t)}function w(e,t){return!t||typeof t!="object"&&typeof t!="function"?function(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(e):t}var O={};function z(e,t,r){return function(o){return o==null}(e)?r:function(o){return o!==null&&u(o)==="object"&&typeof o.get=="function"&&typeof o.has=="function"}(e)?e.has(t)?e.get(t):r:hasOwnProperty.call(e,t)?e[t]:r}function T(e,t,r){for(var o=0;o!==t.length;)if((e=z(e,t[o++],O))===O)return r;return e}function B(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=function(l,h){return function(b){if(typeof b=="string")return(0,d.is)(h[b],l[b]);if(Array.isArray(b))return(0,d.is)(T(h,b),T(l,b));throw new TypeError("Invalid key: expected Array or string: "+b)}}(t,r),n=e||Object.keys(function(l){for(var h=1;h<arguments.length;h++){var b=arguments[h]!=null?arguments[h]:{};h%2?m(b,!0).forEach(function(E){s(l,E,b[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(b)):m(b).forEach(function(E){Object.defineProperty(l,E,Object.getOwnPropertyDescriptor(b,E))})}return l}({},r,{},t));return n.every(o)}const q=function(e){function t(){return function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,t),w(this,S(t).apply(this,arguments))}var r,o;return function(n,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&j(n,l)}(t,e),r=t,o=[{key:"shouldComponentUpdate",value:function(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!B(this.updateOnProps,this.props,n,"updateOnProps")||!B(this.updateOnStates,this.state,l,"updateOnStates")}}],o&&g(r.prototype,o),t}(P.Component);function $(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,o=e.length;r<o;r++)if(e[r]===t)return r;return-1}function N(e,t){for(var r=e.length-1;r>=0;r--)t(e[r])===!0&&e.splice(r,1)}function W(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}var J=function(){function e(t){t===void 0&&(t={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=t.tagName||"",this.attrs=t.attrs||{},this.innerHTML=t.innerHtml||t.innerHTML||""}return e.prototype.setTagName=function(t){return this.tagName=t,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(t,r){return this.getAttrs()[t]=r,this},e.prototype.getAttr=function(t){return this.getAttrs()[t]},e.prototype.setAttrs=function(t){return Object.assign(this.getAttrs(),t),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(t){return this.setAttr("class",t)},e.prototype.addClass=function(t){for(var r,o=this.getClass(),n=this.whitespaceRegex,l=o?o.split(n):[],h=t.split(n);r=h.shift();)$(l,r)===-1&&l.push(r);return this.getAttrs().class=l.join(" "),this},e.prototype.removeClass=function(t){for(var r,o=this.getClass(),n=this.whitespaceRegex,l=o?o.split(n):[],h=t.split(n);l.length&&(r=h.shift());){var b=$(l,r);b!==-1&&l.splice(b,1)}return this.getAttrs().class=l.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(t){return(" "+this.getClass()+" ").indexOf(" "+t+" ")!==-1},e.prototype.setInnerHTML=function(t){return this.innerHTML=t,this},e.prototype.setInnerHtml=function(t){return this.setInnerHTML(t)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var t=this.getTagName(),r=this.buildAttrsStr();return["<",t,r=r?" "+r:"",">",this.getInnerHtml(),"</",t,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var t=this.getAttrs(),r=[];for(var o in t)t.hasOwnProperty(o)&&r.push(o+'="'+t[o]+'"');return r.join(" ")},e}(),ee=function(){function e(t){t===void 0&&(t={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=t.newWindow||!1,this.truncate=t.truncate||{},this.className=t.className||""}return e.prototype.build=function(t){return new J({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},e.prototype.createAttrs=function(t){var r={href:t.getAnchorHref()},o=this.createCssClass(t);return o&&(r.class=o),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<t.getAnchorText().length&&(r.title=t.getAnchorHref()),r},e.prototype.createCssClass=function(t){var r=this.className;if(r){for(var o=[r],n=t.getCssClassSuffixes(),l=0,h=n.length;l<h;l++)o.push(r+"-"+n[l]);return o.join(" ")}return""},e.prototype.processAnchorText=function(t){return t=this.doTruncate(t)},e.prototype.doTruncate=function(t){var r=this.truncate;if(!r||!r.length)return t;var o=r.length,n=r.location;return n==="smart"?function(l,h,b){var E,R;b==null?(b="…",R=3,E=8):(R=b.length,E=b.length);var L=function(le){var ye="";return le.scheme&&le.host&&(ye+=le.scheme+"://"),le.host&&(ye+=le.host),le.path&&(ye+="/"+le.path),le.query&&(ye+="?"+le.query),le.fragment&&(ye+="#"+le.fragment),ye},U=function(le,ye){var he=ye/2,Ee=Math.ceil(he),Ke=-1*Math.floor(he),$e="";return Ke<0&&($e=le.substr(Ke)),le.substr(0,Ee)+b+$e};if(l.length<=h)return l;var K=h-R,F=function(le){var ye={},he=le,Ee=he.match(/^([a-z]+):\/\//i);return Ee&&(ye.scheme=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(ye.host=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^\/(.*?)(?=(\?|#|$))/i))&&(ye.path=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^\?(.*?)(?=(#|$))/i))&&(ye.query=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^#(.*?)$/i))&&(ye.fragment=Ee[1]),ye}(l);if(F.query){var V=F.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);V&&(F.query=F.query.substr(0,V[1].length),l=L(F))}if(l.length<=h||(F.host&&(F.host=F.host.replace(/^www\./,""),l=L(F)),l.length<=h))return l;var f="";if(F.host&&(f+=F.host),f.length>=K)return F.host.length==h?(F.host.substr(0,h-R)+b).substr(0,K+E):U(f,K).substr(0,K+E);var Y="";if(F.path&&(Y+="/"+F.path),F.query&&(Y+="?"+F.query),Y){if((f+Y).length>=K)return(f+Y).length==h?(f+Y).substr(0,h):(f+U(Y,K-f.length)).substr(0,K+E);f+=Y}if(F.fragment){var H="#"+F.fragment;if((f+H).length>=K)return(f+H).length==h?(f+H).substr(0,h):(f+U(H,K-f.length)).substr(0,K+E);f+=H}if(F.scheme&&F.host){var ne=F.scheme+"://";if((f+ne).length<K)return(ne+f).substr(0,h)}if(f.length<=h)return f;var ae="";return K>0&&(ae=f.substr(-1*Math.floor(K/2))),(f.substr(0,Math.ceil(K/2))+b+ae).substr(0,K+E)}(t,o):n==="middle"?function(l,h,b){if(l.length<=h)return l;var E,R;b==null?(b="…",E=8,R=3):(E=b.length,R=b.length);var L=h-R,U="";return L>0&&(U=l.substr(-1*Math.floor(L/2))),(l.substr(0,Math.ceil(L/2))+b+U).substr(0,L+E)}(t,o):function(l,h,b){return function(E,R,L){var U;return E.length>R&&(L==null?(L="…",U=3):U=L.length,E=E.substring(0,R-U)+L),E}(l,h,b)}(t,o)},e}(),re=function(){function e(t){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=t.tagBuilder,this.matchedText=t.matchedText,this.offset=t.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(t){this.offset=t},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),X=function(e,t){return X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n])},X(e,t)};function ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}X(e,t),e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Q=function(){return Q=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Q.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var me,ie=function(e){function t(r){var o=e.call(this,r)||this;return o.email="",o.email=r.email,o}return ue(t,e),t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(re),se=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="",o.hashtag="",o.serviceName=r.serviceName,o.hashtag=r.hashtag,o}return ue(t,e),t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var r=this.serviceName,o=this.hashtag;switch(r){case"twitter":return"https://twitter.com/hashtag/"+o;case"facebook":return"https://www.facebook.com/hashtag/"+o;case"instagram":return"https://instagram.com/explore/tags/"+o;case"tiktok":return"https://www.tiktok.com/tag/"+o;default:throw new Error("Unknown service name to point hashtag to: "+r)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t}(re),ve=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="twitter",o.mention="",o.mention=r.mention,o.serviceName=r.serviceName,o}return ue(t,e),t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var r=e.prototype.getCssClassSuffixes.call(this),o=this.getServiceName();return o&&r.push(o),r},t}(re),Ie=function(e){function t(r){var o=e.call(this,r)||this;return o.number="",o.plusSign=!1,o.number=r.number,o.plusSign=r.plusSign,o}return ue(t,e),t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(re),Fe=function(e){function t(r){var o=e.call(this,r)||this;return o.url="",o.urlMatchType="scheme",o.protocolUrlMatch=!1,o.protocolRelativeMatch=!1,o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.schemePrefixRegex=/^(https?:\/\/)?/i,o.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,o.protocolRelativeRegex=/^\/\//,o.protocolPrepended=!1,o.urlMatchType=r.urlMatchType,o.url=r.url,o.protocolUrlMatch=r.protocolUrlMatch,o.protocolRelativeMatch=r.protocolRelativeMatch,o.stripPrefix=r.stripPrefix,o.stripTrailingSlash=r.stripTrailingSlash,o.decodePercentEncoding=r.decodePercentEncoding,o}return ue(t,e),t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var r=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(r=this.url="http://"+r,this.protocolPrepended=!0),r},t.prototype.getAnchorHref=function(){return this.getUrl().replace(/&/g,"&")},t.prototype.getAnchorText=function(){var r=this.getMatchedText();return this.protocolRelativeMatch&&(r=this.stripProtocolRelativePrefix(r)),this.stripPrefix.scheme&&(r=this.stripSchemePrefix(r)),this.stripPrefix.www&&(r=this.stripWwwPrefix(r)),this.stripTrailingSlash&&(r=this.removeTrailingSlash(r)),this.decodePercentEncoding&&(r=this.removePercentEncoding(r)),r},t.prototype.stripSchemePrefix=function(r){return r.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(r){return r.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(r){return r.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(r){return r.charAt(r.length-1)==="/"&&(r=r.slice(0,-1)),r},t.prototype.removePercentEncoding=function(r){var o=r.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(o)}catch{return o}},t}(re),Te=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},He=/[A-Za-z]/,tt=/[\d]/,Ne=/[\D]/,Ce=/\s/,ht=/['"]/,mt=/[\x00-\x1F\x7F]/,_t=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,Yt=_t+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,Wt=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,yt=Yt+Wt,Mt=Yt+Wt,ar=new RegExp("[".concat(Mt,"]")),lr="(?:["+Wt+"]{1,3}\\.){3}["+Wt+"]{1,3}",Ar="["+Mt+"](?:["+Mt+"\\-_]{0,61}["+Mt+"])?",ir=function(e){return"(?=("+Ar+"))\\"+e},Ct=function(e){return"(?:"+ir(e)+"(?:\\."+ir(e+1)+"){0,126}|"+lr+")"},De=ar,ot=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,Ot=new RegExp("[".concat(Mt,"!#$%&'*+/=?^_`{|}~-]")),Ye=new RegExp("^".concat(ot.source,"$")),at=function(e){function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.localPartCharRegex=Ot,r.strictTldRegex=Ye,r}return ue(t,e),t.prototype.parseMatches=function(r){for(var o=this.tagBuilder,n=this.localPartCharRegex,l=this.strictTldRegex,h=[],b=r.length,E=new zt,R={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},L=0,U=0,K=E;L<b;){var F=r.charAt(L);switch(U){case 0:V(F);break;case 1:f(r.charAt(L-1),F);break;case 2:Y(F);break;case 3:H(F);break;case 4:ne(F);break;case 5:ae(F);break;case 6:le(F);break;case 7:ye(F);break;default:W(U)}L++}return Ke(),h;function V($e){$e==="m"?he(1):n.test($e)&&he()}function f($e,xe){$e===":"?n.test(xe)?(U=2,K=new zt(Q(Q({},K),{hasMailtoPrefix:!0}))):Ee():R[$e]===xe||(n.test(xe)?U=2:xe==="."?U=3:xe==="@"?U=4:Ee())}function Y($e){$e==="."?U=3:$e==="@"?U=4:n.test($e)||Ee()}function H($e){$e==="."||$e==="@"?Ee():n.test($e)?U=2:Ee()}function ne($e){De.test($e)?U=5:Ee()}function ae($e){$e==="."?U=7:$e==="-"?U=6:De.test($e)||Ke()}function le($e){$e==="-"||$e==="."?Ke():De.test($e)?U=5:Ke()}function ye($e){$e==="."||$e==="-"?Ke():De.test($e)?(U=5,K=new zt(Q(Q({},K),{hasDomainDot:!0}))):Ke()}function he($e){$e===void 0&&($e=2),U=$e,K=new zt({idx:L})}function Ee(){U=0,K=E}function Ke(){if(K.hasDomainDot){var $e=r.slice(K.idx,L);/[-.]$/.test($e)&&($e=$e.slice(0,-1));var xe=K.hasMailtoPrefix?$e.slice(7):$e;(function(Ze){var Rt=Ze.split(".").pop()||"",Lt=Rt.toLowerCase();return l.test(Lt)})(xe)&&h.push(new ie({tagBuilder:o,matchedText:$e,offset:K.idx,email:xe}))}Ee()}},t}(Te),zt=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},Gt=function(){function e(){}return e.isValid=function(t,r){return!(r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(t,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(t,r)&&!this.isValidIpAddress(t)||this.containsMultipleDots(t))},e.isValidIpAddress=function(t){var r=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return t.match(r)!==null},e.containsMultipleDots=function(t){var r=t;return this.hasFullProtocolRegex.test(t)&&(r=t.split("://")[1]),r.split("/")[0].indexOf("..")>-1},e.isValidUriScheme=function(t){var r=t.match(this.uriSchemeRegex),o=r&&r[0].toLowerCase();return o!=="javascript:"&&o!=="vbscript:"},e.urlMatchDoesNotHaveProtocolOrDot=function(t,r){return!(!t||r&&this.hasFullProtocolRegex.test(r)||t.indexOf(".")!==-1)},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(t,r){return!(!t||!r)&&!this.hasFullProtocolRegex.test(r)&&!this.hasWordCharAfterProtocolRegex.test(t)},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+_t+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),Ir=(me=new RegExp("[/?#](?:["+Mt+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+Mt+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,Ct(2),")","|","(","(//)?",/(?:www\.)/.source,Ct(6),")","|","(","(//)?",Ct(10)+"\\.",ot.source,"(?![-"+yt+"])",")",")","(?::[0-9]+)?","(?:"+me.source+")?"].join(""),"gi")),te=new RegExp("["+Mt+"]"),ge=function(e){function t(r){var o=e.call(this,r)||this;return o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.matcherRegex=Ir,o.wordCharRegExp=te,o.stripPrefix=r.stripPrefix,o.stripTrailingSlash=r.stripTrailingSlash,o.decodePercentEncoding=r.decodePercentEncoding,o}return ue(t,e),t.prototype.parseMatches=function(r){for(var o,n=this.matcherRegex,l=this.stripPrefix,h=this.stripTrailingSlash,b=this.decodePercentEncoding,E=this.tagBuilder,R=[],L=function(){var K=o[0],F=o[1],V=o[4],f=o[5],Y=o[9],H=o.index,ne=f||Y,ae=r.charAt(H-1);if(!Gt.isValid(K,F)||H>0&&ae==="@"||H>0&&ne&&U.wordCharRegExp.test(ae))return"continue";if(/\?$/.test(K)&&(K=K.substr(0,K.length-1)),U.matchHasUnbalancedClosingParen(K))K=K.substr(0,K.length-1);else{var le=U.matchHasInvalidCharAfterTld(K,F);le>-1&&(K=K.substr(0,le))}var ye=["http://","https://"].find(function($e){return!!F&&F.indexOf($e)!==-1});if(ye){var he=K.indexOf(ye);K=K.substr(he),F=F.substr(he),H+=he}var Ee=F?"scheme":V?"www":"tld",Ke=!!F;R.push(new Fe({tagBuilder:E,matchedText:K,offset:H,urlMatchType:Ee,url:K,protocolUrlMatch:Ke,protocolRelativeMatch:!!ne,stripPrefix:l,stripTrailingSlash:h,decodePercentEncoding:b}))},U=this;(o=n.exec(r))!==null;)L();return R},t.prototype.matchHasUnbalancedClosingParen=function(r){var o,n=r.charAt(r.length-1);if(n===")")o="(";else if(n==="]")o="[";else{if(n!=="}")return!1;o="{"}for(var l=0,h=0,b=r.length-1;h<b;h++){var E=r.charAt(h);E===o?l++:E===n&&(l=Math.max(l-1,0))}return l===0},t.prototype.matchHasInvalidCharAfterTld=function(r,o){if(!r)return-1;var n=0;o&&(n=r.indexOf(":"),r=r.slice(n));var l=new RegExp("^((.?//)?[-."+Mt+"]*[-"+Mt+"]\\.[-"+Mt+"]+)").exec(r);return l===null?-1:(n+=l[1].length,r=r.slice(l[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(r)?n:-1)},t}(Te),Se=new RegExp("[_".concat(Mt,"]")),et=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="twitter",o.serviceName=r.serviceName,o}return ue(t,e),t.prototype.parseMatches=function(r){for(var o=this.tagBuilder,n=this.serviceName,l=[],h=r.length,b=0,E=-1,R=0;b<h;){var L=r.charAt(b);switch(R){case 0:U(L);break;case 1:K(L);break;case 2:F(L);break;case 3:V(L);break;default:W(R)}b++}return f(),l;function U(Y){Y==="#"?(R=2,E=b):ar.test(Y)&&(R=1)}function K(Y){ar.test(Y)||(R=0)}function F(Y){R=Se.test(Y)?3:ar.test(Y)?1:0}function V(Y){Se.test(Y)||(f(),E=-1,R=ar.test(Y)?1:0)}function f(){if(E>-1&&b-E<=140){var Y=r.slice(E,b),H=new se({tagBuilder:o,matchedText:Y,offset:E,serviceName:n,hashtag:Y.slice(1)});l.push(H)}}},t}(Te),ct=["twitter","facebook","instagram","tiktok"],ft=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),nt=function(e){function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.matcherRegex=ft,r}return ue(t,e),t.prototype.parseMatches=function(r){for(var o,n=this.matcherRegex,l=this.tagBuilder,h=[];(o=n.exec(r))!==null;){var b=o[0],E=b.replace(/[^0-9,;#]/g,""),R=!(!o[1]&&!o[2]),L=o.index==0?"":r.substr(o.index-1,1),U=r.substr(o.index+b.length,1),K=!L.match(/\d/)&&!U.match(/\d/);this.testMatch(o[3])&&this.testMatch(b)&&K&&h.push(new Ie({tagBuilder:l,matchedText:b,offset:o.index,number:E,plusSign:R}))}return h},t.prototype.testMatch=function(r){return Ne.test(r)},t}(Te),jt=new RegExp("@[_".concat(Mt,"]{1,50}(?![_").concat(Mt,"])"),"g"),Er=new RegExp("@[_.".concat(Mt,"]{1,30}(?![_").concat(Mt,"])"),"g"),Nt=new RegExp("@[-_.".concat(Mt,"]{1,50}(?![-_").concat(Mt,"])"),"g"),Re=new RegExp("@[_.".concat(Mt,"]{1,23}[_").concat(Mt,"](?![_").concat(Mt,"])"),"g"),Xe=new RegExp("[^"+Mt+"]"),it=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="twitter",o.matcherRegexes={twitter:jt,instagram:Er,soundcloud:Nt,tiktok:Re},o.nonWordCharRegex=Xe,o.serviceName=r.serviceName,o}return ue(t,e),t.prototype.parseMatches=function(r){var o,n=this.serviceName,l=this.matcherRegexes[this.serviceName],h=this.nonWordCharRegex,b=this.tagBuilder,E=[];if(!l)return E;for(;(o=l.exec(r))!==null;){var R=o.index,L=r.charAt(R-1);if(R===0||h.test(L)){var U=o[0].replace(/\.+$/g,""),K=U.slice(1);E.push(new ve({tagBuilder:b,matchedText:U,offset:R,serviceName:n,mention:K}))}}return E},t}(Te);function St(e,t){for(var r,o=t.onOpenTag,n=t.onCloseTag,l=t.onText,h=t.onComment,b=t.onDoctype,E=new Sr,R=0,L=e.length,U=0,K=0,F=E;R<L;){var V=e.charAt(R);switch(U){case 0:f(V);break;case 1:Y(V);break;case 2:ne(V);break;case 3:H(V);break;case 4:ae(V);break;case 5:le(V);break;case 6:ye(V);break;case 7:he(V);break;case 8:Ee(V);break;case 9:Ke(V);break;case 10:$e(V);break;case 11:xe(V);break;case 12:Ze(V);break;case 13:Rt();break;case 14:Lt(V);break;case 15:gt(V);break;case 16:er(V);break;case 17:pt(V);break;case 18:wt(V);break;case 19:Ue(V);break;case 20:Bt(V);break;default:W(U)}R++}function f(Ut){Ut==="<"&&ur()}function Y(Ut){Ut==="!"?U=13:Ut==="/"?(U=2,F=new Sr(Q(Q({},F),{isClosing:!0}))):Ut==="<"?ur():He.test(Ut)?(U=3,F=new Sr(Q(Q({},F),{isOpening:!0}))):(U=0,F=E)}function H(Ut){Ce.test(Ut)?(F=new Sr(Q(Q({},F),{name:vr()})),U=4):Ut==="<"?ur():Ut==="/"?(F=new Sr(Q(Q({},F),{name:vr()})),U=12):Ut===">"?(F=new Sr(Q(Q({},F),{name:vr()})),Vt()):He.test(Ut)||tt.test(Ut)||Ut===":"||sr()}function ne(Ut){Ut===">"?sr():He.test(Ut)?U=3:sr()}function ae(Ut){Ce.test(Ut)||(Ut==="/"?U=12:Ut===">"?Vt():Ut==="<"?ur():Ut==="="||ht.test(Ut)||mt.test(Ut)?sr():U=5)}function le(Ut){Ce.test(Ut)?U=6:Ut==="/"?U=12:Ut==="="?U=7:Ut===">"?Vt():Ut==="<"?ur():ht.test(Ut)&&sr()}function ye(Ut){Ce.test(Ut)||(Ut==="/"?U=12:Ut==="="?U=7:Ut===">"?Vt():Ut==="<"?ur():ht.test(Ut)?sr():U=5)}function he(Ut){Ce.test(Ut)||(Ut==='"'?U=8:Ut==="'"?U=9:/[>=`]/.test(Ut)?sr():Ut==="<"?ur():U=10)}function Ee(Ut){Ut==='"'&&(U=11)}function Ke(Ut){Ut==="'"&&(U=11)}function $e(Ut){Ce.test(Ut)?U=4:Ut===">"?Vt():Ut==="<"&&ur()}function xe(Ut){Ce.test(Ut)?U=4:Ut==="/"?U=12:Ut===">"?Vt():Ut==="<"?ur():(U=4,R--)}function Ze(Ut){Ut===">"?(F=new Sr(Q(Q({},F),{isClosing:!0})),Vt()):U=4}function Rt(Ut){e.substr(R,2)==="--"?(R+=2,F=new Sr(Q(Q({},F),{type:"comment"})),U=14):e.substr(R,7).toUpperCase()==="DOCTYPE"?(R+=7,F=new Sr(Q(Q({},F),{type:"doctype"})),U=20):sr()}function Lt(Ut){Ut==="-"?U=15:Ut===">"?sr():U=16}function gt(Ut){Ut==="-"?U=18:Ut===">"?sr():U=16}function er(Ut){Ut==="-"&&(U=17)}function pt(Ut){U=Ut==="-"?18:16}function wt(Ut){Ut===">"?Vt():Ut==="!"?U=19:Ut==="-"||(U=16)}function Ue(Ut){Ut==="-"?U=17:Ut===">"?Vt():U=16}function Bt(Ut){Ut===">"?Vt():Ut==="<"&&ur()}function sr(){U=0,F=E}function ur(){U=1,F=new Sr({idx:R})}function Vt(){var Ut=e.slice(K,F.idx);Ut&&l(Ut,K),F.type==="comment"?h(F.idx):F.type==="doctype"?b(F.idx):(F.isOpening&&o(F.name,F.idx),F.isClosing&&n(F.name,F.idx)),sr(),K=R+1}function vr(){var Ut=F.idx+(F.isClosing?2:1);return e.slice(Ut,R).toLowerCase()}K<R&&(r=e.slice(K,R),l(r,K),K=R+1)}var Sr=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing},Mr=function(){function e(t){t===void 0&&(t={}),this.version=e.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(t.urls),this.email=typeof t.email=="boolean"?t.email:this.email,this.phone=typeof t.phone=="boolean"?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow=typeof t.newWindow=="boolean"?t.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash=typeof t.stripTrailingSlash=="boolean"?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=typeof t.decodePercentEncoding=="boolean"?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1;var r=this.mention;if(r!==!1&&["twitter","instagram","soundcloud","tiktok"].indexOf(r)===-1)throw new Error("invalid `mention` cfg '".concat(r,"' - see docs"));var o=this.hashtag;if(o!==!1&&ct.indexOf(o)===-1)throw new Error("invalid `hashtag` cfg '".concat(o,"' - see docs"));this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,r){return new e(r).link(t)},e.parse=function(t,r){return new e(r).parse(t)},e.prototype.normalizeUrlsCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{schemeMatches:t,wwwMatches:t,tldMatches:t}:{schemeMatches:typeof t.schemeMatches!="boolean"||t.schemeMatches,wwwMatches:typeof t.wwwMatches!="boolean"||t.wwwMatches,tldMatches:typeof t.tldMatches!="boolean"||t.tldMatches}},e.prototype.normalizeStripPrefixCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{scheme:t,www:t}:{scheme:typeof t.scheme!="boolean"||t.scheme,www:typeof t.www!="boolean"||t.www}},e.prototype.normalizeTruncateCfg=function(t){return typeof t=="number"?{length:t,location:"end"}:function(r,o){for(var n in o)o.hasOwnProperty(n)&&r[n]===void 0&&(r[n]=o[n]);return r}(t||{},{length:Number.POSITIVE_INFINITY,location:"end"})},e.prototype.parse=function(t){var r=this,o=["a","style","script"],n=0,l=[];return St(t,{onOpenTag:function(h){o.indexOf(h)>=0&&n++},onText:function(h,b){if(n===0){var E=function(L,U){if(!U.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var K,F=[],V=0;K=U.exec(L);)F.push(L.substring(V,K.index)),F.push(K[0]),V=K.index+K[0].length;return F.push(L.substring(V)),F}(h,/( | |<|<|>|>|"|"|')/gi),R=b;E.forEach(function(L,U){if(U%2==0){var K=r.parseText(L,R);l.push.apply(l,K)}R+=L.length})}},onCloseTag:function(h){o.indexOf(h)>=0&&(n=Math.max(n-1,0))},onComment:function(h){},onDoctype:function(h){}}),l=this.compactMatches(l),l=this.removeUnwantedMatches(l)},e.prototype.compactMatches=function(t){t.sort(function(E,R){return E.getOffset()-R.getOffset()});for(var r=0;r<t.length-1;){var o=t[r],n=o.getOffset(),l=o.getMatchedText().length,h=n+l;if(r+1<t.length){if(t[r+1].getOffset()===n){var b=t[r+1].getMatchedText().length>l?r:r+1;t.splice(b,1);continue}if(t[r+1].getOffset()<h){t.splice(r+1,1);continue}}r++}return t},e.prototype.removeUnwantedMatches=function(t){return this.hashtag||N(t,function(r){return r.getType()==="hashtag"}),this.email||N(t,function(r){return r.getType()==="email"}),this.phone||N(t,function(r){return r.getType()==="phone"}),this.mention||N(t,function(r){return r.getType()==="mention"}),this.urls.schemeMatches||N(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"}),this.urls.wwwMatches||N(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="www"}),this.urls.tldMatches||N(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="tld"}),t},e.prototype.parseText=function(t,r){r===void 0&&(r=0),r=r||0;for(var o=this.getMatchers(),n=[],l=0,h=o.length;l<h;l++){for(var b=o[l].parseMatches(t),E=0,R=b.length;E<R;E++)b[E].setOffset(r+b[E].getOffset());n.push.apply(n,b)}return n},e.prototype.link=function(t){if(!t)return"";this.sanitizeHtml&&(t=t.replace(/</g,"<").replace(/>/g,">"));for(var r=this.parse(t),o=[],n=0,l=0,h=r.length;l<h;l++){var b=r[l];o.push(t.substring(n,b.getOffset())),o.push(this.createMatchReturnVal(b)),n=b.getOffset()+b.getMatchedText().length}return o.push(t.substring(n)),o.join("")},e.prototype.createMatchReturnVal=function(t){var r;return this.replaceFn&&(r=this.replaceFn.call(this.context,t)),typeof r=="string"?r:r===!1?t.getMatchedText():r instanceof J?r.toAnchorString():t.buildTag().toAnchorString()},e.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var t=this.getTagBuilder(),r=[new et({tagBuilder:t,serviceName:this.hashtag}),new at({tagBuilder:t}),new nt({tagBuilder:t}),new it({tagBuilder:t,serviceName:this.mention}),new ge({tagBuilder:t,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=r},e.prototype.getTagBuilder=function(){var t=this.tagBuilder;return t||(t=this.tagBuilder=new ee({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),t},e.version="3.16.2",e.AnchorTagBuilder=ee,e.HtmlTag=J,e.matcher={Email:at,Hashtag:et,Matcher:Te,Mention:it,Phone:nt,Url:ge},e.match={Email:ie,Hashtag:se,Match:re,Mention:ve,Phone:Ie,Url:Fe},e}();const oo=Mr;var ao=/www|@|\:\/\//;function xo(e){return/^<a[>\s]/i.test(e)}function Ht(e){return/^<\/a\s*>/i.test(e)}function zr(){var e=[],t=new oo({stripPrefix:!1,url:!0,email:!0,replaceFn:function(r){switch(r.getType()){case"url":e.push({text:r.matchedText,url:r.getUrl()});break;case"email":e.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:t}}function Zr(e){var t,r,o,n,l,h,b,E,R,L,U,K,F,V=e.tokens,f=null;for(r=0,o=V.length;r<o;r++)if(V[r].type==="inline")for(U=0,t=(n=V[r].children).length-1;t>=0;t--)if((l=n[t]).type!=="link_close"){if(l.type==="htmltag"&&(xo(l.content)&&U>0&&U--,Ht(l.content)&&U++),!(U>0)&&l.type==="text"&&ao.test(l.content)){if(f||(K=(f=zr()).links,F=f.autolinker),h=l.content,K.length=0,F.link(h),!K.length)continue;for(b=[],L=l.level,E=0;E<K.length;E++)e.inline.validateLink(K[E].url)&&((R=h.indexOf(K[E].text))&&b.push({type:"text",content:h.slice(0,R),level:L}),b.push({type:"link_open",href:K[E].url,title:"",level:L++}),b.push({type:"text",content:K[E].text,level:L}),b.push({type:"link_close",level:--L}),h=h.slice(R+K[E].text.length));h.length&&b.push({type:"text",content:h,level:L}),V[r].children=n=[].concat(n.slice(0,t),b,n.slice(t+1))}}else for(t--;n[t].level!==l.level&&n[t].type!=="link_open";)t--}function Lo(e){e.core.ruler.push("linkify",Zr)}var wo=st(19232),Ao=st.n(wo),ko=st(50005),ia=st.n(ko),So=st(3986),Ea=st.n(So),dn=st(64089),da=st.n(dn),Qo=st(91729),za=st.n(Qo),Ya=st(67446),mr=st.n(Ya),wr=st(52932),br=st.n(wr),lo=st(18830),kr=st.n(lo),ba=st(43276),uo=st.n(ba),dt=st(13706),Oe=st.n(dt),Je=st(43633),kt=st.n(Je),Qt=st(63571),Pr=st.n(Qt),bt=st(15206),Jt=st.n(bt),Lr=st(61149),Cr=st.n(Lr),yo=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),Uo=Object.prototype.hasOwnProperty;function fa(e,t){return Uo.call(e,t)}function ja(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;return t}if(Object.keys)return Object.keys(e);var o=[];for(var n in e)fa(e,n)&&o.push(n);return o}function ya(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function en(e){for(var t,r=0,o=e.length;r<o;){if(!((t=e.charCodeAt(r))>=48&&t<=57))return!1;r++}return!0}function nn(e){return e.indexOf("/")===-1&&e.indexOf("~")===-1?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Oa(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function sn(e){if(e===void 0)return!0;if(e){if(Array.isArray(e)){for(var t=0,r=e.length;t<r;t++)if(sn(e[t]))return!0}else if(typeof e=="object"){for(var o=ja(e),n=o.length,l=0;l<n;l++)if(sn(e[o[l]]))return!0}}return!1}function wn(e,t){var r=[e];for(var o in t){var n=typeof t[o]=="object"?JSON.stringify(t[o],null,2):t[o];n!==void 0&&r.push(o+": "+n)}return r.join(`
|
|
144
|
+
`)}},50005:function(y,A){var a,p,k;p=[],a=function(){var _=function(s){return s&&"getComputedStyle"in window&&window.getComputedStyle(s)["scroll-behavior"]==="smooth"};if(typeof window>"u"||!("document"in window))return{};var x=function(s,m,S){var j;m=m||999,S||S===0||(S=9);var w=function(N){j=N},O=function(){clearTimeout(j),w(0)},z=function(N){return Math.max(0,s.getTopOf(N)-S)},T=function(N,W,J){if(O(),W===0||W&&W<0||_(s.body))s.toY(N),J&&J();else{var ee=s.getY(),re=Math.max(0,N)-ee,X=new Date().getTime();W=W||Math.min(Math.abs(re),m),function ue(){w(setTimeout(function(){var Q=Math.min(1,(new Date().getTime()-X)/W),me=Math.max(0,Math.floor(ee+re*(Q<.5?2*Q*Q:Q*(4-2*Q)-1)));s.toY(me),Q<1&&s.getHeight()+me<s.body.scrollHeight?ue():(setTimeout(O,99),J&&J())},9))}()}},B=function(N,W,J){T(z(N),W,J)},q=function(N,W,J){var ee=N.getBoundingClientRect().height,re=s.getTopOf(N)+ee,X=s.getHeight(),ue=s.getY(),Q=ue+X;z(N)<ue||ee+S>X?B(N,W,J):re+S>Q?T(re-X+S,W,J):J&&J()},$=function(N,W,J,ee){T(Math.max(0,s.getTopOf(N)-s.getHeight()/2+(J||N.getBoundingClientRect().height/2)),W,ee)};return{setup:function(N,W){return(N===0||N)&&(m=N),(W===0||W)&&(S=W),{defaultDuration:m,edgeOffset:S}},to:B,toY:T,intoView:q,center:$,stop:O,moving:function(){return!!j},getY:s.getY,getTopOf:s.getTopOf}},C=document.documentElement,P=function(){return window.scrollY||C.scrollTop},d=x({body:document.scrollingElement||document.body,toY:function(s){window.scrollTo(0,s)},getY:P,getHeight:function(){return window.innerHeight||C.clientHeight},getTopOf:function(s){return s.getBoundingClientRect().top+P()-C.offsetTop}});if(d.createScroller=function(s,m,S){return x({body:s,toY:function(j){s.scrollTop=j},getY:function(){return s.scrollTop},getHeight:function(){return Math.min(s.clientHeight,window.innerHeight||C.clientHeight)},getTopOf:function(j){return j.offsetTop}},m,S)},"addEventListener"in window&&!window.noZensmooth&&!_(document.body)){var i="history"in window&&"pushState"in history,u=i&&"scrollRestoration"in history;u&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){u&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(s){s.state&&"zenscrollY"in s.state&&d.toY(s.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var s=d.setup().edgeOffset;if(s){var m=document.getElementById(window.location.href.split("#")[1]);if(m){var S=Math.max(0,d.getTopOf(m)-s),j=d.getY()-S;0<=j&&j<9&&window.scrollTo(0,S)}}},9)},!1);var g=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(s){for(var m=s.target;m&&m.tagName!=="A";)m=m.parentNode;if(!(!m||s.which!==1||s.shiftKey||s.metaKey||s.ctrlKey||s.altKey)){if(u){var S=history.state&&typeof history.state=="object"?history.state:{};S.zenscrollY=d.getY();try{history.replaceState(S,"")}catch{}}var j=m.getAttribute("href")||"";if(j.indexOf("#")===0&&!g.test(m.className)){var w=0,O=document.getElementById(j.substring(1));if(j!=="#"){if(!O)return;w=d.getTopOf(O)}s.preventDefault();var z=function(){window.location=j},T=d.setup().edgeOffset;T&&(w=Math.max(0,w-T),i&&(z=function(){history.pushState({},"",j)})),d.toY(w,null,z)}}},!1)}return d}(),(k=typeof a=="function"?a.apply(A,p):a)===void 0||(y.exports=k)},95712:y=>{y.exports="data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z"},35744:y=>{y.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg=="},99090:y=>{y.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII="},5015:y=>{y.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC"},5613:y=>{y.exports='data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'},78709:y=>{y.exports="data:image/svg+xml,%3Csvg width=%2713%27 height=%2711%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M10.633 0L12 1.397 3.583 10 0 6.337 1.367 4.94l2.216 2.265z%27 fill=%27%23FFF%27 fill-rule=%27nonzero%27/%3E%3C/svg%3E"},88507:y=>{y.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 version=%271.1%27 width=%2716%27 height=%2716%27 aria-hidden=%27true%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z%27%3E%3C/path%3E%3C/svg%3E"},11264:y=>{y.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27%3E%3Cpath fill=%27%23000%27 fill-opacity=%27.45%27 fill-rule=%27evenodd%27 d=%27M6 12c-3.3137085 0-6-2.6862915-6-6s2.6862915-6 6-6 6 2.6862915 6 6c0 1.29583043-.410791 2.49571549-1.1092521 3.47653436l1.2305724 1.23057244 2.8232632 2.8338633c.3897175.3911808.3947266 1.0192147.005164 1.4087774-.3868655.3868655-1.014825.3873148-1.4087774-.005164l-2.8338633-2.8232632-1.23057244-1.2305724C8.49571549 11.589209 7.29583043 12 6 12zm4-6c0-2.209139-1.790861-4-4-4S2 3.790861 2 6s1.790861 4 4 4 4-1.790861 4-4z%27/%3E%3C/svg%3E"},78670:y=>{y.exports="data:image/svg+xml,%3Csvg%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%0A%3Cpath%20d%3D%27M9.60005%202.40021L1.80005%2010.2002%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3Cpath%20d%3D%27M9.60005%2010.2002L1.80005%202.40021%27%20stroke%3D%27%233C4557%27%20stroke-width%3D%271.5%27%20stroke-linecap%3D%27round%27%2F%3E%0A%3C%2Fsvg%3E"},17156:y=>{y.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMDAwMDAwIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+"},46274:y=>{y.exports="data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27%3E%3Cpath d=%27M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z%27/%3E%3C/svg%3E"},95234:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M13.418 7.859a.695.695 0 0 1 .978 0 .68.68 0 0 1 0 .969l-3.908 3.83a.697.697 0 0 1-.979 0l-3.908-3.83a.68.68 0 0 1 0-.969.695.695 0 0 1 .978 0L10 11l3.418-3.141z"/></svg>'},7779:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="3 7 10 8"><path fill="%2341474E" fill-rule="evenodd" d="M6.333 15 3 11.667l1.333-1.334 2 2L11.667 7 13 8.333z"/></svg>'},12153:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" aria-hidden="true"><path fill="%23fff" fill-rule="evenodd" d="M4 12h4v1H4v-1zm5-6H4v1h5V6zm2 3V7l-3 3 3 3v-2h5V9h-5zM6.5 8H4v1h2.5V8zM4 11h2.5v-1H4v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V5H3v9h10v-2zM4 4h8c0-.55-.45-1-1-1h-1c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H5c-.55 0-1 .45-1 1z"/></svg>'},25294:y=>{y.exports='data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>'},63930:()=>{},34279:(y,A,a)=>{y.exports=a(83600)},29755:(y,A,a)=>{y.exports=a(92952)},13706:(y,A,a)=>{y.exports=a(43713)},69370:(y,A,a)=>{y.exports=a(92507)},5517:(y,A,a)=>{y.exports=a(46976)},6677:(y,A,a)=>{y.exports=a(56554)},11050:(y,A,a)=>{y.exports=a(68393)},52932:(y,A,a)=>{y.exports=a(90133)},9187:(y,A,a)=>{y.exports=a(54822)},56035:(y,A,a)=>{y.exports=a(15342)},9582:(y,A,a)=>{y.exports=a(67007)},38902:(y,A,a)=>{y.exports=a(73691)},47056:(y,A,a)=>{y.exports=a(32065)},54683:(y,A,a)=>{y.exports=a(59718)},61217:(y,A,a)=>{y.exports=a(92672)},81980:(y,A,a)=>{y.exports=a(13179)},57475:(y,A,a)=>{y.exports=a(43312)},88503:(y,A,a)=>{y.exports=a(79518)},67446:(y,A,a)=>{y.exports=a(75067)},40175:(y,A,a)=>{y.exports=a(39104)},99669:(y,A,a)=>{y.exports=a(92748)},59093:(y,A,a)=>{y.exports=a(536)},54709:(y,A,a)=>{y.exports=a(92424)},4217:(y,A,a)=>{y.exports=a(49502)},38645:(y,A,a)=>{y.exports=a(97368)},8999:(y,A,a)=>{y.exports=a(95946)},32570:(y,A,a)=>{y.exports=a(81114)},81607:(y,A,a)=>{y.exports=a(29253)},91729:(y,A,a)=>{y.exports=a(370)},9472:(y,A,a)=>{y.exports=a(56985)},39732:(y,A,a)=>{y.exports=a(37405)},63873:(y,A,a)=>{y.exports=a(53058)},46424:(y,A,a)=>{y.exports=a(37281)},63917:(y,A,a)=>{y.exports=a(14760)},75035:(y,A,a)=>{y.exports=a(73826)},43276:(y,A,a)=>{y.exports=a(81610)},66435:(y,A,a)=>{y.exports=a(65514)},47289:(y,A,a)=>{y.exports=a(2363)},64089:(y,A,a)=>{y.exports=a(25670)},36564:(y,A,a)=>{y.exports=a(24062)},3766:(y,A,a)=>{y.exports=a(64186)},29060:(y,A,a)=>{y.exports=a(70640)},82559:(y,A,a)=>{y.exports=a(44e3)}},pn={};function st(y){var A=pn[y];if(A!==void 0)return A.exports;var a=pn[y]={id:y,loaded:!1,exports:{}};return Mo[y].call(a.exports,a,a.exports,st),a.loaded=!0,a.exports}st.m=Mo,st.n=y=>{var A=y&&y.__esModule?()=>y.default:()=>y;return st.d(A,{a:A}),A},zo=Object.getPrototypeOf?y=>Object.getPrototypeOf(y):y=>y.__proto__,st.t=function(y,A){if(1&A&&(y=this(y)),8&A||typeof y=="object"&&y&&(4&A&&y.__esModule||16&A&&typeof y.then=="function"))return y;var a=Object.create(null);st.r(a);var p={};yr=yr||[null,zo({}),zo([]),zo(zo)];for(var k=2&A&&y;typeof k=="object"&&!~yr.indexOf(k);k=zo(k))Object.getOwnPropertyNames(k).forEach(_=>p[_]=()=>y[_]);return p.default=()=>y,st.d(a,p),a},st.d=(y,A)=>{for(var a in A)st.o(A,a)&&!st.o(y,a)&&Object.defineProperty(y,a,{enumerable:!0,get:A[a]})},st.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),st.o=(y,A)=>Object.prototype.hasOwnProperty.call(y,A),st.r=y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},st.nmd=y=>(y.paths=[],y.children||(y.children=[]),y),st.b=document.baseURI||self.location.href,st.nc=void 0,(()=>{var Rd,Iu,Op,zu,Ap,Ql,fc,Nd,Dd,Bd;var y={};st.r(y),st.d(y,{JsonPatchError:()=>va,_areEquals:()=>Ei,applyOperation:()=>zn,applyPatch:()=>ni,applyReducer:()=>Fn,deepClone:()=>ln,getValueByPointer:()=>Za,validate:()=>xi,validator:()=>Ma});var A={};st.r(A),st.d(A,{compare:()=>Sa,generate:()=>Yi,observe:()=>Pi,unobserve:()=>os});var a={};st.r(a),st.d(a,{bJ:()=>ep,uQ:()=>mg,Zd:()=>cd,LH:()=>Bl,isHttpUrl:()=>Uc,hd:()=>Vi,aj:()=>tp,z9:()=>Ri,zj:()=>Is});var p={};st.r(p),st.d(p,{hasElementSourceMap:()=>Ig,includesClasses:()=>Ed,includesSymbols:()=>Tx,isAnnotationElement:()=>Ix,isArrayElement:()=>dc,isBooleanElement:()=>Pg,isCommentElement:()=>zx,isElement:()=>ts,isLinkElement:()=>xy,isMemberElement:()=>Ys,isNullElement:()=>G0,isNumberElement:()=>J0,isObjectElement:()=>Rn,isParseResultElement:()=>Sy,isPrimitiveElement:()=>hp,isRefElement:()=>Ey,isSourceMapElement:()=>_y,isStringElement:()=>bn});var k={};st.r(k),st.d(k,{isJSONReferenceElement:()=>Q5,isJSONSchemaElement:()=>Z5,isLinkDescriptionElement:()=>e4,isMediaElement:()=>X5});var _={};st.r(_),st.d(_,{isBooleanJsonSchemaElement:()=>c6,isCallbackElement:()=>W4,isComponentsElement:()=>J4,isContactElement:()=>G4,isExampleElement:()=>Y4,isExternalDocumentationElement:()=>Z4,isHeaderElement:()=>Cd,isInfoElement:()=>Q4,isLicenseElement:()=>X4,isLinkElement:()=>e6,isMediaTypeElement:()=>Mf,isOpenApi3_0Element:()=>r6,isOpenapiElement:()=>t6,isOperationElement:()=>sw,isParameterElement:()=>o6,isPathItemElement:()=>gb,isPathsElement:()=>a6,isReferenceElement:()=>ai,isRequestBodyElement:()=>n6,isResponseElement:()=>Bf,isResponsesElement:()=>i6,isSchemaElement:()=>s6,isSecurityRequirementElement:()=>l6,isSecuritySchemeElement:()=>u6,isServerElement:()=>p6,isServerVariableElement:()=>d6,isServersElement:()=>cw});var x={};st.r(x),st.d(x,{isBooleanJsonSchemaElement:()=>ov,isCallbackElement:()=>B8,isComponentsElement:()=>M8,isContactElement:()=>L8,isExampleElement:()=>F8,isExternalDocumentationElement:()=>$8,isHeaderElement:()=>U8,isInfoElement:()=>q8,isJsonSchemaDialectElement:()=>_w,isLicenseElement:()=>K8,isLinkElement:()=>H8,isMediaTypeElement:()=>a9,isOpenApi3_1Element:()=>tv,isOpenapiElement:()=>V8,isOperationElement:()=>jw,isParameterElement:()=>W8,isPathItemElement:()=>rv,isPathItemElementExternal:()=>J8,isPathsElement:()=>G8,isReferenceElement:()=>lh,isReferenceElementExternal:()=>Y8,isRequestBodyElement:()=>Z8,isResponseElement:()=>Q8,isResponsesElement:()=>X8,isSchemaElement:()=>uh,isSecurityRequirementElement:()=>e9,isSecuritySchemeElement:()=>t9,isServerElement:()=>r9,isServerVariableElement:()=>o9});var C={};st.r(C),st.d(C,{cookie:()=>RS,header:()=>TS,path:()=>PS,query:()=>IS});var P=st(92451),d=st(45463),i=st.n(d);function u(e){return u=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},u(e)}function g(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},S(e)}function j(e,t){return j=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},j(e,t)}function w(e,t){return!t||typeof t!="object"&&typeof t!="function"?function(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(e):t}var O={};function z(e,t,r){return function(o){return o==null}(e)?r:function(o){return o!==null&&u(o)==="object"&&typeof o.get=="function"&&typeof o.has=="function"}(e)?e.has(t)?e.get(t):r:hasOwnProperty.call(e,t)?e[t]:r}function T(e,t,r){for(var o=0;o!==t.length;)if((e=z(e,t[o++],O))===O)return r;return e}function B(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=function(l,h){return function(b){if(typeof b=="string")return(0,d.is)(h[b],l[b]);if(Array.isArray(b))return(0,d.is)(T(h,b),T(l,b));throw new TypeError("Invalid key: expected Array or string: "+b)}}(t,r),n=e||Object.keys(function(l){for(var h=1;h<arguments.length;h++){var b=arguments[h]!=null?arguments[h]:{};h%2?m(b,!0).forEach(function(E){s(l,E,b[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(b)):m(b).forEach(function(E){Object.defineProperty(l,E,Object.getOwnPropertyDescriptor(b,E))})}return l}({},r,{},t));return n.every(o)}const q=function(e){function t(){return function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,t),w(this,S(t).apply(this,arguments))}var r,o;return function(n,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&j(n,l)}(t,e),r=t,o=[{key:"shouldComponentUpdate",value:function(n){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!B(this.updateOnProps,this.props,n,"updateOnProps")||!B(this.updateOnStates,this.state,l,"updateOnStates")}}],o&&g(r.prototype,o),t}(P.Component);function $(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,o=e.length;r<o;r++)if(e[r]===t)return r;return-1}function N(e,t){for(var r=e.length-1;r>=0;r--)t(e[r])===!0&&e.splice(r,1)}function W(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}var J=function(){function e(t){t===void 0&&(t={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=t.tagName||"",this.attrs=t.attrs||{},this.innerHTML=t.innerHtml||t.innerHTML||""}return e.prototype.setTagName=function(t){return this.tagName=t,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(t,r){return this.getAttrs()[t]=r,this},e.prototype.getAttr=function(t){return this.getAttrs()[t]},e.prototype.setAttrs=function(t){return Object.assign(this.getAttrs(),t),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(t){return this.setAttr("class",t)},e.prototype.addClass=function(t){for(var r,o=this.getClass(),n=this.whitespaceRegex,l=o?o.split(n):[],h=t.split(n);r=h.shift();)$(l,r)===-1&&l.push(r);return this.getAttrs().class=l.join(" "),this},e.prototype.removeClass=function(t){for(var r,o=this.getClass(),n=this.whitespaceRegex,l=o?o.split(n):[],h=t.split(n);l.length&&(r=h.shift());){var b=$(l,r);b!==-1&&l.splice(b,1)}return this.getAttrs().class=l.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(t){return(" "+this.getClass()+" ").indexOf(" "+t+" ")!==-1},e.prototype.setInnerHTML=function(t){return this.innerHTML=t,this},e.prototype.setInnerHtml=function(t){return this.setInnerHTML(t)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var t=this.getTagName(),r=this.buildAttrsStr();return["<",t,r=r?" "+r:"",">",this.getInnerHtml(),"</",t,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var t=this.getAttrs(),r=[];for(var o in t)t.hasOwnProperty(o)&&r.push(o+'="'+t[o]+'"');return r.join(" ")},e}(),ee=function(){function e(t){t===void 0&&(t={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=t.newWindow||!1,this.truncate=t.truncate||{},this.className=t.className||""}return e.prototype.build=function(t){return new J({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},e.prototype.createAttrs=function(t){var r={href:t.getAnchorHref()},o=this.createCssClass(t);return o&&(r.class=o),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<t.getAnchorText().length&&(r.title=t.getAnchorHref()),r},e.prototype.createCssClass=function(t){var r=this.className;if(r){for(var o=[r],n=t.getCssClassSuffixes(),l=0,h=n.length;l<h;l++)o.push(r+"-"+n[l]);return o.join(" ")}return""},e.prototype.processAnchorText=function(t){return t=this.doTruncate(t)},e.prototype.doTruncate=function(t){var r=this.truncate;if(!r||!r.length)return t;var o=r.length,n=r.location;return n==="smart"?function(l,h,b){var E,R;b==null?(b="…",R=3,E=8):(R=b.length,E=b.length);var L=function(le){var ye="";return le.scheme&&le.host&&(ye+=le.scheme+"://"),le.host&&(ye+=le.host),le.path&&(ye+="/"+le.path),le.query&&(ye+="?"+le.query),le.fragment&&(ye+="#"+le.fragment),ye},U=function(le,ye){var he=ye/2,Ee=Math.ceil(he),Ke=-1*Math.floor(he),$e="";return Ke<0&&($e=le.substr(Ke)),le.substr(0,Ee)+b+$e};if(l.length<=h)return l;var K=h-R,F=function(le){var ye={},he=le,Ee=he.match(/^([a-z]+):\/\//i);return Ee&&(ye.scheme=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(ye.host=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^\/(.*?)(?=(\?|#|$))/i))&&(ye.path=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^\?(.*?)(?=(#|$))/i))&&(ye.query=Ee[1],he=he.substr(Ee[0].length)),(Ee=he.match(/^#(.*?)$/i))&&(ye.fragment=Ee[1]),ye}(l);if(F.query){var V=F.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);V&&(F.query=F.query.substr(0,V[1].length),l=L(F))}if(l.length<=h||(F.host&&(F.host=F.host.replace(/^www\./,""),l=L(F)),l.length<=h))return l;var f="";if(F.host&&(f+=F.host),f.length>=K)return F.host.length==h?(F.host.substr(0,h-R)+b).substr(0,K+E):U(f,K).substr(0,K+E);var Y="";if(F.path&&(Y+="/"+F.path),F.query&&(Y+="?"+F.query),Y){if((f+Y).length>=K)return(f+Y).length==h?(f+Y).substr(0,h):(f+U(Y,K-f.length)).substr(0,K+E);f+=Y}if(F.fragment){var H="#"+F.fragment;if((f+H).length>=K)return(f+H).length==h?(f+H).substr(0,h):(f+U(H,K-f.length)).substr(0,K+E);f+=H}if(F.scheme&&F.host){var ne=F.scheme+"://";if((f+ne).length<K)return(ne+f).substr(0,h)}if(f.length<=h)return f;var ae="";return K>0&&(ae=f.substr(-1*Math.floor(K/2))),(f.substr(0,Math.ceil(K/2))+b+ae).substr(0,K+E)}(t,o):n==="middle"?function(l,h,b){if(l.length<=h)return l;var E,R;b==null?(b="…",E=8,R=3):(E=b.length,R=b.length);var L=h-R,U="";return L>0&&(U=l.substr(-1*Math.floor(L/2))),(l.substr(0,Math.ceil(L/2))+b+U).substr(0,L+E)}(t,o):function(l,h,b){return function(E,R,L){var U;return E.length>R&&(L==null?(L="…",U=3):U=L.length,E=E.substring(0,R-U)+L),E}(l,h,b)}(t,o)},e}(),re=function(){function e(t){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=t.tagBuilder,this.matchedText=t.matchedText,this.offset=t.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(t){this.offset=t},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),X=function(e,t){return X=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n])},X(e,t)};function ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}X(e,t),e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Q=function(){return Q=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Q.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var me,ie=function(e){function t(r){var o=e.call(this,r)||this;return o.email="",o.email=r.email,o}return ue(t,e),t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(re),se=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="",o.hashtag="",o.serviceName=r.serviceName,o.hashtag=r.hashtag,o}return ue(t,e),t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var r=this.serviceName,o=this.hashtag;switch(r){case"twitter":return"https://twitter.com/hashtag/"+o;case"facebook":return"https://www.facebook.com/hashtag/"+o;case"instagram":return"https://instagram.com/explore/tags/"+o;case"tiktok":return"https://www.tiktok.com/tag/"+o;default:throw new Error("Unknown service name to point hashtag to: "+r)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t}(re),ve=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="twitter",o.mention="",o.mention=r.mention,o.serviceName=r.serviceName,o}return ue(t,e),t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var r=e.prototype.getCssClassSuffixes.call(this),o=this.getServiceName();return o&&r.push(o),r},t}(re),Ie=function(e){function t(r){var o=e.call(this,r)||this;return o.number="",o.plusSign=!1,o.number=r.number,o.plusSign=r.plusSign,o}return ue(t,e),t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(re),Fe=function(e){function t(r){var o=e.call(this,r)||this;return o.url="",o.urlMatchType="scheme",o.protocolUrlMatch=!1,o.protocolRelativeMatch=!1,o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.schemePrefixRegex=/^(https?:\/\/)?/i,o.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,o.protocolRelativeRegex=/^\/\//,o.protocolPrepended=!1,o.urlMatchType=r.urlMatchType,o.url=r.url,o.protocolUrlMatch=r.protocolUrlMatch,o.protocolRelativeMatch=r.protocolRelativeMatch,o.stripPrefix=r.stripPrefix,o.stripTrailingSlash=r.stripTrailingSlash,o.decodePercentEncoding=r.decodePercentEncoding,o}return ue(t,e),t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var r=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(r=this.url="http://"+r,this.protocolPrepended=!0),r},t.prototype.getAnchorHref=function(){return this.getUrl().replace(/&/g,"&")},t.prototype.getAnchorText=function(){var r=this.getMatchedText();return this.protocolRelativeMatch&&(r=this.stripProtocolRelativePrefix(r)),this.stripPrefix.scheme&&(r=this.stripSchemePrefix(r)),this.stripPrefix.www&&(r=this.stripWwwPrefix(r)),this.stripTrailingSlash&&(r=this.removeTrailingSlash(r)),this.decodePercentEncoding&&(r=this.removePercentEncoding(r)),r},t.prototype.stripSchemePrefix=function(r){return r.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(r){return r.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(r){return r.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(r){return r.charAt(r.length-1)==="/"&&(r=r.slice(0,-1)),r},t.prototype.removePercentEncoding=function(r){var o=r.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(o)}catch{return o}},t}(re),Te=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},He=/[A-Za-z]/,tt=/[\d]/,Ne=/[\D]/,Ce=/\s/,ht=/['"]/,mt=/[\x00-\x1F\x7F]/,_t=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,Yt=_t+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,Wt=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,yt=Yt+Wt,Mt=Yt+Wt,ar=new RegExp("[".concat(Mt,"]")),lr="(?:["+Wt+"]{1,3}\\.){3}["+Wt+"]{1,3}",Ar="["+Mt+"](?:["+Mt+"\\-_]{0,61}["+Mt+"])?",ir=function(e){return"(?=("+Ar+"))\\"+e},Ct=function(e){return"(?:"+ir(e)+"(?:\\."+ir(e+1)+"){0,126}|"+lr+")"},De=ar,ot=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,Ot=new RegExp("[".concat(Mt,"!#$%&'*+/=?^_`{|}~-]")),Ye=new RegExp("^".concat(ot.source,"$")),at=function(e){function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.localPartCharRegex=Ot,r.strictTldRegex=Ye,r}return ue(t,e),t.prototype.parseMatches=function(r){for(var o=this.tagBuilder,n=this.localPartCharRegex,l=this.strictTldRegex,h=[],b=r.length,E=new zt,R={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},L=0,U=0,K=E;L<b;){var F=r.charAt(L);switch(U){case 0:V(F);break;case 1:f(r.charAt(L-1),F);break;case 2:Y(F);break;case 3:H(F);break;case 4:ne(F);break;case 5:ae(F);break;case 6:le(F);break;case 7:ye(F);break;default:W(U)}L++}return Ke(),h;function V($e){$e==="m"?he(1):n.test($e)&&he()}function f($e,xe){$e===":"?n.test(xe)?(U=2,K=new zt(Q(Q({},K),{hasMailtoPrefix:!0}))):Ee():R[$e]===xe||(n.test(xe)?U=2:xe==="."?U=3:xe==="@"?U=4:Ee())}function Y($e){$e==="."?U=3:$e==="@"?U=4:n.test($e)||Ee()}function H($e){$e==="."||$e==="@"?Ee():n.test($e)?U=2:Ee()}function ne($e){De.test($e)?U=5:Ee()}function ae($e){$e==="."?U=7:$e==="-"?U=6:De.test($e)||Ke()}function le($e){$e==="-"||$e==="."?Ke():De.test($e)?U=5:Ke()}function ye($e){$e==="."||$e==="-"?Ke():De.test($e)?(U=5,K=new zt(Q(Q({},K),{hasDomainDot:!0}))):Ke()}function he($e){$e===void 0&&($e=2),U=$e,K=new zt({idx:L})}function Ee(){U=0,K=E}function Ke(){if(K.hasDomainDot){var $e=r.slice(K.idx,L);/[-.]$/.test($e)&&($e=$e.slice(0,-1));var xe=K.hasMailtoPrefix?$e.slice(7):$e;(function(Ze){var Rt=Ze.split(".").pop()||"",Lt=Rt.toLowerCase();return l.test(Lt)})(xe)&&h.push(new ie({tagBuilder:o,matchedText:$e,offset:K.idx,email:xe}))}Ee()}},t}(Te),zt=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},Gt=function(){function e(){}return e.isValid=function(t,r){return!(r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(t,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(t,r)&&!this.isValidIpAddress(t)||this.containsMultipleDots(t))},e.isValidIpAddress=function(t){var r=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return t.match(r)!==null},e.containsMultipleDots=function(t){var r=t;return this.hasFullProtocolRegex.test(t)&&(r=t.split("://")[1]),r.split("/")[0].indexOf("..")>-1},e.isValidUriScheme=function(t){var r=t.match(this.uriSchemeRegex),o=r&&r[0].toLowerCase();return o!=="javascript:"&&o!=="vbscript:"},e.urlMatchDoesNotHaveProtocolOrDot=function(t,r){return!(!t||r&&this.hasFullProtocolRegex.test(r)||t.indexOf(".")!==-1)},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(t,r){return!(!t||!r)&&!this.hasFullProtocolRegex.test(r)&&!this.hasWordCharAfterProtocolRegex.test(t)},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+_t+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),Ir=(me=new RegExp("[/?#](?:["+Mt+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+Mt+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,Ct(2),")","|","(","(//)?",/(?:www\.)/.source,Ct(6),")","|","(","(//)?",Ct(10)+"\\.",ot.source,"(?![-"+yt+"])",")",")","(?::[0-9]+)?","(?:"+me.source+")?"].join(""),"gi")),te=new RegExp("["+Mt+"]"),ge=function(e){function t(r){var o=e.call(this,r)||this;return o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.matcherRegex=Ir,o.wordCharRegExp=te,o.stripPrefix=r.stripPrefix,o.stripTrailingSlash=r.stripTrailingSlash,o.decodePercentEncoding=r.decodePercentEncoding,o}return ue(t,e),t.prototype.parseMatches=function(r){for(var o,n=this.matcherRegex,l=this.stripPrefix,h=this.stripTrailingSlash,b=this.decodePercentEncoding,E=this.tagBuilder,R=[],L=function(){var K=o[0],F=o[1],V=o[4],f=o[5],Y=o[9],H=o.index,ne=f||Y,ae=r.charAt(H-1);if(!Gt.isValid(K,F)||H>0&&ae==="@"||H>0&&ne&&U.wordCharRegExp.test(ae))return"continue";if(/\?$/.test(K)&&(K=K.substr(0,K.length-1)),U.matchHasUnbalancedClosingParen(K))K=K.substr(0,K.length-1);else{var le=U.matchHasInvalidCharAfterTld(K,F);le>-1&&(K=K.substr(0,le))}var ye=["http://","https://"].find(function($e){return!!F&&F.indexOf($e)!==-1});if(ye){var he=K.indexOf(ye);K=K.substr(he),F=F.substr(he),H+=he}var Ee=F?"scheme":V?"www":"tld",Ke=!!F;R.push(new Fe({tagBuilder:E,matchedText:K,offset:H,urlMatchType:Ee,url:K,protocolUrlMatch:Ke,protocolRelativeMatch:!!ne,stripPrefix:l,stripTrailingSlash:h,decodePercentEncoding:b}))},U=this;(o=n.exec(r))!==null;)L();return R},t.prototype.matchHasUnbalancedClosingParen=function(r){var o,n=r.charAt(r.length-1);if(n===")")o="(";else if(n==="]")o="[";else{if(n!=="}")return!1;o="{"}for(var l=0,h=0,b=r.length-1;h<b;h++){var E=r.charAt(h);E===o?l++:E===n&&(l=Math.max(l-1,0))}return l===0},t.prototype.matchHasInvalidCharAfterTld=function(r,o){if(!r)return-1;var n=0;o&&(n=r.indexOf(":"),r=r.slice(n));var l=new RegExp("^((.?//)?[-."+Mt+"]*[-"+Mt+"]\\.[-"+Mt+"]+)").exec(r);return l===null?-1:(n+=l[1].length,r=r.slice(l[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(r)?n:-1)},t}(Te),Se=new RegExp("[_".concat(Mt,"]")),et=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="twitter",o.serviceName=r.serviceName,o}return ue(t,e),t.prototype.parseMatches=function(r){for(var o=this.tagBuilder,n=this.serviceName,l=[],h=r.length,b=0,E=-1,R=0;b<h;){var L=r.charAt(b);switch(R){case 0:U(L);break;case 1:K(L);break;case 2:F(L);break;case 3:V(L);break;default:W(R)}b++}return f(),l;function U(Y){Y==="#"?(R=2,E=b):ar.test(Y)&&(R=1)}function K(Y){ar.test(Y)||(R=0)}function F(Y){R=Se.test(Y)?3:ar.test(Y)?1:0}function V(Y){Se.test(Y)||(f(),E=-1,R=ar.test(Y)?1:0)}function f(){if(E>-1&&b-E<=140){var Y=r.slice(E,b),H=new se({tagBuilder:o,matchedText:Y,offset:E,serviceName:n,hashtag:Y.slice(1)});l.push(H)}}},t}(Te),ct=["twitter","facebook","instagram","tiktok"],ft=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),nt=function(e){function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.matcherRegex=ft,r}return ue(t,e),t.prototype.parseMatches=function(r){for(var o,n=this.matcherRegex,l=this.tagBuilder,h=[];(o=n.exec(r))!==null;){var b=o[0],E=b.replace(/[^0-9,;#]/g,""),R=!(!o[1]&&!o[2]),L=o.index==0?"":r.substr(o.index-1,1),U=r.substr(o.index+b.length,1),K=!L.match(/\d/)&&!U.match(/\d/);this.testMatch(o[3])&&this.testMatch(b)&&K&&h.push(new Ie({tagBuilder:l,matchedText:b,offset:o.index,number:E,plusSign:R}))}return h},t.prototype.testMatch=function(r){return Ne.test(r)},t}(Te),jt=new RegExp("@[_".concat(Mt,"]{1,50}(?![_").concat(Mt,"])"),"g"),Er=new RegExp("@[_.".concat(Mt,"]{1,30}(?![_").concat(Mt,"])"),"g"),Nt=new RegExp("@[-_.".concat(Mt,"]{1,50}(?![-_").concat(Mt,"])"),"g"),Re=new RegExp("@[_.".concat(Mt,"]{1,23}[_").concat(Mt,"](?![_").concat(Mt,"])"),"g"),Xe=new RegExp("[^"+Mt+"]"),it=function(e){function t(r){var o=e.call(this,r)||this;return o.serviceName="twitter",o.matcherRegexes={twitter:jt,instagram:Er,soundcloud:Nt,tiktok:Re},o.nonWordCharRegex=Xe,o.serviceName=r.serviceName,o}return ue(t,e),t.prototype.parseMatches=function(r){var o,n=this.serviceName,l=this.matcherRegexes[this.serviceName],h=this.nonWordCharRegex,b=this.tagBuilder,E=[];if(!l)return E;for(;(o=l.exec(r))!==null;){var R=o.index,L=r.charAt(R-1);if(R===0||h.test(L)){var U=o[0].replace(/\.+$/g,""),K=U.slice(1);E.push(new ve({tagBuilder:b,matchedText:U,offset:R,serviceName:n,mention:K}))}}return E},t}(Te);function St(e,t){for(var r,o=t.onOpenTag,n=t.onCloseTag,l=t.onText,h=t.onComment,b=t.onDoctype,E=new Sr,R=0,L=e.length,U=0,K=0,F=E;R<L;){var V=e.charAt(R);switch(U){case 0:f(V);break;case 1:Y(V);break;case 2:ne(V);break;case 3:H(V);break;case 4:ae(V);break;case 5:le(V);break;case 6:ye(V);break;case 7:he(V);break;case 8:Ee(V);break;case 9:Ke(V);break;case 10:$e(V);break;case 11:xe(V);break;case 12:Ze(V);break;case 13:Rt();break;case 14:Lt(V);break;case 15:gt(V);break;case 16:er(V);break;case 17:pt(V);break;case 18:wt(V);break;case 19:Ue(V);break;case 20:Bt(V);break;default:W(U)}R++}function f(Ut){Ut==="<"&&ur()}function Y(Ut){Ut==="!"?U=13:Ut==="/"?(U=2,F=new Sr(Q(Q({},F),{isClosing:!0}))):Ut==="<"?ur():He.test(Ut)?(U=3,F=new Sr(Q(Q({},F),{isOpening:!0}))):(U=0,F=E)}function H(Ut){Ce.test(Ut)?(F=new Sr(Q(Q({},F),{name:vr()})),U=4):Ut==="<"?ur():Ut==="/"?(F=new Sr(Q(Q({},F),{name:vr()})),U=12):Ut===">"?(F=new Sr(Q(Q({},F),{name:vr()})),Vt()):He.test(Ut)||tt.test(Ut)||Ut===":"||sr()}function ne(Ut){Ut===">"?sr():He.test(Ut)?U=3:sr()}function ae(Ut){Ce.test(Ut)||(Ut==="/"?U=12:Ut===">"?Vt():Ut==="<"?ur():Ut==="="||ht.test(Ut)||mt.test(Ut)?sr():U=5)}function le(Ut){Ce.test(Ut)?U=6:Ut==="/"?U=12:Ut==="="?U=7:Ut===">"?Vt():Ut==="<"?ur():ht.test(Ut)&&sr()}function ye(Ut){Ce.test(Ut)||(Ut==="/"?U=12:Ut==="="?U=7:Ut===">"?Vt():Ut==="<"?ur():ht.test(Ut)?sr():U=5)}function he(Ut){Ce.test(Ut)||(Ut==='"'?U=8:Ut==="'"?U=9:/[>=`]/.test(Ut)?sr():Ut==="<"?ur():U=10)}function Ee(Ut){Ut==='"'&&(U=11)}function Ke(Ut){Ut==="'"&&(U=11)}function $e(Ut){Ce.test(Ut)?U=4:Ut===">"?Vt():Ut==="<"&&ur()}function xe(Ut){Ce.test(Ut)?U=4:Ut==="/"?U=12:Ut===">"?Vt():Ut==="<"?ur():(U=4,R--)}function Ze(Ut){Ut===">"?(F=new Sr(Q(Q({},F),{isClosing:!0})),Vt()):U=4}function Rt(Ut){e.substr(R,2)==="--"?(R+=2,F=new Sr(Q(Q({},F),{type:"comment"})),U=14):e.substr(R,7).toUpperCase()==="DOCTYPE"?(R+=7,F=new Sr(Q(Q({},F),{type:"doctype"})),U=20):sr()}function Lt(Ut){Ut==="-"?U=15:Ut===">"?sr():U=16}function gt(Ut){Ut==="-"?U=18:Ut===">"?sr():U=16}function er(Ut){Ut==="-"&&(U=17)}function pt(Ut){U=Ut==="-"?18:16}function wt(Ut){Ut===">"?Vt():Ut==="!"?U=19:Ut==="-"||(U=16)}function Ue(Ut){Ut==="-"?U=17:Ut===">"?Vt():U=16}function Bt(Ut){Ut===">"?Vt():Ut==="<"&&ur()}function sr(){U=0,F=E}function ur(){U=1,F=new Sr({idx:R})}function Vt(){var Ut=e.slice(K,F.idx);Ut&&l(Ut,K),F.type==="comment"?h(F.idx):F.type==="doctype"?b(F.idx):(F.isOpening&&o(F.name,F.idx),F.isClosing&&n(F.name,F.idx)),sr(),K=R+1}function vr(){var Ut=F.idx+(F.isClosing?2:1);return e.slice(Ut,R).toLowerCase()}K<R&&(r=e.slice(K,R),l(r,K),K=R+1)}var Sr=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing},Mr=function(){function e(t){t===void 0&&(t={}),this.version=e.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(t.urls),this.email=typeof t.email=="boolean"?t.email:this.email,this.phone=typeof t.phone=="boolean"?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow=typeof t.newWindow=="boolean"?t.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash=typeof t.stripTrailingSlash=="boolean"?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=typeof t.decodePercentEncoding=="boolean"?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1;var r=this.mention;if(r!==!1&&["twitter","instagram","soundcloud","tiktok"].indexOf(r)===-1)throw new Error("invalid `mention` cfg '".concat(r,"' - see docs"));var o=this.hashtag;if(o!==!1&&ct.indexOf(o)===-1)throw new Error("invalid `hashtag` cfg '".concat(o,"' - see docs"));this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,r){return new e(r).link(t)},e.parse=function(t,r){return new e(r).parse(t)},e.prototype.normalizeUrlsCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{schemeMatches:t,wwwMatches:t,tldMatches:t}:{schemeMatches:typeof t.schemeMatches!="boolean"||t.schemeMatches,wwwMatches:typeof t.wwwMatches!="boolean"||t.wwwMatches,tldMatches:typeof t.tldMatches!="boolean"||t.tldMatches}},e.prototype.normalizeStripPrefixCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{scheme:t,www:t}:{scheme:typeof t.scheme!="boolean"||t.scheme,www:typeof t.www!="boolean"||t.www}},e.prototype.normalizeTruncateCfg=function(t){return typeof t=="number"?{length:t,location:"end"}:function(r,o){for(var n in o)o.hasOwnProperty(n)&&r[n]===void 0&&(r[n]=o[n]);return r}(t||{},{length:Number.POSITIVE_INFINITY,location:"end"})},e.prototype.parse=function(t){var r=this,o=["a","style","script"],n=0,l=[];return St(t,{onOpenTag:function(h){o.indexOf(h)>=0&&n++},onText:function(h,b){if(n===0){var E=function(L,U){if(!U.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var K,F=[],V=0;K=U.exec(L);)F.push(L.substring(V,K.index)),F.push(K[0]),V=K.index+K[0].length;return F.push(L.substring(V)),F}(h,/( | |<|<|>|>|"|"|')/gi),R=b;E.forEach(function(L,U){if(U%2==0){var K=r.parseText(L,R);l.push.apply(l,K)}R+=L.length})}},onCloseTag:function(h){o.indexOf(h)>=0&&(n=Math.max(n-1,0))},onComment:function(h){},onDoctype:function(h){}}),l=this.compactMatches(l),l=this.removeUnwantedMatches(l)},e.prototype.compactMatches=function(t){t.sort(function(E,R){return E.getOffset()-R.getOffset()});for(var r=0;r<t.length-1;){var o=t[r],n=o.getOffset(),l=o.getMatchedText().length,h=n+l;if(r+1<t.length){if(t[r+1].getOffset()===n){var b=t[r+1].getMatchedText().length>l?r:r+1;t.splice(b,1);continue}if(t[r+1].getOffset()<h){t.splice(r+1,1);continue}}r++}return t},e.prototype.removeUnwantedMatches=function(t){return this.hashtag||N(t,function(r){return r.getType()==="hashtag"}),this.email||N(t,function(r){return r.getType()==="email"}),this.phone||N(t,function(r){return r.getType()==="phone"}),this.mention||N(t,function(r){return r.getType()==="mention"}),this.urls.schemeMatches||N(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"}),this.urls.wwwMatches||N(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="www"}),this.urls.tldMatches||N(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="tld"}),t},e.prototype.parseText=function(t,r){r===void 0&&(r=0),r=r||0;for(var o=this.getMatchers(),n=[],l=0,h=o.length;l<h;l++){for(var b=o[l].parseMatches(t),E=0,R=b.length;E<R;E++)b[E].setOffset(r+b[E].getOffset());n.push.apply(n,b)}return n},e.prototype.link=function(t){if(!t)return"";this.sanitizeHtml&&(t=t.replace(/</g,"<").replace(/>/g,">"));for(var r=this.parse(t),o=[],n=0,l=0,h=r.length;l<h;l++){var b=r[l];o.push(t.substring(n,b.getOffset())),o.push(this.createMatchReturnVal(b)),n=b.getOffset()+b.getMatchedText().length}return o.push(t.substring(n)),o.join("")},e.prototype.createMatchReturnVal=function(t){var r;return this.replaceFn&&(r=this.replaceFn.call(this.context,t)),typeof r=="string"?r:r===!1?t.getMatchedText():r instanceof J?r.toAnchorString():t.buildTag().toAnchorString()},e.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var t=this.getTagBuilder(),r=[new et({tagBuilder:t,serviceName:this.hashtag}),new at({tagBuilder:t}),new nt({tagBuilder:t}),new it({tagBuilder:t,serviceName:this.mention}),new ge({tagBuilder:t,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=r},e.prototype.getTagBuilder=function(){var t=this.tagBuilder;return t||(t=this.tagBuilder=new ee({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),t},e.version="3.16.2",e.AnchorTagBuilder=ee,e.HtmlTag=J,e.matcher={Email:at,Hashtag:et,Matcher:Te,Mention:it,Phone:nt,Url:ge},e.match={Email:ie,Hashtag:se,Match:re,Mention:ve,Phone:Ie,Url:Fe},e}();const oo=Mr;var ao=/www|@|\:\/\//;function xo(e){return/^<a[>\s]/i.test(e)}function Ht(e){return/^<\/a\s*>/i.test(e)}function zr(){var e=[],t=new oo({stripPrefix:!1,url:!0,email:!0,replaceFn:function(r){switch(r.getType()){case"url":e.push({text:r.matchedText,url:r.getUrl()});break;case"email":e.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:t}}function Zr(e){var t,r,o,n,l,h,b,E,R,L,U,K,F,V=e.tokens,f=null;for(r=0,o=V.length;r<o;r++)if(V[r].type==="inline")for(U=0,t=(n=V[r].children).length-1;t>=0;t--)if((l=n[t]).type!=="link_close"){if(l.type==="htmltag"&&(xo(l.content)&&U>0&&U--,Ht(l.content)&&U++),!(U>0)&&l.type==="text"&&ao.test(l.content)){if(f||(K=(f=zr()).links,F=f.autolinker),h=l.content,K.length=0,F.link(h),!K.length)continue;for(b=[],L=l.level,E=0;E<K.length;E++)e.inline.validateLink(K[E].url)&&((R=h.indexOf(K[E].text))&&b.push({type:"text",content:h.slice(0,R),level:L}),b.push({type:"link_open",href:K[E].url,title:"",level:L++}),b.push({type:"text",content:K[E].text,level:L}),b.push({type:"link_close",level:--L}),h=h.slice(R+K[E].text.length));h.length&&b.push({type:"text",content:h,level:L}),V[r].children=n=[].concat(n.slice(0,t),b,n.slice(t+1))}}else for(t--;n[t].level!==l.level&&n[t].type!=="link_open";)t--}function Lo(e){e.core.ruler.push("linkify",Zr)}var wo=st(19232),Ao=st.n(wo),ko=st(50005),ia=st.n(ko),So=st(3986),Ea=st.n(So),dn=st(64089),da=st.n(dn),Qo=st(91729),za=st.n(Qo),Ya=st(67446),mr=st.n(Ya),wr=st(52932),br=st.n(wr),lo=st(18830),kr=st.n(lo),ba=st(43276),uo=st.n(ba),dt=st(13706),Oe=st.n(dt),Je=st(43633),kt=st.n(Je),Qt=st(63571),Pr=st.n(Qt),bt=st(15206),Jt=st.n(bt),Lr=st(61149),Cr=st.n(Lr),yo=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var l in n)n.hasOwnProperty(l)&&(o[l]=n[l])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),Uo=Object.prototype.hasOwnProperty;function fa(e,t){return Uo.call(e,t)}function ja(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;return t}if(Object.keys)return Object.keys(e);var o=[];for(var n in e)fa(e,n)&&o.push(n);return o}function ya(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function en(e){for(var t,r=0,o=e.length;r<o;){if(!((t=e.charCodeAt(r))>=48&&t<=57))return!1;r++}return!0}function nn(e){return e.indexOf("/")===-1&&e.indexOf("~")===-1?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Oa(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function sn(e){if(e===void 0)return!0;if(e){if(Array.isArray(e)){for(var t=0,r=e.length;t<r;t++)if(sn(e[t]))return!0}else if(typeof e=="object"){for(var o=ja(e),n=o.length,l=0;l<n;l++)if(sn(e[o[l]]))return!0}}return!1}function wn(e,t){var r=[e];for(var o in t){var n=typeof t[o]=="object"?JSON.stringify(t[o],null,2):t[o];n!==void 0&&r.push(o+": "+n)}return r.join(`
|
|
145
145
|
`)}var cn=function(e){function t(r,o,n,l,h){var b=this.constructor,E=e.call(this,wn(r,{name:o,index:n,operation:l,tree:h}))||this;return E.name=o,E.index=n,E.operation=l,E.tree=h,Object.setPrototypeOf(E,b.prototype),E.message=wn(r,{name:o,index:n,operation:l,tree:h}),E}return yo(t,e),t}(Error),va=cn,ln=ya,xn={add:function(e,t,r){return e[t]=this.value,{newDocument:r}},remove:function(e,t,r){var o=e[t];return delete e[t],{newDocument:r,removed:o}},replace:function(e,t,r){var o=e[t];return e[t]=this.value,{newDocument:r,removed:o}},move:function(e,t,r){var o=Za(r,this.path);o&&(o=ya(o));var n=zn(r,{op:"remove",path:this.from}).removed;return zn(r,{op:"add",path:this.path,value:n}),{newDocument:r,removed:o}},copy:function(e,t,r){var o=Za(r,this.from);return zn(r,{op:"add",path:this.path,value:ya(o)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:Ei(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},Ln={add:function(e,t,r){return en(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:r,index:t}},remove:function(e,t,r){return{newDocument:r,removed:e.splice(t,1)[0]}},replace:function(e,t,r){var o=e[t];return e[t]=this.value,{newDocument:r,removed:o}},move:xn.move,copy:xn.copy,test:xn.test,_get:xn._get};function Za(e,t){if(t=="")return e;var r={op:"_get",path:t};return zn(e,r),r.value}function zn(e,t,r,o,n,l){if(r===void 0&&(r=!1),o===void 0&&(o=!0),n===void 0&&(n=!0),l===void 0&&(l=0),r&&(typeof r=="function"?r(t,0,e,t.path):Ma(t,0)),t.path===""){var h={newDocument:e};if(t.op==="add")return h.newDocument=t.value,h;if(t.op==="replace")return h.newDocument=t.value,h.removed=e,h;if(t.op==="move"||t.op==="copy")return h.newDocument=Za(e,t.from),t.op==="move"&&(h.removed=e),h;if(t.op==="test"){if(h.test=Ei(e,t.value),h.test===!1)throw new va("Test operation failed","TEST_OPERATION_FAILED",l,t,e);return h.newDocument=e,h}if(t.op==="remove")return h.removed=e,h.newDocument=null,h;if(t.op==="_get")return t.value=e,h;if(r)throw new va("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",l,t,e);return h}o||(e=ya(e));var b=(t.path||"").split("/"),E=e,R=1,L=b.length,U=void 0,K=void 0,F=void 0;for(F=typeof r=="function"?r:Ma;;){if((K=b[R])&&K.indexOf("~")!=-1&&(K=Oa(K)),n&&(K=="__proto__"||K=="prototype"&&R>0&&b[R-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(r&&U===void 0&&(E[K]===void 0?U=b.slice(0,R).join("/"):R==L-1&&(U=t.path),U!==void 0&&F(t,0,e,U)),R++,Array.isArray(E)){if(K==="-")K=E.length;else{if(r&&!en(K))throw new va("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",l,t,e);en(K)&&(K=~~K)}if(R>=L){if(r&&t.op==="add"&&K>E.length)throw new va("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",l,t,e);if((h=Ln[t.op].call(t,E,K,e)).test===!1)throw new va("Test operation failed","TEST_OPERATION_FAILED",l,t,e);return h}}else if(R>=L){if((h=xn[t.op].call(t,E,K,e)).test===!1)throw new va("Test operation failed","TEST_OPERATION_FAILED",l,t,e);return h}if(E=E[K],r&&R<L&&(!E||typeof E!="object"))throw new va("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",l,t,e)}}function ni(e,t,r,o,n){if(o===void 0&&(o=!0),n===void 0&&(n=!0),r&&!Array.isArray(t))throw new va("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");o||(e=ya(e));for(var l=new Array(t.length),h=0,b=t.length;h<b;h++)l[h]=zn(e,t[h],r,!0,n,h),e=l[h].newDocument;return l.newDocument=e,l}function Fn(e,t,r){var o=zn(e,t);if(o.test===!1)throw new va("Test operation failed","TEST_OPERATION_FAILED",r,t,e);return o.newDocument}function Ma(e,t,r,o){if(typeof e!="object"||e===null||Array.isArray(e))throw new va("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,r);if(!xn[e.op])throw new va("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,r);if(typeof e.path!="string")throw new va("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,r);if(e.path.indexOf("/")!==0&&e.path.length>0)throw new va('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r);if((e.op==="move"||e.op==="copy")&&typeof e.from!="string")throw new va("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&e.value===void 0)throw new va("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&sn(e.value))throw new va("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,r);if(r){if(e.op=="add"){var n=e.path.split("/").length,l=o.split("/").length;if(n!==l+1&&n!==l)throw new va("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,r)}else if(e.op==="replace"||e.op==="remove"||e.op==="_get"){if(e.path!==o)throw new va("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,r)}else if(e.op==="move"||e.op==="copy"){var h=xi([{op:"_get",path:e.from,value:void 0}],r);if(h&&h.name==="OPERATION_PATH_UNRESOLVABLE")throw new va("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}}function xi(e,t,r){try{if(!Array.isArray(e))throw new va("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)ni(ya(t),ya(e),r||!0);else{r=r||Ma;for(var o=0;o<e.length;o++)r(e[o],o,t,void 0)}}catch(n){if(n instanceof va)return n;throw n}}function Ei(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r,o,n,l=Array.isArray(e),h=Array.isArray(t);if(l&&h){if((o=e.length)!=t.length)return!1;for(r=o;r--!=0;)if(!Ei(e[r],t[r]))return!1;return!0}if(l!=h)return!1;var b=Object.keys(e);if((o=b.length)!==Object.keys(t).length)return!1;for(r=o;r--!=0;)if(!t.hasOwnProperty(b[r]))return!1;for(r=o;r--!=0;)if(!Ei(e[n=b[r]],t[n]))return!1;return!0}return e!=e&&t!=t}var On=new WeakMap,Vn=function(e){this.observers=new Map,this.obj=e},ei=function(e,t){this.callback=e,this.observer=t};function os(e,t){t.unobserve()}function Pi(e,t){var r,o=function(b){return On.get(b)}(e);if(o){var n=function(b,E){return b.observers.get(E)}(o,t);r=n&&n.observer}else o=new Vn(e),On.set(e,o);if(r)return r;if(r={},o.value=ya(e),t){r.callback=t,r.next=null;var l=function(){Yi(r)},h=function(){clearTimeout(r.next),r.next=setTimeout(l)};typeof window<"u"&&(window.addEventListener("mouseup",h),window.addEventListener("keyup",h),window.addEventListener("mousedown",h),window.addEventListener("keydown",h),window.addEventListener("change",h))}return r.patches=[],r.object=e,r.unobserve=function(){Yi(r),clearTimeout(r.next),function(b,E){b.observers.delete(E.callback)}(o,r),typeof window<"u"&&(window.removeEventListener("mouseup",h),window.removeEventListener("keyup",h),window.removeEventListener("mousedown",h),window.removeEventListener("keydown",h),window.removeEventListener("change",h))},o.observers.set(t,new ei(t,r)),r}function Yi(e,t){t===void 0&&(t=!1);var r=On.get(e.object);pi(r.value,e.object,e.patches,"",t),e.patches.length&&ni(r.value,e.patches);var o=e.patches;return o.length>0&&(e.patches=[],e.callback&&e.callback(o)),o}function pi(e,t,r,o,n){if(t!==e){typeof t.toJSON=="function"&&(t=t.toJSON());for(var l=ja(t),h=ja(e),b=!1,E=h.length-1;E>=0;E--){var R=e[U=h[E]];if(!fa(t,U)||t[U]===void 0&&R!==void 0&&Array.isArray(t)===!1)Array.isArray(e)===Array.isArray(t)?(n&&r.push({op:"test",path:o+"/"+nn(U),value:ya(R)}),r.push({op:"remove",path:o+"/"+nn(U)}),b=!0):(n&&r.push({op:"test",path:o,value:e}),r.push({op:"replace",path:o,value:t}));else{var L=t[U];typeof R=="object"&&R!=null&&typeof L=="object"&&L!=null&&Array.isArray(R)===Array.isArray(L)?pi(R,L,r,o+"/"+nn(U),n):R!==L&&(n&&r.push({op:"test",path:o+"/"+nn(U),value:ya(R)}),r.push({op:"replace",path:o+"/"+nn(U),value:ya(L)}))}}if(b||l.length!=h.length)for(E=0;E<l.length;E++){var U;fa(e,U=l[E])||t[U]===void 0||r.push({op:"add",path:o+"/"+nn(U),value:ya(t[U])})}}}function Sa(e,t,r){r===void 0&&(r=!1);var o=[];return pi(e,t,o,"",r),o}Object.assign({},y,A,{JsonPatchError:cn,deepClone:ya,escapePathComponent:nn,unescapePathComponent:Oa});var Fi=st(94192),Si=st.n(Fi);const oa={add:function(e,t){return{op:"add",path:e,value:t}},replace:$n,remove:function(e){return{op:"remove",path:e}},merge:function(e,t){return{type:"mutation",op:"merge",path:e,value:t}},mergeDeep:function(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}},context:function(e,t){return{type:"context",path:e,value:t}},getIn:function(e,t){return t.reduce((r,o)=>o!==void 0&&r?r[o]:r,e)},applyPatch:function(e,t,r){if(r=r||{},(t={...t,path:t.path&&as(t.path)}).op==="merge"){const o=$i(e,t.path);Object.assign(o,t.value),ni(e,[$n(t.path,o)])}else if(t.op==="mergeDeep"){const o=$i(e,t.path),n=Si()(o,t.value);e=ni(e,[$n(t.path,n)]).newDocument}else if(t.op==="add"&&t.path===""&&qr(t.value))ni(e,Object.keys(t.value).reduce((o,n)=>(o.push({op:"add",path:`/${as(n)}`,value:t.value[n]}),o),[]));else if(t.op==="replace"&&t.path===""){let{value:o}=t;r.allowMetaPatches&&t.meta&&Pn(t)&&(Array.isArray(t.value)||qr(t.value))&&(o={...o,...t.meta}),e=o}else if(ni(e,[t]),r.allowMetaPatches&&t.meta&&Pn(t)&&(Array.isArray(t.value)||qr(t.value))){const o={...$i(e,t.path),...t.meta};ni(e,[$n(t.path,o)])}return e},parentPathMatch:function(e,t){if(!Array.isArray(t))return!1;for(let r=0,o=t.length;r<o;r+=1)if(t[r]!==e[r])return!1;return!0},flatten:Qe,fullyNormalizeArray:function(e){return dr(Qe(Ua(e)))},normalizeArray:Ua,isPromise:function(e){return qr(e)&&fo(e.then)},forEachNew:function(e,t){try{return Tt(e,Gr,t)}catch(r){return r}},forEachNewPrimitive:function(e,t){try{return Tt(e,io,t)}catch(r){return r}},isJsonPatch:tn,isContextPatch:function(e){return Yn(e)&&e.type==="context"},isPatch:Yn,isMutation:Cn,isAdditiveMutation:Pn,isGenerator:function(e){return Object.prototype.toString.call(e)==="[object GeneratorFunction]"},isFunction:fo,isObject:qr,isError:function(e){return e instanceof Error}};function as(e){return Array.isArray(e)?e.length<1?"":`/${e.map(t=>(t+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/")}`:e}function $n(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function Tt(e,t,r){return dr(Qe(e.filter(Pn).map(o=>t(o.value,r,o.path))||[]))}function io(e,t,r){return r=r||[],Array.isArray(e)?e.map((o,n)=>io(o,t,r.concat(n))):qr(e)?Object.keys(e).map(o=>io(e[o],t,r.concat(o))):t(e,r[r.length-1],r)}function Gr(e,t,r){let o=[];if((r=r||[]).length>0){const n=t(e,r[r.length-1],r);n&&(o=o.concat(n))}if(Array.isArray(e)){const n=e.map((l,h)=>Gr(l,t,r.concat(h)));n&&(o=o.concat(n))}else if(qr(e)){const n=Object.keys(e).map(l=>Gr(e[l],t,r.concat(l)));n&&(o=o.concat(n))}return o=Qe(o),o}function Ua(e){return Array.isArray(e)?e:[e]}function Qe(e){return[].concat(...e.map(t=>Array.isArray(t)?Qe(t):t))}function dr(e){return e.filter(t=>t!==void 0)}function qr(e){return e&&typeof e=="object"}function fo(e){return e&&typeof e=="function"}function tn(e){if(Yn(e)){const{op:t}=e;return t==="add"||t==="remove"||t==="replace"}return!1}function Cn(e){return tn(e)||Yn(e)&&e.type==="mutation"}function Pn(e){return Cn(e)&&(e.op==="add"||e.op==="replace"||e.op==="merge"||e.op==="mergeDeep")}function Yn(e){return e&&typeof e=="object"}function $i(e,t){try{return Za(e,t)}catch(r){return console.error(r),{}}}function fi(e){return e==null}var En={isNothing:fi,isObject:function(e){return typeof e=="object"&&e!==null},toArray:function(e){return Array.isArray(e)?e:fi(e)?[]:[e]},repeat:function(e,t){var r,o="";for(r=0;r<t;r+=1)o+=e;return o},isNegativeZero:function(e){return e===0&&Number.NEGATIVE_INFINITY===1/e},extend:function(e,t){var r,o,n,l;if(t)for(r=0,o=(l=Object.keys(t)).length;r<o;r+=1)e[n=l[r]]=t[n];return e}};function tc(e,t){var r="",o=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
|
146
146
|
|
|
147
147
|
`+e.mark.snippet),o+" "+r):o}function Zi(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=tc(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Zi.prototype=Object.create(Error.prototype),Zi.prototype.constructor=Zi,Zi.prototype.toString=function(e){return this.name+": "+tc(this,e)};var ka=Zi;function Ss(e,t,r,o,n){var l="",h="",b=Math.floor(n/2)-1;return o-t>b&&(t=o-b+(l=" ... ").length),r-o>b&&(r=o+b-(h=" ...").length),{str:l+e.slice(t,r).replace(/\t/g,"→")+h,pos:o-t+l.length}}function vi(e,t){return En.repeat(" ",t-e.length)+e}var el=function(e,t){if(t=Object.create(t||null),!e.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 r,o=/\r?\n|\r|\0/g,n=[0],l=[],h=-1;r=o.exec(e.buffer);)l.push(r.index),n.push(r.index+r[0].length),e.position<=r.index&&h<0&&(h=n.length-2);h<0&&(h=n.length-1);var b,E,R="",L=Math.min(e.line+t.linesAfter,l.length).toString().length,U=t.maxLength-(t.indent+L+3);for(b=1;b<=t.linesBefore&&!(h-b<0);b++)E=Ss(e.buffer,n[h-b],l[h-b],e.position-(n[h]-n[h-b]),U),R=En.repeat(" ",t.indent)+vi((e.line-b+1).toString(),L)+" | "+E.str+`
|
|
@@ -175,8 +175,8 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
|
|
|
175
175
|
`+e.slice(h+1):E+=e.slice(l),E.slice(1)}function Zd(e,t,r,o){var n,l,h,b="",E=e.tag;for(n=0,l=r.length;n<l;n+=1)h=r[n],e.replacer&&(h=e.replacer.call(r,String(n),h)),(yc(e,t+1,h,!0,!0,!1,!0)||h===void 0&&yc(e,t+1,null,!0,!0,!1,!0))&&(o&&b===""||(b+=ll(e,t)),e.dump&&ru===e.dump.charCodeAt(0)?b+="-":b+="- ",b+=e.dump);e.tag=E,e.dump=b||"[]"}function Qd(e,t,r){var o,n,l,h,b,E;for(l=0,h=(n=r?e.explicitTypes:e.implicitTypes).length;l<h;l+=1)if(((b=n[l]).instanceOf||b.predicate)&&(!b.instanceOf||typeof t=="object"&&t instanceof b.instanceOf)&&(!b.predicate||b.predicate(t))){if(r?b.multi&&b.representName?e.tag=b.representName(t):e.tag=b.tag:e.tag="?",b.represent){if(E=e.styleMap[b.tag]||b.defaultStyle,Ud.call(b.represent)==="[object Function]")o=b.represent(t,E);else{if(!Xl.call(b.represent,E))throw new ka("!<"+b.tag+'> tag resolver accepts not "'+E+'" style');o=b.represent[E](t,E)}e.dump=o}return!0}return!1}function yc(e,t,r,o,n,l,h){e.tag=null,e.dump=r,Qd(e,r,!1)||Qd(e,r,!0);var b,E=Ud.call(e.dump),R=o;o&&(o=e.flowLevel<0||e.flowLevel>t);var L,U,K=E==="[object Object]"||E==="[object Array]";if(K&&(U=(L=e.duplicates.indexOf(r))!==-1),(e.tag!==null&&e.tag!=="?"||U||e.indent!==2&&t>0)&&(n=!1),U&&e.usedDuplicates[L])e.dump="*ref_"+L;else{if(K&&U&&!e.usedDuplicates[L]&&(e.usedDuplicates[L]=!0),E==="[object Object]")o&&Object.keys(e.dump).length!==0?(function(F,V,f,Y){var H,ne,ae,le,ye,he,Ee="",Ke=F.tag,$e=Object.keys(f);if(F.sortKeys===!0)$e.sort();else if(typeof F.sortKeys=="function")$e.sort(F.sortKeys);else if(F.sortKeys)throw new ka("sortKeys must be a boolean or a function");for(H=0,ne=$e.length;H<ne;H+=1)he="",Y&&Ee===""||(he+=ll(F,V)),le=f[ae=$e[H]],F.replacer&&(le=F.replacer.call(f,ae,le)),yc(F,V+1,ae,!0,!0,!0)&&((ye=F.tag!==null&&F.tag!=="?"||F.dump&&F.dump.length>1024)&&(F.dump&&ru===F.dump.charCodeAt(0)?he+="?":he+="? "),he+=F.dump,ye&&(he+=ll(F,V)),yc(F,V+1,le,!0,ye)&&(F.dump&&ru===F.dump.charCodeAt(0)?he+=":":he+=": ",Ee+=he+=F.dump));F.tag=Ke,F.dump=Ee||"{}"}(e,t,e.dump,n),U&&(e.dump="&ref_"+L+e.dump)):(function(F,V,f){var Y,H,ne,ae,le,ye="",he=F.tag,Ee=Object.keys(f);for(Y=0,H=Ee.length;Y<H;Y+=1)le="",ye!==""&&(le+=", "),F.condenseFlow&&(le+='"'),ae=f[ne=Ee[Y]],F.replacer&&(ae=F.replacer.call(f,ne,ae)),yc(F,V,ne,!1,!1)&&(F.dump.length>1024&&(le+="? "),le+=F.dump+(F.condenseFlow?'"':"")+":"+(F.condenseFlow?"":" "),yc(F,V,ae,!1,!1)&&(ye+=le+=F.dump));F.tag=he,F.dump="{"+ye+"}"}(e,t,e.dump),U&&(e.dump="&ref_"+L+" "+e.dump));else if(E==="[object Array]")o&&e.dump.length!==0?(e.noArrayIndent&&!h&&t>0?Zd(e,t-1,e.dump,n):Zd(e,t,e.dump,n),U&&(e.dump="&ref_"+L+e.dump)):(function(F,V,f){var Y,H,ne,ae="",le=F.tag;for(Y=0,H=f.length;Y<H;Y+=1)ne=f[Y],F.replacer&&(ne=F.replacer.call(f,String(Y),ne)),(yc(F,V,ne,!1,!1)||ne===void 0&&yc(F,V,null,!1,!1))&&(ae!==""&&(ae+=","+(F.condenseFlow?"":" ")),ae+=F.dump);F.tag=le,F.dump="["+ae+"]"}(e,t,e.dump),U&&(e.dump="&ref_"+L+" "+e.dump));else{if(E!=="[object String]"){if(E==="[object Undefined]"||e.skipInvalid)return!1;throw new ka("unacceptable kind of an object to dump "+E)}e.tag!=="?"&&$h(e,e.dump,t,l,R)}e.tag!==null&&e.tag!=="?"&&(b=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),b=e.tag[0]==="!"?"!"+b:b.slice(0,18)==="tag:yaml.org,2002:"?"!!"+b.slice(18):"!<"+b+">",e.dump=b+" "+e.dump)}return!0}function qh(e,t){var r,o,n=[],l=[];for(Fu(e,n,l),r=0,o=l.length;r<o;r+=1)t.duplicates.push(n[l[r]]);t.usedDuplicates=new Array(o)}function Fu(e,t,r){var o,n,l;if(e!==null&&typeof e=="object")if((n=t.indexOf(e))!==-1)r.indexOf(n)===-1&&r.push(n);else if(t.push(e),Array.isArray(e))for(n=0,l=e.length;n<l;n+=1)Fu(e[n],t,r);else for(n=0,l=(o=Object.keys(e)).length;n<l;n+=1)Fu(e[o[n]],t,r)}var C0=function(e,t){var r=new Cs(t=t||{});r.noRefs||qh(e,r);var o=e;return r.replacer&&(o=r.replacer.call({"":o},"",o)),yc(r,0,o,!0,!0)?r.dump+`
|
|
176
176
|
`:""};function oc(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var Fp=Zn,Xd=di,Kh=An,ji=mc,cu=Al,Hh=Tc,Il=$d.load,$u=$d.loadAll,wc=C0,Vh=ka,P0={binary:zi,float:qi,map:Ol,null:Cc,pairs:Xi,set:Ns,timestamp:bc,bool:ns,int:Pc,merge:ri,omap:is,seq:kn,str:js},ac=oc("safeLoad","load"),$p=oc("safeLoadAll","loadAll"),Up=oc("safeDump","dump");const Ws={Type:Fp,Schema:Xd,FAILSAFE_SCHEMA:Kh,JSON_SCHEMA:ji,CORE_SCHEMA:cu,DEFAULT_SCHEMA:Hh,load:Il,loadAll:$u,dump:wc,YAMLException:Vh,types:P0,safeLoad:ac,safeLoadAll:$p,safeDump:Up};var zl=st(46632);function Qn(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function Un(e){return function t(r){return arguments.length===0||Qn(r)?t:e.apply(this,arguments)}}function Na(e){return function t(r,o){switch(arguments.length){case 0:return t;case 1:return Qn(r)?t:Un(function(n){return e(r,n)});default:return Qn(r)&&Qn(o)?t:Qn(r)?Un(function(n){return e(n,o)}):Qn(o)?Un(function(n){return e(r,n)}):e(r,o)}}}function Ti(e){return function t(r,o,n){switch(arguments.length){case 0:return t;case 1:return Qn(r)?t:Na(function(l,h){return e(r,l,h)});case 2:return Qn(r)&&Qn(o)?t:Qn(r)?Na(function(l,h){return e(l,o,h)}):Qn(o)?Na(function(l,h){return e(r,l,h)}):Un(function(l){return e(r,o,l)});default:return Qn(r)&&Qn(o)&&Qn(n)?t:Qn(r)&&Qn(o)?Na(function(l,h){return e(l,h,n)}):Qn(r)&&Qn(n)?Na(function(l,h){return e(l,o,h)}):Qn(o)&&Qn(n)?Na(function(l,h){return e(r,l,h)}):Qn(r)?Un(function(l){return e(l,o,n)}):Qn(o)?Un(function(l){return e(r,l,n)}):Qn(n)?Un(function(l){return e(r,o,l)}):e(r,o,n)}}}const hs=Number.isInteger||function(e){return e<<0===e};function kc(e){return Object.prototype.toString.call(e)==="[object String]"}var eg=Na(function(e,t){var r=e<0?t.length+e:e;return kc(t)?t.charAt(r):t[r]});const Uu=eg,dl=Na(function(e,t){return e.map(function(r){for(var o,n=t,l=0;l<r.length;){if(n==null)return;o=r[l],n=hs(o)?Uu(o,n):n[o],l+=1}return n})}),bi=Na(function(e,t){return dl([e],t)[0]}),qu=Ti(function(e,t,r){return e(bi(t,r))});function lu(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function tg(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}function Ku(e,t,r){for(var o=0,n=r.length;o<n;){if(e(t,r[o]))return!0;o+=1}return!1}function fs(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const gl=typeof Object.is=="function"?Object.is:function(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t};var rg=Object.prototype.toString;const og=function(){return rg.call(arguments)==="[object Arguments]"?function(e){return rg.call(e)==="[object Arguments]"}:function(e){return fs("callee",e)}}();var Wh=!{toString:null}.propertyIsEnumerable("toString"),qp=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Hu=function(){return arguments.propertyIsEnumerable("length")}(),Vu=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0;r+=1}return!1},Kp=Un(typeof Object.keys!="function"||Hu?function(e){if(Object(e)!==e)return[];var t,r,o=[],n=Hu&&og(e);for(t in e)!fs(t,e)||n&&t==="length"||(o[o.length]=t);if(Wh)for(r=qp.length-1;r>=0;)fs(t=qp[r],e)&&!Vu(o,t)&&(o[o.length]=t),r-=1;return o}:function(e){return Object(e)!==e?[]:Object.keys(e)});const hl=Kp,ms=Un(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function ag(e,t,r,o){var n=tg(e);function l(h,b){return Tl(h,b,r.slice(),o.slice())}return!Ku(function(h,b){return!Ku(l,b,h)},tg(t),n)}function Tl(e,t,r,o){if(gl(e,t))return!0;var n,l,h=ms(e);if(h!==ms(t))return!1;if(typeof e["fantasy-land/equals"]=="function"||typeof t["fantasy-land/equals"]=="function")return typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t)&&typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e);if(typeof e.equals=="function"||typeof t.equals=="function")return typeof e.equals=="function"&&e.equals(t)&&typeof t.equals=="function"&&t.equals(e);switch(h){case"Arguments":case"Array":case"Object":if(typeof e.constructor=="function"&&(n=e.constructor,((l=String(n).match(/^function (\w*)/))==null?"":l[1])==="Promise"))return e===t;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!gl(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!gl(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var b=r.length-1;b>=0;){if(r[b]===e)return o[b]===t;b-=1}switch(h){case"Map":return e.size===t.size&&ag(e.entries(),t.entries(),r.concat([e]),o.concat([t]));case"Set":return e.size===t.size&&ag(e.values(),t.values(),r.concat([e]),o.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var E=hl(e);if(E.length!==hl(t).length)return!1;var R=r.concat([e]),L=o.concat([t]);for(b=E.length-1;b>=0;){var U=E[b];if(!fs(U,t)||!Tl(t[U],e[U],R,L))return!1;b-=1}return!0}const Ki=Na(function(e,t){return Tl(e,t,[],[])});function fl(e,t){return function(r,o,n){var l,h;if(typeof r.indexOf=="function")switch(typeof o){case"number":if(o===0){for(l=1/o;n<r.length;){if((h=r[n])===0&&1/h===l)return n;n+=1}return-1}if(o!=o){for(;n<r.length;){if(typeof(h=r[n])=="number"&&h!=h)return n;n+=1}return-1}return r.indexOf(o,n);case"string":case"boolean":case"function":case"undefined":return r.indexOf(o,n);case"object":if(o===null)return r.indexOf(o,n)}for(;n<r.length;){if(Ki(r[n],o))return n;n+=1}return-1}(t,e,0)>=0}function Dc(e,t){for(var r=0,o=t.length,n=Array(o);r<o;)n[r]=e(t[r]),r+=1;return n}function Bc(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Rl=function(e){return(e<10?"0":"")+e};const uu=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Rl(e.getUTCMonth()+1)+"-"+Rl(e.getUTCDate())+"T"+Rl(e.getUTCHours())+":"+Rl(e.getUTCMinutes())+":"+Rl(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ng(e){return function(){return!e.apply(this,arguments)}}function Nl(e,t,r){for(var o=0,n=r.length;o<n;)t=e(t,r[o]),o+=1;return t}const si=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function nc(e,t,r){return function(){if(arguments.length===0)return r();var o=arguments[arguments.length-1];if(!si(o)){for(var n=0;n<e.length;){if(typeof o[e[n]]=="function")return o[e[n]].apply(o,Array.prototype.slice.call(arguments,0,-1));n+=1}if(function(l){return l!=null&&typeof l["@@transducer/step"]=="function"}(o))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(o)}return r.apply(this,arguments)}}function Js(e){return Object.prototype.toString.call(e)==="[object Object]"}const bs=function(){return this.xf["@@transducer/init"]()},Ps=function(e){return this.xf["@@transducer/result"](e)};var Jh=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.xf["@@transducer/step"](t,r):t},e}();function Gh(e){return function(t){return new Jh(e,t)}}var ig=Na(nc(["fantasy-land/filter","filter"],Gh,function(e,t){return Js(t)?Nl(function(r,o){return e(t[o])&&(r[o]=t[o]),r},{},hl(t)):function(r,o){for(var n=0,l=o.length,h=[];n<l;)r(o[n])&&(h[h.length]=o[n]),n+=1;return h}(e,t)}));const Yh=ig,Hp=Na(function(e,t){return Yh(ng(e),t)});function Vp(e,t){var r=function(l){var h=t.concat([e]);return fl(l,h)?"<Circular>":Vp(l,h)},o=function(l,h){return Dc(function(b){return Bc(b)+": "+r(l[b])},h.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Dc(r,e).join(", ")+"))";case"[object Array]":return"["+Dc(r,e).concat(o(e,Hp(function(l){return/^\d+$/.test(l)},hl(e)))).join(", ")+"]";case"[object Boolean]":return typeof e=="object"?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):Bc(uu(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return typeof e=="object"?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return typeof e=="object"?"new String("+r(e.valueOf())+")":Bc(e);case"[object Undefined]":return"undefined";default:if(typeof e.toString=="function"){var n=e.toString();if(n!=="[object Object]")return n}return"{"+o(e,hl(e)).join(", ")+"}"}}const ic=Un(function(e){return Vp(e,[])});var sg=Na(function(e,t){if(r=e,Object.prototype.toString.call(r)!=="[object RegExp]")throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+ic(e));var r;return lu(e).test(t)});const Wu=sg;function vs(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(r){return t.apply(this,arguments)};case 2:return function(r,o){return t.apply(this,arguments)};case 3:return function(r,o,n){return t.apply(this,arguments)};case 4:return function(r,o,n,l){return t.apply(this,arguments)};case 5:return function(r,o,n,l,h){return t.apply(this,arguments)};case 6:return function(r,o,n,l,h,b){return t.apply(this,arguments)};case 7:return function(r,o,n,l,h,b,E){return t.apply(this,arguments)};case 8:return function(r,o,n,l,h,b,E,R){return t.apply(this,arguments)};case 9:return function(r,o,n,l,h,b,E,R,L){return t.apply(this,arguments)};case 10:return function(r,o,n,l,h,b,E,R,L,U){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Ju(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const wi=Un(function(e){return!!si(e)||!!e&&typeof e=="object"&&!kc(e)&&(e.length===0||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))});var us=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Hi(e,t,r){return function(o,n,l){if(wi(l))return e(o,n,l);if(l==null)return n;if(typeof l["fantasy-land/reduce"]=="function")return t(o,n,l,"fantasy-land/reduce");if(l[us]!=null)return r(o,n,l[us]());if(typeof l.next=="function")return r(o,n,l);if(typeof l.reduce=="function")return t(o,n,l,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Wp(e,t,r){for(var o=0,n=r.length;o<n;){if((t=e["@@transducer/step"](t,r[o]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}o+=1}return e["@@transducer/result"](t)}var Gu=Na(function(e,t){return vs(e.length,function(){return e.apply(t,arguments)})});const es=Gu;function cg(e,t,r){for(var o=r.next();!o.done;){if((t=e["@@transducer/step"](t,o.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}o=r.next()}return e["@@transducer/result"](t)}function lg(e,t,r,o){return e["@@transducer/result"](r[o](es(e["@@transducer/step"],e),t))}const Mc=Hi(Wp,lg,cg);var Dl=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e}();function sc(e){return new Dl(e)}var Yu=Ti(function(e,t,r){return Mc(typeof e=="function"?sc(e):e,t,r)});const cc=Yu;function Jp(e,t){return function(){var r=arguments.length;if(r===0)return t();var o=arguments[r-1];return si(o)||typeof o[e]!="function"?t.apply(this,arguments):o[e].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}var Zh=Ti(Jp("slice",function(e,t,r){return Array.prototype.slice.call(r,e,t)}));const pu=Zh,du=Un(Jp("tail",pu(1,1/0)));function Oi(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return vs(arguments[0].length,cc(Ju,arguments[0],du(arguments)))}const ml=Na(function(e,t){return t==null||t!=t?e:t}),bl=Na(function(e,t){if(t!=null)return hs(e)?Uu(e,t):t[e]}),Zu=Ti(function(e,t,r){return ml(e,bl(t,r))}),gu=Uu(-1);function Gp(e,t,r){return function(){for(var o=[],n=0,l=e,h=0,b=!1;h<t.length||n<arguments.length;){var E;h<t.length&&(!Qn(t[h])||n>=arguments.length)?E=t[h]:(E=arguments[n],n+=1),o[h]=E,Qn(E)?b=!0:l-=1,h+=1}return!b&&l<=0?r.apply(this,o):vs(Math.max(0,l),Gp(e,o,r))}}var Yp=Na(function(e,t){return e===1?Un(t):vs(e,Gp(e,[],t))});const Xn=Yp;var Qh=Un(function(e){return Xn(e.length,e)});const Zp=Qh;function Qu(e){var t=Object.prototype.toString.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"}const Qp=Na(function(e,t){return Xn(e+1,function(){var r=arguments[e];if(r!=null&&Qu(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(ic(r)+' does not have a method named "'+t+'"')})}),Xp=Qp(1,"split");function I0(e,t){for(var r=t.length-1;r>=0&&e(t[r]);)r-=1;return pu(0,r+1,t)}var ug=function(){function e(t,r){this.f=t,this.retained=[],this.xf=r}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.retain(t,r):this.flush(t,r)},e.prototype.flush=function(t,r){return t=Mc(this.xf,t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,r)},e.prototype.retain=function(t,r){return this.retained.push(r),t},e}();function ed(e){return function(t){return new ug(e,t)}}const z0=Na(nc([],ed,I0)),Xh=Qp(1,"join");var T0=Un(function(e){return Xn(e.length,function(t,r){var o=Array.prototype.slice.call(arguments,0);return o[0]=r,o[1]=t,e.apply(this,o)})});const td=T0(Na(fl)),lc=Zp(function(e,t){return Oi(Xp(""),z0(td(e)),Xh(""))(t)});function Bs(e,t,r){for(var o=r.next();!o.done;)t=e(t,o.value),o=r.next();return t}function ef(e,t,r,o){return r[o](e,t)}const tf=Hi(Nl,ef,Bs);var rf=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){return this.xf["@@transducer/step"](t,this.f(r))},e}(),of=Na(nc(["fantasy-land/map","map"],function(e){return function(t){return new rf(e,t)}},function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Xn(t.length,function(){return e.call(this,t.apply(this,arguments))});case"[object Object]":return Nl(function(r,o){return r[o]=e(t[o]),r},{},hl(t));default:return Dc(e,t)}}));const hu=of,pg=Na(function(e,t){return typeof t["fantasy-land/ap"]=="function"?t["fantasy-land/ap"](e):typeof e.ap=="function"?e.ap(t):typeof e=="function"?function(r){return e(r)(t(r))}:tf(function(r,o){return function(n,l){var h;l=l||[];var b=(n=n||[]).length,E=l.length,R=[];for(h=0;h<b;)R[R.length]=n[h],h+=1;for(h=0;h<E;)R[R.length]=l[h],h+=1;return R}(r,hu(o,t))},[],e)});var af=Na(function(e,t){var r=Xn(e,t);return Xn(e,function(){return Nl(pg,hu(r,arguments[0]),Array.prototype.slice.call(arguments,1))})});const dg=af;var nf=Un(function(e){return dg(e.length,e)});const rd=nf,vl=rd(Un(function(e){return!e})),_a=Un(function(e){return function(){return e}}),fu=_a(void 0),uc=Ki(fu()),gg=vl(uc),od=Na(function(e,t){if(e===t)return t;function r(b,E){if(b>E!=E>b)return E>b?E:b}var o=r(e,t);if(o!==void 0)return o;var n=r(typeof e,typeof t);if(n!==void 0)return n===typeof e?e:t;var l=ic(e),h=r(l,ic(t));return h!==void 0&&h===l?e:t});var R0=Na(function(e,t){return hu(bl(e),t)});const hg=R0,sf=Un(function(e){return Xn(cc(od,0,hg("length",e)),function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})});var ad=function(e,t){switch(arguments.length){case 0:return ad;case 1:return function r(o){return arguments.length===0?r:gl(e,o)};default:return gl(e,t)}};const Lc=ad,Fc=Xn(1,Oi(ms,Lc("GeneratorFunction"))),Xu=Xn(1,Oi(ms,Lc("AsyncFunction"))),$c=sf([Oi(ms,Lc("Function")),Fc,Xu]);var N0=Ti(function(e,t,r){return r.replace(e,t)});const yl=N0,fg=Xn(1,Oi(ms,Lc("RegExp"))),D0=Ti(function(e,t,r){return e(r)?t(r):r}),wl=Xn(1,Oi(ms,Lc("String"))),cf=D0(wl,yl(/[.*+?^${}()|[\]\\-]/g,"\\$&"));var lf=function(e,t){if(typeof e!="string"&&!(e instanceof String))throw TypeError("`".concat(t,"` must be a string"))},M0=Xn(3,function(e,t,r){(function(n,l,h){if(h==null||n==null||l==null)throw TypeError("Input values must not be `null` or `undefined`")})(e,t,r),lf(r,"str"),lf(t,"replaceValue"),function(n){if(!(typeof n=="string"||n instanceof String||n instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")}(e);var o=new RegExp(fg(e)?e:cf(e),"g");return yl(o,t,r)}),L0=Qp(2,"replaceAll");const uf=$c(String.prototype.replaceAll)?L0:M0,nd=()=>qu(Wu(/^win/),["platform"],zl),id=e=>{try{const t=new URL(e);return lc(":",t.protocol)}catch{return}},mg=(Oi(id,gg),e=>{const t=e.lastIndexOf(".");return t>=0?e.substring(t).toLowerCase():""}),Bl=e=>{if(zl.browser)return!1;const t=id(e);return uc(t)||t==="file"||/^[a-zA-Z]$/.test(t)},Uc=e=>{const t=id(e);return t==="http"||t==="https"},sd=(e,t)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],o=Zu(!1,"keepFileProtocol",t),n=Zu(nd,"isWindows",t);let l=decodeURI(e);for(let b=0;b<r.length;b+=2)l=l.replace(r[b],r[b+1]);let h=l.substring(0,7).toLowerCase()==="file://";return h&&(l=l[7]==="/"?l.substring(8):l.substring(7),n()&&l[1]==="/"&&(l=`${l[0]}:${l.substring(1)}`),o?l=`file:///${l}`:(h=!1,l=n()?l:`/${l}`)),n()&&!h&&(l=uf("/","\\",l),l.substring(1,3)===":\\"&&(l=l[0].toUpperCase()+l.substring(1))),l},cd=e=>{const t=e.indexOf("#");return t!==-1?e.substring(t):"#"},Ri=e=>{const t=e.indexOf("#");let r=e;return t>=0&&(r=e.substring(0,t)),r},ep=()=>{if(zl.browser)return Ri(globalThis.location.href);const e=zl.cwd(),t=gu(e);return["/","\\"].includes(t)?e:e+(nd()?"\\":"/")},Vi=(e,t)=>{const r=new URL(t,new URL(e,"resolve://"));if(r.protocol==="resolve:"){const{pathname:o,search:n,hash:l}=r;return o+n+l}return r.toString()},tp=e=>{if(Bl(e))return(t=>{const r=[/\?/g,"%3F",/#/g,"%23"];let o=t;nd()&&(o=o.replace(/\\/g,"/")),o=encodeURI(o);for(let n=0;n<r.length;n+=2)o=o.replace(r[n],r[n+1]);return o})(sd(e));try{return new URL(e).toString()}catch{return encodeURI(decodeURI(e)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},Is=e=>Bl(e)?sd(e):decodeURI(e),{fetch:bg,Response:Qa,Headers:ys,Request:Ni,FormData:ps,File:Ml,Blob:vg}=globalThis;function Di(e,t){function r(...o){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,[this.message]=o,t&&t.apply(this,o)}return r.prototype=new Error,r.prototype.name=e,r.prototype.constructor=r,r}globalThis.fetch===void 0&&(globalThis.fetch=bg),globalThis.Headers===void 0&&(globalThis.Headers=ys),globalThis.Request===void 0&&(globalThis.Request=Ni),globalThis.Response===void 0&&(globalThis.Response=Qa),globalThis.FormData===void 0&&(globalThis.FormData=ps),globalThis.File===void 0&&(globalThis.File=Ml),globalThis.Blob===void 0&&(globalThis.Blob=vg);var ld=st(7356),mu=st.n(ld);const bu="application/json, application/yaml",qc="https://swagger.io",ud=Object.freeze({url:"/"}),yg=["properties"],wg=["properties"],kg=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],vu=["schema/example","items/example"];function xg(e){const t=e[e.length-1],r=e[e.length-2],o=e.join("/");return yg.indexOf(t)>-1&&wg.indexOf(r)===-1||kg.indexOf(o)>-1||vu.some(n=>o.indexOf(n)>-1)}function ta(e,t){const[r,o]=e.split("#"),n=t??"",l=r??"";let h;if(Uc(n))h=Vi(n,l);else{const b=Vi(qc,n),E=Vi(b,l).replace(qc,"");h=l.startsWith("/")?E:E.substring(1)}return o?`${h}#${o}`:h}const pd=/^([a-z]+:\/\/|\/\/)/i,kl=Di("JSONRefError",function(e,t,r){this.originalError=r,Object.assign(this,t||{})}),Wi={},Kc=new WeakMap,rp=[e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="examples",e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="content"&&e[7]==="example",e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="content"&&e[7]==="examples"&&e[9]==="value",e=>e[0]==="paths"&&e[3]==="requestBody"&&e[4]==="content"&&e[6]==="example",e=>e[0]==="paths"&&e[3]==="requestBody"&&e[4]==="content"&&e[6]==="examples"&&e[8]==="value",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="example",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="example",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="examples"&&e[6]==="value",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="examples"&&e[7]==="value",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="content"&&e[6]==="example",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="content"&&e[6]==="examples"&&e[8]==="value",e=>e[0]==="paths"&&e[3]==="parameters"&&e[4]==="content"&&e[7]==="example",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="content"&&e[7]==="examples"&&e[9]==="value"],op={key:"$ref",plugin:(e,t,r,o)=>{const n=o.getInstance(),l=r.slice(0,-1);if(xg(l)||(f=>rp.some(Y=>Y(f)))(l))return;const{baseDoc:h}=o.getContext(r);if(typeof e!="string")return new kl("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:h,fullPath:r});const b=hd(e),E=b[0],R=b[1]||"";let L,U,K;try{L=h||E?xc(E,h):null}catch(f){return Ll(f,{pointer:R,$ref:e,basePath:L,fullPath:r})}if(function(f,Y,H,ne){let ae=Kc.get(ne);ae||(ae={},Kc.set(ne,ae));const le=function(xe){return xe.length===0?"":`/${xe.map(zs).join("/")}`}(H),ye=`${Y||"<specmap-base>"}#${f}`,he=le.replace(/allOf\/\d+\/?/g,""),Ee=ne.contextTree.get([]).baseDoc;if(Y===Ee&&Sc(he,f))return!0;let Ke="";return H.some(xe=>(Ke=`${Ke}/${zs(xe)}`,ae[Ke]&&ae[Ke].some(Ze=>Sc(Ze,ye)||Sc(ye,Ze))))?!0:void(ae[he]=(ae[he]||[]).concat(ye))}(R,L,l,o)&&!n.useCircularStructures){const f=ta(e,L);return e===f?null:oa.replace(r,f)}if(L==null?(K=Fl(R),U=o.get(K),U===void 0&&(U=new kl(`Could not resolve reference: ${e}`,{pointer:R,$ref:e,baseDoc:h,fullPath:r}))):(U=ap(L,R),U=U.__value!=null?U.__value:U.catch(f=>{throw Ll(f,{pointer:R,$ref:e,baseDoc:h,fullPath:r})})),U instanceof Error)return[oa.remove(r),U];const F=ta(e,L),V=oa.replace(l,U,{$$ref:F});if(L&&L!==h)return[V,oa.context(l,{baseDoc:L})];try{if(!function(f,Y){const H=[f];return Y.path.reduce((ae,le)=>(H.push(ae[le]),ae[le]),f),ne(Y.value);function ne(ae){return oa.isObject(ae)&&(H.indexOf(ae)>=0||Object.keys(ae).some(le=>ne(ae[le])))}}(o.state,V)||n.useCircularStructures)return V}catch{return null}}},dd=Object.assign(op,{docCache:Wi,absoluteify:xc,clearCache:function(e){e!==void 0?delete Wi[e]:Object.keys(Wi).forEach(t=>{delete Wi[t]})},JSONRefError:kl,wrapError:Ll,getDoc:Ec,split:hd,extractFromDoc:ap,fetchJSON:function(e){return fetch(e,{headers:{Accept:bu},loadSpec:!0}).then(t=>t.text()).then(t=>Ws.load(t))},extract:yu,jsonPointerToArray:Fl,unescapeJsonPointerToken:np}),gd=dd;function xc(e,t){if(!pd.test(e)){if(!t)throw new kl(`Tried to resolve a relative URL, without having a basePath. path: '${e}' basePath: '${t}'`);return Vi(t,e)}return e}function Ll(e,t){let r;return r=e&&e.response&&e.response.body?`${e.response.body.code} ${e.response.body.message}`:e.message,new kl(`Could not resolve reference: ${r}`,t,e)}function hd(e){return(e+"").split("#")}function ap(e,t){const r=Wi[e];if(r&&!oa.isPromise(r))try{const o=yu(t,r);return Object.assign(Promise.resolve(o),{__value:o})}catch(o){return Promise.reject(o)}return Ec(e).then(o=>yu(t,o))}function Ec(e){const t=Wi[e];return t?oa.isPromise(t)?t:Promise.resolve(t):(Wi[e]=dd.fetchJSON(e).then(r=>(Wi[e]=r,r)),Wi[e])}function yu(e,t){const r=Fl(e);if(r.length<1)return t;const o=oa.getIn(t,r);if(o===void 0)throw new kl(`Could not resolve pointer: ${e} does not exist in document`,{pointer:e});return o}function Fl(e){if(typeof e!="string")throw new TypeError("Expected a string, got a "+typeof e);return e[0]==="/"&&(e=e.substr(1)),e===""?[]:e.split("/").map(np)}function np(e){return typeof e!="string"?e:new URLSearchParams(`=${e.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function zs(e){return new URLSearchParams([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const xl=e=>!e||e==="/"||e==="#";function Sc(e,t){if(xl(t))return!0;const r=e.charAt(t.length),o=t.slice(-1);return e.indexOf(t)===0&&(!r||r==="/"||r==="#")&&o!=="#"}const fd={key:"allOf",plugin:(e,t,r,o,n)=>{if(n.meta&&n.meta.$$ref)return;const l=r.slice(0,-1);if(xg(l))return;if(!Array.isArray(e)){const R=new TypeError("allOf must be an array");return R.fullPath=r,R}let h=!1,b=n.value;if(l.forEach(R=>{b&&(b=b[R])}),b={...b},Object.keys(b).length===0)return;delete b.allOf;const E=[];return E.push(o.replace(l,{})),e.forEach((R,L)=>{if(!o.isObject(R)){if(h)return null;h=!0;const K=new TypeError("Elements in allOf must be objects");return K.fullPath=r,E.push(K)}E.push(o.mergeDeep(l,R));const U=function(K,F,{specmap:V,getBaseUrlForNodePath:f=H=>V.getContext([...F,...H]).baseDoc,targetKeys:Y=["$ref","$$ref"]}={}){const H=[];return mu()(K).forEach(function(){if(Y.includes(this.key)&&typeof this.node=="string"){const ne=this.path,ae=F.concat(this.path),le=ta(this.node,f(ne));H.push(V.replace(ae,le))}}),H}(R,r.slice(0,-1),{getBaseUrlForNodePath:K=>o.getContext([...r,L,...K]).baseDoc,specmap:o});E.push(...U)}),b.example&&E.push(o.remove([].concat(l,"example"))),E.push(o.mergeDeep(l,b)),b.$$ref||E.push(o.remove([].concat(l,"$$ref"))),E}},Gs={key:"parameters",plugin:(e,t,r,o)=>{if(Array.isArray(e)&&e.length){const n=Object.assign([],e),l=r.slice(0,-1),h={...oa.getIn(o.spec,l)};for(let b=0;b<e.length;b+=1){const E=e[b];try{n[b].default=o.parameterMacro(h,E)}catch(R){const L=new Error(R);return L.fullPath=r,L}}return oa.replace(r,n)}return oa.replace(r,e)}},pf={key:"properties",plugin:(e,t,r,o)=>{const n={...e};for(const l in e)try{n[l].default=o.modelPropertyMacro(n[l])}catch(h){const b=new Error(h);return b.fullPath=r,b}return oa.replace(r,n)}};class wu{constructor(t){this.root=ip(t||{})}set(t,r){const o=this.getParent(t,!0);if(!o)return void sp(this.root,r,null);const n=t[t.length-1],{children:l}=o;l[n]?sp(l[n],r,o):l[n]=ip(r,o)}get(t){if((t=t||[]).length<1)return this.root.value;let r,o,n=this.root;for(let l=0;l<t.length&&(o=t[l],r=n.children,r[o]);l+=1)n=r[o];return n&&n.protoValue}getParent(t,r){return!t||t.length<1?null:t.length<2?this.root:t.slice(0,-1).reduce((o,n)=>{if(!o)return o;const{children:l}=o;return!l[n]&&r&&(l[n]=ip(null,o)),l[n]},this.root)}}function ip(e,t){return sp({children:{}},e,t)}function sp(e,t,r){return e.value=t||{},e.protoValue=r?{...r.protoValue,...e.value}:e.value,Object.keys(e.children).forEach(o=>{const n=e.children[o];e.children[o]=sp(n,n.value,e)}),e}const Eg=()=>{};class md{static getPluginName(t){return t.pluginName}static getPatchesOfType(t,r){return t.filter(r)}constructor(t){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new wu,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),oa,{getInstance:()=>this}),allowMetaPatches:!1},t),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(oa.isFunction),this.patches.push(oa.add([],this.spec)),this.patches.push(oa.context([],this.context)),this.updatePatches(this.patches)}debug(t,...r){this.debugLevel===t&&console.log(...r)}verbose(t,...r){this.debugLevel==="verbose"&&console.log(`[${t}] `,...r)}wrapPlugin(t,r){const{pathDiscriminator:o}=this;let n,l=null;return t[this.pluginProp]?(l=t,n=t[this.pluginProp]):oa.isFunction(t)?n=t:oa.isObject(t)&&(n=function(h){const b=(E,R)=>!Array.isArray(E)||E.every((L,U)=>L===R[U]);return function*(E,R){const L={};for(const[K,F]of E.filter(oa.isAdditiveMutation).entries()){if(!(K<3e3))return;yield*U(F.value,F.path,F)}function*U(K,F,V){if(oa.isObject(K)){const f=F.length-1,Y=F[f],H=F.indexOf("properties"),ne=Y==="properties"&&f===H,ae=R.allowMetaPatches&&L[K.$$ref];for(const le of Object.keys(K)){const ye=K[le],he=F.concat(le),Ee=oa.isObject(ye),Ke=K.$$ref;if(ae||Ee&&(R.allowMetaPatches&&Ke&&(L[Ke]=!0),yield*U(ye,he,V)),!ne&&le===h.key){const $e=b(o,F);o&&!$e||(yield h.plugin(ye,le,he,R,V))}}}else h.key===F[F.length-1]&&(yield h.plugin(K,h.key,F,R))}}}(t)),Object.assign(n.bind(l),{pluginName:t.name||r,isGenerator:oa.isGenerator(n)})}nextPlugin(){return this.wrappedPlugins.find(t=>this.getMutationsForPlugin(t).length>0)}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map(t=>t.value))}getPluginHistory(t){const r=this.constructor.getPluginName(t);return this.pluginHistory[r]||[]}getPluginRunCount(t){return this.getPluginHistory(t).length}getPluginHistoryTip(t){const r=this.getPluginHistory(t);return r&&r[r.length-1]||{}}getPluginMutationIndex(t){const r=this.getPluginHistoryTip(t).mutationIndex;return typeof r!="number"?-1:r}updatePluginHistory(t,r){const o=this.constructor.getPluginName(t);this.pluginHistory[o]=this.pluginHistory[o]||[],this.pluginHistory[o].push(r)}updatePatches(t){oa.normalizeArray(t).forEach(r=>{if(r instanceof Error)this.errors.push(r);else try{if(!oa.isObject(r))return void this.debug("updatePatches","Got a non-object patch",r);if(this.showDebug&&this.allPatches.push(r),oa.isPromise(r.value))return this.promisedPatches.push(r),void this.promisedPatchThen(r);if(oa.isContextPatch(r))return void this.setContext(r.path,r.value);oa.isMutation(r)&&this.updateMutations(r)}catch(o){console.error(o),this.errors.push(o)}})}updateMutations(t){typeof t.value=="object"&&!Array.isArray(t.value)&&this.allowMetaPatches&&(t.value={...t.value});const r=oa.applyPatch(this.state,t,{allowMetaPatches:this.allowMetaPatches});r&&(this.mutations.push(t),this.state=r)}removePromisedPatch(t){const r=this.promisedPatches.indexOf(t);r<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(r,1)}promisedPatchThen(t){return t.value=t.value.then(r=>{const o={...t,value:r};this.removePromisedPatch(t),this.updatePatches(o)}).catch(r=>{this.removePromisedPatch(t),this.updatePatches(r)}),t.value}getMutations(t,r){return t=t||0,typeof r!="number"&&(r=this.mutations.length),this.mutations.slice(t,r)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(t){const r=this.getPluginMutationIndex(t);return this.getMutations(r+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(t){return oa.getIn(this.state,t)}_getContext(t){return this.contextTree.get(t)}setContext(t,r){return this.contextTree.set(t,r)}_hasRun(t){return this.getPluginRunCount(this.getCurrentPlugin())>(t||0)}dispatch(){const t=this,r=this.nextPlugin();if(!r){const n=this.nextPromisedPatch();if(n)return n.then(()=>this.dispatch()).catch(()=>this.dispatch());const l={spec:this.state,errors:this.errors};return this.showDebug&&(l.patches=this.allPatches),Promise.resolve(l)}if(t.pluginCount=t.pluginCount||new WeakMap,t.pluginCount.set(r,(t.pluginCount.get(r)||0)+1),t.pluginCount[r]>100)return Promise.resolve({spec:t.state,errors:t.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(r!==this.currentPlugin&&this.promisedPatches.length){const n=this.promisedPatches.map(l=>l.value);return Promise.all(n.map(l=>l.then(Eg,Eg))).then(()=>this.dispatch())}return function(){t.currentPlugin=r;const n=t.getCurrentMutations(),l=t.mutations.length-1;try{if(r.isGenerator)for(const h of r(n,t.getLib()))o(h);else o(r(n,t.getLib()))}catch(h){console.error(h),o([Object.assign(Object.create(h),{plugin:r})])}finally{t.updatePluginHistory(r,{mutationIndex:l})}return t.dispatch()}();function o(n){n&&(n=oa.fullyNormalizeArray(n),t.updatePatches(n,r))}}}const Hc={refs:gd,allOf:fd,parameters:Gs,properties:pf},$l=e=>e.replace(/\W/gi,"_");function Ul(e,t,r="",{v2OperationIdCompatibilityMode:o}={}){return!e||typeof e!="object"?null:(e.operationId||"").replace(/\s/g,"").length?$l(e.operationId):function(n,l,{v2OperationIdCompatibilityMode:h}={}){if(h){let b=`${l.toLowerCase()}_${n}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return b=b||`${n.substring(1)}_${l}`,b.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${l.toLowerCase()}${$l(n)}`}(t,r,{v2OperationIdCompatibilityMode:o})}function cp(e){const{spec:t}=e,{paths:r}=t,o={};if(!r||t.$$normalized)return e;for(const n in r){const l=r[n];if(l==null||!["object","function"].includes(typeof l))continue;const h=l.parameters;for(const b in l){const E=l[b];if(E==null||!["object","function"].includes(typeof E))continue;const R=Ul(E,n,b);if(R){o[R]?o[R].push(E):o[R]=[E];const L=o[R];if(L.length>1)L.forEach((U,K)=>{U.__originalOperationId=U.__originalOperationId||U.operationId,U.operationId=`${R}${K+1}`});else if(E.operationId!==void 0){const U=L[0];U.__originalOperationId=U.__originalOperationId||E.operationId,U.operationId=R}}if(b!=="parameters"){const L=[],U={};for(const K in t)K!=="produces"&&K!=="consumes"&&K!=="security"||(U[K]=t[K],L.push(U));if(h&&(U.parameters=h,L.push(U)),L.length)for(const K of L)for(const F in K)if(E[F]){if(F==="parameters")for(const V of K[F])E[F].some(f=>f.name&&f.name===V.name||f.$ref&&f.$ref===V.$ref||f.$$ref&&f.$$ref===V.$$ref||f===V)||E[F].push(V)}else E[F]=K[F]}}}return t.$$normalized=!0,e}function ku(e,t={}){const{requestInterceptor:r,responseInterceptor:o}=t,n=e.withCredentials?"include":"same-origin";return l=>e({url:l,loadSpec:!0,requestInterceptor:r,responseInterceptor:o,headers:{Accept:bu},credentials:n}).then(h=>h.body)}var F0=st(72047),Sg=st.n(F0);const df=e=>":/?#[]@!$&'()*+,;=".indexOf(e)>-1,gf=e=>/^[a-z0-9\-._~]+$/i.test(e);function pc(e,{escape:t}={},r){return typeof e=="number"&&(e=e.toString()),typeof e=="string"&&e.length&&t?r?JSON.parse(e):[...e].map(o=>{if(gf(o)||df(o)&&t==="unsafe")return o;const n=new TextEncoder;return Array.from(n.encode(o)).map(l=>`0${l.toString(16).toUpperCase()}`.slice(-2)).map(l=>`%${l}`).join("")}).join(""):e}function _g(e){const{value:t}=e;return Array.isArray(t)?function({key:r,value:o,style:n,explode:l,escape:h}){const b=E=>pc(E,{escape:h});if(n==="simple")return o.map(E=>b(E)).join(",");if(n==="label")return`.${o.map(E=>b(E)).join(".")}`;if(n==="matrix")return o.map(E=>b(E)).reduce((E,R)=>!E||l?`${E||""};${r}=${R}`:`${E},${R}`,"");if(n==="form"){const E=l?`&${r}=`:",";return o.map(R=>b(R)).join(E)}if(n==="spaceDelimited"){const E=l?`${r}=`:"";return o.map(R=>b(R)).join(` ${E}`)}if(n==="pipeDelimited"){const E=l?`${r}=`:"";return o.map(R=>b(R)).join(`|${E}`)}}(e):typeof t=="object"?function({key:r,value:o,style:n,explode:l,escape:h}){const b=R=>pc(R,{escape:h}),E=Object.keys(o);if(n==="simple")return E.reduce((R,L)=>{const U=b(o[L]);return`${R?`${R},`:""}${L}${l?"=":","}${U}`},"");if(n==="label")return E.reduce((R,L)=>{const U=b(o[L]);return`${R?`${R}.`:"."}${L}${l?"=":"."}${U}`},"");if(n==="matrix"&&l)return E.reduce((R,L)=>`${R?`${R};`:";"}${L}=${b(o[L])}`,"");if(n==="matrix")return E.reduce((R,L)=>{const U=b(o[L]);return`${R?`${R},`:`;${r}=`}${L},${U}`},"");if(n==="form")return E.reduce((R,L)=>{const U=b(o[L]);return`${R?`${R}${l?"&":","}`:""}${L}${l?"=":","}${U}`},"")}(e):function({key:r,value:o,style:n,escape:l}){const h=b=>pc(b,{escape:l});if(n==="simple")return h(o);if(n==="label")return`.${h(o)}`;if(n==="matrix")return`;${r}=${h(o)}`;if(n==="form"||n==="deepObject")return h(o)}(e)}const jg={serializeRes:bd,mergeInQueryOrForm:lp};async function Ms(e,t={}){typeof e=="object"&&(e=(t=e).url),t.headers=t.headers||{},jg.mergeInQueryOrForm(t),t.headers&&Object.keys(t.headers).forEach(n=>{const l=t.headers[n];typeof l=="string"&&(t.headers[n]=l.replace(/\n+/g," "))}),t.requestInterceptor&&(t=await t.requestInterceptor(t)||t);const r=t.headers["content-type"]||t.headers["Content-Type"];let o;/multipart\/form-data/i.test(r)&&(delete t.headers["content-type"],delete t.headers["Content-Type"]);try{o=await(t.userFetch||fetch)(t.url,t),o=await jg.serializeRes(o,e,t),t.responseInterceptor&&(o=await t.responseInterceptor(o)||o)}catch(n){if(!o)throw n;const l=new Error(o.statusText||`response status is ${o.status}`);throw l.status=o.status,l.statusCode=o.status,l.responseError=n,l}if(!o.ok){const n=new Error(o.statusText||`response status is ${o.status}`);throw n.status=o.status,n.statusCode=o.status,n.response=o,n}return o}const $0=(e="")=>/(json|xml|yaml|text)\b/.test(e);function bd(e,t,{loadSpec:r=!1}={}){const o={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:hf(e.headers)},n=o.headers["content-type"],l=r||$0(n);return(l?e.text:e.blob||e.buffer).call(e).then(h=>{if(o.text=h,o.data=h,l)try{const b=function(E,R){return R&&(R.indexOf("application/json")===0||R.indexOf("+json")>0)?JSON.parse(E):Ws.load(E)}(h,n);o.body=b,o.obj=b}catch(b){o.parseError=b}return o})}function hf(e={}){return typeof e.entries!="function"?{}:Array.from(e.entries()).reduce((t,[r,o])=>(t[r]=function(n){return n.includes(", ")?n.split(", "):n}(o),t),{})}function vd(e,t){return t||typeof navigator>"u"||(t=navigator),t&&t.product==="ReactNative"?!(!e||typeof e!="object"||typeof e.uri!="string"):typeof File<"u"&&e instanceof File||typeof Blob<"u"&&e instanceof Blob||!!ArrayBuffer.isView(e)||e!==null&&typeof e=="object"&&typeof e.pipe=="function"}function Vc(e,t){return Array.isArray(e)&&e.some(r=>vd(r,t))}const U0={form:",",spaceDelimited:"%20",pipeDelimited:"|"},q0={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};class Og extends File{constructor(t,r="",o={}){super([t],r,o),this.data=t}valueOf(){return this.data}toString(){return this.valueOf()}}function Ls(e,t,r=!1){const{collectionFormat:o,allowEmptyValue:n,serializationOption:l,encoding:h}=t,b=typeof t!="object"||Array.isArray(t)?t:t.value,E=r?L=>L.toString():L=>encodeURIComponent(L),R=E(e);if(b===void 0&&n)return[[R,""]];if(vd(b)||Vc(b))return[[R,b]];if(l)return yd(e,b,r,l);if(h){if([typeof h.style,typeof h.explode,typeof h.allowReserved].some(L=>L!=="undefined")){const{style:L,explode:U,allowReserved:K}=h;return yd(e,b,r,{style:L,explode:U,allowReserved:K})}if(typeof h.contentType=="string"){if(h.contentType.startsWith("application/json")){const U=E(typeof b=="string"?b:JSON.stringify(b));return[[R,new Og(U,"blob",{type:h.contentType})]]}const L=E(String(b));return[[R,new Og(L,"blob",{type:h.contentType})]]}return typeof b!="object"?[[R,E(b)]]:Array.isArray(b)&&b.every(L=>typeof L!="object")?[[R,b.map(E).join(",")]]:[[R,E(JSON.stringify(b))]]}return typeof b!="object"?[[R,E(b)]]:Array.isArray(b)?o==="multi"?[[R,b.map(E)]]:[[R,b.map(E).join(q0[o||"csv"])]]:[[R,""]]}function yd(e,t,r,o){const n=o.style||"form",l=o.explode===void 0?n==="form":o.explode,h=!r&&(o&&o.allowReserved?"unsafe":"reserved"),b=R=>pc(R,{escape:h}),E=r?R=>R:R=>pc(R,{escape:h});return typeof t!="object"?[[E(e),b(t)]]:Array.isArray(t)?l?[[E(e),t.map(b)]]:[[E(e),t.map(b).join(U0[n])]]:n==="deepObject"?Object.keys(t).map(R=>[E(`${e}[${R}]`),b(t[R])]):l?Object.keys(t).map(R=>[E(R),b(t[R])]):[[E(e),Object.keys(t).map(R=>[`${E(R)},${b(t[R])}`]).join(",")]]}function Wc(e){const t=Object.keys(e).reduce((r,o)=>{for(const[n,l]of Ls(o,e[o]))r[n]=l instanceof Og?l.valueOf():l;return r},{});return Sg().stringify(t,{encode:!1,indices:!1})||""}function lp(e={}){const{url:t="",query:r,form:o}=e;if(o){const l=Object.keys(o).some(b=>{const{value:E}=o[b];return vd(E)||Vc(E)}),h=e.headers["content-type"]||e.headers["Content-Type"];if(l||/multipart\/form-data/i.test(h)){const b=(n=e.form,Object.entries(n).reduce((E,[R,L])=>{for(const[U,K]of Ls(R,L,!0))if(Array.isArray(K))for(const F of K)if(ArrayBuffer.isView(F)){const V=new Blob([F]);E.append(U,V)}else E.append(U,F);else if(ArrayBuffer.isView(K)){const F=new Blob([K]);E.append(U,F)}else E.append(U,K);return E},new FormData));e.formdata=b,e.body=b}else e.body=Wc(o);delete e.form}var n;if(r){const[l,h]=t.split("?");let b="";if(h){const R=Sg().parse(h);Object.keys(r).forEach(L=>delete R[L]),b=Sg().stringify(R,{encode:!0})}const E=((...R)=>{const L=R.filter(U=>U).join("&");return L?`?${L}`:""})(b,Wc(r));e.url=l+E,delete e.query}return e}function ql(e,t,r){return r=r||(o=>o),t=t||(o=>o),o=>(typeof o=="string"&&(o={url:o}),jg.mergeInQueryOrForm(o),o=t(o),r(e(o)))}const up=e=>{var t,r;const{baseDoc:o,url:n}=e,l=(t=o??n)!==null&&t!==void 0?t:"";return typeof((r=globalThis.document)===null||r===void 0?void 0:r.baseURI)=="string"?String(new URL(l,globalThis.document.baseURI)):l},wd=e=>{const{fetch:t,http:r}=e;return t||r||Ms};async function pp(e){const{spec:t,mode:r,allowMetaPatches:o=!0,pathDiscriminator:n,modelPropertyMacro:l,parameterMacro:h,requestInterceptor:b,responseInterceptor:E,skipNormalization:R,useCircularStructures:L}=e,U=up(e),K=wd(e);return function(F){U&&(Hc.refs.docCache[U]=F),Hc.refs.fetchJSON=ku(K,{requestInterceptor:b,responseInterceptor:E});const V=[Hc.refs];return typeof h=="function"&&V.push(Hc.parameters),typeof l=="function"&&V.push(Hc.properties),r!=="strict"&&V.push(Hc.allOf),(f={spec:F,context:{baseDoc:U},plugins:V,allowMetaPatches:o,pathDiscriminator:n,parameterMacro:h,modelPropertyMacro:l,useCircularStructures:L},new md(f).dispatch()).then(R?async Y=>Y:cp);var f}(t)}const K0={name:"generic",match:()=>!0,normalize({spec:e}){const{spec:t}=cp({spec:e});return t},resolve:async e=>pp(e)},xu=K0,kd=e=>{try{const{swagger:t}=e;return t==="2.0"}catch{return!1}},Ag=e=>{try{const{openapi:t}=e;return typeof t=="string"&&/^3\.0\.([0123])(?:-rc[012])?$/.test(t)}catch{return!1}},xd=e=>{try{const{openapi:t}=e;return typeof t=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},dp=e=>Ag(e)||xd(e),gp={name:"openapi-2",match:({spec:e})=>kd(e),normalize({spec:e}){const{spec:t}=cp({spec:e});return t},resolve:async e=>async function(t){return pp(t)}(e)},Eu=gp,ff={name:"openapi-3-0",match:({spec:e})=>Ag(e),normalize({spec:e}){const{spec:t}=cp({spec:e});return t},resolve:async e=>async function(t){return pp(t)}(e)},Cg=ff;var Or=st(53282);class H0 extends Or.Om{constructor(t,r,o){super(t,r,o),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}const Kl=H0;class c extends Or.Om{constructor(t,r,o){super(t,r,o),this.element="comment"}}const v=c;class D extends Or.wE{constructor(t,r,o){super(t,r,o),this.element="parseResult"}get api(){return this.children.filter(t=>t.classes.contains("api")).first}get results(){return this.children.filter(t=>t.classes.contains("result"))}get result(){return this.results.first}get annotations(){return this.children.filter(t=>t.element==="annotation")}get warnings(){return this.children.filter(t=>t.element==="annotation"&&t.classes.contains("warning"))}get errors(){return this.children.filter(t=>t.element==="annotation"&&t.classes.contains("error"))}get isEmpty(){return this.children.reject(t=>t.element==="annotation").isEmpty}replaceResult(t){const{result:r}=this;if(uc(r))return!1;const o=this.content.findIndex(n=>n===r);return o!==-1&&(this.content[o]=t,!0)}}const Z=D;class pe extends Or.wE{constructor(t,r,o){super(t,r,o),this.element="sourceMap"}get positionStart(){return this.children.filter(t=>t.classes.contains("position")).get(0)}get positionEnd(){return this.children.filter(t=>t.classes.contains("position")).get(1)}set position(t){if(t===void 0)return;const r=new Or.wE([t.start.row,t.start.column,t.start.char]),o=new Or.wE([t.end.row,t.end.column,t.end.char]);r.classes.push("position"),o.classes.push("position"),this.push(r).push(o)}}const Pe=pe;var qe=Ti(function(e,t,r){var o,n={};for(o in r=r||{},t=t||{})fs(o,t)&&(n[o]=fs(o,r)?e(o,t[o],r[o]):t[o]);for(o in r)fs(o,r)&&!fs(o,n)&&(n[o]=r[o]);return n});const ut=qe;var Kt=Ti(function e(t,r,o){return ut(function(n,l,h){return Js(l)&&Js(h)?e(t,l,h):t(n,l,h)},r,o)});const _r=Kt,bo=Na(function(e,t){return _r(function(r,o,n){return n},e,t)}),aa=pu(0,-1);var vo=Na(function(e,t){return e.apply(this,t)});const ma=vo,Ka=vl($c),La=Na(function(e,t){return e&&t}),jr=Na(function(e,t){return Qu(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:rd(La)(e,t)});var gr=Un(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():si(e)?[]:kc(e)?"":Js(e)?{}:og(e)?function(){return arguments}():function(t){var r=Object.prototype.toString.call(t);return r==="[object Uint8ClampedArray]"||r==="[object Int8Array]"||r==="[object Uint8Array]"||r==="[object Int16Array]"||r==="[object Uint16Array]"||r==="[object Int32Array]"||r==="[object Uint32Array]"||r==="[object Float32Array]"||r==="[object Float64Array]"||r==="[object BigInt64Array]"||r==="[object BigUint64Array]"}(e)?e.constructor.from(""):void 0});const xr=gr,no=Un(function(e){return e!=null&&Ki(e,xr(e))}),po=Xn(1,$c(Array.isArray)?Array.isArray:Oi(ms,Lc("Array"))),Ha=jr(po,no);var ga=Xn(3,function(e,t,r){var o=bi(e,r),n=bi(aa(e),r);if(!Ka(o)&&!Ha(e)){var l=es(o,n);return ma(l,t)}});const Va=ga;function gn(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Da=function(){function e(t,r){this.xf=r,this.f=t,this.all=!0}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)||(this.all=!1,t=gn(this.xf["@@transducer/step"](t,!1))),t},e}();function oi(e){return function(t){return new Da(e,t)}}var V0=Na(nc(["all"],oi,function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1;r+=1}return!0}));const W0=V0,Ox=(e,t)=>typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="function",Ax=e=>typeof e=="object"&&e!=null&&"_storedElement"in e&&typeof e._storedElement=="string"&&"_content"in e,Cx=(e,t)=>typeof t=="object"&&t!==null&&"primitive"in t&&typeof t.primitive=="function"&&t.primitive()===e,Px=(e,t)=>typeof t=="object"&&t!==null&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof Or.wE)&&t.classes.includes(e),Su=(e,t)=>typeof t=="object"&&t!==null&&"element"in t&&t.element===e,Xo=e=>e({hasMethod:Ox,hasBasicElementProps:Ax,primitiveEq:Cx,isElementType:Su,hasClass:Px}),ts=Xo(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Or.Hg||e(r)&&t(void 0,r)),bn=Xo(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Or.Om||e(r)&&t("string",r)),J0=Xo(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Or.kT||e(r)&&t("number",r)),G0=Xo(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Or.Os||e(r)&&t("null",r)),Pg=Xo(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Or.bd||e(r)&&t("boolean",r)),Rn=Xo(({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>o=>o instanceof Or.Sh||e(o)&&t("object",o)&&r("keys",o)&&r("values",o)&&r("items",o)),dc=Xo(({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>o=>o instanceof Or.wE&&!(o instanceof Or.Sh)||e(o)&&t("array",o)&&r("push",o)&&r("unshift",o)&&r("map",o)&&r("reduce",o)),Ys=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Or.Pr||e(o)&&t("member",o)&&r(void 0,o)),xy=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Or.Ft||e(o)&&t("link",o)&&r(void 0,o)),Ey=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Or.sI||e(o)&&t("ref",o)&&r(void 0,o)),Ix=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Kl||e(o)&&t("annotation",o)&&r("array",o)),zx=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof v||e(o)&&t("comment",o)&&r("string",o)),Sy=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Z||e(o)&&t("parseResult",o)&&r("array",o)),_y=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Pe||e(o)&&t("sourceMap",o)&&r("array",o)),hp=e=>Su("object",e)||Su("array",e)||Su("boolean",e)||Su("number",e)||Su("string",e)||Su("null",e)||Su("member",e),Ig=e=>_y(e.meta.get("sourceMap")),Tx=(e,t)=>{if(e.length===0)return!0;const r=t.attributes.get("symbols");return!!dc(r)&&W0(td(r.toValue()),e)},Ed=(e,t)=>e.length===0||W0(td(t.classes.toValue()),e),jy=Ki(null),Oy=vl(jy);function Y0(e){return Y0=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},Y0(e)}const Ay=function(e){return Y0(e)==="object"},Rx=Xn(1,jr(Oy,Ay));var Nx=Oi(ms,Lc("Object")),Dx=Oi(ic,Ki(ic(Object))),Bx=qu(jr($c,Dx),["constructor"]);const mf=Xn(1,function(e){if(!Rx(e)||!Nx(e))return!1;var t=Object.getPrototypeOf(e);return!!jy(t)||Bx(t)});class Cy extends Or.g${constructor(){super(),this.register("annotation",Kl),this.register("comment",v),this.register("parseResult",Z),this.register("sourceMap",Pe)}}const Mx=new Cy,Sd=e=>{const t=new Cy;return mf(e)&&t.use(e),t},Py=Mx,Iy=()=>({predicates:{...p},namespace:Py}),Z0=function(){return!1};var Lx=st(82559);const Fx=class extends Lx{constructor(e,t,r){if(super(e,t,r),this.name=this.constructor.name,typeof t=="string"&&(this.message=t),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,r!=null&&typeof r=="object"&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:o}=r;this.cause=o,o instanceof Error&&"stack"in o&&(this.stack=`${this.stack}
|
|
177
177
|
CAUSE: ${o.stack}`)}}};class $x extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(Fx,t)}constructor(t,r){if(super(t,r),this.name=this.constructor.name,typeof t=="string"&&(this.message=t),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,r!=null&&typeof r=="object"&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:o}=r;this.cause=o,o instanceof Error&&"stack"in o&&(this.stack=`${this.stack}
|
|
178
|
-
CAUSE: ${o.stack}`)}}}const ws=$x,zg=class extends ws{constructor(e,t){if(super(e,t),t!=null&&typeof t=="object"){const{cause:r,...o}=t;Object.assign(this,o)}}},Q0=(e,t,r)=>{const o=e[t];if(o!=null){if(!r&&typeof o=="function")return o;const n=r?o.leave:o.enter;if(typeof n=="function")return n}else{const n=r?e.leave:e.enter;if(n!=null){if(typeof n=="function")return n;const l=n[t];if(typeof l=="function")return l}}return null},hn={},bf=e=>e==null?void 0:e.type,zy=e=>typeof bf(e)=="string",X0=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),Ty=(e,{visitFnGetter:t=Q0,nodeTypeGetter:r=bf,breakSymbol:o=hn,deleteNodeSymbol:n=null,skipVisitingNodeSymbol:l=!1,exposeEdits:h=!1}={})=>{const b=Symbol("skip"),E=new Array(e.length).fill(b);return{enter(R,...L){let U=R,K=!1;for(let F=0;F<e.length;F+=1)if(E[F]===b){const V=t(e[F],r(U),!1);if(typeof V=="function"){const f=V.call(e[F],U,...L);if(f===l)E[F]=R;else if(f===o)E[F]=o;else{if(f===n)return f;if(f!==void 0){if(!h)return f;U=f,K=!0}}}}return K?U:void 0},leave(R,...L){for(let U=0;U<e.length;U+=1)if(E[U]===b){const K=t(e[U],r(R),!0);if(typeof K=="function"){const F=K.call(e[U],R,...L);if(F===o)E[U]=o;else if(F!==void 0&&F!==l)return F}}else E[U]===R&&(E[U]=b)}}},eb=(e,t,{keyMap:r=null,state:o={},breakSymbol:n=hn,deleteNodeSymbol:l=null,skipVisitingNodeSymbol:h=!1,visitFnGetter:b=Q0,nodeTypeGetter:E=bf,nodePredicate:R=zy,nodeCloneFn:L=X0,detectCycles:U=!0}={})=>{const K=r||{};let F,V,f=Array.isArray(e),Y=[e],H=-1,ne=[],ae=e;const le=[],ye=[];do{H+=1;const Ee=H===Y.length;let Ke;const $e=Ee&&ne.length!==0;if(Ee){if(Ke=ye.length===0?void 0:le.pop(),ae=V,V=ye.pop(),$e)if(f){ae=ae.slice();let Ze=0;for(const[Rt,Lt]of ne){const gt=Rt-Ze;Lt===l?(ae.splice(gt,1),Ze+=1):ae[gt]=Lt}}else{ae=L(ae);for(const[Ze,Rt]of ne)ae[Ze]=Rt}H=F.index,Y=F.keys,ne=F.edits,f=F.inArray,F=F.prev}else if(V!==l&&V!==void 0){if(Ke=f?H:Y[H],ae=V[Ke],ae===l||ae===void 0)continue;le.push(Ke)}let xe;if(!Array.isArray(ae)){if(!R(ae))throw new zg(`Invalid AST Node: ${String(ae)}`,{node:ae});if(U&&ye.includes(ae)){le.pop();continue}const Ze=b(t,E(ae),Ee);if(Ze){for(const[Rt,Lt]of Object.entries(o))t[Rt]=Lt;xe=Ze.call(t,ae,Ke,V,le,ye)}if(xe===n)break;if(xe===h){if(!Ee){le.pop();continue}}else if(xe!==void 0&&(ne.push([Ke,xe]),!Ee)){if(!R(xe)){le.pop();continue}ae=xe}}var he;xe===void 0&&$e&&ne.push([Ke,ae]),!Ee&&(F={inArray:f,index:H,keys:Y,edits:ne,prev:F},f=Array.isArray(ae),Y=f?ae:(he=K[E(ae)])!==null&&he!==void 0?he:[],H=-1,ne=[],V!==l&&V!==void 0&&ye.push(V),V=ae)}while(F!==void 0);return ne.length!==0?ne[ne.length-1][1]:e};eb[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:o={},breakSymbol:n=hn,deleteNodeSymbol:l=null,skipVisitingNodeSymbol:h=!1,visitFnGetter:b=Q0,nodeTypeGetter:E=bf,nodePredicate:R=zy,nodeCloneFn:L=X0,detectCycles:U=!0}={})=>{const K=r||{};let F,V,f=Array.isArray(e),Y=[e],H=-1,ne=[],ae=e;const le=[],ye=[];do{H+=1;const Ee=H===Y.length;let Ke;const $e=Ee&&ne.length!==0;if(Ee){if(Ke=ye.length===0?void 0:le.pop(),ae=V,V=ye.pop(),$e)if(f){ae=ae.slice();let Ze=0;for(const[Rt,Lt]of ne){const gt=Rt-Ze;Lt===l?(ae.splice(gt,1),Ze+=1):ae[gt]=Lt}}else{ae=L(ae);for(const[Ze,Rt]of ne)ae[Ze]=Rt}H=F.index,Y=F.keys,ne=F.edits,f=F.inArray,F=F.prev}else if(V!==l&&V!==void 0){if(Ke=f?H:Y[H],ae=V[Ke],ae===l||ae===void 0)continue;le.push(Ke)}let xe;if(!Array.isArray(ae)){if(!R(ae))throw new zg(`Invalid AST Node: ${String(ae)}`,{node:ae});if(U&&ye.includes(ae)){le.pop();continue}const Ze=b(t,E(ae),Ee);if(Ze){for(const[Rt,Lt]of Object.entries(o))t[Rt]=Lt;xe=await Ze.call(t,ae,Ke,V,le,ye)}if(xe===n)break;if(xe===h){if(!Ee){le.pop();continue}}else if(xe!==void 0&&(ne.push([Ke,xe]),!Ee)){if(!R(xe)){le.pop();continue}ae=xe}}var he;xe===void 0&&$e&&ne.push([Ke,ae]),!Ee&&(F={inArray:f,index:H,keys:Y,edits:ne,prev:F},f=Array.isArray(ae),Y=f?ae:(he=K[E(ae)])!==null&&he!==void 0?he:[],H=-1,ne=[],V!==l&&V!==void 0&&ye.push(V),V=ae)}while(F!==void 0);return ne.length!==0?ne[ne.length-1][1]:e};const Ry=class extends zg{constructor(t,r){super(t,r);Io(this,"value");r!==void 0&&(this.value=r.value)}},Ux=class extends Ry{},qx=class extends Ry{},No=(e,t={})=>{const{visited:r=new WeakMap}=t,o={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof Or.KeyValuePair){const{key:n,value:l}=e,h=ts(n)?No(n,o):n,b=ts(l)?No(l,o):l,E=new Or.KeyValuePair(h,b);return r.set(e,E),E}if(e instanceof Or.ot){const n=b=>No(b,o),l=[...e].map(n),h=new Or.ot(l);return r.set(e,h),h}if(e instanceof Or.G6){const n=b=>No(b,o),l=[...e].map(n),h=new Or.G6(l);return r.set(e,h),h}if(ts(e)){const n=Fs(e);if(r.set(e,n),e.content)if(ts(e.content))n.content=No(e.content,o);else if(e.content instanceof Or.KeyValuePair)n.content=No(e.content,o);else if(Array.isArray(e.content)){const l=h=>No(h,o);n.content=e.content.map(l)}else n.content=e.content;else n.content=e.content;return n}throw new Ux("Value provided to cloneDeep function couldn't be cloned",{value:e})};No.safe=e=>{try{return No(e)}catch{return e}};const Ny=e=>{const{key:t,value:r}=e;return new Or.KeyValuePair(t,r)},Dy=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=No(e.meta)),e.attributes.length>0&&(t._attributes=No(e.attributes)),ts(e.content)){const r=e.content;t.content=Dy(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof Or.KeyValuePair?t.content=Ny(e.content):t.content=e.content;return t},Fs=e=>{if(e instanceof Or.KeyValuePair)return Ny(e);if(e instanceof Or.ot)return(t=>{const r=[...t];return new Or.ot(r)})(e);if(e instanceof Or.G6)return(t=>{const r=[...t];return new Or.G6(r)})(e);if(ts(e))return Dy(e);throw new qx("Value provided to cloneShallow function couldn't be cloned",{value:e})};Fs.safe=e=>{try{return Fs(e)}catch{return e}};const _d=e=>Rn(e)?"ObjectElement":dc(e)?"ArrayElement":Ys(e)?"MemberElement":bn(e)?"StringElement":Pg(e)?"BooleanElement":J0(e)?"NumberElement":G0(e)?"NullElement":xy(e)?"LinkElement":Ey(e)?"RefElement":void 0,By=e=>ts(e)?Fs(e):X0(e),My=Oi(_d,wl),jd={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};class Ly{constructor({predicate:t=Z0,returnOnTrue:r,returnOnFalse:o}={}){Io(this,"result");Io(this,"predicate");Io(this,"returnOnTrue");Io(this,"returnOnFalse");this.result=[],this.predicate=t,this.returnOnTrue=r,this.returnOnFalse=o}enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}const Ts=(e,t,{keyMap:r=jd,...o}={})=>eb(e,t,{keyMap:r,nodeTypeGetter:_d,nodePredicate:My,nodeCloneFn:By,...o});Ts[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=jd,...o}={})=>eb[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:_d,nodePredicate:My,nodeCloneFn:By,...o});const Kx={toolboxCreator:Iy,visitorOptions:{nodeTypeGetter:_d,exposeEdits:!0}},Tg=(e,t,r={})=>{if(t.length===0)return e;const o=bo(Kx,r),{toolboxCreator:n,visitorOptions:l}=o,h=n(),b=t.map(L=>L(h)),E=Ty(b.map(Zu({},"visitor")),{...l});b.forEach(Va(["pre"],[]));const R=Ts(e,E,l);return b.forEach(Va(["post"],[])),R},Hx=(e,{Type:t,plugins:r=[]})=>{const o=new t(e);return ts(e)&&(e.meta.length>0&&(o.meta=No(e.meta)),e.attributes.length>0&&(o.attributes=No(e.attributes))),Tg(o,r,{toolboxCreator:Iy,visitorOptions:{nodeTypeGetter:_d}})},_c=e=>(t,r={})=>Hx(t,{...r,Type:e});Or.Sh.refract=_c(Or.Sh),Or.wE.refract=_c(Or.wE),Or.Om.refract=_c(Or.Om),Or.bd.refract=_c(Or.bd),Or.Os.refract=_c(Or.Os),Or.kT.refract=_c(Or.kT),Or.Ft.refract=_c(Or.Ft),Or.sI.refract=_c(Or.sI),Kl.refract=_c(Kl),v.refract=_c(v),Z.refract=_c(Z),Pe.refract=_c(Pe);const vf=(e,t=new WeakMap)=>(Ys(e)?(t.set(e.key,e),vf(e.key,t),t.set(e.value,e),vf(e.value,t)):e.children.forEach(r=>{t.set(r,e),vf(r,t)}),t),Vx=class{constructor({element:e}){Io(this,"element");Io(this,"edges");this.element=e}transclude(e,t){var r;if(e===this.element)return t;if(e===t)return this.element;this.edges=(r=this.edges)!==null&&r!==void 0?r:vf(this.element);const o=this.edges.get(e);return uc(o)?void 0:(Rn(o)?((n,l,h)=>{const b=h.get(n);Rn(b)&&(b.content=b.map((E,R,L)=>L===n?(h.delete(n),h.set(l,b),l):L))})(e,t,this.edges):dc(o)?((n,l,h)=>{const b=h.get(n);dc(b)&&(b.content=b.map(E=>E===n?(h.delete(n),h.set(l,b),l):E))})(e,t,this.edges):Ys(o)&&((n,l,h)=>{const b=h.get(n);Ys(b)&&(b.key===n&&(b.key=l,h.delete(n),h.set(l,b)),b.value===n&&(b.value=l,h.delete(n),h.set(l,b)))})(e,t,this.edges),this.element)}},Hl=function(){return!0},Fy=e=>typeof(e==null?void 0:e.type)=="string"?e.type:_d(e),$y={EphemeralObject:["content"],EphemeralArray:["content"],...jd},Uy=(e,t,{keyMap:r=$y,...o}={})=>Ts(e,t,{keyMap:r,nodeTypeGetter:Fy,nodePredicate:Hl,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...o});Uy[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=$y,...r}={})=>Ts[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Fy,nodePredicate:Hl,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const Wx=class{constructor(e){Io(this,"type","EphemeralArray");Io(this,"content",[]);Io(this,"reference");this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}},Jx=class{constructor(e){Io(this,"type","EphemeralObject");Io(this,"content",[]);Io(this,"reference");this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class Gx{constructor(){Io(this,"ObjectElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new Jx(t.content);return this.references.set(t,r),r}});Io(this,"EphemeralObject",{leave:t=>t.toObject()});Io(this,"MemberElement",{enter:t=>[t.key,t.value]});Io(this,"ArrayElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new Wx(t.content);return this.references.set(t,r),r}});Io(this,"EphemeralArray",{leave:t=>t.toArray()});Io(this,"references",new WeakMap)}BooleanElement(t){return t.toValue()}NumberElement(t){return t.toValue()}StringElement(t){return t.toValue()}NullElement(){return null}RefElement(t,...r){var o;const n=r[3];return((o=n[n.length-1])===null||o===void 0?void 0:o.type)==="EphemeralObject"?Symbol.for("delete-node"):String(t.toValue())}LinkElement(t){return bn(t.href)?t.href.toValue():""}}const ro=e=>ts(e)?bn(e)||J0(e)||Pg(e)||G0(e)?e.toValue():Uy(e,new Gx):e,Yx=Oi(yl(/~/g,"~0"),yl(/\//g,"~1"),encodeURIComponent),tb=class extends zg{},Zx=class extends tb{constructor(t,r){super(t,r);Io(this,"tokens");r!==void 0&&(this.tokens=[...r.tokens])}},Qx=e=>{try{return e.length===0?"":`/${e.map(Yx).join("/")}`}catch(t){throw new Zx("JSON Pointer compilation of tokens encountered an error.",{tokens:e,cause:t})}};var Xx=Na(function(e,t){return Xn(cc(od,0,hg("length",t)),function(){var r=arguments,o=this;return e.apply(o,Dc(function(n){return n.apply(o,r)},t))})});const e2=Xx;function t2(e){return e}const r2=Un(t2);var o2=jr(Xn(1,Oi(ms,Lc("Number"))),isFinite),a2=Xn(1,o2),n2=jr($c(Number.isFinite)?Xn(1,es(Number.isFinite,Number)):a2,e2(Ki,[Math.floor,r2])),i2=Xn(1,n2);const s2=$c(Number.isInteger)?Xn(1,es(Number.isInteger,Number)):i2;var c2=function(){function e(t,r){this.xf=r,this.n=t,this.i=0}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){this.i+=1;var o=this.n===0?t:this.xf["@@transducer/step"](t,r);return this.n>=0&&this.i>=this.n?gn(o):o},e}();function l2(e){return function(t){return new c2(e,t)}}const u2=Na(nc(["take"],l2,function(e,t){return pu(0,e<0?1/0:e,t)}));var p2=Na(function(e,t){return Ki(u2(e.length,t),e)});const qy=p2,Ky=Ki("");var d2=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){if(this.f){if(this.f(r))return t;this.f=null}return this.xf["@@transducer/step"](t,r)},e}();function g2(e){return function(t){return new d2(e,t)}}const h2=Na(nc(["dropWhile"],g2,function(e,t){for(var r=0,o=t.length;r<o&&e(t[r]);)r+=1;return pu(r,1/0,t)})),rb=Zp(function(e,t){return Oi(Xp(""),h2(td(e)),Xh(""))(t)}),f2=Oi(yl(/~1/g,"/"),yl(/~0/g,"~"),e=>{try{return decodeURIComponent(e)}catch{return e}}),ob=class extends tb{constructor(t,r){super(t,r);Io(this,"pointer");r!==void 0&&(this.pointer=r.pointer)}},jc=e=>{const t=(r=>{const o=r.indexOf("#");return o!==-1?r.substring(o):"#"})(e);return rb("#",t)},m2=e=>{if(Ky(e))return[];if(!qy("/",e))throw new ob(`Invalid JSON Pointer "${e}". JSON Pointers must begin with "/"`,{pointer:e});try{const t=Oi(Xp("/"),hu(f2))(e);return du(t)}catch(t){throw new ob(`JSON Pointer parsing of "${e}" encountered an error.`,{pointer:e,cause:t})}},Rg=class extends tb{constructor(t,r){super(t,r);Io(this,"pointer");Io(this,"tokens");Io(this,"failedToken");Io(this,"failedTokenPosition");Io(this,"element");r!==void 0&&(this.pointer=r.pointer,Array.isArray(r.tokens)&&(this.tokens=[...r.tokens]),this.failedToken=r.failedToken,this.failedTokenPosition=r.failedTokenPosition,this.element=r.element)}},Jc=(e,t)=>{let r;try{r=m2(e)}catch(o){throw new Rg(`JSON Pointer evaluation failed while parsing the pointer "${e}".`,{pointer:e,element:No(t),cause:o})}return r.reduce((o,n,l)=>{if(Rn(o)){if(!o.hasKey(n))throw new Rg(`JSON Pointer evaluation failed while evaluating token "${n}" against an ObjectElement`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:l,element:No(o)});return o.get(n)}if(dc(o)){if(!(n in o.content)||!s2(Number(n)))throw new Rg(`JSON Pointer evaluation failed while evaluating token "${n}" against an ArrayElement`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:l,element:No(o)});return o.get(Number(n))}throw new Rg(`JSON Pointer evaluation failed while evaluating token "${n}" against an unexpected Element`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:l,element:No(o)})},t)};class b2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="callback"}}const Ng=b2;class v2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="components"}get schemas(){return this.get("schemas")}set schemas(t){this.set("schemas",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get requestBodies(){return this.get("requestBodies")}set requestBodies(t){this.set("requestBodies",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(t){this.set("securitySchemes",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}}const Dg=v2;class y2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="contact"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}get email(){return this.get("email")}set email(t){this.set("email",t)}}const Bg=y2;class w2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(t){this.set("propertyName",t)}get mapping(){return this.get("mapping")}set mapping(t){this.set("mapping",t)}}const yf=w2;class k2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(t){this.set("contentType",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(t){this.set("allowedReserved",t)}}const wf=k2;class x2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="example"}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get value(){return this.get("value")}set value(t){this.set("value",t)}get externalValue(){return this.get("externalValue")}set externalValue(t){this.set("externalValue",t)}}const Mg=x2;class E2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="externalDocumentation"}get description(){return this.get("description")}set description(t){this.set("description",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}}const Lg=E2;class Hy extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Or.bd(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Or.bd(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}}Object.defineProperty(Hy.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Fg=Hy;class S2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get termsOfService(){return this.get("termsOfService")}set termsOfService(t){this.set("termsOfService",t)}get contact(){return this.get("contact")}set contact(t){this.set("contact",t)}get license(){return this.get("license")}set license(t){this.set("license",t)}get version(){return this.get("version")}set version(t){this.set("version",t)}}const $g=S2;class _2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="license"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}}const Ug=_2;class j2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(t){this.set("operationRef",t)}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get operation(){var t,r;return bn(this.operationRef)?(t=this.operationRef)===null||t===void 0?void 0:t.meta.get("operation"):bn(this.operationId)?(r=this.operationId)===null||r===void 0?void 0:r.meta.get("operation"):void 0}set operation(t){this.set("operation",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get server(){return this.get("server")}set server(t){this.set("server",t)}}const qg=j2;class O2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="mediaType"}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get encoding(){return this.get("encoding")}set encoding(t){this.set("encoding",t)}}const Kg=O2;class A2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(t){this.set("authorizationUrl",t)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(t){this.set("tokenUrl",t)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(t){this.set("refreshUrl",t)}get scopes(){return this.get("scopes")}set scopes(t){this.set("scopes",t)}}const kf=A2;class C2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(t){this.set("implicit",t)}get password(){return this.get("password")}set password(t){this.set("password",t)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(t){this.set("clientCredentials",t)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(t){this.set("authorizationCode",t)}}const xf=C2;class P2 extends Or.Om{constructor(t,r,o){super(t,r,o),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const Hg=P2;class I2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}}const Ef=I2;class z2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="operation"}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}set externalDocs(t){this.set("externalDocs",t)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Or.bd(!1)}set deprecated(t){this.set("deprecated",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get servers(){return this.get("severs")}set servers(t){this.set("servers",t)}}const Vg=z2;class Vy extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="parameter"}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get required(){return this.hasKey("required")?this.get("required"):new Or.bd(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Or.bd(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}}Object.defineProperty(Vy.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Wg=Vy;class T2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get GET(){return this.get("get")}set GET(t){this.set("GET",t)}get PUT(){return this.get("put")}set PUT(t){this.set("PUT",t)}get POST(){return this.get("post")}set POST(t){this.set("POST",t)}get DELETE(){return this.get("delete")}set DELETE(t){this.set("DELETE",t)}get OPTIONS(){return this.get("options")}set OPTIONS(t){this.set("OPTIONS",t)}get HEAD(){return this.get("head")}set HEAD(t){this.set("HEAD",t)}get PATCH(){return this.get("patch")}set PATCH(t){this.set("PATCH",t)}get TRACE(){return this.get("trace")}set TRACE(t){this.set("TRACE",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}}const Jg=T2;class R2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="paths"}}const Gg=R2;class N2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}}const Yg=N2;class D2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="requestBody"}get description(){return this.get("description")}set description(t){this.set("description",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get required(){return this.hasKey("required")?this.get("required"):new Or.bd(!1)}set required(t){this.set("required",t)}}const Zg=D2;class B2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="response"}get description(){return this.get("description")}set description(t){this.set("description",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}}const Qg=B2;class M2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="responses"}get default(){return this.get("default")}set default(t){this.set("default",t)}}const Xg=M2,ks=class extends ws{};class L2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(t){this.set("id",t)}get $schema(){return this.get("$schema")}set $schema(t){this.set("$schema",t)}get multipleOf(){return this.get("multipleOf")}set multipleOf(t){this.set("multipleOf",t)}get maximum(){return this.get("maximum")}set maximum(t){this.set("maximum",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get minimum(){return this.get("minimum")}set minimum(t){this.set("minimum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get maxLength(){return this.get("maxLength")}set maxLength(t){this.set("maxLength",t)}get minLength(){return this.get("minLength")}set minLength(t){this.set("minLength",t)}get pattern(){return this.get("pattern")}set pattern(t){this.set("pattern",t)}get additionalItems(){return this.get("additionalItems")}set additionalItems(t){this.set("additionalItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get maxItems(){return this.get("maxItems")}set maxItems(t){this.set("maxItems",t)}get minItems(){return this.get("minItems")}set minItems(t){this.set("minItems",t)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(t){this.set("uniqueItems",t)}get maxProperties(){return this.get("maxProperties")}set maxProperties(t){this.set("maxProperties",t)}get minProperties(){return this.get("minProperties")}set minProperties(t){this.set("minProperties",t)}get required(){return this.get("required")}set required(t){this.set("required",t)}get properties(){return this.get("properties")}set properties(t){this.set("properties",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get patternProperties(){return this.get("patternProperties")}set patternProperties(t){this.set("patternProperties",t)}get dependencies(){return this.get("dependencies")}set dependencies(t){this.set("dependencies",t)}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}get allOf(){return this.get("allOf")}set allOf(t){this.set("allOf",t)}get anyOf(){return this.get("anyOf")}set anyOf(t){this.set("anyOf",t)}get oneOf(){return this.get("oneOf")}set oneOf(t){this.set("oneOf",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get definitions(){return this.get("definitions")}set definitions(t){this.set("definitions",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get format(){return this.get("format")}set format(t){this.set("format",t)}get base(){return this.get("base")}set base(t){this.set("base",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get media(){return this.get("media")}set media(t){this.set("media",t)}get readOnly(){return this.get("readOnly")}set readOnly(t){this.set("readOnly",t)}}const eh=L2;class F2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}}const Sf=F2;class $2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(t){this.set("binaryEncoding",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}}const _f=$2;class U2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="linkDescription"}get href(){return this.get("href")}set href(t){this.set("href",t)}get rel(){return this.get("rel")}set rel(t){this.set("rel",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get mediaType(){return this.get("mediaType")}set mediaType(t){this.set("mediaType",t)}get method(){return this.get("method")}set method(t){this.set("method",t)}get encType(){return this.get("encType")}set encType(t){this.set("encType",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}const jf=U2;var q2=Na(function(e,t){return Nl(function(r,o){return r[o]=e(t[o],o,t),r},{},hl(t))});const K2=q2,Of=Un(function(e){return e==null}),H2=Na(function(e,t){if(e.length===0||Of(t))return!1;for(var r=t,o=0;o<e.length;){if(Of(r)||!fs(e[o],r))return!1;r=r[e[o]],o+=1}return!0});var V2=Na(function(e,t){return H2([e],t)});const Wy=V2,W2=Ti(function(e,t,r){return e(bl(t,r))}),Af=(e,t)=>{const r=ml(e,t);return K2(o=>{if(mf(o)&&Wy("$ref",o)&&W2(wl,"$ref",o)){const n=bi(["$ref"],o),l=rb("#/",n);return bi(l.split("/"),r)}return mf(o)?Af(o,r):o},e)};var un=st(70335);const Cf=e=>{const t=e.meta.length>0?No(e.meta):void 0,r=e.attributes.length>0?No(e.attributes):void 0;return new e.constructor(void 0,t,r)},Pf=(e,t)=>t.clone&&t.isMergeableElement(e)?El(Cf(e),e,t):e,J2=e=>typeof e.customMetaMerge!="function"?t=>No(t):e.customMetaMerge,G2=e=>typeof e.customAttributesMerge!="function"?t=>No(t):e.customAttributesMerge,If={clone:!0,isMergeableElement:e=>Rn(e)||dc(e),arrayElementMerge:(e,t,r)=>e.concat(t)["fantasy-land/map"](o=>Pf(o,r)),objectElementMerge:(e,t,r)=>{const o=Rn(e)?Cf(e):Cf(t);return Rn(e)&&e.forEach((n,l,h)=>{const b=Fs(h);b.value=Pf(n,r),o.content.push(b)}),t.forEach((n,l,h)=>{const b=ro(l);let E;if(Rn(e)&&e.hasKey(b)&&r.isMergeableElement(n)){const R=e.get(b);E=Fs(h),E.value=((L,U)=>{if(typeof U.customMerge!="function")return El;const K=U.customMerge(L,U);return typeof K=="function"?K:El})(l,r)(R,n)}else E=Fs(h),E.value=Pf(n,r);o.remove(b),o.content.push(E)}),o},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function El(e,t,r){var o,n,l;const h={...If,...r};h.isMergeableElement=(o=h.isMergeableElement)!==null&&o!==void 0?o:If.isMergeableElement,h.arrayElementMerge=(n=h.arrayElementMerge)!==null&&n!==void 0?n:If.arrayElementMerge,h.objectElementMerge=(l=h.objectElementMerge)!==null&&l!==void 0?l:If.objectElementMerge;const b=dc(t);if(b!==dc(e))return Pf(t,h);const E=b&&typeof h.arrayElementMerge=="function"?h.arrayElementMerge(e,t,h):h.objectElementMerge(e,t,h);return E.meta=J2(h)(e.meta,t.meta),E.attributes=G2(h)(e.attributes,t.attributes),E}El.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return e.length===0?new Or.Sh:e.reduce((r,o)=>El(r,o,t),Cf(e[0]))};const Y2=un({props:{element:null},methods:{copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=El(t.meta,e.meta),Ig(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=El(t.attributes,e.attributes))}}}),Jy=Y2,qa=un(Jy,{methods:{enter(e){return this.element=No(e),hn}}}),Gy=_a(fu()),Yy=Na(function(e,t){for(var r={},o=0;o<e.length;)e[o]in t&&(r[e[o]]=t[e[o]]),o+=1;return r}),Z2=un(Jy,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return Yy(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=bi(["visitors",...e,"fixedFields"],this.specObj);return typeof t=="object"&&t!==null?Object.keys(t):[]},retrieveVisitor(e){return qu($c,["visitors",...e],this.specObj)?bi(["visitors",...e],this.specObj):bi(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...r,...t})},toRefractedElement(e,t,r={}){const o=this.retrieveVisitorInstance(e,r),n=Object.getPrototypeOf(o);return uc(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===n?No(t):(Ts(t,o,r),o.element)}}}),_u=Z2,th=un(_u,{props:{specPath:Gy,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach((o,n,l)=>{if(bn(n)&&r.includes(ro(n))&&!this.ignoredFields.includes(ro(n))){const h=this.toRefractedElement([...t,"fixedFields",ro(n)],o),b=new Or.Pr(No(n),h);this.copyMetaAndAttributes(l,b),b.classes.push("fixed-field"),this.element.content.push(b)}else this.ignoredFields.includes(ro(n))||this.element.content.push(No(l))}),this.copyMetaAndAttributes(e,this.element),hn}}}),Q2=un(th,qa,{props:{specPath:_a(["document","objects","JSONSchema"])},init(){this.element=new eh}}),X2=qa,e4=qa,t4=qa,r4=qa,o4=qa,a4=qa,n4=qa,i4=qa,s4=qa,c4=qa,Vl=un({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Sl=e=>Rn(e)&&e.hasKey("$ref"),l4=un(_u,Vl,qa,{methods:{ObjectElement(e){const t=Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),hn},ArrayElement(e){return this.element=new Or.wE,this.element.classes.push("json-schema-items"),e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),u4=qa,p4=qa,d4=qa,g4=qa,h4=qa,f4=un(qa,{methods:{ArrayElement(e){return this.element=No(e),this.element.classes.push("json-schema-required"),hn}}}),m4=Un(function(e){return Xn(cc(od,0,hg("length",e)),function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})}),b4=Na(function(e,t){return e||t}),v4=vl(Xn(1,jr(Oy,Na(function(e,t){return Qu(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:rd(b4)(e,t)})(Ay,$c)))),Zy=vl(no),ab=m4([wl,v4,Zy]),y4=un(_u,{props:{fieldPatternPredicate:Z0,specPath:Gy,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach((t,r,o)=>{if(!this.ignoredFields.includes(ro(r))&&this.fieldPatternPredicate(ro(r))){const n=this.specPath(t),l=this.toRefractedElement(n,t),h=new Or.Pr(No(r),l);this.copyMetaAndAttributes(o,h),h.classes.push("patterned-field"),this.element.content.push(h)}else this.ignoredFields.includes(ro(r))||this.element.content.push(No(o))}),this.copyMetaAndAttributes(e,this.element),hn}}}),zf=un(y4,{props:{fieldPatternPredicate:ab}}),w4=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-properties")}}),k4=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-patternProperties")}}),x4=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-dependencies")}}),E4=un(qa,{methods:{ArrayElement(e){return this.element=No(e),this.element.classes.push("json-schema-enum"),hn}}}),S4=un(qa,{methods:{StringElement(e){return this.element=No(e),this.element.classes.push("json-schema-type"),hn},ArrayElement(e){return this.element=No(e),this.element.classes.push("json-schema-type"),hn}}}),_4=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),j4=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),O4=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),A4=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-definitions")}}),C4=qa,P4=qa,I4=qa,z4=qa,T4=qa,R4=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach(t=>{const r=this.toRefractedElement(["document","objects","LinkDescription"],t);this.element.push(r)}),this.copyMetaAndAttributes(e,this.element),hn}}}),N4=qa,D4=un(th,qa,{props:{specPath:_a(["document","objects","JSONReference"])},init(){this.element=new Sf},methods:{ObjectElement(e){const t=th.compose.methods.ObjectElement.call(this,e);return bn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),B4=un(qa,{methods:{StringElement(e){return this.element=No(e),this.element.classes.push("reference-value"),hn}}}),nb=Ti(function(e,t,r){return Xn(Math.max(e.length,t.length,r.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)})}),M4=Un(function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}});var L4=Na(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});const F4=L4,$4=Uu(0),U4=Un(gn),q4=vl(Of),K4=jr(po,Zy);function H4(e){return function(t){if(Array.isArray(t))return ib(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,r){if(t){if(typeof t=="string")return ib(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return ib(t,r)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
179
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ib(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var V4=Oi(F4(M4(function(e,t){return e.length>t.length})),$4,bl("length")),W4=Zp(function(e,t,r){var o=r.apply(void 0,H4(e));return q4(o)?U4(o):t});const Qy=nb(K4,function(e){var t=V4(e);return Xn(t,function(){for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return cc(W4(o),void 0,e)})},fu),J4=un(_u,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map(({predicate:o,specPath:n})=>nb(o,_a(n),fu)),r=Qy(t)(e);return this.element=this.toRefractedElement(r,e),hn}}}),Od=un(J4,{props:{alternator:[{predicate:Sl,specPath:["document","objects","JSONReference"]},{predicate:Hl,specPath:["document","objects","JSONSchema"]}]}}),Wl={visitors:{value:qa,JSONSchemaOrJSONReferenceVisitor:Od,document:{objects:{JSONSchema:{$visitor:Q2,fixedFields:{id:X2,$schema:e4,multipleOf:t4,maximum:r4,exclusiveMaximum:o4,minimum:a4,exclusiveMinimum:n4,maxLength:i4,minLength:s4,pattern:c4,additionalItems:Od,items:l4,maxItems:u4,minItems:p4,uniqueItems:d4,maxProperties:g4,minProperties:h4,required:f4,properties:w4,additionalProperties:Od,patternProperties:k4,dependencies:x4,enum:E4,type:S4,allOf:_4,anyOf:j4,oneOf:O4,not:Od,definitions:A4,title:C4,description:P4,default:I4,format:z4,base:T4,links:R4,media:{$ref:"#/visitors/document/objects/Media"},readOnly:N4}},JSONReference:{$visitor:D4,fixedFields:{$ref:B4}},Media:{$visitor:un(th,qa,{props:{specPath:_a(["document","objects","Media"])},init(){this.element=new _f}}),fixedFields:{binaryEncoding:qa,type:qa}},LinkDescription:{$visitor:un(th,qa,{props:{specPath:_a(["document","objects","LinkDescription"])},init(){this.element=new jf}}),fixedFields:{href:qa,rel:qa,title:qa,targetSchema:Od,mediaType:qa,method:qa,encType:qa,schema:Od}}}}}},G4=e=>{if(ts(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Y4={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...jd},Z4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof eh||e(o)&&t("JSONSchemaDraft4",o)&&r("object",o)),Q4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Sf||e(o)&&t("JSONReference",o)&&r("object",o)),X4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof _f||e(o)&&t("media",o)&&r("object",o)),e5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof jf||e(o)&&t("linkDescription",o)&&r("object",o)),t5={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",eh),t.register("jSONReference",Sf),t.register("media",_f),t.register("linkDescription",jf),t}},r5=t5,o5=()=>{const e=Sd(r5);return{predicates:{...k,isStringElement:bn},namespace:e}},a5=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:o=Wl}={})=>{const n=(0,Or.e)(e),l=Af(o),h=Va(t,[],l);return Ts(n,h,{state:{specObj:l}}),Tg(h.element,r,{toolboxCreator:o5,visitorOptions:{keyMap:Y4,nodeTypeGetter:G4}})},Tf=e=>(t,r={})=>a5(t,{specPath:e,...r});eh.refract=Tf(["visitors","document","objects","JSONSchema","$visitor"]),Sf.refract=Tf(["visitors","document","objects","JSONReference","$visitor"]),_f.refract=Tf(["visitors","document","objects","Media","$visitor"]),jf.refract=Tf(["visitors","document","objects","LinkDescription","$visitor"]);const Rf=class extends eh{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new ks("idProp getter in Schema class is not not supported.")}set idProp(e){throw new ks("idProp setter in Schema class is not not supported.")}get $schema(){throw new ks("$schema getter in Schema class is not not supported.")}set $schema(e){throw new ks("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new ks("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new ks("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new ks("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new ks("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new ks("definitions getter in Schema class is not not supported.")}set definitions(e){throw new ks("definitions setter in Schema class is not not supported.")}get base(){throw new ks("base getter in Schema class is not not supported.")}set base(e){throw new ks("base setter in Schema class is not not supported.")}get links(){throw new ks("links getter in Schema class is not not supported.")}set links(e){throw new ks("links setter in Schema class is not not supported.")}get media(){throw new ks("media getter in Schema class is not not supported.")}set media(e){throw new ks("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class n5 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="securityRequirement"}}const rh=n5;class i5 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="securityScheme"}get type(){return this.get("type")}set type(t){this.set("type",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get scheme(){return this.get("scheme")}set scheme(t){this.set("scheme",t)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(t){this.set("bearerFormat",t)}get flows(){return this.get("flows")}set flows(t){this.set("flows",t)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(t){this.set("openIdConnectUrl",t)}}const oh=i5;class s5 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="server"}get url(){return this.get("url")}set url(t){this.set("url",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get variables(){return this.get("variables")}set variables(t){this.set("variables",t)}}const ah=s5;class c5 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}}const nh=c5;class l5 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="tag"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}}const Nf=l5;class u5 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="xml"}get name(){return this.get("name")}set name(t){this.set("name",t)}get namespace(){return this.get("namespace")}set namespace(t){this.set("namespace",t)}get prefix(){return this.get("prefix")}set prefix(t){this.set("prefix",t)}get attribute(){return this.get("attribute")}set attribute(t){this.set("attribute",t)}get wrapped(){return this.get("wrapped")}set wrapped(t){this.set("wrapped",t)}}const Df=u5,Xy=(e,t,r=[])=>{const o=Object.getOwnPropertyDescriptors(t);for(let n of r)delete o[n];Object.defineProperties(e,o)},ih=(e,t=[e])=>{const r=Object.getPrototypeOf(e);return r===null?t:ih(r,[...t,r])},ew=(e,t,r=[])=>{var o;const n=(o=((...b)=>{if(b.length===0)return;let E;const R=b.map(L=>ih(L));for(;R.every(L=>L.length>0);){const L=R.map(K=>K.pop()),U=L[0];if(!L.every(K=>K===U))break;E=U}return E})(...e))!==null&&o!==void 0?o:Object.prototype,l=Object.create(n),h=ih(n);for(let b of e){let E=ih(b);for(let R=E.length-1;R>=0;R--){let L=E[R];h.indexOf(L)===-1&&(Xy(l,L,["constructor",...r]),h.push(L))}}return l.constructor=t,l},sb=e=>e.filter((t,r)=>e.indexOf(t)==r),tw=new WeakMap,p5=e=>tw.get(e),rw=(e,t)=>{var r,o;const n=sb([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),l={};for(let h of n)l[h]=sb([...(r=e==null?void 0:e[h])!==null&&r!==void 0?r:[],...(o=t==null?void 0:t[h])!==null&&o!==void 0?o:[]]);return l},ow=(e,t)=>{var r,o,n,l;return{property:rw((r=e==null?void 0:e.property)!==null&&r!==void 0?r:{},(o=t==null?void 0:t.property)!==null&&o!==void 0?o:{}),method:rw((n=e==null?void 0:e.method)!==null&&n!==void 0?n:{},(l=t==null?void 0:t.method)!==null&&l!==void 0?l:{})}},d5=(e,t)=>{var r,o,n,l,h,b;return{class:sb([...(r=e==null?void 0:e.class)!==null&&r!==void 0?r:[],...(o=t==null?void 0:t.class)!==null&&o!==void 0?o:[]]),static:ow((n=e==null?void 0:e.static)!==null&&n!==void 0?n:{},(l=t==null?void 0:t.static)!==null&&l!==void 0?l:{}),instance:ow((h=e==null?void 0:e.instance)!==null&&h!==void 0?h:{},(b=t==null?void 0:t.instance)!==null&&b!==void 0?b:{})}},g5=new Map,h5=(...e)=>{const t=((...r)=>{var o;const n=new Set,l=new Set([...r]);for(;l.size>0;)for(let h of l){const b=[...ih(h.prototype).map(E=>E.constructor),...(o=p5(h))!==null&&o!==void 0?o:[]].filter(E=>!n.has(E));for(let E of b)l.add(E);n.add(h),l.delete(h)}return[...n]})(...e).map(r=>g5.get(r)).filter(r=>!!r);return t.length==0?{}:t.length==1?t[0]:t.reduce((r,o)=>d5(r,o))};function Wo(...e){var t,r,o;const n=e.map(R=>R.prototype);function l(...R){for(const L of e)Xy(this,new L(...R))}l.prototype=ew(n,l),Object.setPrototypeOf(l,ew(e,null,["prototype"]));let h=l;{const R=h5(...e);for(let L of(t=R==null?void 0:R.class)!==null&&t!==void 0?t:[]){const U=L(h);U&&(h=U)}aw((r=R==null?void 0:R.static)!==null&&r!==void 0?r:{},h),aw((o=R==null?void 0:R.instance)!==null&&o!==void 0?o:{},h.prototype)}var b,E;return b=h,E=e,tw.set(b,E),h}const aw=(e,t)=>{const r=e.property,o=e.method;if(r)for(let n in r)for(let l of r[n])l(t,n);if(o)for(let n in o)for(let l of o[n])l(t,n,Object.getOwnPropertyDescriptor(t,n))},nw=class{constructor(e={}){Io(this,"element");Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=El(t.meta,e.meta),Ig(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=El(t.attributes,e.attributes))}},_o=class extends nw{enter(e){return this.element=No(e),hn}},$s=class extends nw{constructor({specObj:t,passingOptionsNames:r,openApiGenericElement:o,openApiSemanticElement:n,...l}){super({...l});Io(this,"specObj");Io(this,"passingOptionsNames",["specObj","openApiGenericElement","openApiSemanticElement"]);Io(this,"openApiGenericElement");Io(this,"openApiSemanticElement");this.specObj=t,this.openApiGenericElement=o,this.openApiSemanticElement=n,Array.isArray(r)&&(this.passingOptionsNames=r)}retrievePassingOptions(){return Yy(this.passingOptionsNames,this)}retrieveFixedFields(t){const r=bi(["visitors",...t,"fixedFields"],this.specObj);return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(t){return qu($c,["visitors",...t],this.specObj)?bi(["visitors",...t],this.specObj):bi(["visitors",...t,"$visitor"],this.specObj)}retrieveVisitorInstance(t,r={}){const o=this.retrievePassingOptions();return new(this.retrieveVisitor(t))({...o,...r})}toRefractedElement(t,r,o={}){const n=this.retrieveVisitorInstance(t,o);return n instanceof _o&&(n==null?void 0:n.constructor)===_o?No(r):(Ts(r,n,o),n.element)}},li=e=>Rn(e)&&e.hasKey("$ref"),f5=Rn,m5=Rn,iw=e=>bn(e.key)&&qy("x-",ro(e.key)),rn=class extends $s{constructor({specPath:t,ignoredFields:r,canSupportSpecificationExtensions:o,specificationExtensionPredicate:n,...l}){super({...l});Io(this,"specPath");Io(this,"ignoredFields");Io(this,"canSupportSpecificationExtensions",!0);Io(this,"specificationExtensionPredicate",iw);this.specPath=t,this.ignoredFields=r||[],typeof o=="boolean"&&(this.canSupportSpecificationExtensions=o),typeof n=="function"&&(this.specificationExtensionPredicate=n)}ObjectElement(t){const r=this.specPath(t),o=this.retrieveFixedFields(r);return t.forEach((n,l,h)=>{if(bn(l)&&o.includes(ro(l))&&!this.ignoredFields.includes(ro(l))){const b=this.toRefractedElement([...r,"fixedFields",ro(l)],n),E=new Or.Pr(No(l),b);this.copyMetaAndAttributes(h,E),E.classes.push("fixed-field"),this.element.content.push(E)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(h)){const b=this.toRefractedElement(["document","extension"],h);this.element.content.push(b)}else this.ignoredFields.includes(ro(l))||this.element.content.push(No(h))}),this.copyMetaAndAttributes(t,this.element),hn}};class b5 extends Wo(rn,_o){constructor(t){super(t),this.element=new Ef,this.specPath=_a(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){return rn.prototype.ObjectElement.call(this,t)}}const v5=b5;class y5 extends Wo($s,_o){StringElement(t){const r=new Hg(ro(t));return this.copyMetaAndAttributes(t,r),this.element=r,hn}}const w5=y5,k5=class extends $s{MemberElement(e){return this.element=No(e),this.element.classes.push("specification-extension"),hn}};class x5 extends Wo(rn,_o){constructor(t){super(t),this.element=new $g,this.specPath=_a(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const E5=x5,S5=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),t}};class _5 extends Wo(rn,_o){constructor(t){super(t),this.element=new Bg,this.specPath=_a(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const j5=_5;class O5 extends Wo(rn,_o){constructor(t){super(t),this.element=new Ug,this.specPath=_a(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const A5=O5;class C5 extends Wo(rn,_o){constructor(t){super(t),this.element=new qg,this.specPath=_a(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return(bn(this.element.operationId)||bn(this.element.operationRef))&&this.element.classes.push("reference-element"),r}}const P5=C5,I5=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}},z5=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}},Ad=class extends $s{constructor({specPath:t,ignoredFields:r,fieldPatternPredicate:o,canSupportSpecificationExtensions:n,specificationExtensionPredicate:l,...h}){super({...h});Io(this,"specPath");Io(this,"ignoredFields");Io(this,"fieldPatternPredicate",Z0);Io(this,"canSupportSpecificationExtensions",!1);Io(this,"specificationExtensionPredicate",iw);this.specPath=t,this.ignoredFields=r||[],typeof o=="function"&&(this.fieldPatternPredicate=o),typeof n=="boolean"&&(this.canSupportSpecificationExtensions=n),typeof l=="function"&&(this.specificationExtensionPredicate=l)}ObjectElement(t){return t.forEach((r,o,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const l=this.toRefractedElement(["document","extension"],n);this.element.content.push(l)}else if(!this.ignoredFields.includes(ro(o))&&this.fieldPatternPredicate(ro(o))){const l=this.specPath(r),h=this.toRefractedElement(l,r),b=new Or.Pr(No(o),h);this.copyMetaAndAttributes(n,b),b.classes.push("patterned-field"),this.element.content.push(b)}else this.ignoredFields.includes(ro(o))||this.element.content.push(No(n))}),this.copyMetaAndAttributes(t,this.element),hn}},Ja=class extends Ad{constructor(e){super(e),this.fieldPatternPredicate=ab}},zm=class zm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(zm.primaryClass)}};Io(zm,"primaryClass","link-parameters");let cb=zm;const T5=cb;class R5 extends Wo(Ja,_o){constructor(t){super(t),this.element=new T5,this.specPath=_a(["value"])}}const N5=R5;class D5 extends Wo(rn,_o){constructor(t){super(t),this.element=new ah,this.specPath=_a(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const B5=D5,M5=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}},Tm=class Tm extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(Tm.primaryClass)}};Io(Tm,"primaryClass","servers");let lb=Tm;const ub=lb;class L5 extends Wo($s,_o){constructor(t){super(t),this.element=new ub}ArrayElement(t){return t.forEach(r=>{const o=f5(r)?["document","objects","Server"]:["value"],n=this.toRefractedElement(o,r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const pb=L5;class F5 extends Wo(rn,_o){constructor(t){super(t),this.element=new nh,this.specPath=_a(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const $5=F5,Rm=class Rm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Rm.primaryClass)}};Io(Rm,"primaryClass","server-variables");let db=Rm;const U5=db;class q5 extends Wo(Ja,_o){constructor(t){super(t),this.element=new U5,this.specPath=_a(["document","objects","ServerVariable"])}}const K5=q5;class H5 extends Wo(rn,_o){constructor(t){super(t),this.element=new Kg,this.specPath=_a(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}const V5=H5,_l=class extends $s{constructor({alternator:t,...r}){super({...r});Io(this,"alternator");this.alternator=t||[]}enter(t){const r=this.alternator.map(({predicate:n,specPath:l})=>nb(n,_a(l),fu)),o=Qy(r)(t);return this.element=this.toRefractedElement(o,t),hn}},W5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Ng||e(o)&&t("callback",o)&&r("object",o)),J5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Dg||e(o)&&t("components",o)&&r("object",o)),G5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Bg||e(o)&&t("contact",o)&&r("object",o)),Y5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Mg||e(o)&&t("example",o)&&r("object",o)),Z5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Lg||e(o)&&t("externalDocumentation",o)&&r("object",o)),Cd=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Fg||e(o)&&t("header",o)&&r("object",o)),Q5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof $g||e(o)&&t("info",o)&&r("object",o)),X5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Ug||e(o)&&t("license",o)&&r("object",o)),e6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof qg||e(o)&&t("link",o)&&r("object",o)),t6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Hg||e(o)&&t("openapi",o)&&r("string",o)),r6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:o})=>n=>n instanceof Ef||e(n)&&t("openApi3_0",n)&&r("object",n)&&o("api",n)),sw=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Vg||e(o)&&t("operation",o)&&r("object",o)),o6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Wg||e(o)&&t("parameter",o)&&r("object",o)),gb=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Jg||e(o)&&t("pathItem",o)&&r("object",o)),a6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Gg||e(o)&&t("paths",o)&&r("object",o)),ai=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Yg||e(o)&&t("reference",o)&&r("object",o)),n6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Zg||e(o)&&t("requestBody",o)&&r("object",o)),Bf=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Qg||e(o)&&t("response",o)&&r("object",o)),i6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Xg||e(o)&&t("responses",o)&&r("object",o)),s6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Rf||e(o)&&t("schema",o)&&r("object",o)),c6=e=>Pg(e)&&e.classes.includes("boolean-json-schema"),l6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof rh||e(o)&&t("securityRequirement",o)&&r("object",o)),u6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof oh||e(o)&&t("securityScheme",o)&&r("object",o)),p6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof ah||e(o)&&t("server",o)&&r("object",o)),d6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof nh||e(o)&&t("serverVariable",o)&&r("object",o)),Mf=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Kg||e(o)&&t("mediaType",o)&&r("object",o)),cw=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:o})=>n=>n instanceof ub||e(n)&&t("array",n)&&r("array",n)&&o("servers",n));class g6 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const h6=g6;class f6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("examples"),this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","example")}),r}}const hb=f6,Nm=class Nm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Nm.primaryClass),this.classes.push("examples")}};Io(Nm,"primaryClass","media-type-examples");let fb=Nm;const m6=fb,b6=class extends hb{constructor(e){super(e),this.element=new m6}},Dm=class Dm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Dm.primaryClass)}};Io(Dm,"primaryClass","media-type-encoding");let mb=Dm;const v6=mb;class y6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new v6,this.specPath=_a(["document","objects","Encoding"])}}const w6=y6;class k6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new rh,this.specPath=_a(["value"])}}const x6=k6,Bm=class Bm extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(Bm.primaryClass)}};Io(Bm,"primaryClass","security");let bb=Bm;const E6=bb;class S6 extends Wo($s,_o){constructor(t){super(t),this.element=new E6}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(o)}else this.element.push(No(r))}),this.copyMetaAndAttributes(t,this.element),hn}}const _6=S6;class j6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Dg,this.specPath=_a(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const O6=j6;class A6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Nf,this.specPath=_a(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const C6=A6;class P6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Yg,this.specPath=_a(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return bn(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const I6=P6,z6=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class T6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Wg,this.specPath=_a(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.contentProp)&&this.element.contentProp.filter(Mf).forEach((o,n)=>{o.setMetaProperty("media-type",ro(n))}),r}}const R6=T6;class N6 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const D6=N6;class B6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Fg,this.specPath=_a(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const M6=B6;class L6 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const F6=L6,Mm=class Mm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Mm.primaryClass),this.classes.push("examples")}};Io(Mm,"primaryClass","header-examples");let vb=Mm;const $6=vb,U6=class extends hb{constructor(e){super(e),this.element=new $6}};class q6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("content"),this.specPath=_a(["document","objects","MediaType"])}}const Lf=q6,Lm=class Lm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Lm.primaryClass),this.classes.push("content")}};Io(Lm,"primaryClass","header-content");let yb=Lm;const K6=yb,H6=class extends Lf{constructor(e){super(e),this.element=new K6}};class V6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Rf,this.specPath=_a(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const W6=V6,{allOf:lw}=Wl.visitors.document.objects.JSONSchema.fixedFields,J6=lw.compose({methods:{ArrayElement(e){const t=lw.compose.methods.ArrayElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{anyOf:uw}=Wl.visitors.document.objects.JSONSchema.fixedFields,G6=uw.compose({methods:{ArrayElement(e){const t=uw.compose.methods.ArrayElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{oneOf:pw}=Wl.visitors.document.objects.JSONSchema.fixedFields,Y6=pw.compose({methods:{ArrayElement(e){const t=pw.compose.methods.ArrayElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{items:dw}=Wl.visitors.document.objects.JSONSchema.fixedFields,Z6=dw.compose({methods:{ObjectElement(e){const t=dw.compose.methods.ObjectElement.call(this,e);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=No(e),hn}}}),{properties:gw}=Wl.visitors.document.objects.JSONSchema.fixedFields,Q6=gw.compose({methods:{ObjectElement(e){const t=gw.compose.methods.ObjectElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{type:X6}=Wl.visitors.document.objects.JSONSchema.fixedFields,e3=X6.compose({methods:{ArrayElement(e){return this.element=No(e),hn}}}),{JSONSchemaOrJSONReferenceVisitor:hw}=Wl.visitors,fw=hw.compose({methods:{ObjectElement(e){const t=hw.compose.methods.enter.call(this,e);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class t3 extends Wo(rn,_o){constructor(t){super(t),this.element=new yf,this.specPath=_a(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}const r3=t3,Fm=class Fm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Fm.primaryClass)}};Io(Fm,"primaryClass","discriminator-mapping");let wb=Fm;const o3=wb;class a3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new o3,this.specPath=_a(["value"])}}const n3=a3;class i3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Df,this.specPath=_a(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const s3=i3,$m=class $m extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push($m.primaryClass),this.classes.push("examples")}};Io($m,"primaryClass","parameter-examples");let kb=$m;const c3=kb,l3=class extends hb{constructor(e){super(e),this.element=new c3}},Um=class Um extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Um.primaryClass),this.classes.push("content")}};Io(Um,"primaryClass","parameter-content");let xb=Um;const u3=xb,p3=class extends Lf{constructor(e){super(e),this.element=new u3}},qm=class qm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(qm.primaryClass)}};Io(qm,"primaryClass","components-schemas");let Eb=qm;const mw=Eb;class d3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new mw,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","schema")}),r}}const g3=d3,Km=class Km extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Km.primaryClass)}};Io(Km,"primaryClass","components-responses");let Sb=Km;const h3=Sb;class f3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new h3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","response")}),this.element.filter(Bf).forEach((o,n)=>{o.setMetaProperty("http-status-code",ro(n))}),r}}const m3=f3,Hm=class Hm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Hm.primaryClass),this.classes.push("parameters")}};Io(Hm,"primaryClass","components-parameters");let _b=Hm;const b3=_b;class v3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new b3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","parameter")}),r}}const y3=v3,Vm=class Vm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Vm.primaryClass),this.classes.push("examples")}};Io(Vm,"primaryClass","components-examples");let jb=Vm;const w3=jb;class k3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new w3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","example")}),r}}const x3=k3,Wm=class Wm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Wm.primaryClass)}};Io(Wm,"primaryClass","components-request-bodies");let Ob=Wm;const E3=Ob;class S3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new E3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","requestBody")}),r}}const _3=S3,Jm=class Jm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Jm.primaryClass)}};Io(Jm,"primaryClass","components-headers");let Ab=Jm;const j3=Ab;class O3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new j3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","header")}),this.element.filter(Cd).forEach((o,n)=>{o.setMetaProperty("header-name",ro(n))}),r}}const A3=O3,Gm=class Gm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Gm.primaryClass)}};Io(Gm,"primaryClass","components-security-schemes");let Cb=Gm;const C3=Cb;class P3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new C3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","securityScheme")}),r}}const I3=P3,Ym=class Ym extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Ym.primaryClass)}};Io(Ym,"primaryClass","components-links");let Pb=Ym;const z3=Pb;class T3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new z3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","link")}),r}}const R3=T3,Zm=class Zm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Zm.primaryClass)}};Io(Zm,"primaryClass","components-callbacks");let Ib=Zm;const N3=Ib;class D3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new N3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","callback")}),r}}const B3=D3;class M3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Mg,this.specPath=_a(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return bn(this.element.externalValue)&&this.element.classes.push("reference-element"),r}}const L3=M3,F3=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class $3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Lg,this.specPath=_a(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const U3=$3;class q3 extends Wo(rn,_o){constructor(t){super(t),this.element=new wf,this.specPath=_a(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.headers)&&this.element.headers.filter(Cd).forEach((o,n)=>{o.setMetaProperty("header-name",ro(n))}),r}}const K3=q3,Qm=class Qm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Qm.primaryClass)}};Io(Qm,"primaryClass","encoding-headers");let zb=Qm;const H3=zb;class V3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new H3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","header")}),this.element.forEach((o,n)=>{if(!Cd(o))return;const l=ro(n);o.setMetaProperty("headerName",l)}),r}}const W3=V3;class J3 extends Wo(Ad,_o){constructor(t){super(t),this.element=new Gg,this.specPath=_a(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=Hl}ObjectElement(t){const r=Ad.prototype.ObjectElement.call(this,t);return this.element.filter(gb).forEach((o,n)=>{n.classes.push("openapi-path-template"),n.classes.push("path-template"),o.setMetaProperty("path",No(n))}),r}}const G3=J3;class Y3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Zg,this.specPath=_a(["document","objects","RequestBody"])}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.contentProp)&&this.element.contentProp.filter(Mf).forEach((o,n)=>{o.setMetaProperty("media-type",ro(n))}),r}}const Z3=Y3,Xm=class Xm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Xm.primaryClass),this.classes.push("content")}};Io(Xm,"primaryClass","request-body-content");let Tb=Xm;const Q3=Tb,X3=class extends Lf{constructor(e){super(e),this.element=new Q3}};class e7 extends Wo(Ad,_o){constructor(t){super(t),this.element=new Ng,this.specPath=_a(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>/{(?<expression>[^}]{1,2083})}/.test(String(r))}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(gb).forEach((o,n)=>{o.setMetaProperty("runtime-expression",ro(n))}),r}}const t7=e7;class r7 extends Wo(rn,_o){constructor(t){super(t),this.element=new Qg,this.specPath=_a(["document","objects","Response"])}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.contentProp)&&this.element.contentProp.filter(Mf).forEach((o,n)=>{o.setMetaProperty("media-type",ro(n))}),Rn(this.element.headers)&&this.element.headers.filter(Cd).forEach((o,n)=>{o.setMetaProperty("header-name",ro(n))}),r}}const o7=r7,e0=class e0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(e0.primaryClass)}};Io(e0,"primaryClass","response-headers");let Rb=e0;const a7=Rb;class n7 extends Wo(Ja,_o){constructor(t){super(t),this.element=new a7,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","header")}),this.element.forEach((o,n)=>{if(!Cd(o))return;const l=ro(n);o.setMetaProperty("header-name",l)}),r}}const i7=n7,t0=class t0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(t0.primaryClass),this.classes.push("content")}};Io(t0,"primaryClass","response-content");let Nb=t0;const s7=Nb,c7=class extends Lf{constructor(e){super(e),this.element=new s7}},r0=class r0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(r0.primaryClass)}};Io(r0,"primaryClass","response-links");let Db=r0;const l7=Db;class u7 extends Wo(Ja,_o){constructor(t){super(t),this.element=new l7,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","link")}),r}}const p7=u7;function bw(e){return Object.prototype.toString.call(e)==="[object Number]"}var d7=Na(function(e,t){if(!bw(e)||!bw(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],o=e;o<t;)r.push(o),o+=1;return r});const g7=d7;function vw(e,t,r){var o,n=typeof e;switch(n){case"string":case"number":return e===0&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):r._nativeSet!==null?t?(o=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===o):r._nativeSet.has(e):n in r._items?e in r._items[n]||(t&&(r._items[n][e]=!0),!1):(t&&(r._items[n]={},r._items[n][e]=!0),!1);case"boolean":if(n in r._items){var l=e?1:0;return!!r._items[n][l]||(t&&(r._items[n][l]=!0),!1)}return t&&(r._items[n]=e?[!1,!0]:[!0,!1]),!1;case"function":return r._nativeSet!==null?t?(o=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===o):r._nativeSet.has(e):n in r._items?!!fl(e,r._items[n])||(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1);case"undefined":return!!r._items[n]||(t&&(r._items[n]=!0),!1);case"object":if(e===null)return!!r._items.null||(t&&(r._items.null=!0),!1);default:return(n=Object.prototype.toString.call(e))in r._items?!!fl(e,r._items[n])||(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1)}}const h7=function(){function e(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return e.prototype.add=function(t){return!vw(t,!0,this)},e.prototype.has=function(t){return vw(t,!1,this)},e}();var f7=Na(function(e,t){for(var r=[],o=0,n=e.length,l=t.length,h=new h7,b=0;b<l;b+=1)h.add(t[b]);for(;o<n;)h.add(e[o])&&(r[r.length]=e[o]),o+=1;return r});const m7=f7;class b7 extends Wo(rn,Ad){constructor({specPathFixedFields:r,specPathPatternedFields:o,...n}){super({...n});Io(this,"specPathFixedFields");Io(this,"specPathPatternedFields");this.specPathFixedFields=r,this.specPathPatternedFields=o}ObjectElement(r){const{specPath:o,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const l=this.retrieveFixedFields(this.specPath(r));this.ignoredFields=[...n,...m7(r.keys(),l)],rn.prototype.ObjectElement.call(this,r),this.specPath=this.specPathPatternedFields,this.ignoredFields=l,Ad.prototype.ObjectElement.call(this,r)}catch(l){throw this.specPath=o,l}return hn}}const yw=b7;class v7 extends Wo(yw,_o){constructor(t){super(t),this.element=new Xg,this.specPathFixedFields=_a(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>li(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${g7(100,600).join("|")})$`).test(String(r))}ObjectElement(t){const r=yw.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","response")}),this.element.filter(Bf).forEach((o,n)=>{const l=No(n);this.fieldPatternPredicate(ro(l))&&o.setMetaProperty("http-status-code",l)}),r}}const y7=v7;class w7 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Response"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)?this.element.setMetaProperty("referenced-element","response"):Bf(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}const k7=w7;class x7 extends Wo(rn,_o){constructor(t){super(t),this.element=new Vg,this.specPath=_a(["document","objects","Operation"])}}const E7=x7,o0=class o0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(o0.primaryClass)}};Io(o0,"primaryClass","operation-tags");let Bb=o0;const S7=Bb,_7=class extends _o{constructor(e){super(e),this.element=new S7}ArrayElement(e){return this.element=this.element.concat(No(e)),hn}},a0=class a0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(a0.primaryClass),this.classes.push("parameters")}};Io(a0,"primaryClass","operation-parameters");let Mb=a0;const ww=Mb;class j7 extends Wo($s,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("parameters")}ArrayElement(t){return t.forEach(r=>{const o=li(r)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(o,r);ai(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const kw=j7,O7=class extends kw{constructor(e){super(e),this.element=new ww}},A7=class extends _l{constructor(e){super(e),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const t=_l.prototype.enter.call(this,e);return ai(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}},n0=class n0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(n0.primaryClass)}};Io(n0,"primaryClass","operation-callbacks");let Lb=n0;const C7=Lb;class P7 extends Wo(Ja,_o){constructor(r){super(r);Io(this,"specPath");this.element=new C7,this.specPath=o=>li(o)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(r){const o=Ja.prototype.ObjectElement.call(this,r);return this.element.filter(ai).forEach(n=>{n.setMetaProperty("referenced-element","callback")}),o}}const I7=P7,i0=class i0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(i0.primaryClass),this.classes.push("security")}};Io(i0,"primaryClass","operation-security");let Fb=i0;const xw=Fb;class z7 extends Wo($s,_o){constructor(t){super(t),this.element=new xw}ArrayElement(t){return t.forEach(r=>{const o=Rn(r)?["document","objects","SecurityRequirement"]:["value"],n=this.toRefractedElement(o,r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const T7=z7,s0=class s0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(s0.primaryClass),this.classes.push("servers")}};Io(s0,"primaryClass","operation-servers");let $b=s0;const Ew=$b,R7=class extends pb{constructor(e){super(e),this.element=new Ew}};class N7 extends Wo(rn,_o){constructor(t){super(t),this.element=new Jg,this.specPath=_a(["document","objects","PathItem"])}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return this.element.filter(sw).forEach((o,n)=>{const l=No(n);l.content=ro(l).toUpperCase(),o.setMetaProperty("http-method",l)}),bn(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const D7=N7,B7=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}},c0=class c0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(c0.primaryClass),this.classes.push("servers")}};Io(c0,"primaryClass","path-item-servers");let Ub=c0;const Sw=Ub,M7=class extends pb{constructor(e){super(e),this.element=new Sw}},l0=class l0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(l0.primaryClass),this.classes.push("parameters")}};Io(l0,"primaryClass","path-item-parameters");let qb=l0;const L7=qb,F7=class extends kw{constructor(e){super(e),this.element=new L7}};class $7 extends Wo(rn,_o){constructor(t){super(t),this.element=new oh,this.specPath=_a(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const U7=$7;class q7 extends Wo(rn,_o){constructor(t){super(t),this.element=new xf,this.specPath=_a(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const K7=q7;class H7 extends Wo(rn,_o){constructor(t){super(t),this.element=new kf,this.specPath=_a(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const V7=H7,u0=class u0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(u0.primaryClass)}};Io(u0,"primaryClass","oauth-flow-scopes");let Kb=u0;const W7=Kb;class J7 extends Wo(Ja,_o){constructor(t){super(t),this.element=new W7,this.specPath=_a(["value"])}}const G7=J7,p0=class p0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(p0.primaryClass)}};Io(p0,"primaryClass","tags");let Hb=p0;const Y7=Hb;class Z7 extends Wo($s,_o){constructor(t){super(t),this.element=new Y7}ArrayElement(t){return t.forEach(r=>{const o=m5(r)?["document","objects","Tag"]:["value"],n=this.toRefractedElement(o,r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const Q7=Z7,{fixedFields:rs}=Wl.visitors.document.objects.JSONSchema,Fr={visitors:{value:_o,document:{objects:{OpenApi:{$visitor:v5,fixedFields:{openapi:w5,info:{$ref:"#/visitors/document/objects/Info"},servers:pb,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:_6,tags:Q7,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:E5,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:S5}},Contact:{$visitor:j5,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:A5,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:B5,fixedFields:{url:M5,description:{$ref:"#/visitors/value"},variables:K5}},ServerVariable:{$visitor:$5,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:O6,fixedFields:{schemas:g3,responses:m3,parameters:y3,examples:x3,requestBodies:_3,headers:A3,securitySchemes:I3,links:R3,callbacks:B3}},Paths:{$visitor:G3},PathItem:{$visitor:D7,fixedFields:{$ref:B7,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:M7,parameters:F7}},Operation:{$visitor:E7,fixedFields:{tags:_7,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:O7,requestBody:A7,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:I7,deprecated:{$ref:"#/visitors/value"},security:T7,servers:R7}},ExternalDocumentation:{$visitor:U3,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:R6,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:D6,example:{$ref:"#/visitors/value"},examples:l3,content:p3}},RequestBody:{$visitor:Z3,fixedFields:{description:{$ref:"#/visitors/value"},content:X3,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:V5,fixedFields:{schema:h6,example:{$ref:"#/visitors/value"},examples:b6,encoding:w6}},Encoding:{$visitor:K3,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:W3,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:y7,fixedFields:{default:k7}},Response:{$visitor:o7,fixedFields:{description:{$ref:"#/visitors/value"},headers:i7,content:c7,links:p7}},Callback:{$visitor:t7},Example:{$visitor:L3,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:F3}},Link:{$visitor:P5,fixedFields:{operationRef:I5,operationId:z5,parameters:N5,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:M6,fixedFields:{description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:F6,example:{$ref:"#/visitors/value"},examples:U6,content:H6}},Tag:{$visitor:C6,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:I6,fixedFields:{$ref:z6}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:W6,fixedFields:{title:rs.title,multipleOf:rs.multipleOf,maximum:rs.maximum,exclusiveMaximum:rs.exclusiveMaximum,minimum:rs.minimum,exclusiveMinimum:rs.exclusiveMinimum,maxLength:rs.maxLength,minLength:rs.minLength,pattern:rs.pattern,maxItems:rs.maxItems,minItems:rs.minItems,uniqueItems:rs.uniqueItems,maxProperties:rs.maxProperties,minProperties:rs.minProperties,required:rs.required,enum:rs.enum,type:e3,allOf:J6,anyOf:G6,oneOf:Y6,not:fw,items:Z6,properties:Q6,additionalProperties:fw,description:rs.description,format:rs.format,default:rs.default,nullable:{$ref:"#/visitors/value"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:r3,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:n3}},XML:{$visitor:s3,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:U7,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},OAuthFlows:{$visitor:K7,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:V7,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:G7}},SecurityRequirement:{$visitor:x6}},extension:{$visitor:k5}}}},X7=e=>{if(ts(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},e8={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...jd},t8={namespace:e=>{const{base:t}=e;return t.register("callback",Ng),t.register("components",Dg),t.register("contact",Bg),t.register("discriminator",yf),t.register("encoding",wf),t.register("example",Mg),t.register("externalDocumentation",Lg),t.register("header",Fg),t.register("info",$g),t.register("license",Ug),t.register("link",qg),t.register("mediaType",Kg),t.register("oAuthFlow",kf),t.register("oAuthFlows",xf),t.register("openapi",Hg),t.register("openApi3_0",Ef),t.register("operation",Vg),t.register("parameter",Wg),t.register("pathItem",Jg),t.register("paths",Gg),t.register("reference",Yg),t.register("requestBody",Zg),t.register("response",Qg),t.register("responses",Xg),t.register("schema",Rf),t.register("securityRequirement",rh),t.register("securityScheme",oh),t.register("server",ah),t.register("serverVariable",nh),t.register("tag",Nf),t.register("xml",Df),t}},r8=t8,o8=()=>{const e=Sd(r8);return{predicates:{..._,isElement:ts,isStringElement:bn,isArrayElement:dc,isObjectElement:Rn,isMemberElement:Ys,includesClasses:Ed,hasElementSourceMap:Ig},namespace:e}},a8=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const o=(0,Or.e)(e),n=Af(Fr),l=new(bi(t,n))({specObj:n});return Ts(o,l),Tg(l.element,r,{toolboxCreator:o8,visitorOptions:{keyMap:e8,nodeTypeGetter:X7}})},qn=e=>(t,r={})=>a8(t,{specPath:e,...r});Ng.refract=qn(["visitors","document","objects","Callback","$visitor"]),Dg.refract=qn(["visitors","document","objects","Components","$visitor"]),Bg.refract=qn(["visitors","document","objects","Contact","$visitor"]),Mg.refract=qn(["visitors","document","objects","Example","$visitor"]),yf.refract=qn(["visitors","document","objects","Discriminator","$visitor"]),wf.refract=qn(["visitors","document","objects","Encoding","$visitor"]),Lg.refract=qn(["visitors","document","objects","ExternalDocumentation","$visitor"]),Fg.refract=qn(["visitors","document","objects","Header","$visitor"]),$g.refract=qn(["visitors","document","objects","Info","$visitor"]),Ug.refract=qn(["visitors","document","objects","License","$visitor"]),qg.refract=qn(["visitors","document","objects","Link","$visitor"]),Kg.refract=qn(["visitors","document","objects","MediaType","$visitor"]),kf.refract=qn(["visitors","document","objects","OAuthFlow","$visitor"]),xf.refract=qn(["visitors","document","objects","OAuthFlows","$visitor"]),Hg.refract=qn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Ef.refract=qn(["visitors","document","objects","OpenApi","$visitor"]),Vg.refract=qn(["visitors","document","objects","Operation","$visitor"]),Wg.refract=qn(["visitors","document","objects","Parameter","$visitor"]),Jg.refract=qn(["visitors","document","objects","PathItem","$visitor"]),Gg.refract=qn(["visitors","document","objects","Paths","$visitor"]),Yg.refract=qn(["visitors","document","objects","Reference","$visitor"]),Zg.refract=qn(["visitors","document","objects","RequestBody","$visitor"]),Qg.refract=qn(["visitors","document","objects","Response","$visitor"]),Xg.refract=qn(["visitors","document","objects","Responses","$visitor"]),Rf.refract=qn(["visitors","document","objects","Schema","$visitor"]),rh.refract=qn(["visitors","document","objects","SecurityRequirement","$visitor"]),oh.refract=qn(["visitors","document","objects","SecurityScheme","$visitor"]),ah.refract=qn(["visitors","document","objects","Server","$visitor"]),nh.refract=qn(["visitors","document","objects","ServerVariable","$visitor"]),Nf.refract=qn(["visitors","document","objects","Tag","$visitor"]),Df.refract=qn(["visitors","document","objects","XML","$visitor"]);const Ff=class extends Ng{},$f=class extends Dg{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}},Uf=class extends Bg{},Vb=class extends yf{},Wb=class extends wf{},qf=class extends Mg{},Kf=class extends Lg{},Hf=class extends Fg{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Vf=class extends $g{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}},d0=class d0 extends Or.Om{constructor(t,r,o){super(t,r,o),this.element="jsonSchemaDialect"}};Io(d0,"default",new d0("https://spec.openapis.org/oas/3.1/dialect/base"));let Jb=d0;const sh=Jb,Wf=class extends Ug{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},Jf=class extends qg{},Gf=class extends Kg{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Gb=class extends kf{},Yb=class extends xf{},Zb=class extends Hg{};class n8 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(t){this.set("jsonSchemaDialect",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get webhooks(){return this.get("webhooks")}set webhooks(t){this.set("webhooks",t)}}const ju=n8,ch=class extends Vg{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}},Yf=class extends Wg{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Jl=class extends Jg{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}},Zf=class extends Gg{};class Qb extends Yg{}Object.defineProperty(Qb.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(Qb.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const fp=Qb,Qf=class extends Zg{},Xf=class extends Qg{},em=class extends Xg{};class i8 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(t){this.set("$schema",t)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(t){this.set("$vocabulary",t)}get $id(){return this.get("$id")}set $id(t){this.set("$id",t)}get $anchor(){return this.get("$anchor")}set $anchor(t){this.set("$anchor",t)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(t){this.set("$dynamicAnchor",t)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(t){this.set("$dynamicRef",t)}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get $defs(){return this.get("$defs")}set $defs(t){this.set("$defs",t)}get $comment(){return this.get("$comment")}set $comment(t){this.set("$comment",t)}get allOf(){return this.get("allOf")}set allOf(t){this.set("allOf",t)}get anyOf(){return this.get("anyOf")}set anyOf(t){this.set("anyOf",t)}get oneOf(){return this.get("oneOf")}set oneOf(t){this.set("oneOf",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get if(){return this.get("if")}set if(t){this.set("if",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}get else(){return this.get("else")}set else(t){this.set("else",t)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(t){this.set("dependentSchemas",t)}get prefixItems(){return this.get("prefixItems")}set prefixItems(t){this.set("prefixItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get containsProp(){return this.get("contains")}set containsProp(t){this.set("contains",t)}get properties(){return this.get("properties")}set properties(t){this.set("properties",t)}get patternProperties(){return this.get("patternProperties")}set patternProperties(t){this.set("patternProperties",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get propertyNames(){return this.get("propertyNames")}set propertyNames(t){this.set("propertyNames",t)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(t){this.set("unevaluatedItems",t)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(t){this.set("unevaluatedProperties",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get const(){return this.get("const")}set const(t){this.set("const",t)}get multipleOf(){return this.get("multipleOf")}set multipleOf(t){this.set("multipleOf",t)}get maximum(){return this.get("maximum")}set maximum(t){this.set("maximum",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get minimum(){return this.get("minimum")}set minimum(t){this.set("minimum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get maxLength(){return this.get("maxLength")}set maxLength(t){this.set("maxLength",t)}get minLength(){return this.get("minLength")}set minLength(t){this.set("minLength",t)}get pattern(){return this.get("pattern")}set pattern(t){this.set("pattern",t)}get maxItems(){return this.get("maxItems")}set maxItems(t){this.set("maxItems",t)}get minItems(){return this.get("minItems")}set minItems(t){this.set("minItems",t)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(t){this.set("uniqueItems",t)}get maxContains(){return this.get("maxContains")}set maxContains(t){this.set("maxContains",t)}get minContains(){return this.get("minContains")}set minContains(t){this.set("minContains",t)}get maxProperties(){return this.get("maxProperties")}set maxProperties(t){this.set("maxProperties",t)}get minProperties(){return this.get("minProperties")}set minProperties(t){this.set("minProperties",t)}get required(){return this.get("required")}set required(t){this.set("required",t)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(t){this.set("dependentRequired",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get deprecated(){return this.get("deprecated")}set deprecated(t){this.set("deprecated",t)}get readOnly(){return this.get("readOnly")}set readOnly(t){this.set("readOnly",t)}get writeOnly(){return this.get("writeOnly")}set writeOnly(t){this.set("writeOnly",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get format(){return this.get("format")}set format(t){this.set("format",t)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(t){this.set("contentEncoding",t)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(t){this.set("contentMediaType",t)}get contentSchema(){return this.get("contentSchema")}set contentSchema(t){this.set("contentSchema",t)}get discriminator(){return this.get("discriminator")}set discriminator(t){this.set("discriminator",t)}get xml(){return this.get("xml")}set xml(t){this.set("xml",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}}const Gl=i8,tm=class extends rh{},rm=class extends oh{},om=class extends ah{},am=class extends nh{},Xb=class extends Nf{},ev=class extends Df{};class s8 extends Wo(rn,_o){constructor(t){super(t),this.element=new ju,this.specPath=_a(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(t){return this.openApiGenericElement=t,rn.prototype.ObjectElement.call(this,t)}}const c8=s8,{visitors:{document:{objects:{Info:{$visitor:l8}}}}}=Fr,u8=class extends l8{constructor(e){super(e),this.element=new Vf}},{visitors:{document:{objects:{Contact:{$visitor:p8}}}}}=Fr,d8=class extends p8{constructor(e){super(e),this.element=new Uf}},{visitors:{document:{objects:{License:{$visitor:g8}}}}}=Fr,h8=class extends g8{constructor(e){super(e),this.element=new Wf}},{visitors:{document:{objects:{Link:{$visitor:f8}}}}}=Fr,m8=class extends f8{constructor(e){super(e),this.element=new Jf}};class b8 extends Wo($s,_o){StringElement(t){const r=new sh(ro(t));return this.copyMetaAndAttributes(t,r),this.element=r,hn}}const v8=b8,{visitors:{document:{objects:{Server:{$visitor:y8}}}}}=Fr,w8=class extends y8{constructor(e){super(e),this.element=new om}},{visitors:{document:{objects:{ServerVariable:{$visitor:k8}}}}}=Fr,x8=class extends k8{constructor(e){super(e),this.element=new am}},{visitors:{document:{objects:{MediaType:{$visitor:E8}}}}}=Fr,S8=class extends E8{constructor(e){super(e),this.element=new Gf}},{visitors:{document:{objects:{SecurityRequirement:{$visitor:_8}}}}}=Fr,j8=class extends _8{constructor(e){super(e),this.element=new tm}},{visitors:{document:{objects:{Components:{$visitor:O8}}}}}=Fr,A8=class extends O8{constructor(e){super(e),this.element=new $f}},{visitors:{document:{objects:{Tag:{$visitor:C8}}}}}=Fr,P8=class extends C8{constructor(e){super(e),this.element=new Xb}},{visitors:{document:{objects:{Reference:{$visitor:I8}}}}}=Fr,z8=class extends I8{constructor(e){super(e),this.element=new fp}},{visitors:{document:{objects:{Parameter:{$visitor:T8}}}}}=Fr,R8=class extends T8{constructor(e){super(e),this.element=new Yf}},{visitors:{document:{objects:{Header:{$visitor:N8}}}}}=Fr,D8=class extends N8{constructor(e){super(e),this.element=new Hf}},B8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Ff||e(o)&&t("callback",o)&&r("object",o)),M8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof $f||e(o)&&t("components",o)&&r("object",o)),L8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Uf||e(o)&&t("contact",o)&&r("object",o)),F8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof qf||e(o)&&t("example",o)&&r("object",o)),$8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Kf||e(o)&&t("externalDocumentation",o)&&r("object",o)),U8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Hf||e(o)&&t("header",o)&&r("object",o)),q8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Vf||e(o)&&t("info",o)&&r("object",o)),_w=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof sh||e(o)&&t("jsonSchemaDialect",o)&&r("string",o)),K8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Wf||e(o)&&t("license",o)&&r("object",o)),H8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Jf||e(o)&&t("link",o)&&r("object",o)),V8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Zb||e(o)&&t("openapi",o)&&r("string",o)),tv=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:o})=>n=>n instanceof ju||e(n)&&t("openApi3_1",n)&&r("object",n)&&o("api",n)),jw=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof ch||e(o)&&t("operation",o)&&r("object",o)),W8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Yf||e(o)&&t("parameter",o)&&r("object",o)),rv=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Jl||e(o)&&t("pathItem",o)&&r("object",o)),J8=e=>{if(!rv(e)||!bn(e.$ref))return!1;const t=ro(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},G8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Zf||e(o)&&t("paths",o)&&r("object",o)),lh=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof fp||e(o)&&t("reference",o)&&r("object",o)),Y8=e=>{if(!lh(e)||!bn(e.$ref))return!1;const t=ro(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},Z8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Qf||e(o)&&t("requestBody",o)&&r("object",o)),Q8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Xf||e(o)&&t("response",o)&&r("object",o)),X8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof em||e(o)&&t("responses",o)&&r("object",o)),uh=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Gl||e(o)&&t("schema",o)&&r("object",o)),ov=e=>Pg(e)&&e.classes.includes("boolean-json-schema"),e9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof tm||e(o)&&t("securityRequirement",o)&&r("object",o)),t9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof rm||e(o)&&t("securityScheme",o)&&r("object",o)),r9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof om||e(o)&&t("server",o)&&r("object",o)),o9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof am||e(o)&&t("serverVariable",o)&&r("object",o)),a9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Gf||e(o)&&t("mediaType",o)&&r("object",o)),Yl=class{constructor({parent:e}){Io(this,"parent");this.parent=e}};class n9 extends Wo(rn,Yl,_o){constructor(t){super(t),this.element=new Gl,this.specPath=_a(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=sh.default,this.passingOptionsNames.push("parent")}ObjectElement(t){this.handle$schema(t),this.handle$id(t),this.parent=this.element;const r=rn.prototype.ObjectElement.call(this,t);return bn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(t){const r=super.enter(t);return this.element.classes.push("boolean-json-schema"),r}getJsonSchemaDialect(){let t;return t=this.openApiSemanticElement!==void 0&&_w(this.openApiSemanticElement.jsonSchemaDialect)?ro(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&bn(this.openApiGenericElement.get("jsonSchemaDialect"))?ro(this.openApiGenericElement.get("jsonSchemaDialect")):ro(this.jsonSchemaDefaultDialect),t}handle$schema(t){if(uc(this.parent)&&!bn(t.get("$schema")))this.element.setMetaProperty("inherited$schema",this.getJsonSchemaDialect());else if(uh(this.parent)&&!bn(t.get("$schema"))){const r=ml(ro(this.parent.meta.get("inherited$schema")),ro(this.parent.$schema));this.element.setMetaProperty("inherited$schema",r)}}handle$id(t){const r=this.parent!==void 0?No(this.parent.getMetaProperty("inherited$id",[])):new Or.wE,o=ro(t.get("$id"));ab(o)&&r.push(o),this.element.setMetaProperty("inherited$id",r)}}const i9=n9,s9=class extends _o{ObjectElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),t}},c9=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class l9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const u9=l9;class p9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-allOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const d9=p9;class g9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-anyOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const h9=g9;class f9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-oneOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const m9=f9;class b9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const v9=b9;class y9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-prefixItems"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const w9=y9;class k9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-properties"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const x9=k9;class E9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const S9=E9,_9=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-type"),t}},j9=class extends _o{ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-enum"),t}},O9=class extends _o{ObjectElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),t}},A9=class extends _o{ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-examples"),t}},{visitors:{document:{objects:{Discriminator:{$visitor:C9}}}}}=Fr,P9=class extends C9{constructor(e){super(e),this.element=new Vb,this.canSupportSpecificationExtensions=!0}},{visitors:{document:{objects:{XML:{$visitor:I9}}}}}=Fr,z9=class extends I9{constructor(e){super(e),this.element=new ev}};class T9 extends Wo(Ja,_o){constructor(t){super(t),this.element=new mw,this.specPath=_a(["document","objects","Schema"])}}const R9=T9,g0=class g0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(g0.primaryClass)}};Io(g0,"primaryClass","components-path-items");let av=g0;const N9=av;class D9 extends Wo(Ja,_o){constructor(t){super(t),this.element=new N9,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(lh).forEach(o=>{o.setMetaProperty("referenced-element","pathItem")}),r}}const B9=D9,{visitors:{document:{objects:{Example:{$visitor:M9}}}}}=Fr,L9=class extends M9{constructor(e){super(e),this.element=new qf}},{visitors:{document:{objects:{ExternalDocumentation:{$visitor:F9}}}}}=Fr,$9=class extends F9{constructor(e){super(e),this.element=new Kf}},{visitors:{document:{objects:{Encoding:{$visitor:U9}}}}}=Fr,q9=class extends U9{constructor(e){super(e),this.element=new Wb}},{visitors:{document:{objects:{Paths:{$visitor:K9}}}}}=Fr,H9=class extends K9{constructor(e){super(e),this.element=new Zf}},{visitors:{document:{objects:{RequestBody:{$visitor:V9}}}}}=Fr,W9=class extends V9{constructor(e){super(e),this.element=new Qf}},{visitors:{document:{objects:{Callback:{$visitor:Ow}}}}}=Fr,J9=class extends Ow{constructor(e){super(e),this.element=new Ff,this.specPath=t=>li(t)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=Ow.prototype.ObjectElement.call(this,e);return this.element.filter(lh).forEach(r=>{r.setMetaProperty("referenced-element","pathItem")}),t}},{visitors:{document:{objects:{Response:{$visitor:G9}}}}}=Fr,Y9=class extends G9{constructor(e){super(e),this.element=new Xf}},{visitors:{document:{objects:{Responses:{$visitor:Z9}}}}}=Fr,Q9=class extends Z9{constructor(e){super(e),this.element=new em}},{visitors:{document:{objects:{Operation:{$visitor:X9}}}}}=Fr,eE=class extends X9{constructor(e){super(e),this.element=new ch}},{visitors:{document:{objects:{PathItem:{$visitor:tE}}}}}=Fr,rE=class extends tE{constructor(e){super(e),this.element=new Jl}},{visitors:{document:{objects:{SecurityScheme:{$visitor:oE}}}}}=Fr,aE=class extends oE{constructor(e){super(e),this.element=new rm}},{visitors:{document:{objects:{OAuthFlows:{$visitor:nE}}}}}=Fr,iE=class extends nE{constructor(e){super(e),this.element=new Yb}},{visitors:{document:{objects:{OAuthFlow:{$visitor:sE}}}}}=Fr,cE=class extends sE{constructor(e){super(e),this.element=new Gb}},h0=class h0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(h0.primaryClass)}};Io(h0,"primaryClass","webhooks");let nv=h0;const lE=nv;class uE extends Wo(Ja,_o){constructor(t){super(t),this.element=new lE,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(lh).forEach(o=>{o.setMetaProperty("referenced-element","pathItem")}),this.element.filter(rv).forEach((o,n)=>{o.setMetaProperty("webhook-name",ro(n))}),r}}const pE=uE,dE={visitors:{value:Fr.visitors.value,document:{objects:{OpenApi:{$visitor:c8,fixedFields:{openapi:Fr.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:v8,servers:Fr.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:pE,components:{$ref:"#/visitors/document/objects/Components"},security:Fr.visitors.document.objects.OpenApi.fixedFields.security,tags:Fr.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:u8,fixedFields:{title:Fr.visitors.document.objects.Info.fixedFields.title,description:Fr.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:Fr.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Fr.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:d8,fixedFields:{name:Fr.visitors.document.objects.Contact.fixedFields.name,url:Fr.visitors.document.objects.Contact.fixedFields.url,email:Fr.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:h8,fixedFields:{name:Fr.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:Fr.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:w8,fixedFields:{url:Fr.visitors.document.objects.Server.fixedFields.url,description:Fr.visitors.document.objects.Server.fixedFields.description,variables:Fr.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:x8,fixedFields:{enum:Fr.visitors.document.objects.ServerVariable.fixedFields.enum,default:Fr.visitors.document.objects.ServerVariable.fixedFields.default,description:Fr.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:A8,fixedFields:{schemas:R9,responses:Fr.visitors.document.objects.Components.fixedFields.responses,parameters:Fr.visitors.document.objects.Components.fixedFields.parameters,examples:Fr.visitors.document.objects.Components.fixedFields.examples,requestBodies:Fr.visitors.document.objects.Components.fixedFields.requestBodies,headers:Fr.visitors.document.objects.Components.fixedFields.headers,securitySchemes:Fr.visitors.document.objects.Components.fixedFields.securitySchemes,links:Fr.visitors.document.objects.Components.fixedFields.links,callbacks:Fr.visitors.document.objects.Components.fixedFields.callbacks,pathItems:B9}},Paths:{$visitor:H9},PathItem:{$visitor:rE,fixedFields:{$ref:Fr.visitors.document.objects.PathItem.fixedFields.$ref,summary:Fr.visitors.document.objects.PathItem.fixedFields.summary,description:Fr.visitors.document.objects.PathItem.fixedFields.description,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Fr.visitors.document.objects.PathItem.fixedFields.servers,parameters:Fr.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:eE,fixedFields:{tags:Fr.visitors.document.objects.Operation.fixedFields.tags,summary:Fr.visitors.document.objects.Operation.fixedFields.summary,description:Fr.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:Fr.visitors.document.objects.Operation.fixedFields.operationId,parameters:Fr.visitors.document.objects.Operation.fixedFields.parameters,requestBody:Fr.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Fr.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:Fr.visitors.document.objects.Operation.fixedFields.deprecated,security:Fr.visitors.document.objects.Operation.fixedFields.security,servers:Fr.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:$9,fixedFields:{description:Fr.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:Fr.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:R8,fixedFields:{name:Fr.visitors.document.objects.Parameter.fixedFields.name,in:Fr.visitors.document.objects.Parameter.fixedFields.in,description:Fr.visitors.document.objects.Parameter.fixedFields.description,required:Fr.visitors.document.objects.Parameter.fixedFields.required,deprecated:Fr.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:Fr.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:Fr.visitors.document.objects.Parameter.fixedFields.style,explode:Fr.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:Fr.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Fr.visitors.document.objects.Parameter.fixedFields.example,examples:Fr.visitors.document.objects.Parameter.fixedFields.examples,content:Fr.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:W9,fixedFields:{description:Fr.visitors.document.objects.RequestBody.fixedFields.description,content:Fr.visitors.document.objects.RequestBody.fixedFields.content,required:Fr.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:S8,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:Fr.visitors.document.objects.MediaType.fixedFields.example,examples:Fr.visitors.document.objects.MediaType.fixedFields.examples,encoding:Fr.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:q9,fixedFields:{contentType:Fr.visitors.document.objects.Encoding.fixedFields.contentType,headers:Fr.visitors.document.objects.Encoding.fixedFields.headers,style:Fr.visitors.document.objects.Encoding.fixedFields.style,explode:Fr.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:Fr.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:Q9,fixedFields:{default:Fr.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:Y9,fixedFields:{description:Fr.visitors.document.objects.Response.fixedFields.description,headers:Fr.visitors.document.objects.Response.fixedFields.headers,content:Fr.visitors.document.objects.Response.fixedFields.content,links:Fr.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:J9},Example:{$visitor:L9,fixedFields:{summary:Fr.visitors.document.objects.Example.fixedFields.summary,description:Fr.visitors.document.objects.Example.fixedFields.description,value:Fr.visitors.document.objects.Example.fixedFields.value,externalValue:Fr.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:m8,fixedFields:{operationRef:Fr.visitors.document.objects.Link.fixedFields.operationRef,operationId:Fr.visitors.document.objects.Link.fixedFields.operationId,parameters:Fr.visitors.document.objects.Link.fixedFields.parameters,requestBody:Fr.visitors.document.objects.Link.fixedFields.requestBody,description:Fr.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:D8,fixedFields:{description:Fr.visitors.document.objects.Header.fixedFields.description,required:Fr.visitors.document.objects.Header.fixedFields.required,deprecated:Fr.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:Fr.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:Fr.visitors.document.objects.Header.fixedFields.style,explode:Fr.visitors.document.objects.Header.fixedFields.explode,allowReserved:Fr.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Fr.visitors.document.objects.Header.fixedFields.example,examples:Fr.visitors.document.objects.Header.fixedFields.examples,content:Fr.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:P8,fixedFields:{name:Fr.visitors.document.objects.Tag.fixedFields.name,description:Fr.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:z8,fixedFields:{$ref:Fr.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Schema:{$visitor:i9,fixedFields:{$schema:{$ref:"#/visitors/value"},$vocabulary:s9,$id:{$ref:"#/visitors/value"},$anchor:{$ref:"#/visitors/value"},$dynamicAnchor:{$ref:"#/visitors/value"},$dynamicRef:{$ref:"#/visitors/value"},$ref:c9,$defs:u9,$comment:{$ref:"#/visitors/value"},allOf:d9,anyOf:h9,oneOf:m9,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:v9,prefixItems:w9,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:x9,patternProperties:S9,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:_9,enum:j9,const:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxContains:{$ref:"#/visitors/value"},minContains:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},dependentRequired:O9,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},readOnly:{$ref:"#/visitors/value"},writeOnly:{$ref:"#/visitors/value"},examples:A9,format:{$ref:"#/visitors/value"},contentEncoding:{$ref:"#/visitors/value"},contentMediaType:{$ref:"#/visitors/value"},contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:P9,fixedFields:{propertyName:Fr.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:Fr.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:z9,fixedFields:{name:Fr.visitors.document.objects.XML.fixedFields.name,namespace:Fr.visitors.document.objects.XML.fixedFields.namespace,prefix:Fr.visitors.document.objects.XML.fixedFields.prefix,attribute:Fr.visitors.document.objects.XML.fixedFields.attribute,wrapped:Fr.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:aE,fixedFields:{type:Fr.visitors.document.objects.SecurityScheme.fixedFields.type,description:Fr.visitors.document.objects.SecurityScheme.fixedFields.description,name:Fr.visitors.document.objects.SecurityScheme.fixedFields.name,in:Fr.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:Fr.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:Fr.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Fr.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:iE,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:cE,fixedFields:{authorizationUrl:Fr.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:Fr.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:Fr.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:Fr.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:j8}},extension:{$visitor:Fr.visitors.document.extension.$visitor}}}},Oc=e=>{if(ts(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Gc={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...jd},gE={namespace:e=>{const{base:t}=e;return t.register("callback",Ff),t.register("components",$f),t.register("contact",Uf),t.register("discriminator",Vb),t.register("encoding",Wb),t.register("example",qf),t.register("externalDocumentation",Kf),t.register("header",Hf),t.register("info",Vf),t.register("jsonSchemaDialect",sh),t.register("license",Wf),t.register("link",Jf),t.register("mediaType",Gf),t.register("oAuthFlow",Gb),t.register("oAuthFlows",Yb),t.register("openapi",Zb),t.register("openApi3_1",ju),t.register("operation",ch),t.register("parameter",Yf),t.register("pathItem",Jl),t.register("paths",Zf),t.register("reference",fp),t.register("requestBody",Qf),t.register("response",Xf),t.register("responses",em),t.register("schema",Gl),t.register("securityRequirement",tm),t.register("securityScheme",rm),t.register("server",om),t.register("serverVariable",am),t.register("tag",Xb),t.register("xml",ev),t}},nm=gE,Aw=()=>{const e=Sd(nm);return{predicates:{...x,isElement:ts,isStringElement:bn,isArrayElement:dc,isObjectElement:Rn,isMemberElement:Ys,isServersElement:cw,includesClasses:Ed,hasElementSourceMap:Ig},namespace:e}},hE=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const o=(0,Or.e)(e),n=Af(dE),l=new(bi(t,n))({specObj:n});return Ts(o,l),Tg(l.element,r,{toolboxCreator:Aw,visitorOptions:{keyMap:Gc,nodeTypeGetter:Oc}})},Nn=e=>(t,r={})=>hE(t,{specPath:e,...r});Ff.refract=Nn(["visitors","document","objects","Callback","$visitor"]),$f.refract=Nn(["visitors","document","objects","Components","$visitor"]),Uf.refract=Nn(["visitors","document","objects","Contact","$visitor"]),qf.refract=Nn(["visitors","document","objects","Example","$visitor"]),Vb.refract=Nn(["visitors","document","objects","Discriminator","$visitor"]),Wb.refract=Nn(["visitors","document","objects","Encoding","$visitor"]),Kf.refract=Nn(["visitors","document","objects","ExternalDocumentation","$visitor"]),Hf.refract=Nn(["visitors","document","objects","Header","$visitor"]),Vf.refract=Nn(["visitors","document","objects","Info","$visitor"]),sh.refract=Nn(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),Wf.refract=Nn(["visitors","document","objects","License","$visitor"]),Jf.refract=Nn(["visitors","document","objects","Link","$visitor"]),Gf.refract=Nn(["visitors","document","objects","MediaType","$visitor"]),Gb.refract=Nn(["visitors","document","objects","OAuthFlow","$visitor"]),Yb.refract=Nn(["visitors","document","objects","OAuthFlows","$visitor"]),Zb.refract=Nn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),ju.refract=Nn(["visitors","document","objects","OpenApi","$visitor"]),ch.refract=Nn(["visitors","document","objects","Operation","$visitor"]),Yf.refract=Nn(["visitors","document","objects","Parameter","$visitor"]),Jl.refract=Nn(["visitors","document","objects","PathItem","$visitor"]),Zf.refract=Nn(["visitors","document","objects","Paths","$visitor"]),fp.refract=Nn(["visitors","document","objects","Reference","$visitor"]),Qf.refract=Nn(["visitors","document","objects","RequestBody","$visitor"]),Xf.refract=Nn(["visitors","document","objects","Response","$visitor"]),em.refract=Nn(["visitors","document","objects","Responses","$visitor"]),Gl.refract=Nn(["visitors","document","objects","Schema","$visitor"]),tm.refract=Nn(["visitors","document","objects","SecurityRequirement","$visitor"]),rm.refract=Nn(["visitors","document","objects","SecurityScheme","$visitor"]),om.refract=Nn(["visitors","document","objects","Server","$visitor"]),am.refract=Nn(["visitors","document","objects","ServerVariable","$visitor"]),Xb.refract=Nn(["visitors","document","objects","Tag","$visitor"]),ev.refract=Nn(["visitors","document","objects","XML","$visitor"]);const jl=class extends ks{},fE=class extends Array{constructor(){super(...arguments);Io(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new jl("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new jl("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new jl("latest method in MediaTypes class is not yet implemented.")}};class iv extends fE{filterByFormat(t="generic"){const r=t==="generic"?"openapi;version":t;return this.filter(o=>o.includes(r))}findBy(t="3.1.0",r="generic"){const o=r==="generic"?`vnd.oai.openapi;version=${t}`:`vnd.oai.openapi+${r};version=${t}`;return this.find(n=>n.includes(o))||this.unknownMediaType}latest(t="generic"){return gu(this.filterByFormat(t))}}const mp=new iv("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0"),ph=un({props:{uri:"",value:null,depth:0,refSet:null,errors:[]},init({depth:e=this.depth,refSet:t=this.refSet,uri:r=this.uri,value:o=this.value}={}){this.uri=r,this.value=o,this.depth=e,this.refSet=t,this.errors=[]}}),sv=Ti(function(e,t,r){return Ki(e,bl(t,r))}),mE=un({props:{rootRef:null,refs:[],circular:!1},init({refs:e=[]}={}){this.refs=[],e.forEach(t=>this.add(t))},methods:{get size(){return this.refs.length},add(e){return this.has(e)||(this.refs.push(e),this.rootRef=this.rootRef===null?e:this.rootRef,e.refSet=this),this},merge(e){for(const t of e.values())this.add(t);return this},has(e){const t=wl(e)?e:e.uri;return gg(this.find(sv(t,"uri")))},find(e){return this.refs.find(e)},*values(){yield*this.refs},clean(){this.refs.forEach(e=>{e.refSet=null}),this.refs=[]}}}),im=mE,bE={parse:{mediaType:"text/plain",parsers:[],parserOpts:{}},resolve:{baseURI:"",resolvers:[],resolverOpts:{},strategies:[],strategyOpts:{},internal:!0,external:!0,maxDepth:1/0},dereference:{strategies:[],strategyOpts:{},refSet:null,maxDepth:1/0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},vE=Na(function(e,t){return function(r){return function(o){return hu(function(n){return t(n,o)},r(e(o)))}}});var yE=Ti(function e(t,r,o){if(t.length===0)return r;var n=t[0];if(t.length>1){var l=!Of(o)&&fs(n,o)&&typeof o[n]=="object"?o[n]:hs(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,l)}return function(h,b,E){if(hs(h)&&si(E)){var R=[].concat(E);return R[h]=b,R}var L={};for(var U in E)L[U]=E[U];return L[h]=b,L}(n,r,o)});const wE=yE;var Cw=function(e){return{value:e,map:function(t){return Cw(t(e))}}},kE=Ti(function(e,t,r){return e(function(o){return Cw(t(o))})(r).value});const xE=kE,EE=vE(bi(["resolve","baseURI"]),wE(["resolve","baseURI"])),SE=e=>Ky(e)?ep():e,Pw=(e,t)=>{const r=bo(e,t);return xE(EE,SE,r)},dh=un({props:{uri:null,mediaType:"text/plain",data:null,parseResult:null},init({uri:e=this.uri,mediaType:t=this.mediaType,data:r=this.data,parseResult:o=this.parseResult}={}){this.uri=e,this.mediaType=t,this.data=r,this.parseResult=o},methods:{get extension(){return wl(this.uri)?mg(this.uri):""},toString(){return typeof this.data=="string"?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(ms(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}}}),_E=class extends ws{constructor(t,r){super(t,{cause:r.cause});Io(this,"plugin");this.plugin=r.plugin}},cv=async(e,t,r)=>{const o=await Promise.all(r.map(Va([e],t)));return r.filter((n,l)=>o[l])},lv=async(e,t,r)=>{let o;for(const n of r)try{const l=await n[e].call(n,...t);return{plugin:n,result:l}}catch(l){o=new _E("Error while running plugin",{cause:l,plugin:n})}return Promise.reject(o)},uv=class extends ws{},jE=class extends uv{},OE=async(e,t)=>{let r=e,o=!1;if(!Sy(e)){const h=Fs(e);h.classes.push("result"),r=new Z([h]),o=!0}const n=dh({uri:t.resolve.baseURI,parseResult:r,mediaType:t.parse.mediaType}),l=await cv("canDereference",[n,t],t.dereference.strategies);if(no(l))throw new jE(n.uri);try{const{result:h}=await lv("dereference",[n,t],l);return o?h.get(0):h}catch(h){throw new uv(`Error while dereferencing file "${n.uri}"`,{cause:h})}},pv=class extends ws{},Zl=class extends pv{},AE=un({props:{name:"",allowEmpty:!0,sourceMap:!1,fileExtensions:[],mediaTypes:[]},init({allowEmpty:e=this.allowEmpty,sourceMap:t=this.sourceMap,fileExtensions:r=this.fileExtensions,mediaTypes:o=this.mediaTypes}={}){this.allowEmpty=e,this.sourceMap=t,this.fileExtensions=r,this.mediaTypes=o},methods:{async canParse(){throw new jl("canParse method in Parser stamp is not yet implemented.")},async parse(){throw new jl("parse method in Parser stamp is not yet implemented.")}}}),gh=AE,CE=un(gh,{props:{name:"binary"},methods:{async canParse(e){return this.fileExtensions.length===0||this.fileExtensions.includes(e.extension)},async parse(e){try{const t=unescape(encodeURIComponent(e.toString())),r=btoa(t),o=new Z;if(r.length!==0){const n=new Or.Om(r);n.classes.push("result"),o.push(n)}return o}catch(t){throw new Zl(`Error parsing "${e.uri}"`,{cause:t})}}}}),PE=un({props:{name:null},methods:{canResolve:()=>!1,async resolve(){throw new jl("resolve method in ResolveStrategy stamp is not yet implemented.")}}});var IE=Na(function(e,t){return W0(ng(e),t)});const zE=IE;var TE=st(10885);const RE=class extends zg{constructor(t,r){super(t,r);Io(this,"value");r!==void 0&&(this.value=r.value)}},dv=un({props:{uuid:null,length:null,identityMap:null},init({length:e=6}={}){this.length=6,this.uuid=new TE({length:e}),this.identityMap=new WeakMap},methods:{identify(e){if(!ts(e))throw new RE("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&bn(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);const t=new Or.Om(this.generateId());return this.identityMap.set(e,t),t},forget(e){return!!this.identityMap.has(e)&&(this.identityMap.delete(e),!0)},generateId(){return this.uuid.randomUUID()}}});dv({length:6});const Iw=Ti(function(e,t,r){return ml(e,bi(t,r))}),zw=(e,t)=>{const r=new Ly({predicate:e,returnOnTrue:hn});return Ts(t,r),Iw(void 0,[0],r.result)},Tw=class extends ws{},NE=class extends Tw{},DE=class extends Tw{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}},sm=e=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(e),Pd=e=>{const t=cd(e);return rb("#",t)},gv=(e,t)=>{const r=(n=>{if(!sm(n))throw new DE(n);return n})(e),o=zw(n=>uh(n)&&ro(n.$anchor)===r,t);if(uc(o))throw new NE(`Evaluation failed on token: "${r}"`);return o},BE=(e,t)=>{const r=new Ly({predicate:e});return Ts(t,r),new Or.G6(r.result)},ME=class extends ws{},hv=class extends ME{},Rw=(e,t)=>{if(t.$ref===void 0)return;const r=cd(ro(t.$ref)),o=ro(t.meta.get("inherited$id"));return`${cc((n,l)=>Vi(n,tp(Ri(l))),e,[...o,ro(t.$ref)])}${r==="#"?"":r}`},hh=e=>{if(hh.cache.has(e))return hh.cache.get(e);const t=Gl.refract(e);return hh.cache.set(e,t),t};hh.cache=new WeakMap;const Ou=e=>hp(e)?hh(e):e,cm=(e,t)=>{const{cache:r}=cm,o=Ri(e),n=E=>uh(E)&&E.$id!==void 0;if(!r.has(t)){const E=BE(n,t);r.set(t,Array.from(E))}const l=r.get(t).find(E=>((R,L)=>{if(L.$id===void 0)return;const U=ro(L.meta.get("inherited$id"));return cc((K,F)=>Vi(K,tp(Ri(F))),R,[...U,ro(L.$id)])})(o,E)===o);if(uc(l))throw new hv(`Evaluation failed on URI: "${e}"`);let h,b;return sm(Pd(e))?(h=gv,b=Pd(e)):(h=Jc,b=jc(e)),h(b,l)};cm.cache=new WeakMap;const Id=class extends uv{},fv=class extends ws{},LE=class extends fv{},Nw=class extends fv{},Dw=class extends Nw{},FE=async(e,t)=>{const r=dh({uri:tp(Ri(e)),mediaType:t.parse.mediaType}),o=await(async(n,l)=>{const h=l.resolve.resolvers.map(E=>{const R=Object.create(E);return Object.assign(R,l.resolve.resolverOpts)}),b=await cv("canRead",[n,l],h);if(no(b))throw new Dw(n.uri);try{const{result:E}=await lv("read",[n],b);return E}catch(E){throw new fv(`Error while reading file "${n.uri}"`,{cause:E})}})(r,t);return(async(n,l)=>{const h=l.parse.parsers.map(E=>{const R=Object.create(E);return Object.assign(R,l.parse.parserOpts)}),b=await cv("canParse",[n,l],h);if(no(b))throw new Dw(n.uri);try{const{plugin:E,result:R}=await lv("parse",[n,l],b);return!E.allowEmpty&&R.isEmpty?Promise.reject(new pv(`Error while parsing file "${n.uri}". File is empty.`)):R}catch(E){throw new pv(`Error while parsing file "${n.uri}"`,{cause:E})}})(dh({...r,data:o}),t)};class mv extends Array{includesCycle(t){return this.filter(r=>r.has(t)).length>1}includes(t,r){return t instanceof Set?super.includes(t,r):this.some(o=>o.has(t))}findItem(t){for(const r of this)for(const o of r)if(ts(o)&&t(o))return o}}const bv=Ts[Symbol.for("nodejs.util.promisify.custom")],Au=dv(),vv=e=>t=>t.meta.hasKey("ref-referencing-element-id")&&t.meta.get("ref-referencing-element-id").equals(ro(Au.identify(e))),lm=un({props:{indirections:null,namespace:null,reference:null,options:null,ancestors:null,refractCache:null},init({indirections:e=[],reference:t,namespace:r,options:o,ancestors:n=new mv,refractCache:l=new Map}){this.indirections=e,this.namespace=r,this.reference=t,this.options=o,this.ancestors=new mv(...n),this.refractCache=l},methods:{toBaseURI(e){return Vi(this.reference.uri,tp(Ri(e)))},async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new LE(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const t=this.toBaseURI(e),{refSet:r}=this.reference;if(r.has(t))return r.find(sv(t,"uri"));const o=await FE(Is(t),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),n=ph({uri:t,value:o,depth:this.reference.depth+1});return r.add(n),n},toAncestorLineage(e){const t=new Set(e.filter(ts));return[new mv(...this.ancestors,t),t]},async ReferenceElement(e,t,r,o,n){const[l,h]=this.toAncestorLineage([...n,r]);if(l.includesCycle(e))return!1;const b=this.toBaseURI(ro(e.$ref)),E=Ri(this.reference.uri)===b,R=!E;if(!this.options.resolve.internal&&E||!this.options.resolve.external&&R)return!1;const L=await this.toReference(ro(e.$ref)),U=Vi(b,ro(e.$ref));this.indirections.push(e);const K=jc(U);let F=Jc(K,L.value.result);if(hp(F)){const H=ro(e.meta.get("referenced-element")),ne=`${H}-${ro(Au.identify(F))}`;this.refractCache.has(ne)?F=this.refractCache.get(ne):li(F)?(F=fp.refract(F),F.setMetaProperty("referenced-element",H),this.refractCache.set(ne,F)):(F=this.namespace.getElementClass(H).refract(F),this.refractCache.set(ne,F))}if(this.indirections.includes(F))throw new ws("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);h.add(e);const V=lm({reference:L,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:l,refractCache:this.refractCache});F=await bv(F,V,{keyMap:Gc,nodeTypeGetter:Oc}),h.delete(e),this.indirections.pop();const f=H=>{const ne=Fs(H);return ne.setMetaProperty("ref-fields",{$ref:ro(e.$ref),description:ro(e.description),summary:ro(e.summary)}),ne.setMetaProperty("ref-origin",L.uri),ne.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),Rn(H)&&(e.hasKey("description")&&"description"in H&&(ne.remove("description"),ne.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in H&&(ne.remove("summary"),ne.set("summary",e.get("summary")))),ne};if(l.includes(e)||l.includes(F)){var Y;const H=(Y=l.findItem(vv(e)))!==null&&Y!==void 0?Y:f(F);return Ys(r)?r.value=H:Array.isArray(r)&&(r[t]=H),!1}return f(F)},async PathItemElement(e,t,r,o,n){const[l,h]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(l.includesCycle(e))return!1;const b=this.toBaseURI(ro(e.$ref)),E=Ri(this.reference.uri)===b,R=!E;if(!this.options.resolve.internal&&E||!this.options.resolve.external&&R)return;const L=await this.toReference(ro(e.$ref)),U=Vi(b,ro(e.$ref));this.indirections.push(e);const K=jc(U);let F=Jc(K,L.value.result);if(hp(F)){const H=`pathItem-${ro(Au.identify(F))}`;this.refractCache.has(H)?F=this.refractCache.get(H):(F=Jl.refract(F),this.refractCache.set(H,F))}if(this.indirections.includes(F))throw new ws("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);h.add(e);const V=lm({reference:L,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:l,refractCache:this.refractCache});F=await bv(F,V,{keyMap:Gc,nodeTypeGetter:Oc}),h.delete(e),this.indirections.pop();const f=H=>{const ne=new Jl([...H.content],No(H.meta),No(H.attributes));return e.forEach((ae,le,ye)=>{ne.remove(ro(le)),ne.content.push(ye)}),ne.remove("$ref"),ne.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),ne.setMetaProperty("ref-origin",L.uri),ne.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),ne};if(l.includes(e)||l.includes(F)){var Y;const H=(Y=l.findItem(vv(e)))!==null&&Y!==void 0?Y:f(F);return Ys(r)?r.value=H:Array.isArray(r)&&(r[t]=H),!1}return f(F)},async LinkElement(e){if(!bn(e.operationRef)&&!bn(e.operationId))return;if(bn(e.operationRef)&&bn(e.operationId))throw new ws("LinkElement operationRef and operationId fields are mutually exclusive.");let t;if(bn(e.operationRef)){var r;const n=jc(ro(e.operationRef)),l=this.toBaseURI(ro(e.operationRef)),h=Ri(this.reference.uri)===l,b=!h;if(!this.options.resolve.internal&&h||!this.options.resolve.external&&b)return;const E=await this.toReference(ro(e.operationRef));if(t=Jc(n,E.value.result),hp(t)){const L=`operation-${ro(Au.identify(t))}`;this.refractCache.has(L)?t=this.refractCache.get(L):(t=ch.refract(t),this.refractCache.set(L,t))}t=Fs(t),t.setMetaProperty("ref-origin",E.uri);const R=Fs(e);return(r=R.operationRef)===null||r===void 0||r.meta.set("operation",t),R}if(bn(e.operationId)){var o;const n=ro(e.operationId),l=await this.toReference(Is(this.reference.uri));if(t=zw(b=>jw(b)&&ts(b.operationId)&&b.operationId.equals(n),l.value.result),uc(t))throw new ws(`OperationElement(operationId=${n}) not found.`);const h=Fs(e);return(o=h.operationId)===null||o===void 0||o.meta.set("operation",t),h}},async ExampleElement(e,t,r,o,n){const[l]=this.toAncestorLineage([...n,r]);if(!bn(e.externalValue))return;if(l.includesCycle(e))return!1;if(e.hasKey("value")&&bn(e.externalValue))throw new ws("ExampleElement value and externalValue fields are mutually exclusive.");const h=this.toBaseURI(ro(e.externalValue)),b=Ri(this.reference.uri)===h,E=!b;if(!this.options.resolve.internal&&b||!this.options.resolve.external&&E)return;const R=await this.toReference(ro(e.externalValue)),L=Fs(R.value.result);L.setMetaProperty("ref-origin",R.uri);const U=Fs(e);return U.value=L,U},async SchemaElement(e,t,r,o,n){const[l,h]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(l.includesCycle(e))return!1;let b=await this.toReference(Is(this.reference.uri)),{uri:E}=b;const R=Rw(E,e),L=Ri(R),U=dh({uri:L}),K=zE(le=>le.canRead(U),this.options.resolve.resolvers),F=!K,V=le=>Ri(this.reference.uri)===le,f=le=>!V(le);let Y;this.indirections.push(e);try{if(K||F)Y=cm(R,Ou(b.value.result));else{if(E=this.toBaseURI(ro(R)),!this.options.resolve.internal&&V(E)||!this.options.resolve.external&&f(E))return;b=await this.toReference(Is(R));const le=jc(R);Y=Ou(Jc(le,b.value.result))}}catch(le){if(!(F&&le instanceof hv))throw le;if(sm(Pd(R))){if(E=this.toBaseURI(ro(R)),!this.options.resolve.internal&&V(E)||!this.options.resolve.external&&f(E))return;b=await this.toReference(Is(R));const ye=Pd(R);Y=gv(ye,Ou(b.value.result))}else{if(E=this.toBaseURI(ro(R)),!this.options.resolve.internal&&V(E)||!this.options.resolve.external&&f(E))return;b=await this.toReference(Is(R));const ye=jc(R);Y=Ou(Jc(ye,b.value.result))}}if(this.indirections.includes(Y))throw new ws("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);h.add(e);const H=lm({reference:b,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:l});if(Y=await bv(Y,H,{keyMap:Gc,nodeTypeGetter:Oc}),h.delete(e),this.indirections.pop(),ov(Y)){const le=No(Y);return le.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),le.setMetaProperty("ref-origin",b.uri),le.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),le}const ne=le=>{const ye=new Gl([...le.content],No(le.meta),No(le.attributes));return e.forEach((he,Ee,Ke)=>{ye.remove(ro(Ee)),ye.content.push(Ke)}),ye.remove("$ref"),ye.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),ye.setMetaProperty("ref-origin",b.uri),ye.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),ye};if(l.includes(e)||l.includes(Y)){var ae;const le=(ae=l.findItem(vv(e)))!==null&&ae!==void 0?ae:ne(Y);return Ys(r)?r.value=le:Array.isArray(r)&&(r[t]=le),!1}return ne(Y)}}}),um=lm,$E=un(um),UE=Ts[Symbol.for("nodejs.util.promisify.custom")],qE=un(PE,{init(){this.name="openapi-3-1"},methods:{canResolve(e){var t;return e.mediaType!=="text/plain"?mp.includes(e.mediaType):tv((t=e.parseResult)===null||t===void 0?void 0:t.result)},async resolve(e,t){const r=Sd(nm),o=ph({uri:e.uri,value:e.parseResult}),n=Pw(t,{resolve:{internal:!1}}),l=$E({reference:o,namespace:r,options:n}),h=im();return h.add(o),await UE(h.rootRef.value,l,{keyMap:Gc,nodeTypeGetter:Oc}),h}}}),KE=qE;function yv(e,t,r){if(r||(r=new HE),function(n){var l=typeof n;return n==null||l!="object"&&l!="function"}(e))return e;var o=function(n){var l=r.get(e);if(l)return l;for(var h in r.set(e,n),e)Object.prototype.hasOwnProperty.call(e,h)&&(n[h]=t?yv(e[h],!0,r):e[h]);return n};switch(ms(e)){case"Object":return o(Object.create(Object.getPrototypeOf(e)));case"Array":return o([]);case"Date":return new Date(e.valueOf());case"RegExp":return lu(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var HE=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(t,r){const o=this.hash(t);let n=this.map[o];n||(this.map[o]=n=[]),n.push([t,r]),this.length+=1},e.prototype.hash=function(t){let r=[];for(var o in t)r.push(Object.prototype.toString.call(t[o]));return r.join()},e.prototype.get=function(t){if(this.length<=180){for(const n in this.map){const l=this.map[n];for(let h=0;h<l.length;h+=1){const b=l[h];if(b[0]===t)return b[1]}}return}const r=this.hash(t),o=this.map[r];if(o)for(let n=0;n<o.length;n+=1){const l=o[n];if(l[0]===t)return l[1]}},e}(),VE=function(){function e(t,r,o,n){this.valueFn=t,this.valueAcc=r,this.keyFn=o,this.xf=n,this.inputs={}}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=function(t){var r;for(r in this.inputs)if(fs(r,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[r]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){var o=this.keyFn(r);return this.inputs[o]=this.inputs[o]||[o,yv(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],r),t},e}();function WE(e,t,r){return function(o){return new VE(e,t,r,o)}}var JE=Gp(4,[],nc([],WE,function(e,t,r,o){var n=sc(function(l,h){var b=r(h),E=e(fs(b,l)?l[b]:yv(t,!1),h);return E&&E["@@transducer/reduced"]?gn(l):(l[b]=E,l)});return Mc(n,{},o)}));const GE=Na(Jp("groupBy",JE(function(e,t){return e.push(t),e},[]))),wv=e=>e.replace(/\s/g,""),kv=e=>e.replace(/\W/gi,"_"),YE=(e,t,r)=>{const o=wv(e);return o.length>0?kv(o):((n,l)=>`${kv(wv(l.toLowerCase()))}${kv(wv(n))}`)(t,r)},ZE=({operationIdNormalizer:e=YE}={})=>({predicates:t,namespace:r})=>{const o=[],n=[],l=[];return{visitor:{OpenApi3_1Element:{leave(){const h=GE(b=>ro(b.operationId),n);Object.entries(h).forEach(([b,E])=>{Array.isArray(E)&&(E.length<=1||E.forEach((R,L)=>{const U=`${b}${L+1}`;R.operationId=new r.elements.String(U)}))}),l.forEach(b=>{if(b.operationId===void 0)return;const E=String(ro(b.operationId)),R=n.find(L=>ro(L.meta.get("originalOperationId"))===E);R!==void 0&&(b.operationId=No.safe(R.operationId),b.meta.set("originalOperationId",E),b.set("__originalOperationId",E))}),n.length=0,l.length=0}},PathItemElement:{enter(h){const b=ml("path",ro(h.meta.get("path")));o.push(b)},leave(){o.pop()}},OperationElement:{enter(h){if(h.operationId===void 0)return;const b=String(ro(h.operationId)),E=gu(o),R=ml("method",ro(h.meta.get("http-method"))),L=e(b,E,R);b!==L&&(h.operationId=new r.elements.String(L),h.set("__originalOperationId",b),h.meta.set("originalOperationId",b),n.push(h))}},LinkElement:{leave(h){t.isLinkElement(h)&&h.operationId!==void 0&&l.push(h)}}}}};var QE=function(){function e(t,r){this.xf=r,this.pred=t,this.items=[]}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){return Ku(this.pred,r,this.items)?t:(this.items.push(r),this.xf["@@transducer/step"](t,r))},e}();function XE(e){return function(t){return new QE(e,t)}}var eS=Na(nc([],XE,function(e,t){for(var r,o=0,n=t.length,l=[];o<n;)Ku(e,r=t[o],l)||(l[l.length]=r),o+=1;return l}));const tS=eS,rS=()=>({predicates:e})=>{const t=(o,n)=>!!e.isParameterElement(o)&&!!e.isParameterElement(n)&&!!e.isStringElement(o.name)&&!!e.isStringElement(o.in)&&!!e.isStringElement(n.name)&&!!e.isStringElement(n.in)&&ro(o.name)===ro(n.name)&&ro(o.in)===ro(n.in),r=[];return{visitor:{PathItemElement:{enter(o,n,l,h,b){if(b.some(e.isComponentsElement))return;const{parameters:E}=o;e.isArrayElement(E)?r.push([...E.content]):r.push([])},leave(){r.pop()}},OperationElement:{leave(o){const n=gu(r);if(!Array.isArray(n)||n.length===0)return;const l=Iw([],["parameters","content"],o),h=tS(t,[...l,...n]);o.parameters=new ww(h)}}}}},oS=()=>({predicates:e})=>{let t;return{visitor:{OpenApi3_1Element:{enter(r){e.isArrayElement(r.security)&&(t=r.security)},leave(){t=void 0}},OperationElement:{leave(r,o,n,l,h){if(!h.some(e.isComponentsElement)){var b;r.security===void 0&&t!==void 0&&(r.security=new xw((b=t)===null||b===void 0?void 0:b.content))}}}}}},aS=()=>({predicates:e,namespace:t})=>({visitor:{OpenApi3_1Element(r){const o=r.servers===void 0,n=e.isArrayElement(r.servers),l=n&&r.servers.length===0,h=t.elements.Server.refract({url:"/"});o||!n?r.servers=new ub([h]):n&&l&&r.servers.push(h)},PathItemElement(r,o,n,l,h){if(h.some(e.isComponentsElement)||!h.some(e.isOpenApi3_1Element))return;const b=h.find(e.isOpenApi3_1Element),E=r.servers===void 0,R=e.isArrayElement(r.servers),L=R&&r.servers.length===0;if(e.isOpenApi3_1Element(b)){var U;const K=(U=b.servers)===null||U===void 0?void 0:U.content,F=K??[];E||!R?r.servers=new Sw(F):R&&L&&F.forEach(V=>{r.servers.push(V)})}},OperationElement(r,o,n,l,h){if(h.some(e.isComponentsElement)||!h.some(e.isOpenApi3_1Element))return;const b=[...h].reverse().find(e.isPathItemElement),E=r.servers===void 0,R=e.isArrayElement(r.servers),L=R&&r.servers.length===0;if(e.isPathItemElement(b)){var U;const K=(U=b.servers)===null||U===void 0?void 0:U.content,F=K??[];E||!R?r.servers=new Ew(F):R&&L&&F.forEach(V=>{r.servers.push(V)})}}}}),nS=()=>({predicates:e})=>({visitor:{ParameterElement:{leave(t,r,o,n,l){var h,b;if(!l.some(e.isComponentsElement)&&t.schema!==void 0&&e.isSchemaElement(t.schema)&&(((h=t.schema)===null||h===void 0?void 0:h.example)!==void 0||((b=t.schema)===null||b===void 0?void 0:b.examples)!==void 0)){if(t.examples!==void 0&&e.isObjectElement(t.examples)){const E=t.examples.map(R=>No.safe(R.value));return t.schema.examples!==void 0&&t.schema.set("examples",E),void(t.schema.example!==void 0&&t.schema.set("example",E))}t.example!==void 0&&(t.schema.examples!==void 0&&t.schema.set("examples",[No(t.example)]),t.schema.example!==void 0&&t.schema.set("example",No(t.example)))}}}}}),iS=()=>({predicates:e})=>({visitor:{HeaderElement:{leave(t,r,o,n,l){var h,b;if(!l.some(e.isComponentsElement)&&t.schema!==void 0&&e.isSchemaElement(t.schema)&&(((h=t.schema)===null||h===void 0?void 0:h.example)!==void 0||((b=t.schema)===null||b===void 0?void 0:b.examples)!==void 0)){if(t.examples!==void 0&&e.isObjectElement(t.examples)){const E=t.examples.map(R=>No.safe(R.value));return t.schema.examples!==void 0&&t.schema.set("examples",E),void(t.schema.example!==void 0&&t.schema.set("example",E))}t.example!==void 0&&(t.schema.examples!==void 0&&t.schema.set("examples",[No(t.example)]),t.schema.example!==void 0&&t.schema.set("example",No(t.example)))}}}}}),fh=e=>t=>{if(t!=null&&t.$$normalized)return t;if(fh.cache.has(t))return fh.cache.get(t);const r=ju.refract(t),o=e(r),n=ro(o);return fh.cache.set(t,n),n};fh.cache=new WeakMap;const Bw=e=>{if(!Rn(e)||e.hasKey("$$normalized"))return e;const t=[ZE({operationIdNormalizer:(o,n,l)=>Ul({operationId:o},n,l,{v2OperationIdCompatibilityMode:!1})}),rS(),oS(),aS(),nS(),iS()],r=Tg(e,t,{toolboxCreator:Aw,visitorOptions:{keyMap:Gc,nodeTypeGetter:Oc}});return r.set("$$normalized",!0),r},sS=un({props:{name:null},methods:{canRead:()=>!1,async read(){throw new jl("read method in Resolver stamp is not yet implemented.")}}}),cS=un(sS,{props:{timeout:5e3,redirects:5,withCredentials:!1},init({timeout:e=this.timeout,redirects:t=this.redirects,withCredentials:r=this.withCredentials}={}){this.timeout=e,this.redirects=t,this.withCredentials=r},methods:{canRead:e=>Uc(e.uri),async read(){throw new jl("read method in HttpResolver stamp is not yet implemented.")},getHttpClient(){throw new jl("getHttpClient method in HttpResolver stamp is not yet implemented.")}}}),{AbortController:lS,AbortSignal:uS}=globalThis;globalThis.AbortController===void 0&&(globalThis.AbortController=lS),globalThis.AbortSignal===void 0&&(globalThis.AbortSignal=uS);const pS=cS.compose({props:{name:"http-swagger-client",swaggerHTTPClient:Ms,swaggerHTTPClientConfig:{}},init({swaggerHTTPClient:e=this.swaggerHTTPClient}={}){this.swaggerHTTPClient=e},methods:{getHttpClient(){return this.swaggerHTTPClient},async read(e){const t=this.getHttpClient(),r=new AbortController,{signal:o}=r,n=setTimeout(()=>{r.abort()},this.timeout),l=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",h=this.redirects===0?"error":"follow",b=this.redirects>0?this.redirects:void 0;try{return(await t({url:e.uri,signal:o,userFetch:async(R,L)=>{let U=await fetch(R,L);try{U.headers.delete("Content-Type")}catch{U=new Response(U.body,{...U,headers:new Headers(U.headers)}),U.headers.delete("Content-Type")}return U},credentials:l,redirect:h,follow:b,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(E){throw new Nw(`Error downloading "${e.uri}"`,{cause:E})}finally{clearTimeout(n)}}}}),Mw=pS,Lw=(e,t=Py)=>{if(wl(e))try{return t.fromRefract(JSON.parse(e))}catch{}return mf(e)&&Wy("element",e)?t.fromRefract(e):t.toElement(e)},Fw=gh.compose({props:{name:"json-swagger-client",fileExtensions:[".json"],mediaTypes:["application/json"]},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return JSON.parse(e.toString()),!0}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("json-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();if(this.allowEmpty&&r.trim()==="")return t;try{const o=Lw(JSON.parse(r));return o.classes.push("result"),t.push(o),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),$w=gh.compose({props:{name:"yaml-1-2-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:["text/yaml","application/yaml"]},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return Ws.load(e.toString(),{schema:ji}),!0}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();try{const o=Ws.load(r,{schema:ji});if(this.allowEmpty&&o===void 0)return t;const n=Lw(o);return n.classes.push("result"),t.push(n),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),Uw=gh.compose({props:{name:"openapi-json-3-1-swagger-client",fileExtensions:[".json"],mediaTypes:new iv(...mp.filterByFormat("generic"),...mp.filterByFormat("json")),detectionRegExp:/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const o=e.toString();return JSON.parse(o),this.detectionRegExp.test(o)}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();if(this.allowEmpty&&r.trim()==="")return t;try{const o=JSON.parse(r),n=ju.refract(o,this.refractorOpts);return n.classes.push("result"),t.push(n),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),qw=gh.compose({props:{name:"openapi-yaml-3-1-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:new iv(...mp.filterByFormat("generic"),...mp.filterByFormat("yaml")),detectionRegExp:/(?<YAML>^(["']?)openapi\2\s*:\s*(["']?)(?<version_yaml>3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))")/m},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const o=e.toString();return Ws.load(o),this.detectionRegExp.test(o)}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();try{const o=Ws.load(r,{schema:ji});if(this.allowEmpty&&o===void 0)return t;const n=ju.refract(o,this.refractorOpts);return n.classes.push("result"),t.push(n),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),dS=un({props:{name:null},methods:{canDereference:()=>!1,async dereference(){throw new jl("dereference method in DereferenceStrategy stamp is not yet implemented.")}}}),gS=Ts[Symbol.for("nodejs.util.promisify.custom")],hS=un(dS,{init(){this.name="openapi-3-1"},methods:{canDereference(e){var t;return e.mediaType!=="text/plain"?mp.includes(e.mediaType):tv((t=e.parseResult)===null||t===void 0?void 0:t.result)},async dereference(e,t){const r=Sd(nm),o=ml(im(),t.dereference.refSet);let n;o.has(e.uri)?n=o.find(sv(e.uri,"uri")):(n=ph({uri:e.uri,value:e.parseResult}),o.add(n));const l=um({reference:n,namespace:r,options:t}),h=await gS(o.rootRef.value,l,{keyMap:Gc,nodeTypeGetter:Oc});return t.dereference.refSet===null&&o.clean(),h}}}),Kw=hS,Yc=e=>{const t=(r=>r.slice(2))(e);return t.reduce((r,o,n)=>{if(Ys(o)){const l=String(ro(o.key));r.push(l)}else if(dc(t[n-2])){const l=t[n-2].content.indexOf(o);r.push(l)}return r},[])},pm=e=>{if(e.cause==null)return e;let{cause:t}=e;for(;t.cause!=null;)t=t.cause;return t},fS=Di("SchemaRefError",function(e,t,r){this.originalError=r,Object.assign(this,t||{})}),{wrapError:xv}=gd,Ev=Ts[Symbol.for("nodejs.util.promisify.custom")],bp=dv(),Sv=e=>t=>t.meta.hasKey("ref-referencing-element-id")&&t.meta.get("ref-referencing-element-id").equals(ro(bp.identify(e))),dm=um.compose({props:{useCircularStructures:!0,allowMetaPatches:!1,basePath:null},init({allowMetaPatches:e=this.allowMetaPatches,useCircularStructures:t=this.useCircularStructures,basePath:r=this.basePath}){this.allowMetaPatches=e,this.useCircularStructures=t,this.basePath=r},methods:{async ReferenceElement(e,t,r,o,n){try{var l;const[L,U]=this.toAncestorLineage([...n,r]);if(Ed(["cycle"],e.$ref)||L.includesCycle(e))return!1;const K=this.toBaseURI(ro(e.$ref)),F=Ri(this.reference.uri)===K,V=!F;if(!this.options.resolve.internal&&F||!this.options.resolve.external&&V)return!1;const f=await this.toReference(ro(e.$ref)),Y=Vi(K,ro(e.$ref));this.indirections.push(e);const H=jc(Y);let ne=Jc(H,f.value.result);if(hp(ne)){const ye=ro(e.meta.get("referenced-element")),he=`${ye}-${ro(bp.identify(ne))}`;this.refractCache.has(he)?ne=this.refractCache.get(he):li(ne)?(ne=fp.refract(ne),ne.setMetaProperty("referenced-element",ye),this.refractCache.set(he,ne)):(ne=this.namespace.getElementClass(ye).refract(ne),this.refractCache.set(he,ne))}if(this.indirections.includes(ne))throw new ws("Recursive JSON Pointer detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&L.includes(ne)){if(Uc(K)||Bl(K)){const ye=new fp({$ref:Y},No(e.meta),No(e.attributes));return ye.get("$ref").classes.push("cycle"),ye}return!1}U.add(e);const ae=dm({reference:f,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:L,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"$ref"]});ne=await Ev(ne,ae,{keyMap:Gc,nodeTypeGetter:Oc}),U.delete(e),this.indirections.pop();const le=ye=>{const he=Fs(ye);if(he.setMetaProperty("ref-fields",{$ref:ro(e.$ref),description:ro(e.description),summary:ro(e.summary)}),he.setMetaProperty("ref-origin",f.uri),he.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),Rn(ye)&&(e.hasKey("description")&&"description"in ye&&(he.remove("description"),he.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in ye&&(he.remove("summary"),he.set("summary",e.get("summary")))),this.allowMetaPatches&&Rn(he)&&!he.hasKey("$$ref")){const Ee=Vi(K,Y);he.set("$$ref",Ee)}return he};if(L.includes(e)||L.includes(ne)){var h;const ye=(h=L.findItem(Sv(e)))!==null&&h!==void 0?h:le(ne);return Ys(r)?r.value=ye:Array.isArray(r)&&(r[t]=ye),!1}return le(ne)}catch(L){var b,E,R;const U=pm(L),K=xv(U,{baseDoc:this.reference.uri,$ref:ro(e.$ref),pointer:jc(ro(e.$ref)),fullPath:(b=this.basePath)!==null&&b!==void 0?b:[...Yc([...n,r,e]),"$ref"]});return void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(R=E.push)===null||R===void 0||R.call(E,K))}},async PathItemElement(e,t,r,o,n){try{var l;const[L,U]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(Ed(["cycle"],e.$ref)||L.includesCycle(e))return!1;const K=this.toBaseURI(ro(e.$ref)),F=Ri(this.reference.uri)===K,V=!F;if(!this.options.resolve.internal&&F||!this.options.resolve.external&&V)return;const f=await this.toReference(ro(e.$ref)),Y=Vi(K,ro(e.$ref));this.indirections.push(e);const H=jc(Y);let ne=Jc(H,f.value.result);if(hp(ne)){const ye=`pathItem-${ro(bp.identify(ne))}`;this.refractCache.has(ye)?ne=this.refractCache.get(ye):(ne=Jl.refract(ne),this.refractCache.set(ye,ne))}if(this.indirections.includes(ne))throw new ws("Recursive JSON Pointer detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&L.includes(ne)){if(Uc(K)||Bl(K)){const ye=new Jl({$ref:Y},No(e.meta),No(e.attributes));return ye.get("$ref").classes.push("cycle"),ye}return!1}U.add(e);const ae=dm({reference:f,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:L,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"$ref"]});ne=await Ev(ne,ae,{keyMap:Gc,nodeTypeGetter:Oc}),U.delete(e),this.indirections.pop();const le=ye=>{const he=new Jl([...ye.content],No(ye.meta),No(ye.attributes));if(e.forEach((Ee,Ke,$e)=>{he.remove(ro(Ke)),he.content.push($e)}),he.remove("$ref"),he.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),he.setMetaProperty("ref-origin",f.uri),he.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),this.allowMetaPatches&&he.get("$$ref")===void 0){const Ee=Vi(K,Y);he.set("$$ref",Ee)}return he};if(L.includes(e)||L.includes(ne)){var h;const ye=(h=L.findItem(Sv(e)))!==null&&h!==void 0?h:le(ne);return Ys(r)?r.value=ye:Array.isArray(r)&&(r[t]=ye),!1}return le(ne)}catch(L){var b,E,R;const U=pm(L),K=xv(U,{baseDoc:this.reference.uri,$ref:ro(e.$ref),pointer:jc(ro(e.$ref)),fullPath:(b=this.basePath)!==null&&b!==void 0?b:[...Yc([...n,r,e]),"$ref"]});return void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(R=E.push)===null||R===void 0||R.call(E,K))}},async SchemaElement(e,t,r,o,n){try{var l;const[L,U]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(Ed(["cycle"],e.$ref)||L.includesCycle(e))return!1;let K=await this.toReference(Is(this.reference.uri)),{uri:F}=K;const V=Rw(F,e),f=Ri(V),Y=dh({uri:f}),H=!this.options.resolve.resolvers.some(Ke=>Ke.canRead(Y)),ne=!H,ae=Ke=>Ri(this.reference.uri)===Ke,le=Ke=>!ae(Ke);let ye;this.indirections.push(e);try{if(H||ne)ye=cm(V,Ou(K.value.result));else{if(F=this.toBaseURI(ro(V)),!this.options.resolve.internal&&ae(F)||!this.options.resolve.external&&le(F))return;K=await this.toReference(Is(V));const Ke=jc(V);ye=Ou(Jc(Ke,K.value.result))}}catch(Ke){if(!(ne&&Ke instanceof hv))throw Ke;if(sm(Pd(V))){if(F=this.toBaseURI(ro(V)),!this.options.resolve.internal&&ae(F)||!this.options.resolve.external&&le(F))return;K=await this.toReference(Is(V));const $e=Pd(V);ye=gv($e,Ou(K.value.result))}else{if(F=this.toBaseURI(ro(V)),!this.options.resolve.internal&&ae(F)||!this.options.resolve.external&&le(F))return;K=await this.toReference(Is(V));const $e=jc(V);ye=Ou(Jc($e,K.value.result))}}if(this.indirections.includes(ye))throw new ws("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&L.includes(ye)){if(Uc(F)||Bl(F)){const Ke=Vi(F,V),$e=new Gl({$ref:Ke},No(e.meta),No(e.attributes));return $e.get("$ref").classes.push("cycle"),$e}return!1}U.add(e);const he=dm({reference:K,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:L,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"$ref"]});if(ye=await Ev(ye,he,{keyMap:Gc,nodeTypeGetter:Oc}),U.delete(e),this.indirections.pop(),ov(ye)){const Ke=No(ye);return Ke.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),Ke.setMetaProperty("ref-origin",K.uri),Ke.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),Ke}const Ee=Ke=>{const $e=new Gl([...Ke.content],No(Ke.meta),No(Ke.attributes));if(e.forEach((xe,Ze,Rt)=>{$e.remove(ro(Ze)),$e.content.push(Rt)}),$e.remove("$ref"),$e.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),$e.setMetaProperty("ref-origin",K.uri),$e.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),this.allowMetaPatches&&$e.get("$$ref")===void 0){const xe=Vi(F,V);$e.set("$$ref",xe)}return $e};if(L.includes(e)||L.includes(ye)){var h;const Ke=(h=L.findItem(Sv(e)))!==null&&h!==void 0?h:Ee(ye);return Ys(r)?r.value=Ke:Array.isArray(r)&&(r[t]=Ke),!1}return Ee(ye)}catch(L){var b,E,R;const U=pm(L),K=new fS(`Could not resolve reference: ${U.message}`,{baseDoc:this.reference.uri,$ref:ro(e.$ref),fullPath:(b=this.basePath)!==null&&b!==void 0?b:[...Yc([...n,r,e]),"$ref"]},U);return void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(R=E.push)===null||R===void 0||R.call(E,K))}},async LinkElement(){},async ExampleElement(e,t,r,o,n){try{return await um.compose.methods.ExampleElement.call(this,e,t,r,o,n)}catch(E){var l,h,b;const R=pm(E),L=xv(R,{baseDoc:this.reference.uri,externalValue:ro(e.externalValue),fullPath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"externalValue"]});return void((h=this.options.dereference.dereferenceOpts)===null||h===void 0||(h=h.errors)===null||h===void 0||(b=h.push)===null||b===void 0||b.call(h,L))}}}}),mS=dm,_v=Kw.compose.bind(),bS=_v({init({parameterMacro:e,options:t}){this.parameterMacro=e,this.options=t},props:{parameterMacro:null,options:null,macroOperation:null,OperationElement:{enter(e){this.macroOperation=e},leave(){this.macroOperation=null}},ParameterElement:{leave(e,t,r,o,n){const l=this.macroOperation===null?null:ro(this.macroOperation),h=ro(e);try{const R=this.parameterMacro(l,h);e.set("default",R)}catch(R){var b,E;const L=new Error(R,{cause:R});L.fullPath=Yc([...n,r]),(b=this.options.dereference.dereferenceOpts)===null||b===void 0||(b=b.errors)===null||b===void 0||(E=b.push)===null||E===void 0||E.call(b,L)}}}}}),vS=bS,yS=_v({init({modelPropertyMacro:e,options:t}){this.modelPropertyMacro=e,this.options=t},props:{modelPropertyMacro:null,options:null,SchemaElement:{leave(e,t,r,o,n){e.properties!==void 0&&Rn(e.properties)&&e.properties.forEach(l=>{if(Rn(l))try{const E=this.modelPropertyMacro(ro(l));l.set("default",E)}catch(E){var h,b;const R=new Error(E,{cause:E});R.fullPath=[...Yc([...n,r,e]),"properties"],(h=this.options.dereference.dereferenceOpts)===null||h===void 0||(h=h.errors)===null||h===void 0||(b=h.push)===null||b===void 0||b.call(h,R)}})}}}}),wS=yS,kS=_v({init({options:e}){this.options=e},props:{options:null,SchemaElement:{leave(e,t,r,o,n){if(e.allOf===void 0)return;if(!dc(e.allOf)){var l,h;const L=new TypeError("allOf must be an array");return L.fullPath=[...Yc([...n,r,e]),"allOf"],void((l=this.options.dereference.dereferenceOpts)===null||l===void 0||(l=l.errors)===null||l===void 0||(h=l.push)===null||h===void 0||h.call(l,L))}if(e.allOf.isEmpty)return new Gl(e.content.filter(L=>ro(L.key)!=="allOf"),No(e.meta),No(e.attributes));if(!e.allOf.content.every(uh)){var b,E;const L=new TypeError("Elements in allOf must be objects");return L.fullPath=[...Yc([...n,r,e]),"allOf"],void((b=this.options.dereference.dereferenceOpts)===null||b===void 0||(b=b.errors)===null||b===void 0||(E=b.push)===null||E===void 0||E.call(b,L))}const R=El.all([...e.allOf.content,e]);return e.hasKey("$$ref")||R.remove("$$ref"),e.hasKey("example")&&(R.getMember("example").value=e.get("example")),e.hasKey("examples")&&(R.getMember("examples").value=e.get("examples")),R.remove("allOf"),R}}}}),xS=kS,ES=Ts[Symbol.for("nodejs.util.promisify.custom")],SS=Kw.compose({props:{useCircularStructures:!0,allowMetaPatches:!1,parameterMacro:null,modelPropertyMacro:null,mode:"non-strict",ancestors:null},init({useCircularStructures:e=this.useCircularStructures,allowMetaPatches:t=this.allowMetaPatches,parameterMacro:r=this.parameterMacro,modelPropertyMacro:o=this.modelPropertyMacro,mode:n=this.mode,ancestors:l=[]}={}){this.name="openapi-3-1-swagger-client",this.useCircularStructures=e,this.allowMetaPatches=t,this.parameterMacro=r,this.modelPropertyMacro=o,this.mode=n,this.ancestors=[...l]},methods:{async dereference(e,t){var r;const o=[],n=Sd(nm),l=(r=t.dereference.refSet)!==null&&r!==void 0?r:im();let h;l.has(e.uri)?h=l.find(L=>L.uri===e.uri):(h=ph({uri:e.uri,value:e.parseResult}),l.add(h));const b=mS({reference:h,namespace:n,options:t,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors});if(o.push(b),typeof this.parameterMacro=="function"){const L=vS({parameterMacro:this.parameterMacro,options:t});o.push(L)}if(typeof this.modelPropertyMacro=="function"){const L=wS({modelPropertyMacro:this.modelPropertyMacro,options:t});o.push(L)}if(this.mode!=="strict"){const L=xS({options:t});o.push(L)}const E=Ty(o,{nodeTypeGetter:Oc}),R=await ES(l.rootRef.value,E,{keyMap:Gc,nodeTypeGetter:Oc});return t.dereference.refSet===null&&l.clean(),R}}}),Hw=SS,jv=async e=>{const{spec:t,timeout:r,redirects:o,requestInterceptor:n,responseInterceptor:l,pathDiscriminator:h=[],allowMetaPatches:b=!1,useCircularStructures:E=!1,skipNormalization:R=!1,parameterMacro:L=null,modelPropertyMacro:U=null,mode:K="non-strict"}=e;try{const{cache:F}=jv,V=Uc(ep())?ep():qc,f=up(e),Y=Vi(V,f);let H;F.has(t)?H=F.get(t):(H=ju.refract(t),H.classes.push("result"),F.set(t,H));const ne=new Z([H]),ae=Qx(h),le=ae===""?"":`#${ae}`,ye=Jc(ae,H),he=ph({uri:Y,value:ne}),Ee=im({refs:[he]});ae!==""&&(Ee.rootRef=null);const Ke=[new Set([ye])],$e=[],xe=await(async(Lt,gt={})=>{const er=Pw(bE,gt);return OE(Lt,er)})(ye,{resolve:{baseURI:`${Y}${le}`,resolvers:[Mw({timeout:r||1e4,redirects:o||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:n,responseInterceptor:l}},strategies:[KE()]},parse:{mediaType:mp.latest(),parsers:[Uw({allowEmpty:!1,sourceMap:!1}),qw({allowEmpty:!1,sourceMap:!1}),Fw({allowEmpty:!1,sourceMap:!1}),$w({allowEmpty:!1,sourceMap:!1}),CE({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[Hw({allowMetaPatches:b,useCircularStructures:E,parameterMacro:L,modelPropertyMacro:U,mode:K,ancestors:Ke})],refSet:Ee,dereferenceOpts:{errors:$e}}}),Ze=((Lt,gt,er)=>new Vx({element:er}).transclude(Lt,gt))(ye,xe,H),Rt=R?Ze:Bw(Ze);return{spec:ro(Rt),errors:$e}}catch(F){if(F instanceof ob||F instanceof Rg)return{spec:null,errors:[]};throw F}};jv.cache=new WeakMap;const _S=jv,jS={name:"openapi-3-1-apidom",match:({spec:e})=>xd(e),normalize:({spec:e})=>fh(Bw)(e),resolve:async e=>_S(e)},Vw=jS,Ov=e=>async t=>(async r=>{const{spec:o,requestInterceptor:n,responseInterceptor:l}=r,h=up(r),b=wd(r),E=o||await ku(b,{requestInterceptor:n,responseInterceptor:l})(h),R={...r,spec:E};return r.strategies.find(L=>L.match(R)).resolve(R)})({...e,...t}),OS=Ov({strategies:[Cg,Eu,xu]});var AS=st(29225);function Ww(e){return Object.prototype.toString.call(e)==="[object Object]"}function Jw(e){var t,r;return Ww(e)!==!1&&((t=e.constructor)===void 0||Ww(r=t.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)}const CS={body:function({req:e,value:t}){e.body=t},header:function({req:e,parameter:t,value:r}){e.headers=e.headers||{},r!==void 0&&(e.headers[t.name]=r)},query:function({req:e,value:t,parameter:r}){if(e.query=e.query||{},t===!1&&r.type==="boolean"&&(t="false"),t===0&&["number","integer"].indexOf(r.type)>-1&&(t="0"),t)e.query[r.name]={collectionFormat:r.collectionFormat,value:t};else if(r.allowEmptyValue&&t!==void 0){const o=r.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}},path:function({req:e,value:t,parameter:r}){e.url=e.url.split(`{${r.name}}`).join(encodeURIComponent(t))},formData:function({req:e,value:t,parameter:r}){(t||r.allowEmptyValue)&&(e.form=e.form||{},e.form[r.name]={value:t,allowEmptyValue:r.allowEmptyValue,collectionFormat:r.collectionFormat})}};function gm(e,t){return t.includes("application/json")?typeof e=="string"?e:JSON.stringify(e):e.toString()}function PS({req:e,value:t,parameter:r}){const{name:o,style:n,explode:l,content:h}=r;if(h){const E=Object.keys(h)[0];return void(e.url=e.url.split(`{${o}}`).join(pc(gm(t,E),{escape:!0})))}const b=_g({key:r.name,value:t,style:n||"simple",explode:l||!1,escape:!0});e.url=e.url.split(`{${o}}`).join(b)}function IS({req:e,value:t,parameter:r}){if(e.query=e.query||{},r.content){const o=gm(t,Object.keys(r.content)[0]);if(o)e.query[r.name]=o;else if(r.allowEmptyValue&&t!==void 0){const n=r.name;e.query[n]=e.query[n]||{},e.query[n].allowEmptyValue=!0}}else if(t===!1&&(t="false"),t===0&&(t="0"),t){const{style:o,explode:n,allowReserved:l}=r;e.query[r.name]={value:t,serializationOption:{style:o,explode:n,allowReserved:l}}}else if(r.allowEmptyValue&&t!==void 0){const o=r.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}}const zS=["accept","authorization","content-type"];function TS({req:e,parameter:t,value:r}){if(e.headers=e.headers||{},!(zS.indexOf(t.name.toLowerCase())>-1))if(t.content){const o=Object.keys(t.content)[0];e.headers[t.name]=gm(r,o)}else r===void 0||Array.isArray(r)&&r.length===0||(e.headers[t.name]=_g({key:t.name,value:r,style:t.style||"simple",explode:t.explode!==void 0&&t.explode,escape:!1}))}function RS({req:e,parameter:t,value:r}){e.headers=e.headers||{};const o=typeof r;if(t.content){const n=Object.keys(t.content)[0];e.headers.Cookie=`${t.name}=${gm(r,n)}`}else if(r!==void 0&&(!Array.isArray(r)||r.length!==0)){const n=o==="object"&&!Array.isArray(r)&&t.explode?"":`${t.name}=`;e.headers.Cookie=n+_g({key:t.name,value:r,escape:!1,style:t.style||"form",explode:t.explode!==void 0&&t.explode})}}const NS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:DS}=NS,Gw=DS;function BS(e,t){const{operation:r,requestBody:o,securities:n,spec:l,attachContentTypeForEmptyPayload:h}=e;let{requestContentType:b}=e;t=function({request:F,securities:V={},operation:f={},spec:Y}){var H;const ne={...F},{authorized:ae={}}=V,le=f.security||Y.security||[],ye=ae&&!!Object.keys(ae).length,he=(Y==null||(H=Y.components)===null||H===void 0?void 0:H.securitySchemes)||{};return ne.headers=ne.headers||{},ne.query=ne.query||{},!Object.keys(V).length||!ye||!le||Array.isArray(f.security)&&!f.security.length?F:(le.forEach(Ee=>{Object.keys(Ee).forEach(Ke=>{const $e=ae[Ke],xe=he[Ke];if(!$e)return;const Ze=$e.value||$e,{type:Rt}=xe;if($e){if(Rt==="apiKey")xe.in==="query"&&(ne.query[xe.name]=Ze),xe.in==="header"&&(ne.headers[xe.name]=Ze),xe.in==="cookie"&&(ne.cookies[xe.name]=Ze);else if(Rt==="http"){if(/^basic$/i.test(xe.scheme)){const Lt=Ze.username||"",gt=Ze.password||"",er=Gw(`${Lt}:${gt}`);ne.headers.Authorization=`Basic ${er}`}/^bearer$/i.test(xe.scheme)&&(ne.headers.Authorization=`Bearer ${Ze}`)}else if(Rt==="oauth2"||Rt==="openIdConnect"){const Lt=$e.token||{},gt=Lt[xe["x-tokenName"]||"access_token"];let er=Lt.token_type;er&&er.toLowerCase()!=="bearer"||(er="Bearer"),ne.headers.Authorization=`${er} ${gt}`}}})}),ne)}({request:t,securities:n,operation:r,spec:l});const E=r.requestBody||{},R=Object.keys(E.content||{}),L=b&&R.indexOf(b)>-1;if(o||h){if(b&&L)t.headers["Content-Type"]=b;else if(!b){const F=R[0];F&&(t.headers["Content-Type"]=F,b=F)}}else b&&L&&(t.headers["Content-Type"]=b);if(!e.responseContentType&&r.responses){const F=Object.entries(r.responses).filter(([V,f])=>{const Y=parseInt(V,10);return Y>=200&&Y<300&&Jw(f.content)}).reduce((V,[,f])=>V.concat(Object.keys(f.content)),[]);F.length>0&&(t.headers.accept=F.join(", "))}if(o)if(b){if(R.indexOf(b)>-1)if(b==="application/x-www-form-urlencoded"||b==="multipart/form-data")if(typeof o=="object"){var U,K;const F=(U=(K=E.content[b])===null||K===void 0?void 0:K.encoding)!==null&&U!==void 0?U:{};t.form={},Object.keys(o).forEach(V=>{t.form[V]={value:o[V],encoding:F[V]||{}}})}else t.form=o;else t.body=o}else t.body=o;return t}function MS(e,t){const{spec:r,operation:o,securities:n,requestContentType:l,responseContentType:h,attachContentTypeForEmptyPayload:b}=e;if(t=function({request:E,securities:R={},operation:L={},spec:U}){const K={...E},{authorized:F={},specSecurity:V=[]}=R,f=L.security||V,Y=F&&!!Object.keys(F).length,H=U.securityDefinitions;return K.headers=K.headers||{},K.query=K.query||{},!Object.keys(R).length||!Y||!f||Array.isArray(L.security)&&!L.security.length?E:(f.forEach(ne=>{Object.keys(ne).forEach(ae=>{const le=F[ae];if(!le)return;const{token:ye}=le,he=le.value||le,Ee=H[ae],{type:Ke}=Ee,$e=Ee["x-tokenName"]||"access_token",xe=ye&&ye[$e];let Ze=ye&&ye.token_type;if(le)if(Ke==="apiKey"){const Rt=Ee.in==="query"?"query":"headers";K[Rt]=K[Rt]||{},K[Rt][Ee.name]=he}else if(Ke==="basic")if(he.header)K.headers.authorization=he.header;else{const Rt=he.username||"",Lt=he.password||"";he.base64=Gw(`${Rt}:${Lt}`),K.headers.authorization=`Basic ${he.base64}`}else Ke==="oauth2"&&xe&&(Ze=Ze&&Ze.toLowerCase()!=="bearer"?Ze:"Bearer",K.headers.authorization=`${Ze} ${xe}`)})}),K)}({request:t,securities:n,operation:o,spec:r}),t.body||t.form||b)l?t.headers["Content-Type"]=l:Array.isArray(o.consumes)?[t.headers["Content-Type"]]=o.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:o.parameters&&o.parameters.filter(E=>E.type==="file").length?t.headers["Content-Type"]="multipart/form-data":o.parameters&&o.parameters.filter(E=>E.in==="formData").length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(l){const E=o.parameters&&o.parameters.filter(L=>L.in==="body").length>0,R=o.parameters&&o.parameters.filter(L=>L.in==="formData").length>0;(E||R)&&(t.headers["Content-Type"]=l)}return!h&&Array.isArray(o.produces)&&o.produces.length>0&&(t.headers.accept=o.produces.join(", ")),t}function Yw(e,t){return`${t.toLowerCase()}-${e}`}function Zw(e,t,r){if(!e||typeof e!="object"||!e.paths||typeof e.paths!="object")return null;const{paths:o}=e;for(const n in o)for(const l in o[n]){if(l.toUpperCase()==="PARAMETERS")continue;const h=o[n][l];if(!h||typeof h!="object")continue;const b={spec:e,pathName:n,method:l.toUpperCase(),operation:h},E=t(b);if(r&&E)return b}}function LS(e,t){return e&&e.paths?function(r,o){return Zw(r,o,!0)||null}(e,({pathName:r,method:o,operation:n})=>{if(!n||typeof n!="object")return!1;const l=n.operationId;return[Ul(n,r,o),Yw(r,o),l].some(h=>h&&h===t)}):null}const Qw=e=>Array.isArray(e)?e:[],Av=e=>{try{return new URL(e)}catch{const t=new URL(e,qc),r=String(e).startsWith("/")?t.pathname:t.pathname.substring(1);return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}},FS=Di("OperationNotFoundError",function(e,t,r){this.originalError=r,Object.assign(this,t||{})}),$S={buildRequest:Cv};function Xw({http:e,fetch:t,spec:r,operationId:o,pathName:n,method:l,parameters:h,securities:b,...E}){const R=e||t||Ms;n&&l&&!o&&(o=Yw(n,l));const L=$S.buildRequest({spec:r,operationId:o,parameters:h,securities:b,http:R,...E});return L.body&&(Jw(L.body)||Array.isArray(L.body))&&(L.body=JSON.stringify(L.body)),R(L)}function Cv(e){const{spec:t,operationId:r,responseContentType:o,scheme:n,requestInterceptor:l,responseInterceptor:h,contextUrl:b,userFetch:E,server:R,serverVariables:L,http:U,signal:K}=e;let{parameters:F,parameterBuilders:V}=e;const f=dp(t);V||(V=f?C:CS);let Y={url:"",credentials:U&&U.withCredentials?"include":"same-origin",headers:{},cookies:{}};K&&(Y.signal=K),l&&(Y.requestInterceptor=l),h&&(Y.responseInterceptor=h),E&&(Y.userFetch=E);const H=LS(t,r);if(!H)throw new FS(`Operation ${r} not found`);const{operation:ne={},method:ae,pathName:le}=H;if(Y.url+=ek({spec:t,scheme:n,contextUrl:b,server:R,serverVariables:L,pathName:le,method:ae}),!r)return delete Y.cookies,Y;Y.url+=le,Y.method=`${ae}`.toUpperCase(),F=F||{};const ye=t.paths[le]||{};o&&(Y.headers.accept=o);const he=(Ke=>{const $e={};Ke.forEach(Ze=>{$e[Ze.in]||($e[Ze.in]={}),$e[Ze.in][Ze.name]=Ze});const xe=[];return Object.keys($e).forEach(Ze=>{Object.keys($e[Ze]).forEach(Rt=>{xe.push($e[Ze][Rt])})}),xe})([].concat(Qw(ne.parameters)).concat(Qw(ye.parameters)));he.forEach(Ke=>{const $e=V[Ke.in];let xe;if(Ke.in==="body"&&Ke.schema&&Ke.schema.properties&&(xe=F),xe=Ke&&Ke.name&&F[Ke.name],xe===void 0?xe=Ke&&Ke.name&&F[`${Ke.in}.${Ke.name}`]:((Ze,Rt)=>Rt.filter(Lt=>Lt.name===Ze))(Ke.name,he).length>1&&console.warn(`Parameter '${Ke.name}' is ambiguous because the defined spec has more than one parameter with the name: '${Ke.name}' and the passed-in parameter values did not define an 'in' value.`),xe!==null){if(Ke.default!==void 0&&xe===void 0&&(xe=Ke.default),xe===void 0&&Ke.required&&!Ke.allowEmptyValue)throw new Error(`Required parameter ${Ke.name} is not provided`);if(f&&Ke.schema&&Ke.schema.type==="object"&&typeof xe=="string")try{xe=JSON.parse(xe)}catch{throw new Error("Could not parse object parameter value string as JSON")}$e&&$e({req:Y,parameter:Ke,value:xe,operation:ne,spec:t})}});const Ee={...e,operation:ne};if(Y=f?BS(Ee,Y):MS(Ee,Y),Y.cookies&&Object.keys(Y.cookies).length){const Ke=Object.keys(Y.cookies).reduce(($e,xe)=>{const Ze=Y.cookies[xe];return $e+($e?"&":"")+AS.serialize(xe,Ze)},"");Y.headers.Cookie=Ke}return Y.cookies&&delete Y.cookies,lp(Y),Y}const Pv=e=>e?e.replace(/\W/g,""):null;function ek(e){return dp(e.spec)?function({spec:t,pathName:r,method:o,server:n,contextUrl:l,serverVariables:h={}}){var b,E;let R,L=[],U="";const K=t==null||(b=t.paths)===null||b===void 0||(b=b[r])===null||b===void 0||(b=b[(o||"").toLowerCase()])===null||b===void 0?void 0:b.servers,F=t==null||(E=t.paths)===null||E===void 0||(E=E[r])===null||E===void 0?void 0:E.servers,V=t==null?void 0:t.servers;return L=Iv(K)?K:Iv(F)?F:Iv(V)?V:[ud],n&&(R=L.find(f=>f.url===n),R&&(U=n)),U||([R]=L,U=R.url),U.includes("{")&&function(Y){const H=[],ne=/{([^}]+)}/g;let ae;for(;ae=ne.exec(Y);)H.push(ae[1]);return H}(U).forEach(Y=>{if(R.variables&&R.variables[Y]){const H=R.variables[Y],ne=h[Y]||H.default,ae=new RegExp(`{${Y}}`,"g");U=U.replace(ae,ne)}}),function(f="",Y=""){const H=Av(f&&Y?Vi(Y,f):f),ne=Av(Y),ae=Pv(H.protocol)||Pv(ne.protocol),le=H.host||ne.host,ye=H.pathname;let he;return he=ae&&le?`${ae}://${le+ye}`:ye,he[he.length-1]==="/"?he.slice(0,-1):he}(U,l)}(e):function({spec:t,scheme:r,contextUrl:o=""}){const n=Av(o),l=Array.isArray(t.schemes)?t.schemes[0]:null,h=r||l||Pv(n.protocol)||"http",b=t.host||n.host||"",E=t.basePath||"";let R;return R=h&&b?`${h}://${b+E}`:E,R[R.length-1]==="/"?R.slice(0,-1):R}(e)}const Iv=e=>Array.isArray(e)&&e.length>0,tk=e=>async(t,r,o={})=>(async(n,l,h={})=>{const{returnEntireTree:b,baseDoc:E,requestInterceptor:R,responseInterceptor:L,parameterMacro:U,modelPropertyMacro:K,useCircularStructures:F,strategies:V}=h,f={spec:n,pathDiscriminator:l,baseDoc:E,requestInterceptor:R,responseInterceptor:L,parameterMacro:U,modelPropertyMacro:K,useCircularStructures:F,strategies:V},Y=V.find(ne=>ne.match(f)).normalize(f),H=await OS({...f,spec:Y,allowMetaPatches:!0,skipNormalization:!0});return!b&&Array.isArray(l)&&l.length&&(H.spec=l.reduce((ne,ae)=>ne==null?void 0:ne[ae],H.spec)||null),H})(t,r,{...e,...o});var rk=st(30883),US=st(17862),qS=st(24904);let ok=function(e){e()};const KS=()=>ok,ak=Symbol.for("react-redux-context"),nk=typeof globalThis<"u"?globalThis:{};function HS(){var e;if(!P.createContext)return{};const t=(e=nk[ak])!=null?e:nk[ak]=new Map;let r=t.get(P.createContext);return r||(r=P.createContext(null),t.set(P.createContext,r)),r}const ik=HS();function vp(){return vp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},vp.apply(this,arguments)}function zv(e,t){if(e==null)return{};var r,o,n={},l=Object.keys(e);for(o=0;o<l.length;o++)r=l[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}var VS=st(69869),sk=st.n(VS),WS=st(67086);const JS=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function GS(e,t,r,o,{areStatesEqual:n,areOwnPropsEqual:l,areStatePropsEqual:h}){let b,E,R,L,U,K=!1;function F(V,f){const Y=!l(f,E),H=!n(V,b,f,E);return b=V,E=f,Y&&H?(R=e(b,E),t.dependsOnOwnProps&&(L=t(o,E)),U=r(R,L,E),U):Y?(e.dependsOnOwnProps&&(R=e(b,E)),t.dependsOnOwnProps&&(L=t(o,E)),U=r(R,L,E),U):H?function(){const ne=e(b,E),ae=!h(ne,R);return R=ne,ae&&(U=r(R,L,E)),U}():U}return function(V,f){return K?F(V,f):(b=V,E=f,R=e(b,E),L=t(o,E),U=r(R,L,E),K=!0,U)}}function Tv(e){return function(t){const r=e(t);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ck(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function lk(e,t){return function(r,{displayName:o}){const n=function(l,h){return n.dependsOnOwnProps?n.mapToProps(l,h):n.mapToProps(l,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(l,h){n.mapToProps=e,n.dependsOnOwnProps=ck(e);let b=n(l,h);return typeof b=="function"&&(n.mapToProps=b,n.dependsOnOwnProps=ck(b),b=n(l,h)),b},n}}function Rv(e,t){return(r,o)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${o.wrappedComponentName}.`)}}function YS(e,t,r){return vp({},r,e,t)}const uk={notify(){},get:()=>[]};function pk(e,t){let r,o=uk,n=0,l=!1;function h(){R.onStateChange&&R.onStateChange()}function b(){n++,r||(r=t?t.addNestedSub(h):e.subscribe(h),o=function(){const L=KS();let U=null,K=null;return{clear(){U=null,K=null},notify(){L(()=>{let F=U;for(;F;)F.callback(),F=F.next})},get(){let F=[],V=U;for(;V;)F.push(V),V=V.next;return F},subscribe(F){let V=!0,f=K={callback:F,next:null,prev:K};return f.prev?f.prev.next=f:U=f,function(){V&&U!==null&&(V=!1,f.next?f.next.prev=f.prev:K=f.prev,f.prev?f.prev.next=f.next:U=f.next)}}}}())}function E(){n--,r&&n===0&&(r(),r=void 0,o.clear(),o=uk)}const R={addNestedSub:function(L){b();const U=o.subscribe(L);let K=!1;return()=>{K||(K=!0,U(),E())}},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:h,isSubscribed:function(){return l},trySubscribe:function(){l||(l=!0,b())},tryUnsubscribe:function(){l&&(l=!1,E())},getListeners:()=>o};return R}const hm=typeof window>"u"||window.document===void 0||window.document.createElement===void 0?P.useEffect:P.useLayoutEffect;function dk(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!=e&&t!=t}function Nv(e,t){if(dk(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!dk(e[r[n]],t[r[n]]))return!1;return!0}const ZS=["reactReduxForwardedRef"];let gk=()=>{throw new Error("uSES not initialized!")};const QS=[null,null];function XS(e,t,r,o,n,l){e.current=o,r.current=!1,n.current&&(n.current=null,l())}function e_(e,t){return e===t}const t_=function(e,t,r,{pure:o,areStatesEqual:n=e_,areOwnPropsEqual:l=Nv,areStatePropsEqual:h=Nv,areMergedPropsEqual:b=Nv,forwardRef:E=!1,context:R=ik}={}){const L=R,U=function(f){return f?typeof f=="function"?lk(f):Rv(f,"mapStateToProps"):Tv(()=>({}))}(e),K=function(f){return f&&typeof f=="object"?Tv(Y=>function(H,ne){const ae={};for(const le in H){const ye=H[le];typeof ye=="function"&&(ae[le]=(...he)=>ne(ye(...he)))}return ae}(f,Y)):f?typeof f=="function"?lk(f):Rv(f,"mapDispatchToProps"):Tv(Y=>({dispatch:Y}))}(t),F=function(f){return f?typeof f=="function"?function(Y){return function(H,{displayName:ne,areMergedPropsEqual:ae}){let le,ye=!1;return function(he,Ee,Ke){const $e=Y(he,Ee,Ke);return ye?ae($e,le)||(le=$e):(ye=!0,le=$e),le}}}(f):Rv(f,"mergeProps"):()=>YS}(r),V=!!e;return f=>{const Y=f.displayName||f.name||"Component",H=`Connect(${Y})`,ne={shouldHandleStateChanges:V,displayName:H,wrappedComponentName:Y,WrappedComponent:f,initMapStateToProps:U,initMapDispatchToProps:K,initMergeProps:F,areStatesEqual:n,areStatePropsEqual:h,areOwnPropsEqual:l,areMergedPropsEqual:b};function ae(ye){const[he,Ee,Ke]=P.useMemo(()=>{const{reactReduxForwardedRef:Jr}=ye,Vo=zv(ye,ZS);return[ye.context,Jr,Vo]},[ye]),$e=P.useMemo(()=>he&&he.Consumer&&(0,WS.isContextConsumer)(P.createElement(he.Consumer,null))?he:L,[he,L]),xe=P.useContext($e),Ze=!!ye.store&&!!ye.store.getState&&!!ye.store.dispatch,Rt=!!xe&&!!xe.store,Lt=Ze?ye.store:xe.store,gt=Rt?xe.getServerState:Lt.getState,er=P.useMemo(()=>function(Jr,Vo){let{initMapStateToProps:la,initMapDispatchToProps:ho,initMergeProps:Po}=Vo,na=zv(Vo,JS);return GS(la(Jr,na),ho(Jr,na),Po(Jr,na),Jr,na)}(Lt.dispatch,ne),[Lt]),[pt,wt]=P.useMemo(()=>{if(!V)return QS;const Jr=pk(Lt,Ze?void 0:xe.subscription),Vo=Jr.notifyNestedSubs.bind(Jr);return[Jr,Vo]},[Lt,Ze,xe]),Ue=P.useMemo(()=>Ze?xe:vp({},xe,{subscription:pt}),[Ze,xe,pt]),Bt=P.useRef(),sr=P.useRef(Ke),ur=P.useRef(),Vt=P.useRef(!1),vr=(P.useRef(!1),P.useRef(!1)),Ut=P.useRef();hm(()=>(vr.current=!0,()=>{vr.current=!1}),[]);const Hr=P.useMemo(()=>()=>ur.current&&Ke===sr.current?ur.current:er(Lt.getState(),Ke),[Lt,Ke]),rt=P.useMemo(()=>Jr=>pt?function(Vo,la,ho,Po,na,ce,we,Me,Dt,Ft,cr){if(!Vo)return()=>{};let Tr=!1,Jo=null;const ha=()=>{if(Tr||!Me.current)return;const Pa=la.getState();let wa,Xa;try{wa=Po(Pa,na.current)}catch(on){Xa=on,Jo=on}Xa||(Jo=null),wa===ce.current?we.current||Ft():(ce.current=wa,Dt.current=wa,we.current=!0,cr())};return ho.onStateChange=ha,ho.trySubscribe(),ha(),()=>{if(Tr=!0,ho.tryUnsubscribe(),ho.onStateChange=null,Jo)throw Jo}}(V,Lt,pt,er,sr,Bt,Vt,vr,ur,wt,Jr):()=>{},[pt]);var Ge,pr,Yr;let Xt;Ge=XS,pr=[sr,Bt,Vt,Ke,ur,wt],hm(()=>Ge(...pr),Yr);try{Xt=gk(rt,Hr,gt?()=>er(gt(),Ke):Hr)}catch(Jr){throw Ut.current&&(Jr.message+=`
|
|
178
|
+
CAUSE: ${o.stack}`)}}}const ws=$x,zg=class extends ws{constructor(e,t){if(super(e,t),t!=null&&typeof t=="object"){const{cause:r,...o}=t;Object.assign(this,o)}}},Q0=(e,t,r)=>{const o=e[t];if(o!=null){if(!r&&typeof o=="function")return o;const n=r?o.leave:o.enter;if(typeof n=="function")return n}else{const n=r?e.leave:e.enter;if(n!=null){if(typeof n=="function")return n;const l=n[t];if(typeof l=="function")return l}}return null},hn={},bf=e=>e==null?void 0:e.type,zy=e=>typeof bf(e)=="string",X0=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),Ty=(e,{visitFnGetter:t=Q0,nodeTypeGetter:r=bf,breakSymbol:o=hn,deleteNodeSymbol:n=null,skipVisitingNodeSymbol:l=!1,exposeEdits:h=!1}={})=>{const b=Symbol("skip"),E=new Array(e.length).fill(b);return{enter(R,...L){let U=R,K=!1;for(let F=0;F<e.length;F+=1)if(E[F]===b){const V=t(e[F],r(U),!1);if(typeof V=="function"){const f=V.call(e[F],U,...L);if(f===l)E[F]=R;else if(f===o)E[F]=o;else{if(f===n)return f;if(f!==void 0){if(!h)return f;U=f,K=!0}}}}return K?U:void 0},leave(R,...L){for(let U=0;U<e.length;U+=1)if(E[U]===b){const K=t(e[U],r(R),!0);if(typeof K=="function"){const F=K.call(e[U],R,...L);if(F===o)E[U]=o;else if(F!==void 0&&F!==l)return F}}else E[U]===R&&(E[U]=b)}}},eb=(e,t,{keyMap:r=null,state:o={},breakSymbol:n=hn,deleteNodeSymbol:l=null,skipVisitingNodeSymbol:h=!1,visitFnGetter:b=Q0,nodeTypeGetter:E=bf,nodePredicate:R=zy,nodeCloneFn:L=X0,detectCycles:U=!0}={})=>{const K=r||{};let F,V,f=Array.isArray(e),Y=[e],H=-1,ne=[],ae=e;const le=[],ye=[];do{H+=1;const Ee=H===Y.length;let Ke;const $e=Ee&&ne.length!==0;if(Ee){if(Ke=ye.length===0?void 0:le.pop(),ae=V,V=ye.pop(),$e)if(f){ae=ae.slice();let Ze=0;for(const[Rt,Lt]of ne){const gt=Rt-Ze;Lt===l?(ae.splice(gt,1),Ze+=1):ae[gt]=Lt}}else{ae=L(ae);for(const[Ze,Rt]of ne)ae[Ze]=Rt}H=F.index,Y=F.keys,ne=F.edits,f=F.inArray,F=F.prev}else if(V!==l&&V!==void 0){if(Ke=f?H:Y[H],ae=V[Ke],ae===l||ae===void 0)continue;le.push(Ke)}let xe;if(!Array.isArray(ae)){if(!R(ae))throw new zg(`Invalid AST Node: ${String(ae)}`,{node:ae});if(U&&ye.includes(ae)){le.pop();continue}const Ze=b(t,E(ae),Ee);if(Ze){for(const[Rt,Lt]of Object.entries(o))t[Rt]=Lt;xe=Ze.call(t,ae,Ke,V,le,ye)}if(xe===n)break;if(xe===h){if(!Ee){le.pop();continue}}else if(xe!==void 0&&(ne.push([Ke,xe]),!Ee)){if(!R(xe)){le.pop();continue}ae=xe}}var he;xe===void 0&&$e&&ne.push([Ke,ae]),!Ee&&(F={inArray:f,index:H,keys:Y,edits:ne,prev:F},f=Array.isArray(ae),Y=f?ae:(he=K[E(ae)])!==null&&he!==void 0?he:[],H=-1,ne=[],V!==l&&V!==void 0&&ye.push(V),V=ae)}while(F!==void 0);return ne.length!==0?ne[ne.length-1][1]:e};eb[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:o={},breakSymbol:n=hn,deleteNodeSymbol:l=null,skipVisitingNodeSymbol:h=!1,visitFnGetter:b=Q0,nodeTypeGetter:E=bf,nodePredicate:R=zy,nodeCloneFn:L=X0,detectCycles:U=!0}={})=>{const K=r||{};let F,V,f=Array.isArray(e),Y=[e],H=-1,ne=[],ae=e;const le=[],ye=[];do{H+=1;const Ee=H===Y.length;let Ke;const $e=Ee&&ne.length!==0;if(Ee){if(Ke=ye.length===0?void 0:le.pop(),ae=V,V=ye.pop(),$e)if(f){ae=ae.slice();let Ze=0;for(const[Rt,Lt]of ne){const gt=Rt-Ze;Lt===l?(ae.splice(gt,1),Ze+=1):ae[gt]=Lt}}else{ae=L(ae);for(const[Ze,Rt]of ne)ae[Ze]=Rt}H=F.index,Y=F.keys,ne=F.edits,f=F.inArray,F=F.prev}else if(V!==l&&V!==void 0){if(Ke=f?H:Y[H],ae=V[Ke],ae===l||ae===void 0)continue;le.push(Ke)}let xe;if(!Array.isArray(ae)){if(!R(ae))throw new zg(`Invalid AST Node: ${String(ae)}`,{node:ae});if(U&&ye.includes(ae)){le.pop();continue}const Ze=b(t,E(ae),Ee);if(Ze){for(const[Rt,Lt]of Object.entries(o))t[Rt]=Lt;xe=await Ze.call(t,ae,Ke,V,le,ye)}if(xe===n)break;if(xe===h){if(!Ee){le.pop();continue}}else if(xe!==void 0&&(ne.push([Ke,xe]),!Ee)){if(!R(xe)){le.pop();continue}ae=xe}}var he;xe===void 0&&$e&&ne.push([Ke,ae]),!Ee&&(F={inArray:f,index:H,keys:Y,edits:ne,prev:F},f=Array.isArray(ae),Y=f?ae:(he=K[E(ae)])!==null&&he!==void 0?he:[],H=-1,ne=[],V!==l&&V!==void 0&&ye.push(V),V=ae)}while(F!==void 0);return ne.length!==0?ne[ne.length-1][1]:e};const Ry=class extends zg{constructor(t,r){super(t,r);Io(this,"value");r!==void 0&&(this.value=r.value)}},Ux=class extends Ry{},qx=class extends Ry{},No=(e,t={})=>{const{visited:r=new WeakMap}=t,o={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof Or.KeyValuePair){const{key:n,value:l}=e,h=ts(n)?No(n,o):n,b=ts(l)?No(l,o):l,E=new Or.KeyValuePair(h,b);return r.set(e,E),E}if(e instanceof Or.ot){const n=b=>No(b,o),l=[...e].map(n),h=new Or.ot(l);return r.set(e,h),h}if(e instanceof Or.G6){const n=b=>No(b,o),l=[...e].map(n),h=new Or.G6(l);return r.set(e,h),h}if(ts(e)){const n=Fs(e);if(r.set(e,n),e.content)if(ts(e.content))n.content=No(e.content,o);else if(e.content instanceof Or.KeyValuePair)n.content=No(e.content,o);else if(Array.isArray(e.content)){const l=h=>No(h,o);n.content=e.content.map(l)}else n.content=e.content;else n.content=e.content;return n}throw new Ux("Value provided to cloneDeep function couldn't be cloned",{value:e})};No.safe=e=>{try{return No(e)}catch{return e}};const Ny=e=>{const{key:t,value:r}=e;return new Or.KeyValuePair(t,r)},Dy=e=>{const t=new e.constructor;if(t.element=e.element,e.meta.length>0&&(t._meta=No(e.meta)),e.attributes.length>0&&(t._attributes=No(e.attributes)),ts(e.content)){const r=e.content;t.content=Dy(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof Or.KeyValuePair?t.content=Ny(e.content):t.content=e.content;return t},Fs=e=>{if(e instanceof Or.KeyValuePair)return Ny(e);if(e instanceof Or.ot)return(t=>{const r=[...t];return new Or.ot(r)})(e);if(e instanceof Or.G6)return(t=>{const r=[...t];return new Or.G6(r)})(e);if(ts(e))return Dy(e);throw new qx("Value provided to cloneShallow function couldn't be cloned",{value:e})};Fs.safe=e=>{try{return Fs(e)}catch{return e}};const _d=e=>Rn(e)?"ObjectElement":dc(e)?"ArrayElement":Ys(e)?"MemberElement":bn(e)?"StringElement":Pg(e)?"BooleanElement":J0(e)?"NumberElement":G0(e)?"NullElement":xy(e)?"LinkElement":Ey(e)?"RefElement":void 0,By=e=>ts(e)?Fs(e):X0(e),My=Oi(_d,wl),jd={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};class Ly{constructor({predicate:t=Z0,returnOnTrue:r,returnOnFalse:o}={}){Io(this,"result");Io(this,"predicate");Io(this,"returnOnTrue");Io(this,"returnOnFalse");this.result=[],this.predicate=t,this.returnOnTrue=r,this.returnOnFalse=o}enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}const Ts=(e,t,{keyMap:r=jd,...o}={})=>eb(e,t,{keyMap:r,nodeTypeGetter:_d,nodePredicate:My,nodeCloneFn:By,...o});Ts[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=jd,...o}={})=>eb[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:_d,nodePredicate:My,nodeCloneFn:By,...o});const Kx={toolboxCreator:Iy,visitorOptions:{nodeTypeGetter:_d,exposeEdits:!0}},Tg=(e,t,r={})=>{if(t.length===0)return e;const o=bo(Kx,r),{toolboxCreator:n,visitorOptions:l}=o,h=n(),b=t.map(L=>L(h)),E=Ty(b.map(Zu({},"visitor")),{...l});b.forEach(Va(["pre"],[]));const R=Ts(e,E,l);return b.forEach(Va(["post"],[])),R},Hx=(e,{Type:t,plugins:r=[]})=>{const o=new t(e);return ts(e)&&(e.meta.length>0&&(o.meta=No(e.meta)),e.attributes.length>0&&(o.attributes=No(e.attributes))),Tg(o,r,{toolboxCreator:Iy,visitorOptions:{nodeTypeGetter:_d}})},_c=e=>(t,r={})=>Hx(t,{...r,Type:e});Or.Sh.refract=_c(Or.Sh),Or.wE.refract=_c(Or.wE),Or.Om.refract=_c(Or.Om),Or.bd.refract=_c(Or.bd),Or.Os.refract=_c(Or.Os),Or.kT.refract=_c(Or.kT),Or.Ft.refract=_c(Or.Ft),Or.sI.refract=_c(Or.sI),Kl.refract=_c(Kl),v.refract=_c(v),Z.refract=_c(Z),Pe.refract=_c(Pe);const vf=(e,t=new WeakMap)=>(Ys(e)?(t.set(e.key,e),vf(e.key,t),t.set(e.value,e),vf(e.value,t)):e.children.forEach(r=>{t.set(r,e),vf(r,t)}),t),Vx=class{constructor({element:e}){Io(this,"element");Io(this,"edges");this.element=e}transclude(e,t){var r;if(e===this.element)return t;if(e===t)return this.element;this.edges=(r=this.edges)!==null&&r!==void 0?r:vf(this.element);const o=this.edges.get(e);return uc(o)?void 0:(Rn(o)?((n,l,h)=>{const b=h.get(n);Rn(b)&&(b.content=b.map((E,R,L)=>L===n?(h.delete(n),h.set(l,b),l):L))})(e,t,this.edges):dc(o)?((n,l,h)=>{const b=h.get(n);dc(b)&&(b.content=b.map(E=>E===n?(h.delete(n),h.set(l,b),l):E))})(e,t,this.edges):Ys(o)&&((n,l,h)=>{const b=h.get(n);Ys(b)&&(b.key===n&&(b.key=l,h.delete(n),h.set(l,b)),b.value===n&&(b.value=l,h.delete(n),h.set(l,b)))})(e,t,this.edges),this.element)}},Hl=function(){return!0},Fy=e=>typeof(e==null?void 0:e.type)=="string"?e.type:_d(e),$y={EphemeralObject:["content"],EphemeralArray:["content"],...jd},Uy=(e,t,{keyMap:r=$y,...o}={})=>Ts(e,t,{keyMap:r,nodeTypeGetter:Fy,nodePredicate:Hl,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...o});Uy[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=$y,...r}={})=>Ts[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:Fy,nodePredicate:Hl,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const Wx=class{constructor(e){Io(this,"type","EphemeralArray");Io(this,"content",[]);Io(this,"reference");this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}},Jx=class{constructor(e){Io(this,"type","EphemeralObject");Io(this,"content",[]);Io(this,"reference");this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class Gx{constructor(){Io(this,"ObjectElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new Jx(t.content);return this.references.set(t,r),r}});Io(this,"EphemeralObject",{leave:t=>t.toObject()});Io(this,"MemberElement",{enter:t=>[t.key,t.value]});Io(this,"ArrayElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new Wx(t.content);return this.references.set(t,r),r}});Io(this,"EphemeralArray",{leave:t=>t.toArray()});Io(this,"references",new WeakMap)}BooleanElement(t){return t.toValue()}NumberElement(t){return t.toValue()}StringElement(t){return t.toValue()}NullElement(){return null}RefElement(t,...r){var o;const n=r[3];return((o=n[n.length-1])===null||o===void 0?void 0:o.type)==="EphemeralObject"?Symbol.for("delete-node"):String(t.toValue())}LinkElement(t){return bn(t.href)?t.href.toValue():""}}const ro=e=>ts(e)?bn(e)||J0(e)||Pg(e)||G0(e)?e.toValue():Uy(e,new Gx):e,Yx=Oi(yl(/~/g,"~0"),yl(/\//g,"~1"),encodeURIComponent),tb=class extends zg{},Zx=class extends tb{constructor(t,r){super(t,r);Io(this,"tokens");r!==void 0&&(this.tokens=[...r.tokens])}},Qx=e=>{try{return e.length===0?"":`/${e.map(Yx).join("/")}`}catch(t){throw new Zx("JSON Pointer compilation of tokens encountered an error.",{tokens:e,cause:t})}};var Xx=Na(function(e,t){return Xn(cc(od,0,hg("length",t)),function(){var r=arguments,o=this;return e.apply(o,Dc(function(n){return n.apply(o,r)},t))})});const e2=Xx;function t2(e){return e}const r2=Un(t2);var o2=jr(Xn(1,Oi(ms,Lc("Number"))),isFinite),a2=Xn(1,o2),n2=jr($c(Number.isFinite)?Xn(1,es(Number.isFinite,Number)):a2,e2(Ki,[Math.floor,r2])),i2=Xn(1,n2);const s2=$c(Number.isInteger)?Xn(1,es(Number.isInteger,Number)):i2;var c2=function(){function e(t,r){this.xf=r,this.n=t,this.i=0}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){this.i+=1;var o=this.n===0?t:this.xf["@@transducer/step"](t,r);return this.n>=0&&this.i>=this.n?gn(o):o},e}();function l2(e){return function(t){return new c2(e,t)}}const u2=Na(nc(["take"],l2,function(e,t){return pu(0,e<0?1/0:e,t)}));var p2=Na(function(e,t){return Ki(u2(e.length,t),e)});const qy=p2,Ky=Ki("");var d2=function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){if(this.f){if(this.f(r))return t;this.f=null}return this.xf["@@transducer/step"](t,r)},e}();function g2(e){return function(t){return new d2(e,t)}}const h2=Na(nc(["dropWhile"],g2,function(e,t){for(var r=0,o=t.length;r<o&&e(t[r]);)r+=1;return pu(r,1/0,t)})),rb=Zp(function(e,t){return Oi(Xp(""),h2(td(e)),Xh(""))(t)}),f2=Oi(yl(/~1/g,"/"),yl(/~0/g,"~"),e=>{try{return decodeURIComponent(e)}catch{return e}}),ob=class extends tb{constructor(t,r){super(t,r);Io(this,"pointer");r!==void 0&&(this.pointer=r.pointer)}},jc=e=>{const t=(r=>{const o=r.indexOf("#");return o!==-1?r.substring(o):"#"})(e);return rb("#",t)},m2=e=>{if(Ky(e))return[];if(!qy("/",e))throw new ob(`Invalid JSON Pointer "${e}". JSON Pointers must begin with "/"`,{pointer:e});try{const t=Oi(Xp("/"),hu(f2))(e);return du(t)}catch(t){throw new ob(`JSON Pointer parsing of "${e}" encountered an error.`,{pointer:e,cause:t})}},Rg=class extends tb{constructor(t,r){super(t,r);Io(this,"pointer");Io(this,"tokens");Io(this,"failedToken");Io(this,"failedTokenPosition");Io(this,"element");r!==void 0&&(this.pointer=r.pointer,Array.isArray(r.tokens)&&(this.tokens=[...r.tokens]),this.failedToken=r.failedToken,this.failedTokenPosition=r.failedTokenPosition,this.element=r.element)}},Jc=(e,t)=>{let r;try{r=m2(e)}catch(o){throw new Rg(`JSON Pointer evaluation failed while parsing the pointer "${e}".`,{pointer:e,element:No(t),cause:o})}return r.reduce((o,n,l)=>{if(Rn(o)){if(!o.hasKey(n))throw new Rg(`JSON Pointer evaluation failed while evaluating token "${n}" against an ObjectElement`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:l,element:No(o)});return o.get(n)}if(dc(o)){if(!(n in o.content)||!s2(Number(n)))throw new Rg(`JSON Pointer evaluation failed while evaluating token "${n}" against an ArrayElement`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:l,element:No(o)});return o.get(Number(n))}throw new Rg(`JSON Pointer evaluation failed while evaluating token "${n}" against an unexpected Element`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:l,element:No(o)})},t)};class b2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="callback"}}const Ng=b2;class v2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="components"}get schemas(){return this.get("schemas")}set schemas(t){this.set("schemas",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get requestBodies(){return this.get("requestBodies")}set requestBodies(t){this.set("requestBodies",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(t){this.set("securitySchemes",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}}const Dg=v2;class y2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="contact"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}get email(){return this.get("email")}set email(t){this.set("email",t)}}const Bg=y2;class w2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(t){this.set("propertyName",t)}get mapping(){return this.get("mapping")}set mapping(t){this.set("mapping",t)}}const yf=w2;class k2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(t){this.set("contentType",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(t){this.set("allowedReserved",t)}}const wf=k2;class x2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="example"}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get value(){return this.get("value")}set value(t){this.set("value",t)}get externalValue(){return this.get("externalValue")}set externalValue(t){this.set("externalValue",t)}}const Mg=x2;class E2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="externalDocumentation"}get description(){return this.get("description")}set description(t){this.set("description",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}}const Lg=E2;class Hy extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Or.bd(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Or.bd(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}}Object.defineProperty(Hy.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Fg=Hy;class S2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get termsOfService(){return this.get("termsOfService")}set termsOfService(t){this.set("termsOfService",t)}get contact(){return this.get("contact")}set contact(t){this.set("contact",t)}get license(){return this.get("license")}set license(t){this.set("license",t)}get version(){return this.get("version")}set version(t){this.set("version",t)}}const $g=S2;class _2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="license"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}}const Ug=_2;class j2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(t){this.set("operationRef",t)}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get operation(){var t,r;return bn(this.operationRef)?(t=this.operationRef)===null||t===void 0?void 0:t.meta.get("operation"):bn(this.operationId)?(r=this.operationId)===null||r===void 0?void 0:r.meta.get("operation"):void 0}set operation(t){this.set("operation",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get server(){return this.get("server")}set server(t){this.set("server",t)}}const qg=j2;class O2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="mediaType"}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get encoding(){return this.get("encoding")}set encoding(t){this.set("encoding",t)}}const Kg=O2;class A2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(t){this.set("authorizationUrl",t)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(t){this.set("tokenUrl",t)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(t){this.set("refreshUrl",t)}get scopes(){return this.get("scopes")}set scopes(t){this.set("scopes",t)}}const kf=A2;class C2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(t){this.set("implicit",t)}get password(){return this.get("password")}set password(t){this.set("password",t)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(t){this.set("clientCredentials",t)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(t){this.set("authorizationCode",t)}}const xf=C2;class P2 extends Or.Om{constructor(t,r,o){super(t,r,o),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const Hg=P2;class I2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}}const Ef=I2;class z2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="operation"}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}set externalDocs(t){this.set("externalDocs",t)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Or.bd(!1)}set deprecated(t){this.set("deprecated",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get servers(){return this.get("severs")}set servers(t){this.set("servers",t)}}const Vg=z2;class Vy extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="parameter"}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get required(){return this.hasKey("required")?this.get("required"):new Or.bd(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Or.bd(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}}Object.defineProperty(Vy.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});const Wg=Vy;class T2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get GET(){return this.get("get")}set GET(t){this.set("GET",t)}get PUT(){return this.get("put")}set PUT(t){this.set("PUT",t)}get POST(){return this.get("post")}set POST(t){this.set("POST",t)}get DELETE(){return this.get("delete")}set DELETE(t){this.set("DELETE",t)}get OPTIONS(){return this.get("options")}set OPTIONS(t){this.set("OPTIONS",t)}get HEAD(){return this.get("head")}set HEAD(t){this.set("HEAD",t)}get PATCH(){return this.get("patch")}set PATCH(t){this.set("PATCH",t)}get TRACE(){return this.get("trace")}set TRACE(t){this.set("TRACE",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}}const Jg=T2;class R2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="paths"}}const Gg=R2;class N2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}}const Yg=N2;class D2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="requestBody"}get description(){return this.get("description")}set description(t){this.set("description",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get required(){return this.hasKey("required")?this.get("required"):new Or.bd(!1)}set required(t){this.set("required",t)}}const Zg=D2;class B2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="response"}get description(){return this.get("description")}set description(t){this.set("description",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}}const Qg=B2;class M2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="responses"}get default(){return this.get("default")}set default(t){this.set("default",t)}}const Xg=M2,ks=class extends ws{};class L2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(t){this.set("id",t)}get $schema(){return this.get("$schema")}set $schema(t){this.set("$schema",t)}get multipleOf(){return this.get("multipleOf")}set multipleOf(t){this.set("multipleOf",t)}get maximum(){return this.get("maximum")}set maximum(t){this.set("maximum",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get minimum(){return this.get("minimum")}set minimum(t){this.set("minimum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get maxLength(){return this.get("maxLength")}set maxLength(t){this.set("maxLength",t)}get minLength(){return this.get("minLength")}set minLength(t){this.set("minLength",t)}get pattern(){return this.get("pattern")}set pattern(t){this.set("pattern",t)}get additionalItems(){return this.get("additionalItems")}set additionalItems(t){this.set("additionalItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get maxItems(){return this.get("maxItems")}set maxItems(t){this.set("maxItems",t)}get minItems(){return this.get("minItems")}set minItems(t){this.set("minItems",t)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(t){this.set("uniqueItems",t)}get maxProperties(){return this.get("maxProperties")}set maxProperties(t){this.set("maxProperties",t)}get minProperties(){return this.get("minProperties")}set minProperties(t){this.set("minProperties",t)}get required(){return this.get("required")}set required(t){this.set("required",t)}get properties(){return this.get("properties")}set properties(t){this.set("properties",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get patternProperties(){return this.get("patternProperties")}set patternProperties(t){this.set("patternProperties",t)}get dependencies(){return this.get("dependencies")}set dependencies(t){this.set("dependencies",t)}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}get allOf(){return this.get("allOf")}set allOf(t){this.set("allOf",t)}get anyOf(){return this.get("anyOf")}set anyOf(t){this.set("anyOf",t)}get oneOf(){return this.get("oneOf")}set oneOf(t){this.set("oneOf",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get definitions(){return this.get("definitions")}set definitions(t){this.set("definitions",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get format(){return this.get("format")}set format(t){this.set("format",t)}get base(){return this.get("base")}set base(t){this.set("base",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get media(){return this.get("media")}set media(t){this.set("media",t)}get readOnly(){return this.get("readOnly")}set readOnly(t){this.set("readOnly",t)}}const eh=L2;class F2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}}const Sf=F2;class $2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(t){this.set("binaryEncoding",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}}const _f=$2;class U2 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="linkDescription"}get href(){return this.get("href")}set href(t){this.set("href",t)}get rel(){return this.get("rel")}set rel(t){this.set("rel",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get mediaType(){return this.get("mediaType")}set mediaType(t){this.set("mediaType",t)}get method(){return this.get("method")}set method(t){this.set("method",t)}get encType(){return this.get("encType")}set encType(t){this.set("encType",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}const jf=U2;var q2=Na(function(e,t){return Nl(function(r,o){return r[o]=e(t[o],o,t),r},{},hl(t))});const K2=q2,Of=Un(function(e){return e==null}),H2=Na(function(e,t){if(e.length===0||Of(t))return!1;for(var r=t,o=0;o<e.length;){if(Of(r)||!fs(e[o],r))return!1;r=r[e[o]],o+=1}return!0});var V2=Na(function(e,t){return H2([e],t)});const Wy=V2,W2=Ti(function(e,t,r){return e(bl(t,r))}),Af=(e,t)=>{const r=ml(e,t);return K2(o=>{if(mf(o)&&Wy("$ref",o)&&W2(wl,"$ref",o)){const n=bi(["$ref"],o),l=rb("#/",n);return bi(l.split("/"),r)}return mf(o)?Af(o,r):o},e)};var un=st(70335);const Cf=e=>{const t=e.meta.length>0?No(e.meta):void 0,r=e.attributes.length>0?No(e.attributes):void 0;return new e.constructor(void 0,t,r)},Pf=(e,t)=>t.clone&&t.isMergeableElement(e)?El(Cf(e),e,t):e,J2=e=>typeof e.customMetaMerge!="function"?t=>No(t):e.customMetaMerge,G2=e=>typeof e.customAttributesMerge!="function"?t=>No(t):e.customAttributesMerge,If={clone:!0,isMergeableElement:e=>Rn(e)||dc(e),arrayElementMerge:(e,t,r)=>e.concat(t)["fantasy-land/map"](o=>Pf(o,r)),objectElementMerge:(e,t,r)=>{const o=Rn(e)?Cf(e):Cf(t);return Rn(e)&&e.forEach((n,l,h)=>{const b=Fs(h);b.value=Pf(n,r),o.content.push(b)}),t.forEach((n,l,h)=>{const b=ro(l);let E;if(Rn(e)&&e.hasKey(b)&&r.isMergeableElement(n)){const R=e.get(b);E=Fs(h),E.value=((L,U)=>{if(typeof U.customMerge!="function")return El;const K=U.customMerge(L,U);return typeof K=="function"?K:El})(l,r)(R,n)}else E=Fs(h),E.value=Pf(n,r);o.remove(b),o.content.push(E)}),o},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0};function El(e,t,r){var o,n,l;const h={...If,...r};h.isMergeableElement=(o=h.isMergeableElement)!==null&&o!==void 0?o:If.isMergeableElement,h.arrayElementMerge=(n=h.arrayElementMerge)!==null&&n!==void 0?n:If.arrayElementMerge,h.objectElementMerge=(l=h.objectElementMerge)!==null&&l!==void 0?l:If.objectElementMerge;const b=dc(t);if(b!==dc(e))return Pf(t,h);const E=b&&typeof h.arrayElementMerge=="function"?h.arrayElementMerge(e,t,h):h.objectElementMerge(e,t,h);return E.meta=J2(h)(e.meta,t.meta),E.attributes=G2(h)(e.attributes,t.attributes),E}El.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return e.length===0?new Or.Sh:e.reduce((r,o)=>El(r,o,t),Cf(e[0]))};const Y2=un({props:{element:null},methods:{copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=El(t.meta,e.meta),Ig(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=El(t.attributes,e.attributes))}}}),Jy=Y2,qa=un(Jy,{methods:{enter(e){return this.element=No(e),hn}}}),Gy=_a(fu()),Yy=Na(function(e,t){for(var r={},o=0;o<e.length;)e[o]in t&&(r[e[o]]=t[e[o]]),o+=1;return r}),Z2=un(Jy,{props:{specObj:null,passingOptionsNames:["specObj"]},init({specObj:e=this.specObj}){this.specObj=e},methods:{retrievePassingOptions(){return Yy(this.passingOptionsNames,this)},retrieveFixedFields(e){const t=bi(["visitors",...e,"fixedFields"],this.specObj);return typeof t=="object"&&t!==null?Object.keys(t):[]},retrieveVisitor(e){return qu($c,["visitors",...e],this.specObj)?bi(["visitors",...e],this.specObj):bi(["visitors",...e,"$visitor"],this.specObj)},retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...r,...t})},toRefractedElement(e,t,r={}){const o=this.retrieveVisitorInstance(e,r),n=Object.getPrototypeOf(o);return uc(this.fallbackVisitorPrototype)&&(this.fallbackVisitorPrototype=Object.getPrototypeOf(this.retrieveVisitorInstance(["value"]))),this.fallbackVisitorPrototype===n?No(t):(Ts(t,o,r),o.element)}}}),_u=Z2,th=un(_u,{props:{specPath:Gy,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t);return e.forEach((o,n,l)=>{if(bn(n)&&r.includes(ro(n))&&!this.ignoredFields.includes(ro(n))){const h=this.toRefractedElement([...t,"fixedFields",ro(n)],o),b=new Or.Pr(No(n),h);this.copyMetaAndAttributes(l,b),b.classes.push("fixed-field"),this.element.content.push(b)}else this.ignoredFields.includes(ro(n))||this.element.content.push(No(l))}),this.copyMetaAndAttributes(e,this.element),hn}}}),Q2=un(th,qa,{props:{specPath:_a(["document","objects","JSONSchema"])},init(){this.element=new eh}}),X2=qa,e5=qa,t5=qa,r5=qa,o5=qa,a5=qa,n5=qa,i5=qa,s5=qa,c5=qa,Vl=un({props:{parent:null},init({parent:e=this.parent}){this.parent=e,this.passingOptionsNames=[...this.passingOptionsNames,"parent"]}}),Sl=e=>Rn(e)&&e.hasKey("$ref"),l5=un(_u,Vl,qa,{methods:{ObjectElement(e){const t=Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(t,e),hn},ArrayElement(e){return this.element=new Or.wE,this.element.classes.push("json-schema-items"),e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),u5=qa,p5=qa,d5=qa,g5=qa,h5=qa,f5=un(qa,{methods:{ArrayElement(e){return this.element=No(e),this.element.classes.push("json-schema-required"),hn}}}),m5=Un(function(e){return Xn(cc(od,0,hg("length",e)),function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})}),b5=Na(function(e,t){return e||t}),v5=vl(Xn(1,jr(Oy,Na(function(e,t){return Qu(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:rd(b5)(e,t)})(Ay,$c)))),Zy=vl(no),ab=m5([wl,v5,Zy]),y5=un(_u,{props:{fieldPatternPredicate:Z0,specPath:Gy,ignoredFields:[]},init({specPath:e=this.specPath,ignoredFields:t=this.ignoredFields}={}){this.specPath=e,this.ignoredFields=t},methods:{ObjectElement(e){return e.forEach((t,r,o)=>{if(!this.ignoredFields.includes(ro(r))&&this.fieldPatternPredicate(ro(r))){const n=this.specPath(t),l=this.toRefractedElement(n,t),h=new Or.Pr(No(r),l);this.copyMetaAndAttributes(o,h),h.classes.push("patterned-field"),this.element.content.push(h)}else this.ignoredFields.includes(ro(r))||this.element.content.push(No(o))}),this.copyMetaAndAttributes(e,this.element),hn}}}),zf=un(y5,{props:{fieldPatternPredicate:ab}}),w5=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-properties")}}),k5=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-patternProperties")}}),x5=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-dependencies")}}),E5=un(qa,{methods:{ArrayElement(e){return this.element=No(e),this.element.classes.push("json-schema-enum"),hn}}}),S5=un(qa,{methods:{StringElement(e){return this.element=No(e),this.element.classes.push("json-schema-type"),hn},ArrayElement(e){return this.element=No(e),this.element.classes.push("json-schema-type"),hn}}}),_5=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-allOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),j5=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-anyOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),O5=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-oneOf")},methods:{ArrayElement(e){return e.forEach(t=>{const r=Sl(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(r,t);this.element.push(o)}),this.copyMetaAndAttributes(e,this.element),hn}}}),A5=un(zf,Vl,qa,{props:{specPath:e=>Sl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]},init(){this.element=new Or.Sh,this.element.classes.push("json-schema-definitions")}}),C5=qa,P5=qa,I5=qa,z5=qa,T5=qa,R5=un(_u,Vl,qa,{init(){this.element=new Or.wE,this.element.classes.push("json-schema-links")},methods:{ArrayElement(e){return e.forEach(t=>{const r=this.toRefractedElement(["document","objects","LinkDescription"],t);this.element.push(r)}),this.copyMetaAndAttributes(e,this.element),hn}}}),N5=qa,D5=un(th,qa,{props:{specPath:_a(["document","objects","JSONReference"])},init(){this.element=new Sf},methods:{ObjectElement(e){const t=th.compose.methods.ObjectElement.call(this,e);return bn(this.element.$ref)&&this.element.classes.push("reference-element"),t}}}),B5=un(qa,{methods:{StringElement(e){return this.element=No(e),this.element.classes.push("reference-value"),hn}}}),nb=Ti(function(e,t,r){return Xn(Math.max(e.length,t.length,r.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)})}),M5=Un(function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}});var L5=Na(function(e,t){return Array.prototype.slice.call(t,0).sort(e)});const F5=L5,$5=Uu(0),U5=Un(gn),q5=vl(Of),K5=jr(po,Zy);function H5(e){return function(t){if(Array.isArray(t))return ib(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,r){if(t){if(typeof t=="string")return ib(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return ib(t,r)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
179
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ib(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var V5=Oi(F5(M5(function(e,t){return e.length>t.length})),$5,bl("length")),W5=Zp(function(e,t,r){var o=r.apply(void 0,H5(e));return q5(o)?U5(o):t});const Qy=nb(K5,function(e){var t=V5(e);return Xn(t,function(){for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return cc(W5(o),void 0,e)})},fu),J5=un(_u,{props:{alternator:[]},methods:{enter(e){const t=this.alternator.map(({predicate:o,specPath:n})=>nb(o,_a(n),fu)),r=Qy(t)(e);return this.element=this.toRefractedElement(r,e),hn}}}),Od=un(J5,{props:{alternator:[{predicate:Sl,specPath:["document","objects","JSONReference"]},{predicate:Hl,specPath:["document","objects","JSONSchema"]}]}}),Wl={visitors:{value:qa,JSONSchemaOrJSONReferenceVisitor:Od,document:{objects:{JSONSchema:{$visitor:Q2,fixedFields:{id:X2,$schema:e5,multipleOf:t5,maximum:r5,exclusiveMaximum:o5,minimum:a5,exclusiveMinimum:n5,maxLength:i5,minLength:s5,pattern:c5,additionalItems:Od,items:l5,maxItems:u5,minItems:p5,uniqueItems:d5,maxProperties:g5,minProperties:h5,required:f5,properties:w5,additionalProperties:Od,patternProperties:k5,dependencies:x5,enum:E5,type:S5,allOf:_5,anyOf:j5,oneOf:O5,not:Od,definitions:A5,title:C5,description:P5,default:I5,format:z5,base:T5,links:R5,media:{$ref:"#/visitors/document/objects/Media"},readOnly:N5}},JSONReference:{$visitor:D5,fixedFields:{$ref:B5}},Media:{$visitor:un(th,qa,{props:{specPath:_a(["document","objects","Media"])},init(){this.element=new _f}}),fixedFields:{binaryEncoding:qa,type:qa}},LinkDescription:{$visitor:un(th,qa,{props:{specPath:_a(["document","objects","LinkDescription"])},init(){this.element=new jf}}),fixedFields:{href:qa,rel:qa,title:qa,targetSchema:Od,mediaType:qa,method:qa,encType:qa,schema:Od}}}}}},G5=e=>{if(ts(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Y5={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...jd},Z5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof eh||e(o)&&t("JSONSchemaDraft4",o)&&r("object",o)),Q5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Sf||e(o)&&t("JSONReference",o)&&r("object",o)),X5=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof _f||e(o)&&t("media",o)&&r("object",o)),e4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof jf||e(o)&&t("linkDescription",o)&&r("object",o)),t4={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",eh),t.register("jSONReference",Sf),t.register("media",_f),t.register("linkDescription",jf),t}},r4=t4,o4=()=>{const e=Sd(r4);return{predicates:{...k,isStringElement:bn},namespace:e}},a4=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:o=Wl}={})=>{const n=(0,Or.e)(e),l=Af(o),h=Va(t,[],l);return Ts(n,h,{state:{specObj:l}}),Tg(h.element,r,{toolboxCreator:o4,visitorOptions:{keyMap:Y5,nodeTypeGetter:G5}})},Tf=e=>(t,r={})=>a4(t,{specPath:e,...r});eh.refract=Tf(["visitors","document","objects","JSONSchema","$visitor"]),Sf.refract=Tf(["visitors","document","objects","JSONReference","$visitor"]),_f.refract=Tf(["visitors","document","objects","Media","$visitor"]),jf.refract=Tf(["visitors","document","objects","LinkDescription","$visitor"]);const Rf=class extends eh{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new ks("idProp getter in Schema class is not not supported.")}set idProp(e){throw new ks("idProp setter in Schema class is not not supported.")}get $schema(){throw new ks("$schema getter in Schema class is not not supported.")}set $schema(e){throw new ks("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new ks("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new ks("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new ks("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new ks("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new ks("definitions getter in Schema class is not not supported.")}set definitions(e){throw new ks("definitions setter in Schema class is not not supported.")}get base(){throw new ks("base getter in Schema class is not not supported.")}set base(e){throw new ks("base setter in Schema class is not not supported.")}get links(){throw new ks("links getter in Schema class is not not supported.")}set links(e){throw new ks("links setter in Schema class is not not supported.")}get media(){throw new ks("media getter in Schema class is not not supported.")}set media(e){throw new ks("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class n4 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="securityRequirement"}}const rh=n4;class i4 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="securityScheme"}get type(){return this.get("type")}set type(t){this.set("type",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get scheme(){return this.get("scheme")}set scheme(t){this.set("scheme",t)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(t){this.set("bearerFormat",t)}get flows(){return this.get("flows")}set flows(t){this.set("flows",t)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(t){this.set("openIdConnectUrl",t)}}const oh=i4;class s4 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="server"}get url(){return this.get("url")}set url(t){this.set("url",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get variables(){return this.get("variables")}set variables(t){this.set("variables",t)}}const ah=s4;class c4 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}}const nh=c4;class l4 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="tag"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}}const Nf=l4;class u4 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="xml"}get name(){return this.get("name")}set name(t){this.set("name",t)}get namespace(){return this.get("namespace")}set namespace(t){this.set("namespace",t)}get prefix(){return this.get("prefix")}set prefix(t){this.set("prefix",t)}get attribute(){return this.get("attribute")}set attribute(t){this.set("attribute",t)}get wrapped(){return this.get("wrapped")}set wrapped(t){this.set("wrapped",t)}}const Df=u4,Xy=(e,t,r=[])=>{const o=Object.getOwnPropertyDescriptors(t);for(let n of r)delete o[n];Object.defineProperties(e,o)},ih=(e,t=[e])=>{const r=Object.getPrototypeOf(e);return r===null?t:ih(r,[...t,r])},ew=(e,t,r=[])=>{var o;const n=(o=((...b)=>{if(b.length===0)return;let E;const R=b.map(L=>ih(L));for(;R.every(L=>L.length>0);){const L=R.map(K=>K.pop()),U=L[0];if(!L.every(K=>K===U))break;E=U}return E})(...e))!==null&&o!==void 0?o:Object.prototype,l=Object.create(n),h=ih(n);for(let b of e){let E=ih(b);for(let R=E.length-1;R>=0;R--){let L=E[R];h.indexOf(L)===-1&&(Xy(l,L,["constructor",...r]),h.push(L))}}return l.constructor=t,l},sb=e=>e.filter((t,r)=>e.indexOf(t)==r),tw=new WeakMap,p4=e=>tw.get(e),rw=(e,t)=>{var r,o;const n=sb([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),l={};for(let h of n)l[h]=sb([...(r=e==null?void 0:e[h])!==null&&r!==void 0?r:[],...(o=t==null?void 0:t[h])!==null&&o!==void 0?o:[]]);return l},ow=(e,t)=>{var r,o,n,l;return{property:rw((r=e==null?void 0:e.property)!==null&&r!==void 0?r:{},(o=t==null?void 0:t.property)!==null&&o!==void 0?o:{}),method:rw((n=e==null?void 0:e.method)!==null&&n!==void 0?n:{},(l=t==null?void 0:t.method)!==null&&l!==void 0?l:{})}},d4=(e,t)=>{var r,o,n,l,h,b;return{class:sb([...(r=e==null?void 0:e.class)!==null&&r!==void 0?r:[],...(o=t==null?void 0:t.class)!==null&&o!==void 0?o:[]]),static:ow((n=e==null?void 0:e.static)!==null&&n!==void 0?n:{},(l=t==null?void 0:t.static)!==null&&l!==void 0?l:{}),instance:ow((h=e==null?void 0:e.instance)!==null&&h!==void 0?h:{},(b=t==null?void 0:t.instance)!==null&&b!==void 0?b:{})}},g4=new Map,h4=(...e)=>{const t=((...r)=>{var o;const n=new Set,l=new Set([...r]);for(;l.size>0;)for(let h of l){const b=[...ih(h.prototype).map(E=>E.constructor),...(o=p4(h))!==null&&o!==void 0?o:[]].filter(E=>!n.has(E));for(let E of b)l.add(E);n.add(h),l.delete(h)}return[...n]})(...e).map(r=>g4.get(r)).filter(r=>!!r);return t.length==0?{}:t.length==1?t[0]:t.reduce((r,o)=>d4(r,o))};function Wo(...e){var t,r,o;const n=e.map(R=>R.prototype);function l(...R){for(const L of e)Xy(this,new L(...R))}l.prototype=ew(n,l),Object.setPrototypeOf(l,ew(e,null,["prototype"]));let h=l;{const R=h4(...e);for(let L of(t=R==null?void 0:R.class)!==null&&t!==void 0?t:[]){const U=L(h);U&&(h=U)}aw((r=R==null?void 0:R.static)!==null&&r!==void 0?r:{},h),aw((o=R==null?void 0:R.instance)!==null&&o!==void 0?o:{},h.prototype)}var b,E;return b=h,E=e,tw.set(b,E),h}const aw=(e,t)=>{const r=e.property,o=e.method;if(r)for(let n in r)for(let l of r[n])l(t,n);if(o)for(let n in o)for(let l of o[n])l(t,n,Object.getOwnPropertyDescriptor(t,n))},nw=class{constructor(e={}){Io(this,"element");Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=El(t.meta,e.meta),Ig(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=El(t.attributes,e.attributes))}},_o=class extends nw{enter(e){return this.element=No(e),hn}},$s=class extends nw{constructor({specObj:t,passingOptionsNames:r,openApiGenericElement:o,openApiSemanticElement:n,...l}){super({...l});Io(this,"specObj");Io(this,"passingOptionsNames",["specObj","openApiGenericElement","openApiSemanticElement"]);Io(this,"openApiGenericElement");Io(this,"openApiSemanticElement");this.specObj=t,this.openApiGenericElement=o,this.openApiSemanticElement=n,Array.isArray(r)&&(this.passingOptionsNames=r)}retrievePassingOptions(){return Yy(this.passingOptionsNames,this)}retrieveFixedFields(t){const r=bi(["visitors",...t,"fixedFields"],this.specObj);return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(t){return qu($c,["visitors",...t],this.specObj)?bi(["visitors",...t],this.specObj):bi(["visitors",...t,"$visitor"],this.specObj)}retrieveVisitorInstance(t,r={}){const o=this.retrievePassingOptions();return new(this.retrieveVisitor(t))({...o,...r})}toRefractedElement(t,r,o={}){const n=this.retrieveVisitorInstance(t,o);return n instanceof _o&&(n==null?void 0:n.constructor)===_o?No(r):(Ts(r,n,o),n.element)}},li=e=>Rn(e)&&e.hasKey("$ref"),f4=Rn,m4=Rn,iw=e=>bn(e.key)&&qy("x-",ro(e.key)),rn=class extends $s{constructor({specPath:t,ignoredFields:r,canSupportSpecificationExtensions:o,specificationExtensionPredicate:n,...l}){super({...l});Io(this,"specPath");Io(this,"ignoredFields");Io(this,"canSupportSpecificationExtensions",!0);Io(this,"specificationExtensionPredicate",iw);this.specPath=t,this.ignoredFields=r||[],typeof o=="boolean"&&(this.canSupportSpecificationExtensions=o),typeof n=="function"&&(this.specificationExtensionPredicate=n)}ObjectElement(t){const r=this.specPath(t),o=this.retrieveFixedFields(r);return t.forEach((n,l,h)=>{if(bn(l)&&o.includes(ro(l))&&!this.ignoredFields.includes(ro(l))){const b=this.toRefractedElement([...r,"fixedFields",ro(l)],n),E=new Or.Pr(No(l),b);this.copyMetaAndAttributes(h,E),E.classes.push("fixed-field"),this.element.content.push(E)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(h)){const b=this.toRefractedElement(["document","extension"],h);this.element.content.push(b)}else this.ignoredFields.includes(ro(l))||this.element.content.push(No(h))}),this.copyMetaAndAttributes(t,this.element),hn}};class b4 extends Wo(rn,_o){constructor(t){super(t),this.element=new Ef,this.specPath=_a(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){return rn.prototype.ObjectElement.call(this,t)}}const v4=b4;class y4 extends Wo($s,_o){StringElement(t){const r=new Hg(ro(t));return this.copyMetaAndAttributes(t,r),this.element=r,hn}}const w4=y4,k4=class extends $s{MemberElement(e){return this.element=No(e),this.element.classes.push("specification-extension"),hn}};class x4 extends Wo(rn,_o){constructor(t){super(t),this.element=new $g,this.specPath=_a(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const E4=x4,S4=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),t}};class _4 extends Wo(rn,_o){constructor(t){super(t),this.element=new Bg,this.specPath=_a(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const j4=_4;class O4 extends Wo(rn,_o){constructor(t){super(t),this.element=new Ug,this.specPath=_a(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const A4=O4;class C4 extends Wo(rn,_o){constructor(t){super(t),this.element=new qg,this.specPath=_a(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return(bn(this.element.operationId)||bn(this.element.operationRef))&&this.element.classes.push("reference-element"),r}}const P4=C4,I4=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}},z4=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}},Ad=class extends $s{constructor({specPath:t,ignoredFields:r,fieldPatternPredicate:o,canSupportSpecificationExtensions:n,specificationExtensionPredicate:l,...h}){super({...h});Io(this,"specPath");Io(this,"ignoredFields");Io(this,"fieldPatternPredicate",Z0);Io(this,"canSupportSpecificationExtensions",!1);Io(this,"specificationExtensionPredicate",iw);this.specPath=t,this.ignoredFields=r||[],typeof o=="function"&&(this.fieldPatternPredicate=o),typeof n=="boolean"&&(this.canSupportSpecificationExtensions=n),typeof l=="function"&&(this.specificationExtensionPredicate=l)}ObjectElement(t){return t.forEach((r,o,n)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(n)){const l=this.toRefractedElement(["document","extension"],n);this.element.content.push(l)}else if(!this.ignoredFields.includes(ro(o))&&this.fieldPatternPredicate(ro(o))){const l=this.specPath(r),h=this.toRefractedElement(l,r),b=new Or.Pr(No(o),h);this.copyMetaAndAttributes(n,b),b.classes.push("patterned-field"),this.element.content.push(b)}else this.ignoredFields.includes(ro(o))||this.element.content.push(No(n))}),this.copyMetaAndAttributes(t,this.element),hn}},Ja=class extends Ad{constructor(e){super(e),this.fieldPatternPredicate=ab}},zm=class zm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(zm.primaryClass)}};Io(zm,"primaryClass","link-parameters");let cb=zm;const T4=cb;class R4 extends Wo(Ja,_o){constructor(t){super(t),this.element=new T4,this.specPath=_a(["value"])}}const N4=R4;class D4 extends Wo(rn,_o){constructor(t){super(t),this.element=new ah,this.specPath=_a(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const B4=D4,M4=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("server-url"),t}},Tm=class Tm extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(Tm.primaryClass)}};Io(Tm,"primaryClass","servers");let lb=Tm;const ub=lb;class L4 extends Wo($s,_o){constructor(t){super(t),this.element=new ub}ArrayElement(t){return t.forEach(r=>{const o=f4(r)?["document","objects","Server"]:["value"],n=this.toRefractedElement(o,r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const pb=L4;class F4 extends Wo(rn,_o){constructor(t){super(t),this.element=new nh,this.specPath=_a(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const $4=F4,Rm=class Rm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Rm.primaryClass)}};Io(Rm,"primaryClass","server-variables");let db=Rm;const U4=db;class q4 extends Wo(Ja,_o){constructor(t){super(t),this.element=new U4,this.specPath=_a(["document","objects","ServerVariable"])}}const K4=q4;class H4 extends Wo(rn,_o){constructor(t){super(t),this.element=new Kg,this.specPath=_a(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}const V4=H4,_l=class extends $s{constructor({alternator:t,...r}){super({...r});Io(this,"alternator");this.alternator=t||[]}enter(t){const r=this.alternator.map(({predicate:n,specPath:l})=>nb(n,_a(l),fu)),o=Qy(r)(t);return this.element=this.toRefractedElement(o,t),hn}},W4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Ng||e(o)&&t("callback",o)&&r("object",o)),J4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Dg||e(o)&&t("components",o)&&r("object",o)),G4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Bg||e(o)&&t("contact",o)&&r("object",o)),Y4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Mg||e(o)&&t("example",o)&&r("object",o)),Z4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Lg||e(o)&&t("externalDocumentation",o)&&r("object",o)),Cd=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Fg||e(o)&&t("header",o)&&r("object",o)),Q4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof $g||e(o)&&t("info",o)&&r("object",o)),X4=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Ug||e(o)&&t("license",o)&&r("object",o)),e6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof qg||e(o)&&t("link",o)&&r("object",o)),t6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Hg||e(o)&&t("openapi",o)&&r("string",o)),r6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:o})=>n=>n instanceof Ef||e(n)&&t("openApi3_0",n)&&r("object",n)&&o("api",n)),sw=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Vg||e(o)&&t("operation",o)&&r("object",o)),o6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Wg||e(o)&&t("parameter",o)&&r("object",o)),gb=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Jg||e(o)&&t("pathItem",o)&&r("object",o)),a6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Gg||e(o)&&t("paths",o)&&r("object",o)),ai=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Yg||e(o)&&t("reference",o)&&r("object",o)),n6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Zg||e(o)&&t("requestBody",o)&&r("object",o)),Bf=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Qg||e(o)&&t("response",o)&&r("object",o)),i6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Xg||e(o)&&t("responses",o)&&r("object",o)),s6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Rf||e(o)&&t("schema",o)&&r("object",o)),c6=e=>Pg(e)&&e.classes.includes("boolean-json-schema"),l6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof rh||e(o)&&t("securityRequirement",o)&&r("object",o)),u6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof oh||e(o)&&t("securityScheme",o)&&r("object",o)),p6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof ah||e(o)&&t("server",o)&&r("object",o)),d6=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof nh||e(o)&&t("serverVariable",o)&&r("object",o)),Mf=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Kg||e(o)&&t("mediaType",o)&&r("object",o)),cw=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:o})=>n=>n instanceof ub||e(n)&&t("array",n)&&r("array",n)&&o("servers",n));class g6 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const h6=g6;class f6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("examples"),this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","example")}),r}}const hb=f6,Nm=class Nm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Nm.primaryClass),this.classes.push("examples")}};Io(Nm,"primaryClass","media-type-examples");let fb=Nm;const m6=fb,b6=class extends hb{constructor(e){super(e),this.element=new m6}},Dm=class Dm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Dm.primaryClass)}};Io(Dm,"primaryClass","media-type-encoding");let mb=Dm;const v6=mb;class y6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new v6,this.specPath=_a(["document","objects","Encoding"])}}const w6=y6;class k6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new rh,this.specPath=_a(["value"])}}const x6=k6,Bm=class Bm extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(Bm.primaryClass)}};Io(Bm,"primaryClass","security");let bb=Bm;const E6=bb;class S6 extends Wo($s,_o){constructor(t){super(t),this.element=new E6}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(o)}else this.element.push(No(r))}),this.copyMetaAndAttributes(t,this.element),hn}}const _6=S6;class j6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Dg,this.specPath=_a(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const O6=j6;class A6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Nf,this.specPath=_a(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const C6=A6;class P6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Yg,this.specPath=_a(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return bn(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const I6=P6,z6=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class T6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Wg,this.specPath=_a(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.contentProp)&&this.element.contentProp.filter(Mf).forEach((o,n)=>{o.setMetaProperty("media-type",ro(n))}),r}}const R6=T6;class N6 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const D6=N6;class B6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Fg,this.specPath=_a(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const M6=B6;class L6 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const F6=L6,Mm=class Mm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Mm.primaryClass),this.classes.push("examples")}};Io(Mm,"primaryClass","header-examples");let vb=Mm;const $6=vb,U6=class extends hb{constructor(e){super(e),this.element=new $6}};class q6 extends Wo(Ja,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("content"),this.specPath=_a(["document","objects","MediaType"])}}const Lf=q6,Lm=class Lm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Lm.primaryClass),this.classes.push("content")}};Io(Lm,"primaryClass","header-content");let yb=Lm;const K6=yb,H6=class extends Lf{constructor(e){super(e),this.element=new K6}};class V6 extends Wo(rn,_o){constructor(t){super(t),this.element=new Rf,this.specPath=_a(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const W6=V6,{allOf:lw}=Wl.visitors.document.objects.JSONSchema.fixedFields,J6=lw.compose({methods:{ArrayElement(e){const t=lw.compose.methods.ArrayElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{anyOf:uw}=Wl.visitors.document.objects.JSONSchema.fixedFields,G6=uw.compose({methods:{ArrayElement(e){const t=uw.compose.methods.ArrayElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{oneOf:pw}=Wl.visitors.document.objects.JSONSchema.fixedFields,Y6=pw.compose({methods:{ArrayElement(e){const t=pw.compose.methods.ArrayElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{items:dw}=Wl.visitors.document.objects.JSONSchema.fixedFields,Z6=dw.compose({methods:{ObjectElement(e){const t=dw.compose.methods.ObjectElement.call(this,e);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t},ArrayElement(e){return this.element=No(e),hn}}}),{properties:gw}=Wl.visitors.document.objects.JSONSchema.fixedFields,Q6=gw.compose({methods:{ObjectElement(e){const t=gw.compose.methods.ObjectElement.call(this,e);return this.element.filter(ai).forEach(r=>{r.setMetaProperty("referenced-element","schema")}),t}}}),{type:X6}=Wl.visitors.document.objects.JSONSchema.fixedFields,e3=X6.compose({methods:{ArrayElement(e){return this.element=No(e),hn}}}),{JSONSchemaOrJSONReferenceVisitor:hw}=Wl.visitors,fw=hw.compose({methods:{ObjectElement(e){const t=hw.compose.methods.enter.call(this,e);return ai(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}});class t3 extends Wo(rn,_o){constructor(t){super(t),this.element=new yf,this.specPath=_a(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}const r3=t3,Fm=class Fm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Fm.primaryClass)}};Io(Fm,"primaryClass","discriminator-mapping");let wb=Fm;const o3=wb;class a3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new o3,this.specPath=_a(["value"])}}const n3=a3;class i3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Df,this.specPath=_a(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const s3=i3,$m=class $m extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push($m.primaryClass),this.classes.push("examples")}};Io($m,"primaryClass","parameter-examples");let kb=$m;const c3=kb,l3=class extends hb{constructor(e){super(e),this.element=new c3}},Um=class Um extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Um.primaryClass),this.classes.push("content")}};Io(Um,"primaryClass","parameter-content");let xb=Um;const u3=xb,p3=class extends Lf{constructor(e){super(e),this.element=new u3}},qm=class qm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(qm.primaryClass)}};Io(qm,"primaryClass","components-schemas");let Eb=qm;const mw=Eb;class d3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new mw,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","schema")}),r}}const g3=d3,Km=class Km extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Km.primaryClass)}};Io(Km,"primaryClass","components-responses");let Sb=Km;const h3=Sb;class f3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new h3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","response")}),this.element.filter(Bf).forEach((o,n)=>{o.setMetaProperty("http-status-code",ro(n))}),r}}const m3=f3,Hm=class Hm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Hm.primaryClass),this.classes.push("parameters")}};Io(Hm,"primaryClass","components-parameters");let _b=Hm;const b3=_b;class v3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new b3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","parameter")}),r}}const y3=v3,Vm=class Vm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Vm.primaryClass),this.classes.push("examples")}};Io(Vm,"primaryClass","components-examples");let jb=Vm;const w3=jb;class k3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new w3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","example")}),r}}const x3=k3,Wm=class Wm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Wm.primaryClass)}};Io(Wm,"primaryClass","components-request-bodies");let Ob=Wm;const E3=Ob;class S3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new E3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","requestBody")}),r}}const _3=S3,Jm=class Jm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Jm.primaryClass)}};Io(Jm,"primaryClass","components-headers");let Ab=Jm;const j3=Ab;class O3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new j3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","header")}),this.element.filter(Cd).forEach((o,n)=>{o.setMetaProperty("header-name",ro(n))}),r}}const A3=O3,Gm=class Gm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Gm.primaryClass)}};Io(Gm,"primaryClass","components-security-schemes");let Cb=Gm;const C3=Cb;class P3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new C3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","securityScheme")}),r}}const I3=P3,Ym=class Ym extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Ym.primaryClass)}};Io(Ym,"primaryClass","components-links");let Pb=Ym;const z3=Pb;class T3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new z3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","link")}),r}}const R3=T3,Zm=class Zm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Zm.primaryClass)}};Io(Zm,"primaryClass","components-callbacks");let Ib=Zm;const N3=Ib;class D3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new N3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","callback")}),r}}const B3=D3;class M3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Mg,this.specPath=_a(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return bn(this.element.externalValue)&&this.element.classes.push("reference-element"),r}}const L3=M3,F3=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class $3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Lg,this.specPath=_a(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const U3=$3;class q3 extends Wo(rn,_o){constructor(t){super(t),this.element=new wf,this.specPath=_a(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.headers)&&this.element.headers.filter(Cd).forEach((o,n)=>{o.setMetaProperty("header-name",ro(n))}),r}}const K3=q3,Qm=class Qm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Qm.primaryClass)}};Io(Qm,"primaryClass","encoding-headers");let zb=Qm;const H3=zb;class V3 extends Wo(Ja,_o){constructor(t){super(t),this.element=new H3,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","header")}),this.element.forEach((o,n)=>{if(!Cd(o))return;const l=ro(n);o.setMetaProperty("headerName",l)}),r}}const W3=V3;class J3 extends Wo(Ad,_o){constructor(t){super(t),this.element=new Gg,this.specPath=_a(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=Hl}ObjectElement(t){const r=Ad.prototype.ObjectElement.call(this,t);return this.element.filter(gb).forEach((o,n)=>{n.classes.push("openapi-path-template"),n.classes.push("path-template"),o.setMetaProperty("path",No(n))}),r}}const G3=J3;class Y3 extends Wo(rn,_o){constructor(t){super(t),this.element=new Zg,this.specPath=_a(["document","objects","RequestBody"])}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.contentProp)&&this.element.contentProp.filter(Mf).forEach((o,n)=>{o.setMetaProperty("media-type",ro(n))}),r}}const Z3=Y3,Xm=class Xm extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(Xm.primaryClass),this.classes.push("content")}};Io(Xm,"primaryClass","request-body-content");let Tb=Xm;const Q3=Tb,X3=class extends Lf{constructor(e){super(e),this.element=new Q3}};class e7 extends Wo(Ad,_o){constructor(t){super(t),this.element=new Ng,this.specPath=_a(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>/{(?<expression>[^}]{1,2083})}/.test(String(r))}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(gb).forEach((o,n)=>{o.setMetaProperty("runtime-expression",ro(n))}),r}}const t7=e7;class r7 extends Wo(rn,_o){constructor(t){super(t),this.element=new Qg,this.specPath=_a(["document","objects","Response"])}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return Rn(this.element.contentProp)&&this.element.contentProp.filter(Mf).forEach((o,n)=>{o.setMetaProperty("media-type",ro(n))}),Rn(this.element.headers)&&this.element.headers.filter(Cd).forEach((o,n)=>{o.setMetaProperty("header-name",ro(n))}),r}}const o7=r7,e0=class e0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(e0.primaryClass)}};Io(e0,"primaryClass","response-headers");let Rb=e0;const a7=Rb;class n7 extends Wo(Ja,_o){constructor(t){super(t),this.element=new a7,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","header")}),this.element.forEach((o,n)=>{if(!Cd(o))return;const l=ro(n);o.setMetaProperty("header-name",l)}),r}}const i7=n7,t0=class t0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(t0.primaryClass),this.classes.push("content")}};Io(t0,"primaryClass","response-content");let Nb=t0;const s7=Nb,c7=class extends Lf{constructor(e){super(e),this.element=new s7}},r0=class r0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(r0.primaryClass)}};Io(r0,"primaryClass","response-links");let Db=r0;const l7=Db;class u7 extends Wo(Ja,_o){constructor(t){super(t),this.element=new l7,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","link")}),r}}const p7=u7;function bw(e){return Object.prototype.toString.call(e)==="[object Number]"}var d7=Na(function(e,t){if(!bw(e)||!bw(t))throw new TypeError("Both arguments to range must be numbers");for(var r=[],o=e;o<t;)r.push(o),o+=1;return r});const g7=d7;function vw(e,t,r){var o,n=typeof e;switch(n){case"string":case"number":return e===0&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):r._nativeSet!==null?t?(o=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===o):r._nativeSet.has(e):n in r._items?e in r._items[n]||(t&&(r._items[n][e]=!0),!1):(t&&(r._items[n]={},r._items[n][e]=!0),!1);case"boolean":if(n in r._items){var l=e?1:0;return!!r._items[n][l]||(t&&(r._items[n][l]=!0),!1)}return t&&(r._items[n]=e?[!1,!0]:[!0,!1]),!1;case"function":return r._nativeSet!==null?t?(o=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===o):r._nativeSet.has(e):n in r._items?!!fl(e,r._items[n])||(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1);case"undefined":return!!r._items[n]||(t&&(r._items[n]=!0),!1);case"object":if(e===null)return!!r._items.null||(t&&(r._items.null=!0),!1);default:return(n=Object.prototype.toString.call(e))in r._items?!!fl(e,r._items[n])||(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1)}}const h7=function(){function e(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return e.prototype.add=function(t){return!vw(t,!0,this)},e.prototype.has=function(t){return vw(t,!1,this)},e}();var f7=Na(function(e,t){for(var r=[],o=0,n=e.length,l=t.length,h=new h7,b=0;b<l;b+=1)h.add(t[b]);for(;o<n;)h.add(e[o])&&(r[r.length]=e[o]),o+=1;return r});const m7=f7;class b7 extends Wo(rn,Ad){constructor({specPathFixedFields:r,specPathPatternedFields:o,...n}){super({...n});Io(this,"specPathFixedFields");Io(this,"specPathPatternedFields");this.specPathFixedFields=r,this.specPathPatternedFields=o}ObjectElement(r){const{specPath:o,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const l=this.retrieveFixedFields(this.specPath(r));this.ignoredFields=[...n,...m7(r.keys(),l)],rn.prototype.ObjectElement.call(this,r),this.specPath=this.specPathPatternedFields,this.ignoredFields=l,Ad.prototype.ObjectElement.call(this,r)}catch(l){throw this.specPath=o,l}return hn}}const yw=b7;class v7 extends Wo(yw,_o){constructor(t){super(t),this.element=new Xg,this.specPathFixedFields=_a(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>li(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${g7(100,600).join("|")})$`).test(String(r))}ObjectElement(t){const r=yw.prototype.ObjectElement.call(this,t);return this.element.filter(ai).forEach(o=>{o.setMetaProperty("referenced-element","response")}),this.element.filter(Bf).forEach((o,n)=>{const l=No(n);this.fieldPatternPredicate(ro(l))&&o.setMetaProperty("http-status-code",l)}),r}}const y7=v7;class w7 extends Wo(_l,_o){constructor(t){super(t),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","Response"]}]}ObjectElement(t){const r=_l.prototype.enter.call(this,t);return ai(this.element)?this.element.setMetaProperty("referenced-element","response"):Bf(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}const k7=w7;class x7 extends Wo(rn,_o){constructor(t){super(t),this.element=new Vg,this.specPath=_a(["document","objects","Operation"])}}const E7=x7,o0=class o0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(o0.primaryClass)}};Io(o0,"primaryClass","operation-tags");let Bb=o0;const S7=Bb,_7=class extends _o{constructor(e){super(e),this.element=new S7}ArrayElement(e){return this.element=this.element.concat(No(e)),hn}},a0=class a0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(a0.primaryClass),this.classes.push("parameters")}};Io(a0,"primaryClass","operation-parameters");let Mb=a0;const ww=Mb;class j7 extends Wo($s,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("parameters")}ArrayElement(t){return t.forEach(r=>{const o=li(r)?["document","objects","Reference"]:["document","objects","Parameter"],n=this.toRefractedElement(o,r);ai(n)&&n.setMetaProperty("referenced-element","parameter"),this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const kw=j7,O7=class extends kw{constructor(e){super(e),this.element=new ww}},A7=class extends _l{constructor(e){super(e),this.alternator=[{predicate:li,specPath:["document","objects","Reference"]},{predicate:Hl,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const t=_l.prototype.enter.call(this,e);return ai(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}},n0=class n0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(n0.primaryClass)}};Io(n0,"primaryClass","operation-callbacks");let Lb=n0;const C7=Lb;class P7 extends Wo(Ja,_o){constructor(r){super(r);Io(this,"specPath");this.element=new C7,this.specPath=o=>li(o)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(r){const o=Ja.prototype.ObjectElement.call(this,r);return this.element.filter(ai).forEach(n=>{n.setMetaProperty("referenced-element","callback")}),o}}const I7=P7,i0=class i0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(i0.primaryClass),this.classes.push("security")}};Io(i0,"primaryClass","operation-security");let Fb=i0;const xw=Fb;class z7 extends Wo($s,_o){constructor(t){super(t),this.element=new xw}ArrayElement(t){return t.forEach(r=>{const o=Rn(r)?["document","objects","SecurityRequirement"]:["value"],n=this.toRefractedElement(o,r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const T7=z7,s0=class s0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(s0.primaryClass),this.classes.push("servers")}};Io(s0,"primaryClass","operation-servers");let $b=s0;const Ew=$b,R7=class extends pb{constructor(e){super(e),this.element=new Ew}};class N7 extends Wo(rn,_o){constructor(t){super(t),this.element=new Jg,this.specPath=_a(["document","objects","PathItem"])}ObjectElement(t){const r=rn.prototype.ObjectElement.call(this,t);return this.element.filter(sw).forEach((o,n)=>{const l=No(n);l.content=ro(l).toUpperCase(),o.setMetaProperty("http-method",l)}),bn(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const D7=N7,B7=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}},c0=class c0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(c0.primaryClass),this.classes.push("servers")}};Io(c0,"primaryClass","path-item-servers");let Ub=c0;const Sw=Ub,M7=class extends pb{constructor(e){super(e),this.element=new Sw}},l0=class l0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(l0.primaryClass),this.classes.push("parameters")}};Io(l0,"primaryClass","path-item-parameters");let qb=l0;const L7=qb,F7=class extends kw{constructor(e){super(e),this.element=new L7}};class $7 extends Wo(rn,_o){constructor(t){super(t),this.element=new oh,this.specPath=_a(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const U7=$7;class q7 extends Wo(rn,_o){constructor(t){super(t),this.element=new xf,this.specPath=_a(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const K7=q7;class H7 extends Wo(rn,_o){constructor(t){super(t),this.element=new kf,this.specPath=_a(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const V7=H7,u0=class u0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(u0.primaryClass)}};Io(u0,"primaryClass","oauth-flow-scopes");let Kb=u0;const W7=Kb;class J7 extends Wo(Ja,_o){constructor(t){super(t),this.element=new W7,this.specPath=_a(["value"])}}const G7=J7,p0=class p0 extends Or.wE{constructor(t,r,o){super(t,r,o),this.classes.push(p0.primaryClass)}};Io(p0,"primaryClass","tags");let Hb=p0;const Y7=Hb;class Z7 extends Wo($s,_o){constructor(t){super(t),this.element=new Y7}ArrayElement(t){return t.forEach(r=>{const o=m4(r)?["document","objects","Tag"]:["value"],n=this.toRefractedElement(o,r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),hn}}const Q7=Z7,{fixedFields:rs}=Wl.visitors.document.objects.JSONSchema,Fr={visitors:{value:_o,document:{objects:{OpenApi:{$visitor:v4,fixedFields:{openapi:w4,info:{$ref:"#/visitors/document/objects/Info"},servers:pb,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:_6,tags:Q7,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:E4,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:S4}},Contact:{$visitor:j4,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:A4,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:B4,fixedFields:{url:M4,description:{$ref:"#/visitors/value"},variables:K4}},ServerVariable:{$visitor:$4,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:O6,fixedFields:{schemas:g3,responses:m3,parameters:y3,examples:x3,requestBodies:_3,headers:A3,securitySchemes:I3,links:R3,callbacks:B3}},Paths:{$visitor:G3},PathItem:{$visitor:D7,fixedFields:{$ref:B7,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:M7,parameters:F7}},Operation:{$visitor:E7,fixedFields:{tags:_7,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:O7,requestBody:A7,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:I7,deprecated:{$ref:"#/visitors/value"},security:T7,servers:R7}},ExternalDocumentation:{$visitor:U3,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:R6,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:D6,example:{$ref:"#/visitors/value"},examples:l3,content:p3}},RequestBody:{$visitor:Z3,fixedFields:{description:{$ref:"#/visitors/value"},content:X3,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:V4,fixedFields:{schema:h6,example:{$ref:"#/visitors/value"},examples:b6,encoding:w6}},Encoding:{$visitor:K3,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:W3,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:y7,fixedFields:{default:k7}},Response:{$visitor:o7,fixedFields:{description:{$ref:"#/visitors/value"},headers:i7,content:c7,links:p7}},Callback:{$visitor:t7},Example:{$visitor:L3,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:F3}},Link:{$visitor:P4,fixedFields:{operationRef:I4,operationId:z4,parameters:N4,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:M6,fixedFields:{description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:F6,example:{$ref:"#/visitors/value"},examples:U6,content:H6}},Tag:{$visitor:C6,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:I6,fixedFields:{$ref:z6}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:W6,fixedFields:{title:rs.title,multipleOf:rs.multipleOf,maximum:rs.maximum,exclusiveMaximum:rs.exclusiveMaximum,minimum:rs.minimum,exclusiveMinimum:rs.exclusiveMinimum,maxLength:rs.maxLength,minLength:rs.minLength,pattern:rs.pattern,maxItems:rs.maxItems,minItems:rs.minItems,uniqueItems:rs.uniqueItems,maxProperties:rs.maxProperties,minProperties:rs.minProperties,required:rs.required,enum:rs.enum,type:e3,allOf:J6,anyOf:G6,oneOf:Y6,not:fw,items:Z6,properties:Q6,additionalProperties:fw,description:rs.description,format:rs.format,default:rs.default,nullable:{$ref:"#/visitors/value"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:r3,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:n3}},XML:{$visitor:s3,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:U7,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},OAuthFlows:{$visitor:K7,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:V7,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:G7}},SecurityRequirement:{$visitor:x6}},extension:{$visitor:k4}}}},X7=e=>{if(ts(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},e8={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...jd},t8={namespace:e=>{const{base:t}=e;return t.register("callback",Ng),t.register("components",Dg),t.register("contact",Bg),t.register("discriminator",yf),t.register("encoding",wf),t.register("example",Mg),t.register("externalDocumentation",Lg),t.register("header",Fg),t.register("info",$g),t.register("license",Ug),t.register("link",qg),t.register("mediaType",Kg),t.register("oAuthFlow",kf),t.register("oAuthFlows",xf),t.register("openapi",Hg),t.register("openApi3_0",Ef),t.register("operation",Vg),t.register("parameter",Wg),t.register("pathItem",Jg),t.register("paths",Gg),t.register("reference",Yg),t.register("requestBody",Zg),t.register("response",Qg),t.register("responses",Xg),t.register("schema",Rf),t.register("securityRequirement",rh),t.register("securityScheme",oh),t.register("server",ah),t.register("serverVariable",nh),t.register("tag",Nf),t.register("xml",Df),t}},r8=t8,o8=()=>{const e=Sd(r8);return{predicates:{..._,isElement:ts,isStringElement:bn,isArrayElement:dc,isObjectElement:Rn,isMemberElement:Ys,includesClasses:Ed,hasElementSourceMap:Ig},namespace:e}},a8=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const o=(0,Or.e)(e),n=Af(Fr),l=new(bi(t,n))({specObj:n});return Ts(o,l),Tg(l.element,r,{toolboxCreator:o8,visitorOptions:{keyMap:e8,nodeTypeGetter:X7}})},qn=e=>(t,r={})=>a8(t,{specPath:e,...r});Ng.refract=qn(["visitors","document","objects","Callback","$visitor"]),Dg.refract=qn(["visitors","document","objects","Components","$visitor"]),Bg.refract=qn(["visitors","document","objects","Contact","$visitor"]),Mg.refract=qn(["visitors","document","objects","Example","$visitor"]),yf.refract=qn(["visitors","document","objects","Discriminator","$visitor"]),wf.refract=qn(["visitors","document","objects","Encoding","$visitor"]),Lg.refract=qn(["visitors","document","objects","ExternalDocumentation","$visitor"]),Fg.refract=qn(["visitors","document","objects","Header","$visitor"]),$g.refract=qn(["visitors","document","objects","Info","$visitor"]),Ug.refract=qn(["visitors","document","objects","License","$visitor"]),qg.refract=qn(["visitors","document","objects","Link","$visitor"]),Kg.refract=qn(["visitors","document","objects","MediaType","$visitor"]),kf.refract=qn(["visitors","document","objects","OAuthFlow","$visitor"]),xf.refract=qn(["visitors","document","objects","OAuthFlows","$visitor"]),Hg.refract=qn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Ef.refract=qn(["visitors","document","objects","OpenApi","$visitor"]),Vg.refract=qn(["visitors","document","objects","Operation","$visitor"]),Wg.refract=qn(["visitors","document","objects","Parameter","$visitor"]),Jg.refract=qn(["visitors","document","objects","PathItem","$visitor"]),Gg.refract=qn(["visitors","document","objects","Paths","$visitor"]),Yg.refract=qn(["visitors","document","objects","Reference","$visitor"]),Zg.refract=qn(["visitors","document","objects","RequestBody","$visitor"]),Qg.refract=qn(["visitors","document","objects","Response","$visitor"]),Xg.refract=qn(["visitors","document","objects","Responses","$visitor"]),Rf.refract=qn(["visitors","document","objects","Schema","$visitor"]),rh.refract=qn(["visitors","document","objects","SecurityRequirement","$visitor"]),oh.refract=qn(["visitors","document","objects","SecurityScheme","$visitor"]),ah.refract=qn(["visitors","document","objects","Server","$visitor"]),nh.refract=qn(["visitors","document","objects","ServerVariable","$visitor"]),Nf.refract=qn(["visitors","document","objects","Tag","$visitor"]),Df.refract=qn(["visitors","document","objects","XML","$visitor"]);const Ff=class extends Ng{},$f=class extends Dg{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}},Uf=class extends Bg{},Vb=class extends yf{},Wb=class extends wf{},qf=class extends Mg{},Kf=class extends Lg{},Hf=class extends Fg{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Vf=class extends $g{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}},d0=class d0 extends Or.Om{constructor(t,r,o){super(t,r,o),this.element="jsonSchemaDialect"}};Io(d0,"default",new d0("https://spec.openapis.org/oas/3.1/dialect/base"));let Jb=d0;const sh=Jb,Wf=class extends Ug{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},Jf=class extends qg{},Gf=class extends Kg{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Gb=class extends kf{},Yb=class extends xf{},Zb=class extends Hg{};class n8 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(t){this.set("jsonSchemaDialect",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get webhooks(){return this.get("webhooks")}set webhooks(t){this.set("webhooks",t)}}const ju=n8,ch=class extends Vg{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}},Yf=class extends Wg{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Jl=class extends Jg{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}},Zf=class extends Gg{};class Qb extends Yg{}Object.defineProperty(Qb.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(Qb.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});const fp=Qb,Qf=class extends Zg{},Xf=class extends Qg{},em=class extends Xg{};class i8 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(t){this.set("$schema",t)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(t){this.set("$vocabulary",t)}get $id(){return this.get("$id")}set $id(t){this.set("$id",t)}get $anchor(){return this.get("$anchor")}set $anchor(t){this.set("$anchor",t)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(t){this.set("$dynamicAnchor",t)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(t){this.set("$dynamicRef",t)}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get $defs(){return this.get("$defs")}set $defs(t){this.set("$defs",t)}get $comment(){return this.get("$comment")}set $comment(t){this.set("$comment",t)}get allOf(){return this.get("allOf")}set allOf(t){this.set("allOf",t)}get anyOf(){return this.get("anyOf")}set anyOf(t){this.set("anyOf",t)}get oneOf(){return this.get("oneOf")}set oneOf(t){this.set("oneOf",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get if(){return this.get("if")}set if(t){this.set("if",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}get else(){return this.get("else")}set else(t){this.set("else",t)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(t){this.set("dependentSchemas",t)}get prefixItems(){return this.get("prefixItems")}set prefixItems(t){this.set("prefixItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get containsProp(){return this.get("contains")}set containsProp(t){this.set("contains",t)}get properties(){return this.get("properties")}set properties(t){this.set("properties",t)}get patternProperties(){return this.get("patternProperties")}set patternProperties(t){this.set("patternProperties",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get propertyNames(){return this.get("propertyNames")}set propertyNames(t){this.set("propertyNames",t)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(t){this.set("unevaluatedItems",t)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(t){this.set("unevaluatedProperties",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get const(){return this.get("const")}set const(t){this.set("const",t)}get multipleOf(){return this.get("multipleOf")}set multipleOf(t){this.set("multipleOf",t)}get maximum(){return this.get("maximum")}set maximum(t){this.set("maximum",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get minimum(){return this.get("minimum")}set minimum(t){this.set("minimum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get maxLength(){return this.get("maxLength")}set maxLength(t){this.set("maxLength",t)}get minLength(){return this.get("minLength")}set minLength(t){this.set("minLength",t)}get pattern(){return this.get("pattern")}set pattern(t){this.set("pattern",t)}get maxItems(){return this.get("maxItems")}set maxItems(t){this.set("maxItems",t)}get minItems(){return this.get("minItems")}set minItems(t){this.set("minItems",t)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(t){this.set("uniqueItems",t)}get maxContains(){return this.get("maxContains")}set maxContains(t){this.set("maxContains",t)}get minContains(){return this.get("minContains")}set minContains(t){this.set("minContains",t)}get maxProperties(){return this.get("maxProperties")}set maxProperties(t){this.set("maxProperties",t)}get minProperties(){return this.get("minProperties")}set minProperties(t){this.set("minProperties",t)}get required(){return this.get("required")}set required(t){this.set("required",t)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(t){this.set("dependentRequired",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get deprecated(){return this.get("deprecated")}set deprecated(t){this.set("deprecated",t)}get readOnly(){return this.get("readOnly")}set readOnly(t){this.set("readOnly",t)}get writeOnly(){return this.get("writeOnly")}set writeOnly(t){this.set("writeOnly",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get format(){return this.get("format")}set format(t){this.set("format",t)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(t){this.set("contentEncoding",t)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(t){this.set("contentMediaType",t)}get contentSchema(){return this.get("contentSchema")}set contentSchema(t){this.set("contentSchema",t)}get discriminator(){return this.get("discriminator")}set discriminator(t){this.set("discriminator",t)}get xml(){return this.get("xml")}set xml(t){this.set("xml",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}}const Gl=i8,tm=class extends rh{},rm=class extends oh{},om=class extends ah{},am=class extends nh{},Xb=class extends Nf{},ev=class extends Df{};class s8 extends Wo(rn,_o){constructor(t){super(t),this.element=new ju,this.specPath=_a(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(t){return this.openApiGenericElement=t,rn.prototype.ObjectElement.call(this,t)}}const c8=s8,{visitors:{document:{objects:{Info:{$visitor:l8}}}}}=Fr,u8=class extends l8{constructor(e){super(e),this.element=new Vf}},{visitors:{document:{objects:{Contact:{$visitor:p8}}}}}=Fr,d8=class extends p8{constructor(e){super(e),this.element=new Uf}},{visitors:{document:{objects:{License:{$visitor:g8}}}}}=Fr,h8=class extends g8{constructor(e){super(e),this.element=new Wf}},{visitors:{document:{objects:{Link:{$visitor:f8}}}}}=Fr,m8=class extends f8{constructor(e){super(e),this.element=new Jf}};class b8 extends Wo($s,_o){StringElement(t){const r=new sh(ro(t));return this.copyMetaAndAttributes(t,r),this.element=r,hn}}const v8=b8,{visitors:{document:{objects:{Server:{$visitor:y8}}}}}=Fr,w8=class extends y8{constructor(e){super(e),this.element=new om}},{visitors:{document:{objects:{ServerVariable:{$visitor:k8}}}}}=Fr,x8=class extends k8{constructor(e){super(e),this.element=new am}},{visitors:{document:{objects:{MediaType:{$visitor:E8}}}}}=Fr,S8=class extends E8{constructor(e){super(e),this.element=new Gf}},{visitors:{document:{objects:{SecurityRequirement:{$visitor:_8}}}}}=Fr,j8=class extends _8{constructor(e){super(e),this.element=new tm}},{visitors:{document:{objects:{Components:{$visitor:O8}}}}}=Fr,A8=class extends O8{constructor(e){super(e),this.element=new $f}},{visitors:{document:{objects:{Tag:{$visitor:C8}}}}}=Fr,P8=class extends C8{constructor(e){super(e),this.element=new Xb}},{visitors:{document:{objects:{Reference:{$visitor:I8}}}}}=Fr,z8=class extends I8{constructor(e){super(e),this.element=new fp}},{visitors:{document:{objects:{Parameter:{$visitor:T8}}}}}=Fr,R8=class extends T8{constructor(e){super(e),this.element=new Yf}},{visitors:{document:{objects:{Header:{$visitor:N8}}}}}=Fr,D8=class extends N8{constructor(e){super(e),this.element=new Hf}},B8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Ff||e(o)&&t("callback",o)&&r("object",o)),M8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof $f||e(o)&&t("components",o)&&r("object",o)),L8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Uf||e(o)&&t("contact",o)&&r("object",o)),F8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof qf||e(o)&&t("example",o)&&r("object",o)),$8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Kf||e(o)&&t("externalDocumentation",o)&&r("object",o)),U8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Hf||e(o)&&t("header",o)&&r("object",o)),q8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Vf||e(o)&&t("info",o)&&r("object",o)),_w=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof sh||e(o)&&t("jsonSchemaDialect",o)&&r("string",o)),K8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Wf||e(o)&&t("license",o)&&r("object",o)),H8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Jf||e(o)&&t("link",o)&&r("object",o)),V8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Zb||e(o)&&t("openapi",o)&&r("string",o)),tv=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:o})=>n=>n instanceof ju||e(n)&&t("openApi3_1",n)&&r("object",n)&&o("api",n)),jw=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof ch||e(o)&&t("operation",o)&&r("object",o)),W8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Yf||e(o)&&t("parameter",o)&&r("object",o)),rv=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Jl||e(o)&&t("pathItem",o)&&r("object",o)),J8=e=>{if(!rv(e)||!bn(e.$ref))return!1;const t=ro(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},G8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Zf||e(o)&&t("paths",o)&&r("object",o)),lh=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof fp||e(o)&&t("reference",o)&&r("object",o)),Y8=e=>{if(!lh(e)||!bn(e.$ref))return!1;const t=ro(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},Z8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Qf||e(o)&&t("requestBody",o)&&r("object",o)),Q8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Xf||e(o)&&t("response",o)&&r("object",o)),X8=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof em||e(o)&&t("responses",o)&&r("object",o)),uh=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Gl||e(o)&&t("schema",o)&&r("object",o)),ov=e=>Pg(e)&&e.classes.includes("boolean-json-schema"),e9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof tm||e(o)&&t("securityRequirement",o)&&r("object",o)),t9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof rm||e(o)&&t("securityScheme",o)&&r("object",o)),r9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof om||e(o)&&t("server",o)&&r("object",o)),o9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof am||e(o)&&t("serverVariable",o)&&r("object",o)),a9=Xo(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>o=>o instanceof Gf||e(o)&&t("mediaType",o)&&r("object",o)),Yl=class{constructor({parent:e}){Io(this,"parent");this.parent=e}};class n9 extends Wo(rn,Yl,_o){constructor(t){super(t),this.element=new Gl,this.specPath=_a(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=sh.default,this.passingOptionsNames.push("parent")}ObjectElement(t){this.handle$schema(t),this.handle$id(t),this.parent=this.element;const r=rn.prototype.ObjectElement.call(this,t);return bn(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(t){const r=super.enter(t);return this.element.classes.push("boolean-json-schema"),r}getJsonSchemaDialect(){let t;return t=this.openApiSemanticElement!==void 0&&_w(this.openApiSemanticElement.jsonSchemaDialect)?ro(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&bn(this.openApiGenericElement.get("jsonSchemaDialect"))?ro(this.openApiGenericElement.get("jsonSchemaDialect")):ro(this.jsonSchemaDefaultDialect),t}handle$schema(t){if(uc(this.parent)&&!bn(t.get("$schema")))this.element.setMetaProperty("inherited$schema",this.getJsonSchemaDialect());else if(uh(this.parent)&&!bn(t.get("$schema"))){const r=ml(ro(this.parent.meta.get("inherited$schema")),ro(this.parent.$schema));this.element.setMetaProperty("inherited$schema",r)}}handle$id(t){const r=this.parent!==void 0?No(this.parent.getMetaProperty("inherited$id",[])):new Or.wE,o=ro(t.get("$id"));ab(o)&&r.push(o),this.element.setMetaProperty("inherited$id",r)}}const i9=n9,s9=class extends _o{ObjectElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),t}},c9=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("reference-value"),t}};class l9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const u9=l9;class p9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-allOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const d9=p9;class g9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-anyOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const h9=g9;class f9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-oneOf"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const m9=f9;class b9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const v9=b9;class y9 extends Wo($s,Yl,_o){constructor(t){super(t),this.element=new Or.wE,this.element.classes.push("json-schema-prefixItems"),this.passingOptionsNames.push("parent")}ArrayElement(t){return t.forEach(r=>{if(Rn(r)){const o=this.toRefractedElement(["document","objects","Schema"],r);this.element.push(o)}else{const o=No(r);this.element.push(o)}}),this.copyMetaAndAttributes(t,this.element),hn}}const w9=y9;class k9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-properties"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const x9=k9;class E9 extends Wo(Ja,Yl,_o){constructor(t){super(t),this.element=new Or.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=_a(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const S9=E9,_9=class extends _o{StringElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-type"),t}},j9=class extends _o{ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-enum"),t}},O9=class extends _o{ObjectElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),t}},A9=class extends _o{ArrayElement(e){const t=super.enter(e);return this.element.classes.push("json-schema-examples"),t}},{visitors:{document:{objects:{Discriminator:{$visitor:C9}}}}}=Fr,P9=class extends C9{constructor(e){super(e),this.element=new Vb,this.canSupportSpecificationExtensions=!0}},{visitors:{document:{objects:{XML:{$visitor:I9}}}}}=Fr,z9=class extends I9{constructor(e){super(e),this.element=new ev}};class T9 extends Wo(Ja,_o){constructor(t){super(t),this.element=new mw,this.specPath=_a(["document","objects","Schema"])}}const R9=T9,g0=class g0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(g0.primaryClass)}};Io(g0,"primaryClass","components-path-items");let av=g0;const N9=av;class D9 extends Wo(Ja,_o){constructor(t){super(t),this.element=new N9,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(lh).forEach(o=>{o.setMetaProperty("referenced-element","pathItem")}),r}}const B9=D9,{visitors:{document:{objects:{Example:{$visitor:M9}}}}}=Fr,L9=class extends M9{constructor(e){super(e),this.element=new qf}},{visitors:{document:{objects:{ExternalDocumentation:{$visitor:F9}}}}}=Fr,$9=class extends F9{constructor(e){super(e),this.element=new Kf}},{visitors:{document:{objects:{Encoding:{$visitor:U9}}}}}=Fr,q9=class extends U9{constructor(e){super(e),this.element=new Wb}},{visitors:{document:{objects:{Paths:{$visitor:K9}}}}}=Fr,H9=class extends K9{constructor(e){super(e),this.element=new Zf}},{visitors:{document:{objects:{RequestBody:{$visitor:V9}}}}}=Fr,W9=class extends V9{constructor(e){super(e),this.element=new Qf}},{visitors:{document:{objects:{Callback:{$visitor:Ow}}}}}=Fr,J9=class extends Ow{constructor(e){super(e),this.element=new Ff,this.specPath=t=>li(t)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=Ow.prototype.ObjectElement.call(this,e);return this.element.filter(lh).forEach(r=>{r.setMetaProperty("referenced-element","pathItem")}),t}},{visitors:{document:{objects:{Response:{$visitor:G9}}}}}=Fr,Y9=class extends G9{constructor(e){super(e),this.element=new Xf}},{visitors:{document:{objects:{Responses:{$visitor:Z9}}}}}=Fr,Q9=class extends Z9{constructor(e){super(e),this.element=new em}},{visitors:{document:{objects:{Operation:{$visitor:X9}}}}}=Fr,eE=class extends X9{constructor(e){super(e),this.element=new ch}},{visitors:{document:{objects:{PathItem:{$visitor:tE}}}}}=Fr,rE=class extends tE{constructor(e){super(e),this.element=new Jl}},{visitors:{document:{objects:{SecurityScheme:{$visitor:oE}}}}}=Fr,aE=class extends oE{constructor(e){super(e),this.element=new rm}},{visitors:{document:{objects:{OAuthFlows:{$visitor:nE}}}}}=Fr,iE=class extends nE{constructor(e){super(e),this.element=new Yb}},{visitors:{document:{objects:{OAuthFlow:{$visitor:sE}}}}}=Fr,cE=class extends sE{constructor(e){super(e),this.element=new Gb}},h0=class h0 extends Or.Sh{constructor(t,r,o){super(t,r,o),this.classes.push(h0.primaryClass)}};Io(h0,"primaryClass","webhooks");let nv=h0;const lE=nv;class uE extends Wo(Ja,_o){constructor(t){super(t),this.element=new lE,this.specPath=r=>li(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=Ja.prototype.ObjectElement.call(this,t);return this.element.filter(lh).forEach(o=>{o.setMetaProperty("referenced-element","pathItem")}),this.element.filter(rv).forEach((o,n)=>{o.setMetaProperty("webhook-name",ro(n))}),r}}const pE=uE,dE={visitors:{value:Fr.visitors.value,document:{objects:{OpenApi:{$visitor:c8,fixedFields:{openapi:Fr.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:v8,servers:Fr.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:pE,components:{$ref:"#/visitors/document/objects/Components"},security:Fr.visitors.document.objects.OpenApi.fixedFields.security,tags:Fr.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:u8,fixedFields:{title:Fr.visitors.document.objects.Info.fixedFields.title,description:Fr.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:Fr.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Fr.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:d8,fixedFields:{name:Fr.visitors.document.objects.Contact.fixedFields.name,url:Fr.visitors.document.objects.Contact.fixedFields.url,email:Fr.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:h8,fixedFields:{name:Fr.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:Fr.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:w8,fixedFields:{url:Fr.visitors.document.objects.Server.fixedFields.url,description:Fr.visitors.document.objects.Server.fixedFields.description,variables:Fr.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:x8,fixedFields:{enum:Fr.visitors.document.objects.ServerVariable.fixedFields.enum,default:Fr.visitors.document.objects.ServerVariable.fixedFields.default,description:Fr.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:A8,fixedFields:{schemas:R9,responses:Fr.visitors.document.objects.Components.fixedFields.responses,parameters:Fr.visitors.document.objects.Components.fixedFields.parameters,examples:Fr.visitors.document.objects.Components.fixedFields.examples,requestBodies:Fr.visitors.document.objects.Components.fixedFields.requestBodies,headers:Fr.visitors.document.objects.Components.fixedFields.headers,securitySchemes:Fr.visitors.document.objects.Components.fixedFields.securitySchemes,links:Fr.visitors.document.objects.Components.fixedFields.links,callbacks:Fr.visitors.document.objects.Components.fixedFields.callbacks,pathItems:B9}},Paths:{$visitor:H9},PathItem:{$visitor:rE,fixedFields:{$ref:Fr.visitors.document.objects.PathItem.fixedFields.$ref,summary:Fr.visitors.document.objects.PathItem.fixedFields.summary,description:Fr.visitors.document.objects.PathItem.fixedFields.description,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:Fr.visitors.document.objects.PathItem.fixedFields.servers,parameters:Fr.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:eE,fixedFields:{tags:Fr.visitors.document.objects.Operation.fixedFields.tags,summary:Fr.visitors.document.objects.Operation.fixedFields.summary,description:Fr.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:Fr.visitors.document.objects.Operation.fixedFields.operationId,parameters:Fr.visitors.document.objects.Operation.fixedFields.parameters,requestBody:Fr.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Fr.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:Fr.visitors.document.objects.Operation.fixedFields.deprecated,security:Fr.visitors.document.objects.Operation.fixedFields.security,servers:Fr.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:$9,fixedFields:{description:Fr.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:Fr.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:R8,fixedFields:{name:Fr.visitors.document.objects.Parameter.fixedFields.name,in:Fr.visitors.document.objects.Parameter.fixedFields.in,description:Fr.visitors.document.objects.Parameter.fixedFields.description,required:Fr.visitors.document.objects.Parameter.fixedFields.required,deprecated:Fr.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:Fr.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:Fr.visitors.document.objects.Parameter.fixedFields.style,explode:Fr.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:Fr.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Fr.visitors.document.objects.Parameter.fixedFields.example,examples:Fr.visitors.document.objects.Parameter.fixedFields.examples,content:Fr.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:W9,fixedFields:{description:Fr.visitors.document.objects.RequestBody.fixedFields.description,content:Fr.visitors.document.objects.RequestBody.fixedFields.content,required:Fr.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:S8,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:Fr.visitors.document.objects.MediaType.fixedFields.example,examples:Fr.visitors.document.objects.MediaType.fixedFields.examples,encoding:Fr.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:q9,fixedFields:{contentType:Fr.visitors.document.objects.Encoding.fixedFields.contentType,headers:Fr.visitors.document.objects.Encoding.fixedFields.headers,style:Fr.visitors.document.objects.Encoding.fixedFields.style,explode:Fr.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:Fr.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:Q9,fixedFields:{default:Fr.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:Y9,fixedFields:{description:Fr.visitors.document.objects.Response.fixedFields.description,headers:Fr.visitors.document.objects.Response.fixedFields.headers,content:Fr.visitors.document.objects.Response.fixedFields.content,links:Fr.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:J9},Example:{$visitor:L9,fixedFields:{summary:Fr.visitors.document.objects.Example.fixedFields.summary,description:Fr.visitors.document.objects.Example.fixedFields.description,value:Fr.visitors.document.objects.Example.fixedFields.value,externalValue:Fr.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:m8,fixedFields:{operationRef:Fr.visitors.document.objects.Link.fixedFields.operationRef,operationId:Fr.visitors.document.objects.Link.fixedFields.operationId,parameters:Fr.visitors.document.objects.Link.fixedFields.parameters,requestBody:Fr.visitors.document.objects.Link.fixedFields.requestBody,description:Fr.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:D8,fixedFields:{description:Fr.visitors.document.objects.Header.fixedFields.description,required:Fr.visitors.document.objects.Header.fixedFields.required,deprecated:Fr.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:Fr.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:Fr.visitors.document.objects.Header.fixedFields.style,explode:Fr.visitors.document.objects.Header.fixedFields.explode,allowReserved:Fr.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Fr.visitors.document.objects.Header.fixedFields.example,examples:Fr.visitors.document.objects.Header.fixedFields.examples,content:Fr.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:P8,fixedFields:{name:Fr.visitors.document.objects.Tag.fixedFields.name,description:Fr.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:z8,fixedFields:{$ref:Fr.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Schema:{$visitor:i9,fixedFields:{$schema:{$ref:"#/visitors/value"},$vocabulary:s9,$id:{$ref:"#/visitors/value"},$anchor:{$ref:"#/visitors/value"},$dynamicAnchor:{$ref:"#/visitors/value"},$dynamicRef:{$ref:"#/visitors/value"},$ref:c9,$defs:u9,$comment:{$ref:"#/visitors/value"},allOf:d9,anyOf:h9,oneOf:m9,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:v9,prefixItems:w9,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:x9,patternProperties:S9,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:_9,enum:j9,const:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxContains:{$ref:"#/visitors/value"},minContains:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},dependentRequired:O9,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},readOnly:{$ref:"#/visitors/value"},writeOnly:{$ref:"#/visitors/value"},examples:A9,format:{$ref:"#/visitors/value"},contentEncoding:{$ref:"#/visitors/value"},contentMediaType:{$ref:"#/visitors/value"},contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:P9,fixedFields:{propertyName:Fr.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:Fr.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:z9,fixedFields:{name:Fr.visitors.document.objects.XML.fixedFields.name,namespace:Fr.visitors.document.objects.XML.fixedFields.namespace,prefix:Fr.visitors.document.objects.XML.fixedFields.prefix,attribute:Fr.visitors.document.objects.XML.fixedFields.attribute,wrapped:Fr.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:aE,fixedFields:{type:Fr.visitors.document.objects.SecurityScheme.fixedFields.type,description:Fr.visitors.document.objects.SecurityScheme.fixedFields.description,name:Fr.visitors.document.objects.SecurityScheme.fixedFields.name,in:Fr.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:Fr.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:Fr.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Fr.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:iE,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:cE,fixedFields:{authorizationUrl:Fr.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:Fr.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:Fr.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:Fr.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:j8}},extension:{$visitor:Fr.visitors.document.extension.$visitor}}}},Oc=e=>{if(ts(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Gc={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...jd},gE={namespace:e=>{const{base:t}=e;return t.register("callback",Ff),t.register("components",$f),t.register("contact",Uf),t.register("discriminator",Vb),t.register("encoding",Wb),t.register("example",qf),t.register("externalDocumentation",Kf),t.register("header",Hf),t.register("info",Vf),t.register("jsonSchemaDialect",sh),t.register("license",Wf),t.register("link",Jf),t.register("mediaType",Gf),t.register("oAuthFlow",Gb),t.register("oAuthFlows",Yb),t.register("openapi",Zb),t.register("openApi3_1",ju),t.register("operation",ch),t.register("parameter",Yf),t.register("pathItem",Jl),t.register("paths",Zf),t.register("reference",fp),t.register("requestBody",Qf),t.register("response",Xf),t.register("responses",em),t.register("schema",Gl),t.register("securityRequirement",tm),t.register("securityScheme",rm),t.register("server",om),t.register("serverVariable",am),t.register("tag",Xb),t.register("xml",ev),t}},nm=gE,Aw=()=>{const e=Sd(nm);return{predicates:{...x,isElement:ts,isStringElement:bn,isArrayElement:dc,isObjectElement:Rn,isMemberElement:Ys,isServersElement:cw,includesClasses:Ed,hasElementSourceMap:Ig},namespace:e}},hE=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const o=(0,Or.e)(e),n=Af(dE),l=new(bi(t,n))({specObj:n});return Ts(o,l),Tg(l.element,r,{toolboxCreator:Aw,visitorOptions:{keyMap:Gc,nodeTypeGetter:Oc}})},Nn=e=>(t,r={})=>hE(t,{specPath:e,...r});Ff.refract=Nn(["visitors","document","objects","Callback","$visitor"]),$f.refract=Nn(["visitors","document","objects","Components","$visitor"]),Uf.refract=Nn(["visitors","document","objects","Contact","$visitor"]),qf.refract=Nn(["visitors","document","objects","Example","$visitor"]),Vb.refract=Nn(["visitors","document","objects","Discriminator","$visitor"]),Wb.refract=Nn(["visitors","document","objects","Encoding","$visitor"]),Kf.refract=Nn(["visitors","document","objects","ExternalDocumentation","$visitor"]),Hf.refract=Nn(["visitors","document","objects","Header","$visitor"]),Vf.refract=Nn(["visitors","document","objects","Info","$visitor"]),sh.refract=Nn(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),Wf.refract=Nn(["visitors","document","objects","License","$visitor"]),Jf.refract=Nn(["visitors","document","objects","Link","$visitor"]),Gf.refract=Nn(["visitors","document","objects","MediaType","$visitor"]),Gb.refract=Nn(["visitors","document","objects","OAuthFlow","$visitor"]),Yb.refract=Nn(["visitors","document","objects","OAuthFlows","$visitor"]),Zb.refract=Nn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),ju.refract=Nn(["visitors","document","objects","OpenApi","$visitor"]),ch.refract=Nn(["visitors","document","objects","Operation","$visitor"]),Yf.refract=Nn(["visitors","document","objects","Parameter","$visitor"]),Jl.refract=Nn(["visitors","document","objects","PathItem","$visitor"]),Zf.refract=Nn(["visitors","document","objects","Paths","$visitor"]),fp.refract=Nn(["visitors","document","objects","Reference","$visitor"]),Qf.refract=Nn(["visitors","document","objects","RequestBody","$visitor"]),Xf.refract=Nn(["visitors","document","objects","Response","$visitor"]),em.refract=Nn(["visitors","document","objects","Responses","$visitor"]),Gl.refract=Nn(["visitors","document","objects","Schema","$visitor"]),tm.refract=Nn(["visitors","document","objects","SecurityRequirement","$visitor"]),rm.refract=Nn(["visitors","document","objects","SecurityScheme","$visitor"]),om.refract=Nn(["visitors","document","objects","Server","$visitor"]),am.refract=Nn(["visitors","document","objects","ServerVariable","$visitor"]),Xb.refract=Nn(["visitors","document","objects","Tag","$visitor"]),ev.refract=Nn(["visitors","document","objects","XML","$visitor"]);const jl=class extends ks{},fE=class extends Array{constructor(){super(...arguments);Io(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new jl("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new jl("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new jl("latest method in MediaTypes class is not yet implemented.")}};class iv extends fE{filterByFormat(t="generic"){const r=t==="generic"?"openapi;version":t;return this.filter(o=>o.includes(r))}findBy(t="3.1.0",r="generic"){const o=r==="generic"?`vnd.oai.openapi;version=${t}`:`vnd.oai.openapi+${r};version=${t}`;return this.find(n=>n.includes(o))||this.unknownMediaType}latest(t="generic"){return gu(this.filterByFormat(t))}}const mp=new iv("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0"),ph=un({props:{uri:"",value:null,depth:0,refSet:null,errors:[]},init({depth:e=this.depth,refSet:t=this.refSet,uri:r=this.uri,value:o=this.value}={}){this.uri=r,this.value=o,this.depth=e,this.refSet=t,this.errors=[]}}),sv=Ti(function(e,t,r){return Ki(e,bl(t,r))}),mE=un({props:{rootRef:null,refs:[],circular:!1},init({refs:e=[]}={}){this.refs=[],e.forEach(t=>this.add(t))},methods:{get size(){return this.refs.length},add(e){return this.has(e)||(this.refs.push(e),this.rootRef=this.rootRef===null?e:this.rootRef,e.refSet=this),this},merge(e){for(const t of e.values())this.add(t);return this},has(e){const t=wl(e)?e:e.uri;return gg(this.find(sv(t,"uri")))},find(e){return this.refs.find(e)},*values(){yield*this.refs},clean(){this.refs.forEach(e=>{e.refSet=null}),this.refs=[]}}}),im=mE,bE={parse:{mediaType:"text/plain",parsers:[],parserOpts:{}},resolve:{baseURI:"",resolvers:[],resolverOpts:{},strategies:[],strategyOpts:{},internal:!0,external:!0,maxDepth:1/0},dereference:{strategies:[],strategyOpts:{},refSet:null,maxDepth:1/0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},vE=Na(function(e,t){return function(r){return function(o){return hu(function(n){return t(n,o)},r(e(o)))}}});var yE=Ti(function e(t,r,o){if(t.length===0)return r;var n=t[0];if(t.length>1){var l=!Of(o)&&fs(n,o)&&typeof o[n]=="object"?o[n]:hs(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,l)}return function(h,b,E){if(hs(h)&&si(E)){var R=[].concat(E);return R[h]=b,R}var L={};for(var U in E)L[U]=E[U];return L[h]=b,L}(n,r,o)});const wE=yE;var Cw=function(e){return{value:e,map:function(t){return Cw(t(e))}}},kE=Ti(function(e,t,r){return e(function(o){return Cw(t(o))})(r).value});const xE=kE,EE=vE(bi(["resolve","baseURI"]),wE(["resolve","baseURI"])),SE=e=>Ky(e)?ep():e,Pw=(e,t)=>{const r=bo(e,t);return xE(EE,SE,r)},dh=un({props:{uri:null,mediaType:"text/plain",data:null,parseResult:null},init({uri:e=this.uri,mediaType:t=this.mediaType,data:r=this.data,parseResult:o=this.parseResult}={}){this.uri=e,this.mediaType=t,this.data=r,this.parseResult=o},methods:{get extension(){return wl(this.uri)?mg(this.uri):""},toString(){return typeof this.data=="string"?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(ms(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}}}),_E=class extends ws{constructor(t,r){super(t,{cause:r.cause});Io(this,"plugin");this.plugin=r.plugin}},cv=async(e,t,r)=>{const o=await Promise.all(r.map(Va([e],t)));return r.filter((n,l)=>o[l])},lv=async(e,t,r)=>{let o;for(const n of r)try{const l=await n[e].call(n,...t);return{plugin:n,result:l}}catch(l){o=new _E("Error while running plugin",{cause:l,plugin:n})}return Promise.reject(o)},uv=class extends ws{},jE=class extends uv{},OE=async(e,t)=>{let r=e,o=!1;if(!Sy(e)){const h=Fs(e);h.classes.push("result"),r=new Z([h]),o=!0}const n=dh({uri:t.resolve.baseURI,parseResult:r,mediaType:t.parse.mediaType}),l=await cv("canDereference",[n,t],t.dereference.strategies);if(no(l))throw new jE(n.uri);try{const{result:h}=await lv("dereference",[n,t],l);return o?h.get(0):h}catch(h){throw new uv(`Error while dereferencing file "${n.uri}"`,{cause:h})}},pv=class extends ws{},Zl=class extends pv{},AE=un({props:{name:"",allowEmpty:!0,sourceMap:!1,fileExtensions:[],mediaTypes:[]},init({allowEmpty:e=this.allowEmpty,sourceMap:t=this.sourceMap,fileExtensions:r=this.fileExtensions,mediaTypes:o=this.mediaTypes}={}){this.allowEmpty=e,this.sourceMap=t,this.fileExtensions=r,this.mediaTypes=o},methods:{async canParse(){throw new jl("canParse method in Parser stamp is not yet implemented.")},async parse(){throw new jl("parse method in Parser stamp is not yet implemented.")}}}),gh=AE,CE=un(gh,{props:{name:"binary"},methods:{async canParse(e){return this.fileExtensions.length===0||this.fileExtensions.includes(e.extension)},async parse(e){try{const t=unescape(encodeURIComponent(e.toString())),r=btoa(t),o=new Z;if(r.length!==0){const n=new Or.Om(r);n.classes.push("result"),o.push(n)}return o}catch(t){throw new Zl(`Error parsing "${e.uri}"`,{cause:t})}}}}),PE=un({props:{name:null},methods:{canResolve:()=>!1,async resolve(){throw new jl("resolve method in ResolveStrategy stamp is not yet implemented.")}}});var IE=Na(function(e,t){return W0(ng(e),t)});const zE=IE;var TE=st(10885);const RE=class extends zg{constructor(t,r){super(t,r);Io(this,"value");r!==void 0&&(this.value=r.value)}},dv=un({props:{uuid:null,length:null,identityMap:null},init({length:e=6}={}){this.length=6,this.uuid=new TE({length:e}),this.identityMap=new WeakMap},methods:{identify(e){if(!ts(e))throw new RE("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&bn(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);const t=new Or.Om(this.generateId());return this.identityMap.set(e,t),t},forget(e){return!!this.identityMap.has(e)&&(this.identityMap.delete(e),!0)},generateId(){return this.uuid.randomUUID()}}});dv({length:6});const Iw=Ti(function(e,t,r){return ml(e,bi(t,r))}),zw=(e,t)=>{const r=new Ly({predicate:e,returnOnTrue:hn});return Ts(t,r),Iw(void 0,[0],r.result)},Tw=class extends ws{},NE=class extends Tw{},DE=class extends Tw{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}},sm=e=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(e),Pd=e=>{const t=cd(e);return rb("#",t)},gv=(e,t)=>{const r=(n=>{if(!sm(n))throw new DE(n);return n})(e),o=zw(n=>uh(n)&&ro(n.$anchor)===r,t);if(uc(o))throw new NE(`Evaluation failed on token: "${r}"`);return o},BE=(e,t)=>{const r=new Ly({predicate:e});return Ts(t,r),new Or.G6(r.result)},ME=class extends ws{},hv=class extends ME{},Rw=(e,t)=>{if(t.$ref===void 0)return;const r=cd(ro(t.$ref)),o=ro(t.meta.get("inherited$id"));return`${cc((n,l)=>Vi(n,tp(Ri(l))),e,[...o,ro(t.$ref)])}${r==="#"?"":r}`},hh=e=>{if(hh.cache.has(e))return hh.cache.get(e);const t=Gl.refract(e);return hh.cache.set(e,t),t};hh.cache=new WeakMap;const Ou=e=>hp(e)?hh(e):e,cm=(e,t)=>{const{cache:r}=cm,o=Ri(e),n=E=>uh(E)&&E.$id!==void 0;if(!r.has(t)){const E=BE(n,t);r.set(t,Array.from(E))}const l=r.get(t).find(E=>((R,L)=>{if(L.$id===void 0)return;const U=ro(L.meta.get("inherited$id"));return cc((K,F)=>Vi(K,tp(Ri(F))),R,[...U,ro(L.$id)])})(o,E)===o);if(uc(l))throw new hv(`Evaluation failed on URI: "${e}"`);let h,b;return sm(Pd(e))?(h=gv,b=Pd(e)):(h=Jc,b=jc(e)),h(b,l)};cm.cache=new WeakMap;const Id=class extends uv{},fv=class extends ws{},LE=class extends fv{},Nw=class extends fv{},Dw=class extends Nw{},FE=async(e,t)=>{const r=dh({uri:tp(Ri(e)),mediaType:t.parse.mediaType}),o=await(async(n,l)=>{const h=l.resolve.resolvers.map(E=>{const R=Object.create(E);return Object.assign(R,l.resolve.resolverOpts)}),b=await cv("canRead",[n,l],h);if(no(b))throw new Dw(n.uri);try{const{result:E}=await lv("read",[n],b);return E}catch(E){throw new fv(`Error while reading file "${n.uri}"`,{cause:E})}})(r,t);return(async(n,l)=>{const h=l.parse.parsers.map(E=>{const R=Object.create(E);return Object.assign(R,l.parse.parserOpts)}),b=await cv("canParse",[n,l],h);if(no(b))throw new Dw(n.uri);try{const{plugin:E,result:R}=await lv("parse",[n,l],b);return!E.allowEmpty&&R.isEmpty?Promise.reject(new pv(`Error while parsing file "${n.uri}". File is empty.`)):R}catch(E){throw new pv(`Error while parsing file "${n.uri}"`,{cause:E})}})(dh({...r,data:o}),t)};class mv extends Array{includesCycle(t){return this.filter(r=>r.has(t)).length>1}includes(t,r){return t instanceof Set?super.includes(t,r):this.some(o=>o.has(t))}findItem(t){for(const r of this)for(const o of r)if(ts(o)&&t(o))return o}}const bv=Ts[Symbol.for("nodejs.util.promisify.custom")],Au=dv(),vv=e=>t=>t.meta.hasKey("ref-referencing-element-id")&&t.meta.get("ref-referencing-element-id").equals(ro(Au.identify(e))),lm=un({props:{indirections:null,namespace:null,reference:null,options:null,ancestors:null,refractCache:null},init({indirections:e=[],reference:t,namespace:r,options:o,ancestors:n=new mv,refractCache:l=new Map}){this.indirections=e,this.namespace=r,this.reference=t,this.options=o,this.ancestors=new mv(...n),this.refractCache=l},methods:{toBaseURI(e){return Vi(this.reference.uri,tp(Ri(e)))},async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new LE(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const t=this.toBaseURI(e),{refSet:r}=this.reference;if(r.has(t))return r.find(sv(t,"uri"));const o=await FE(Is(t),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),n=ph({uri:t,value:o,depth:this.reference.depth+1});return r.add(n),n},toAncestorLineage(e){const t=new Set(e.filter(ts));return[new mv(...this.ancestors,t),t]},async ReferenceElement(e,t,r,o,n){const[l,h]=this.toAncestorLineage([...n,r]);if(l.includesCycle(e))return!1;const b=this.toBaseURI(ro(e.$ref)),E=Ri(this.reference.uri)===b,R=!E;if(!this.options.resolve.internal&&E||!this.options.resolve.external&&R)return!1;const L=await this.toReference(ro(e.$ref)),U=Vi(b,ro(e.$ref));this.indirections.push(e);const K=jc(U);let F=Jc(K,L.value.result);if(hp(F)){const H=ro(e.meta.get("referenced-element")),ne=`${H}-${ro(Au.identify(F))}`;this.refractCache.has(ne)?F=this.refractCache.get(ne):li(F)?(F=fp.refract(F),F.setMetaProperty("referenced-element",H),this.refractCache.set(ne,F)):(F=this.namespace.getElementClass(H).refract(F),this.refractCache.set(ne,F))}if(this.indirections.includes(F))throw new ws("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);h.add(e);const V=lm({reference:L,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:l,refractCache:this.refractCache});F=await bv(F,V,{keyMap:Gc,nodeTypeGetter:Oc}),h.delete(e),this.indirections.pop();const f=H=>{const ne=Fs(H);return ne.setMetaProperty("ref-fields",{$ref:ro(e.$ref),description:ro(e.description),summary:ro(e.summary)}),ne.setMetaProperty("ref-origin",L.uri),ne.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),Rn(H)&&(e.hasKey("description")&&"description"in H&&(ne.remove("description"),ne.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in H&&(ne.remove("summary"),ne.set("summary",e.get("summary")))),ne};if(l.includes(e)||l.includes(F)){var Y;const H=(Y=l.findItem(vv(e)))!==null&&Y!==void 0?Y:f(F);return Ys(r)?r.value=H:Array.isArray(r)&&(r[t]=H),!1}return f(F)},async PathItemElement(e,t,r,o,n){const[l,h]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(l.includesCycle(e))return!1;const b=this.toBaseURI(ro(e.$ref)),E=Ri(this.reference.uri)===b,R=!E;if(!this.options.resolve.internal&&E||!this.options.resolve.external&&R)return;const L=await this.toReference(ro(e.$ref)),U=Vi(b,ro(e.$ref));this.indirections.push(e);const K=jc(U);let F=Jc(K,L.value.result);if(hp(F)){const H=`pathItem-${ro(Au.identify(F))}`;this.refractCache.has(H)?F=this.refractCache.get(H):(F=Jl.refract(F),this.refractCache.set(H,F))}if(this.indirections.includes(F))throw new ws("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);h.add(e);const V=lm({reference:L,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:l,refractCache:this.refractCache});F=await bv(F,V,{keyMap:Gc,nodeTypeGetter:Oc}),h.delete(e),this.indirections.pop();const f=H=>{const ne=new Jl([...H.content],No(H.meta),No(H.attributes));return e.forEach((ae,le,ye)=>{ne.remove(ro(le)),ne.content.push(ye)}),ne.remove("$ref"),ne.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),ne.setMetaProperty("ref-origin",L.uri),ne.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),ne};if(l.includes(e)||l.includes(F)){var Y;const H=(Y=l.findItem(vv(e)))!==null&&Y!==void 0?Y:f(F);return Ys(r)?r.value=H:Array.isArray(r)&&(r[t]=H),!1}return f(F)},async LinkElement(e){if(!bn(e.operationRef)&&!bn(e.operationId))return;if(bn(e.operationRef)&&bn(e.operationId))throw new ws("LinkElement operationRef and operationId fields are mutually exclusive.");let t;if(bn(e.operationRef)){var r;const n=jc(ro(e.operationRef)),l=this.toBaseURI(ro(e.operationRef)),h=Ri(this.reference.uri)===l,b=!h;if(!this.options.resolve.internal&&h||!this.options.resolve.external&&b)return;const E=await this.toReference(ro(e.operationRef));if(t=Jc(n,E.value.result),hp(t)){const L=`operation-${ro(Au.identify(t))}`;this.refractCache.has(L)?t=this.refractCache.get(L):(t=ch.refract(t),this.refractCache.set(L,t))}t=Fs(t),t.setMetaProperty("ref-origin",E.uri);const R=Fs(e);return(r=R.operationRef)===null||r===void 0||r.meta.set("operation",t),R}if(bn(e.operationId)){var o;const n=ro(e.operationId),l=await this.toReference(Is(this.reference.uri));if(t=zw(b=>jw(b)&&ts(b.operationId)&&b.operationId.equals(n),l.value.result),uc(t))throw new ws(`OperationElement(operationId=${n}) not found.`);const h=Fs(e);return(o=h.operationId)===null||o===void 0||o.meta.set("operation",t),h}},async ExampleElement(e,t,r,o,n){const[l]=this.toAncestorLineage([...n,r]);if(!bn(e.externalValue))return;if(l.includesCycle(e))return!1;if(e.hasKey("value")&&bn(e.externalValue))throw new ws("ExampleElement value and externalValue fields are mutually exclusive.");const h=this.toBaseURI(ro(e.externalValue)),b=Ri(this.reference.uri)===h,E=!b;if(!this.options.resolve.internal&&b||!this.options.resolve.external&&E)return;const R=await this.toReference(ro(e.externalValue)),L=Fs(R.value.result);L.setMetaProperty("ref-origin",R.uri);const U=Fs(e);return U.value=L,U},async SchemaElement(e,t,r,o,n){const[l,h]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(l.includesCycle(e))return!1;let b=await this.toReference(Is(this.reference.uri)),{uri:E}=b;const R=Rw(E,e),L=Ri(R),U=dh({uri:L}),K=zE(le=>le.canRead(U),this.options.resolve.resolvers),F=!K,V=le=>Ri(this.reference.uri)===le,f=le=>!V(le);let Y;this.indirections.push(e);try{if(K||F)Y=cm(R,Ou(b.value.result));else{if(E=this.toBaseURI(ro(R)),!this.options.resolve.internal&&V(E)||!this.options.resolve.external&&f(E))return;b=await this.toReference(Is(R));const le=jc(R);Y=Ou(Jc(le,b.value.result))}}catch(le){if(!(F&&le instanceof hv))throw le;if(sm(Pd(R))){if(E=this.toBaseURI(ro(R)),!this.options.resolve.internal&&V(E)||!this.options.resolve.external&&f(E))return;b=await this.toReference(Is(R));const ye=Pd(R);Y=gv(ye,Ou(b.value.result))}else{if(E=this.toBaseURI(ro(R)),!this.options.resolve.internal&&V(E)||!this.options.resolve.external&&f(E))return;b=await this.toReference(Is(R));const ye=jc(R);Y=Ou(Jc(ye,b.value.result))}}if(this.indirections.includes(Y))throw new ws("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);h.add(e);const H=lm({reference:b,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:l});if(Y=await bv(Y,H,{keyMap:Gc,nodeTypeGetter:Oc}),h.delete(e),this.indirections.pop(),ov(Y)){const le=No(Y);return le.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),le.setMetaProperty("ref-origin",b.uri),le.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),le}const ne=le=>{const ye=new Gl([...le.content],No(le.meta),No(le.attributes));return e.forEach((he,Ee,Ke)=>{ye.remove(ro(Ee)),ye.content.push(Ke)}),ye.remove("$ref"),ye.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),ye.setMetaProperty("ref-origin",b.uri),ye.setMetaProperty("ref-referencing-element-id",No(Au.identify(e))),ye};if(l.includes(e)||l.includes(Y)){var ae;const le=(ae=l.findItem(vv(e)))!==null&&ae!==void 0?ae:ne(Y);return Ys(r)?r.value=le:Array.isArray(r)&&(r[t]=le),!1}return ne(Y)}}}),um=lm,$E=un(um),UE=Ts[Symbol.for("nodejs.util.promisify.custom")],qE=un(PE,{init(){this.name="openapi-3-1"},methods:{canResolve(e){var t;return e.mediaType!=="text/plain"?mp.includes(e.mediaType):tv((t=e.parseResult)===null||t===void 0?void 0:t.result)},async resolve(e,t){const r=Sd(nm),o=ph({uri:e.uri,value:e.parseResult}),n=Pw(t,{resolve:{internal:!1}}),l=$E({reference:o,namespace:r,options:n}),h=im();return h.add(o),await UE(h.rootRef.value,l,{keyMap:Gc,nodeTypeGetter:Oc}),h}}}),KE=qE;function yv(e,t,r){if(r||(r=new HE),function(n){var l=typeof n;return n==null||l!="object"&&l!="function"}(e))return e;var o=function(n){var l=r.get(e);if(l)return l;for(var h in r.set(e,n),e)Object.prototype.hasOwnProperty.call(e,h)&&(n[h]=t?yv(e[h],!0,r):e[h]);return n};switch(ms(e)){case"Object":return o(Object.create(Object.getPrototypeOf(e)));case"Array":return o([]);case"Date":return new Date(e.valueOf());case"RegExp":return lu(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}var HE=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(t,r){const o=this.hash(t);let n=this.map[o];n||(this.map[o]=n=[]),n.push([t,r]),this.length+=1},e.prototype.hash=function(t){let r=[];for(var o in t)r.push(Object.prototype.toString.call(t[o]));return r.join()},e.prototype.get=function(t){if(this.length<=180){for(const n in this.map){const l=this.map[n];for(let h=0;h<l.length;h+=1){const b=l[h];if(b[0]===t)return b[1]}}return}const r=this.hash(t),o=this.map[r];if(o)for(let n=0;n<o.length;n+=1){const l=o[n];if(l[0]===t)return l[1]}},e}(),VE=function(){function e(t,r,o,n){this.valueFn=t,this.valueAcc=r,this.keyFn=o,this.xf=n,this.inputs={}}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=function(t){var r;for(r in this.inputs)if(fs(r,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[r]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){var o=this.keyFn(r);return this.inputs[o]=this.inputs[o]||[o,yv(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],r),t},e}();function WE(e,t,r){return function(o){return new VE(e,t,r,o)}}var JE=Gp(4,[],nc([],WE,function(e,t,r,o){var n=sc(function(l,h){var b=r(h),E=e(fs(b,l)?l[b]:yv(t,!1),h);return E&&E["@@transducer/reduced"]?gn(l):(l[b]=E,l)});return Mc(n,{},o)}));const GE=Na(Jp("groupBy",JE(function(e,t){return e.push(t),e},[]))),wv=e=>e.replace(/\s/g,""),kv=e=>e.replace(/\W/gi,"_"),YE=(e,t,r)=>{const o=wv(e);return o.length>0?kv(o):((n,l)=>`${kv(wv(l.toLowerCase()))}${kv(wv(n))}`)(t,r)},ZE=({operationIdNormalizer:e=YE}={})=>({predicates:t,namespace:r})=>{const o=[],n=[],l=[];return{visitor:{OpenApi3_1Element:{leave(){const h=GE(b=>ro(b.operationId),n);Object.entries(h).forEach(([b,E])=>{Array.isArray(E)&&(E.length<=1||E.forEach((R,L)=>{const U=`${b}${L+1}`;R.operationId=new r.elements.String(U)}))}),l.forEach(b=>{if(b.operationId===void 0)return;const E=String(ro(b.operationId)),R=n.find(L=>ro(L.meta.get("originalOperationId"))===E);R!==void 0&&(b.operationId=No.safe(R.operationId),b.meta.set("originalOperationId",E),b.set("__originalOperationId",E))}),n.length=0,l.length=0}},PathItemElement:{enter(h){const b=ml("path",ro(h.meta.get("path")));o.push(b)},leave(){o.pop()}},OperationElement:{enter(h){if(h.operationId===void 0)return;const b=String(ro(h.operationId)),E=gu(o),R=ml("method",ro(h.meta.get("http-method"))),L=e(b,E,R);b!==L&&(h.operationId=new r.elements.String(L),h.set("__originalOperationId",b),h.meta.set("originalOperationId",b),n.push(h))}},LinkElement:{leave(h){t.isLinkElement(h)&&h.operationId!==void 0&&l.push(h)}}}}};var QE=function(){function e(t,r){this.xf=r,this.pred=t,this.items=[]}return e.prototype["@@transducer/init"]=bs,e.prototype["@@transducer/result"]=Ps,e.prototype["@@transducer/step"]=function(t,r){return Ku(this.pred,r,this.items)?t:(this.items.push(r),this.xf["@@transducer/step"](t,r))},e}();function XE(e){return function(t){return new QE(e,t)}}var eS=Na(nc([],XE,function(e,t){for(var r,o=0,n=t.length,l=[];o<n;)Ku(e,r=t[o],l)||(l[l.length]=r),o+=1;return l}));const tS=eS,rS=()=>({predicates:e})=>{const t=(o,n)=>!!e.isParameterElement(o)&&!!e.isParameterElement(n)&&!!e.isStringElement(o.name)&&!!e.isStringElement(o.in)&&!!e.isStringElement(n.name)&&!!e.isStringElement(n.in)&&ro(o.name)===ro(n.name)&&ro(o.in)===ro(n.in),r=[];return{visitor:{PathItemElement:{enter(o,n,l,h,b){if(b.some(e.isComponentsElement))return;const{parameters:E}=o;e.isArrayElement(E)?r.push([...E.content]):r.push([])},leave(){r.pop()}},OperationElement:{leave(o){const n=gu(r);if(!Array.isArray(n)||n.length===0)return;const l=Iw([],["parameters","content"],o),h=tS(t,[...l,...n]);o.parameters=new ww(h)}}}}},oS=()=>({predicates:e})=>{let t;return{visitor:{OpenApi3_1Element:{enter(r){e.isArrayElement(r.security)&&(t=r.security)},leave(){t=void 0}},OperationElement:{leave(r,o,n,l,h){if(!h.some(e.isComponentsElement)){var b;r.security===void 0&&t!==void 0&&(r.security=new xw((b=t)===null||b===void 0?void 0:b.content))}}}}}},aS=()=>({predicates:e,namespace:t})=>({visitor:{OpenApi3_1Element(r){const o=r.servers===void 0,n=e.isArrayElement(r.servers),l=n&&r.servers.length===0,h=t.elements.Server.refract({url:"/"});o||!n?r.servers=new ub([h]):n&&l&&r.servers.push(h)},PathItemElement(r,o,n,l,h){if(h.some(e.isComponentsElement)||!h.some(e.isOpenApi3_1Element))return;const b=h.find(e.isOpenApi3_1Element),E=r.servers===void 0,R=e.isArrayElement(r.servers),L=R&&r.servers.length===0;if(e.isOpenApi3_1Element(b)){var U;const K=(U=b.servers)===null||U===void 0?void 0:U.content,F=K??[];E||!R?r.servers=new Sw(F):R&&L&&F.forEach(V=>{r.servers.push(V)})}},OperationElement(r,o,n,l,h){if(h.some(e.isComponentsElement)||!h.some(e.isOpenApi3_1Element))return;const b=[...h].reverse().find(e.isPathItemElement),E=r.servers===void 0,R=e.isArrayElement(r.servers),L=R&&r.servers.length===0;if(e.isPathItemElement(b)){var U;const K=(U=b.servers)===null||U===void 0?void 0:U.content,F=K??[];E||!R?r.servers=new Ew(F):R&&L&&F.forEach(V=>{r.servers.push(V)})}}}}),nS=()=>({predicates:e})=>({visitor:{ParameterElement:{leave(t,r,o,n,l){var h,b;if(!l.some(e.isComponentsElement)&&t.schema!==void 0&&e.isSchemaElement(t.schema)&&(((h=t.schema)===null||h===void 0?void 0:h.example)!==void 0||((b=t.schema)===null||b===void 0?void 0:b.examples)!==void 0)){if(t.examples!==void 0&&e.isObjectElement(t.examples)){const E=t.examples.map(R=>No.safe(R.value));return t.schema.examples!==void 0&&t.schema.set("examples",E),void(t.schema.example!==void 0&&t.schema.set("example",E))}t.example!==void 0&&(t.schema.examples!==void 0&&t.schema.set("examples",[No(t.example)]),t.schema.example!==void 0&&t.schema.set("example",No(t.example)))}}}}}),iS=()=>({predicates:e})=>({visitor:{HeaderElement:{leave(t,r,o,n,l){var h,b;if(!l.some(e.isComponentsElement)&&t.schema!==void 0&&e.isSchemaElement(t.schema)&&(((h=t.schema)===null||h===void 0?void 0:h.example)!==void 0||((b=t.schema)===null||b===void 0?void 0:b.examples)!==void 0)){if(t.examples!==void 0&&e.isObjectElement(t.examples)){const E=t.examples.map(R=>No.safe(R.value));return t.schema.examples!==void 0&&t.schema.set("examples",E),void(t.schema.example!==void 0&&t.schema.set("example",E))}t.example!==void 0&&(t.schema.examples!==void 0&&t.schema.set("examples",[No(t.example)]),t.schema.example!==void 0&&t.schema.set("example",No(t.example)))}}}}}),fh=e=>t=>{if(t!=null&&t.$$normalized)return t;if(fh.cache.has(t))return fh.cache.get(t);const r=ju.refract(t),o=e(r),n=ro(o);return fh.cache.set(t,n),n};fh.cache=new WeakMap;const Bw=e=>{if(!Rn(e)||e.hasKey("$$normalized"))return e;const t=[ZE({operationIdNormalizer:(o,n,l)=>Ul({operationId:o},n,l,{v2OperationIdCompatibilityMode:!1})}),rS(),oS(),aS(),nS(),iS()],r=Tg(e,t,{toolboxCreator:Aw,visitorOptions:{keyMap:Gc,nodeTypeGetter:Oc}});return r.set("$$normalized",!0),r},sS=un({props:{name:null},methods:{canRead:()=>!1,async read(){throw new jl("read method in Resolver stamp is not yet implemented.")}}}),cS=un(sS,{props:{timeout:5e3,redirects:5,withCredentials:!1},init({timeout:e=this.timeout,redirects:t=this.redirects,withCredentials:r=this.withCredentials}={}){this.timeout=e,this.redirects=t,this.withCredentials=r},methods:{canRead:e=>Uc(e.uri),async read(){throw new jl("read method in HttpResolver stamp is not yet implemented.")},getHttpClient(){throw new jl("getHttpClient method in HttpResolver stamp is not yet implemented.")}}}),{AbortController:lS,AbortSignal:uS}=globalThis;globalThis.AbortController===void 0&&(globalThis.AbortController=lS),globalThis.AbortSignal===void 0&&(globalThis.AbortSignal=uS);const pS=cS.compose({props:{name:"http-swagger-client",swaggerHTTPClient:Ms,swaggerHTTPClientConfig:{}},init({swaggerHTTPClient:e=this.swaggerHTTPClient}={}){this.swaggerHTTPClient=e},methods:{getHttpClient(){return this.swaggerHTTPClient},async read(e){const t=this.getHttpClient(),r=new AbortController,{signal:o}=r,n=setTimeout(()=>{r.abort()},this.timeout),l=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",h=this.redirects===0?"error":"follow",b=this.redirects>0?this.redirects:void 0;try{return(await t({url:e.uri,signal:o,userFetch:async(R,L)=>{let U=await fetch(R,L);try{U.headers.delete("Content-Type")}catch{U=new Response(U.body,{...U,headers:new Headers(U.headers)}),U.headers.delete("Content-Type")}return U},credentials:l,redirect:h,follow:b,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(E){throw new Nw(`Error downloading "${e.uri}"`,{cause:E})}finally{clearTimeout(n)}}}}),Mw=pS,Lw=(e,t=Py)=>{if(wl(e))try{return t.fromRefract(JSON.parse(e))}catch{}return mf(e)&&Wy("element",e)?t.fromRefract(e):t.toElement(e)},Fw=gh.compose({props:{name:"json-swagger-client",fileExtensions:[".json"],mediaTypes:["application/json"]},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return JSON.parse(e.toString()),!0}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("json-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();if(this.allowEmpty&&r.trim()==="")return t;try{const o=Lw(JSON.parse(r));return o.classes.push("result"),t.push(o),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),$w=gh.compose({props:{name:"yaml-1-2-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:["text/yaml","application/yaml"]},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{return Ws.load(e.toString(),{schema:ji}),!0}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();try{const o=Ws.load(r,{schema:ji});if(this.allowEmpty&&o===void 0)return t;const n=Lw(o);return n.classes.push("result"),t.push(n),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),Uw=gh.compose({props:{name:"openapi-json-3-1-swagger-client",fileExtensions:[".json"],mediaTypes:new iv(...mp.filterByFormat("generic"),...mp.filterByFormat("json")),detectionRegExp:/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const o=e.toString();return JSON.parse(o),this.detectionRegExp.test(o)}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();if(this.allowEmpty&&r.trim()==="")return t;try{const o=JSON.parse(r),n=ju.refract(o,this.refractorOpts);return n.classes.push("result"),t.push(n),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),qw=gh.compose({props:{name:"openapi-yaml-3-1-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:new iv(...mp.filterByFormat("generic"),...mp.filterByFormat("yaml")),detectionRegExp:/(?<YAML>^(["']?)openapi\2\s*:\s*(["']?)(?<version_yaml>3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))")/m},methods:{async canParse(e){const t=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType);if(!t)return!1;if(r)return!0;if(!r)try{const o=e.toString();return Ws.load(o),this.detectionRegExp.test(o)}catch{return!1}return!1},async parse(e){if(this.sourceMap)throw new Zl("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const t=new Z,r=e.toString();try{const o=Ws.load(r,{schema:ji});if(this.allowEmpty&&o===void 0)return t;const n=ju.refract(o,this.refractorOpts);return n.classes.push("result"),t.push(n),t}catch(o){throw new Zl(`Error parsing "${e.uri}"`,{cause:o})}}}}),dS=un({props:{name:null},methods:{canDereference:()=>!1,async dereference(){throw new jl("dereference method in DereferenceStrategy stamp is not yet implemented.")}}}),gS=Ts[Symbol.for("nodejs.util.promisify.custom")],hS=un(dS,{init(){this.name="openapi-3-1"},methods:{canDereference(e){var t;return e.mediaType!=="text/plain"?mp.includes(e.mediaType):tv((t=e.parseResult)===null||t===void 0?void 0:t.result)},async dereference(e,t){const r=Sd(nm),o=ml(im(),t.dereference.refSet);let n;o.has(e.uri)?n=o.find(sv(e.uri,"uri")):(n=ph({uri:e.uri,value:e.parseResult}),o.add(n));const l=um({reference:n,namespace:r,options:t}),h=await gS(o.rootRef.value,l,{keyMap:Gc,nodeTypeGetter:Oc});return t.dereference.refSet===null&&o.clean(),h}}}),Kw=hS,Yc=e=>{const t=(r=>r.slice(2))(e);return t.reduce((r,o,n)=>{if(Ys(o)){const l=String(ro(o.key));r.push(l)}else if(dc(t[n-2])){const l=t[n-2].content.indexOf(o);r.push(l)}return r},[])},pm=e=>{if(e.cause==null)return e;let{cause:t}=e;for(;t.cause!=null;)t=t.cause;return t},fS=Di("SchemaRefError",function(e,t,r){this.originalError=r,Object.assign(this,t||{})}),{wrapError:xv}=gd,Ev=Ts[Symbol.for("nodejs.util.promisify.custom")],bp=dv(),Sv=e=>t=>t.meta.hasKey("ref-referencing-element-id")&&t.meta.get("ref-referencing-element-id").equals(ro(bp.identify(e))),dm=um.compose({props:{useCircularStructures:!0,allowMetaPatches:!1,basePath:null},init({allowMetaPatches:e=this.allowMetaPatches,useCircularStructures:t=this.useCircularStructures,basePath:r=this.basePath}){this.allowMetaPatches=e,this.useCircularStructures=t,this.basePath=r},methods:{async ReferenceElement(e,t,r,o,n){try{var l;const[L,U]=this.toAncestorLineage([...n,r]);if(Ed(["cycle"],e.$ref)||L.includesCycle(e))return!1;const K=this.toBaseURI(ro(e.$ref)),F=Ri(this.reference.uri)===K,V=!F;if(!this.options.resolve.internal&&F||!this.options.resolve.external&&V)return!1;const f=await this.toReference(ro(e.$ref)),Y=Vi(K,ro(e.$ref));this.indirections.push(e);const H=jc(Y);let ne=Jc(H,f.value.result);if(hp(ne)){const ye=ro(e.meta.get("referenced-element")),he=`${ye}-${ro(bp.identify(ne))}`;this.refractCache.has(he)?ne=this.refractCache.get(he):li(ne)?(ne=fp.refract(ne),ne.setMetaProperty("referenced-element",ye),this.refractCache.set(he,ne)):(ne=this.namespace.getElementClass(ye).refract(ne),this.refractCache.set(he,ne))}if(this.indirections.includes(ne))throw new ws("Recursive JSON Pointer detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&L.includes(ne)){if(Uc(K)||Bl(K)){const ye=new fp({$ref:Y},No(e.meta),No(e.attributes));return ye.get("$ref").classes.push("cycle"),ye}return!1}U.add(e);const ae=dm({reference:f,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:L,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"$ref"]});ne=await Ev(ne,ae,{keyMap:Gc,nodeTypeGetter:Oc}),U.delete(e),this.indirections.pop();const le=ye=>{const he=Fs(ye);if(he.setMetaProperty("ref-fields",{$ref:ro(e.$ref),description:ro(e.description),summary:ro(e.summary)}),he.setMetaProperty("ref-origin",f.uri),he.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),Rn(ye)&&(e.hasKey("description")&&"description"in ye&&(he.remove("description"),he.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in ye&&(he.remove("summary"),he.set("summary",e.get("summary")))),this.allowMetaPatches&&Rn(he)&&!he.hasKey("$$ref")){const Ee=Vi(K,Y);he.set("$$ref",Ee)}return he};if(L.includes(e)||L.includes(ne)){var h;const ye=(h=L.findItem(Sv(e)))!==null&&h!==void 0?h:le(ne);return Ys(r)?r.value=ye:Array.isArray(r)&&(r[t]=ye),!1}return le(ne)}catch(L){var b,E,R;const U=pm(L),K=xv(U,{baseDoc:this.reference.uri,$ref:ro(e.$ref),pointer:jc(ro(e.$ref)),fullPath:(b=this.basePath)!==null&&b!==void 0?b:[...Yc([...n,r,e]),"$ref"]});return void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(R=E.push)===null||R===void 0||R.call(E,K))}},async PathItemElement(e,t,r,o,n){try{var l;const[L,U]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(Ed(["cycle"],e.$ref)||L.includesCycle(e))return!1;const K=this.toBaseURI(ro(e.$ref)),F=Ri(this.reference.uri)===K,V=!F;if(!this.options.resolve.internal&&F||!this.options.resolve.external&&V)return;const f=await this.toReference(ro(e.$ref)),Y=Vi(K,ro(e.$ref));this.indirections.push(e);const H=jc(Y);let ne=Jc(H,f.value.result);if(hp(ne)){const ye=`pathItem-${ro(bp.identify(ne))}`;this.refractCache.has(ye)?ne=this.refractCache.get(ye):(ne=Jl.refract(ne),this.refractCache.set(ye,ne))}if(this.indirections.includes(ne))throw new ws("Recursive JSON Pointer detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&L.includes(ne)){if(Uc(K)||Bl(K)){const ye=new Jl({$ref:Y},No(e.meta),No(e.attributes));return ye.get("$ref").classes.push("cycle"),ye}return!1}U.add(e);const ae=dm({reference:f,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:L,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"$ref"]});ne=await Ev(ne,ae,{keyMap:Gc,nodeTypeGetter:Oc}),U.delete(e),this.indirections.pop();const le=ye=>{const he=new Jl([...ye.content],No(ye.meta),No(ye.attributes));if(e.forEach((Ee,Ke,$e)=>{he.remove(ro(Ke)),he.content.push($e)}),he.remove("$ref"),he.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),he.setMetaProperty("ref-origin",f.uri),he.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),this.allowMetaPatches&&he.get("$$ref")===void 0){const Ee=Vi(K,Y);he.set("$$ref",Ee)}return he};if(L.includes(e)||L.includes(ne)){var h;const ye=(h=L.findItem(Sv(e)))!==null&&h!==void 0?h:le(ne);return Ys(r)?r.value=ye:Array.isArray(r)&&(r[t]=ye),!1}return le(ne)}catch(L){var b,E,R;const U=pm(L),K=xv(U,{baseDoc:this.reference.uri,$ref:ro(e.$ref),pointer:jc(ro(e.$ref)),fullPath:(b=this.basePath)!==null&&b!==void 0?b:[...Yc([...n,r,e]),"$ref"]});return void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(R=E.push)===null||R===void 0||R.call(E,K))}},async SchemaElement(e,t,r,o,n){try{var l;const[L,U]=this.toAncestorLineage([...n,r]);if(!bn(e.$ref))return;if(Ed(["cycle"],e.$ref)||L.includesCycle(e))return!1;let K=await this.toReference(Is(this.reference.uri)),{uri:F}=K;const V=Rw(F,e),f=Ri(V),Y=dh({uri:f}),H=!this.options.resolve.resolvers.some(Ke=>Ke.canRead(Y)),ne=!H,ae=Ke=>Ri(this.reference.uri)===Ke,le=Ke=>!ae(Ke);let ye;this.indirections.push(e);try{if(H||ne)ye=cm(V,Ou(K.value.result));else{if(F=this.toBaseURI(ro(V)),!this.options.resolve.internal&&ae(F)||!this.options.resolve.external&&le(F))return;K=await this.toReference(Is(V));const Ke=jc(V);ye=Ou(Jc(Ke,K.value.result))}}catch(Ke){if(!(ne&&Ke instanceof hv))throw Ke;if(sm(Pd(V))){if(F=this.toBaseURI(ro(V)),!this.options.resolve.internal&&ae(F)||!this.options.resolve.external&&le(F))return;K=await this.toReference(Is(V));const $e=Pd(V);ye=gv($e,Ou(K.value.result))}else{if(F=this.toBaseURI(ro(V)),!this.options.resolve.internal&&ae(F)||!this.options.resolve.external&&le(F))return;K=await this.toReference(Is(V));const $e=jc(V);ye=Ou(Jc($e,K.value.result))}}if(this.indirections.includes(ye))throw new ws("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Id(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(!this.useCircularStructures&&L.includes(ye)){if(Uc(F)||Bl(F)){const Ke=Vi(F,V),$e=new Gl({$ref:Ke},No(e.meta),No(e.attributes));return $e.get("$ref").classes.push("cycle"),$e}return!1}U.add(e);const he=dm({reference:K,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:L,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"$ref"]});if(ye=await Ev(ye,he,{keyMap:Gc,nodeTypeGetter:Oc}),U.delete(e),this.indirections.pop(),ov(ye)){const Ke=No(ye);return Ke.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),Ke.setMetaProperty("ref-origin",K.uri),Ke.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),Ke}const Ee=Ke=>{const $e=new Gl([...Ke.content],No(Ke.meta),No(Ke.attributes));if(e.forEach((xe,Ze,Rt)=>{$e.remove(ro(Ze)),$e.content.push(Rt)}),$e.remove("$ref"),$e.setMetaProperty("ref-fields",{$ref:ro(e.$ref)}),$e.setMetaProperty("ref-origin",K.uri),$e.setMetaProperty("ref-referencing-element-id",No(bp.identify(e))),this.allowMetaPatches&&$e.get("$$ref")===void 0){const xe=Vi(F,V);$e.set("$$ref",xe)}return $e};if(L.includes(e)||L.includes(ye)){var h;const Ke=(h=L.findItem(Sv(e)))!==null&&h!==void 0?h:Ee(ye);return Ys(r)?r.value=Ke:Array.isArray(r)&&(r[t]=Ke),!1}return Ee(ye)}catch(L){var b,E,R;const U=pm(L),K=new fS(`Could not resolve reference: ${U.message}`,{baseDoc:this.reference.uri,$ref:ro(e.$ref),fullPath:(b=this.basePath)!==null&&b!==void 0?b:[...Yc([...n,r,e]),"$ref"]},U);return void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(R=E.push)===null||R===void 0||R.call(E,K))}},async LinkElement(){},async ExampleElement(e,t,r,o,n){try{return await um.compose.methods.ExampleElement.call(this,e,t,r,o,n)}catch(E){var l,h,b;const R=pm(E),L=xv(R,{baseDoc:this.reference.uri,externalValue:ro(e.externalValue),fullPath:(l=this.basePath)!==null&&l!==void 0?l:[...Yc([...n,r,e]),"externalValue"]});return void((h=this.options.dereference.dereferenceOpts)===null||h===void 0||(h=h.errors)===null||h===void 0||(b=h.push)===null||b===void 0||b.call(h,L))}}}}),mS=dm,_v=Kw.compose.bind(),bS=_v({init({parameterMacro:e,options:t}){this.parameterMacro=e,this.options=t},props:{parameterMacro:null,options:null,macroOperation:null,OperationElement:{enter(e){this.macroOperation=e},leave(){this.macroOperation=null}},ParameterElement:{leave(e,t,r,o,n){const l=this.macroOperation===null?null:ro(this.macroOperation),h=ro(e);try{const R=this.parameterMacro(l,h);e.set("default",R)}catch(R){var b,E;const L=new Error(R,{cause:R});L.fullPath=Yc([...n,r]),(b=this.options.dereference.dereferenceOpts)===null||b===void 0||(b=b.errors)===null||b===void 0||(E=b.push)===null||E===void 0||E.call(b,L)}}}}}),vS=bS,yS=_v({init({modelPropertyMacro:e,options:t}){this.modelPropertyMacro=e,this.options=t},props:{modelPropertyMacro:null,options:null,SchemaElement:{leave(e,t,r,o,n){e.properties!==void 0&&Rn(e.properties)&&e.properties.forEach(l=>{if(Rn(l))try{const E=this.modelPropertyMacro(ro(l));l.set("default",E)}catch(E){var h,b;const R=new Error(E,{cause:E});R.fullPath=[...Yc([...n,r,e]),"properties"],(h=this.options.dereference.dereferenceOpts)===null||h===void 0||(h=h.errors)===null||h===void 0||(b=h.push)===null||b===void 0||b.call(h,R)}})}}}}),wS=yS,kS=_v({init({options:e}){this.options=e},props:{options:null,SchemaElement:{leave(e,t,r,o,n){if(e.allOf===void 0)return;if(!dc(e.allOf)){var l,h;const L=new TypeError("allOf must be an array");return L.fullPath=[...Yc([...n,r,e]),"allOf"],void((l=this.options.dereference.dereferenceOpts)===null||l===void 0||(l=l.errors)===null||l===void 0||(h=l.push)===null||h===void 0||h.call(l,L))}if(e.allOf.isEmpty)return new Gl(e.content.filter(L=>ro(L.key)!=="allOf"),No(e.meta),No(e.attributes));if(!e.allOf.content.every(uh)){var b,E;const L=new TypeError("Elements in allOf must be objects");return L.fullPath=[...Yc([...n,r,e]),"allOf"],void((b=this.options.dereference.dereferenceOpts)===null||b===void 0||(b=b.errors)===null||b===void 0||(E=b.push)===null||E===void 0||E.call(b,L))}const R=El.all([...e.allOf.content,e]);return e.hasKey("$$ref")||R.remove("$$ref"),e.hasKey("example")&&(R.getMember("example").value=e.get("example")),e.hasKey("examples")&&(R.getMember("examples").value=e.get("examples")),R.remove("allOf"),R}}}}),xS=kS,ES=Ts[Symbol.for("nodejs.util.promisify.custom")],SS=Kw.compose({props:{useCircularStructures:!0,allowMetaPatches:!1,parameterMacro:null,modelPropertyMacro:null,mode:"non-strict",ancestors:null},init({useCircularStructures:e=this.useCircularStructures,allowMetaPatches:t=this.allowMetaPatches,parameterMacro:r=this.parameterMacro,modelPropertyMacro:o=this.modelPropertyMacro,mode:n=this.mode,ancestors:l=[]}={}){this.name="openapi-3-1-swagger-client",this.useCircularStructures=e,this.allowMetaPatches=t,this.parameterMacro=r,this.modelPropertyMacro=o,this.mode=n,this.ancestors=[...l]},methods:{async dereference(e,t){var r;const o=[],n=Sd(nm),l=(r=t.dereference.refSet)!==null&&r!==void 0?r:im();let h;l.has(e.uri)?h=l.find(L=>L.uri===e.uri):(h=ph({uri:e.uri,value:e.parseResult}),l.add(h));const b=mS({reference:h,namespace:n,options:t,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors});if(o.push(b),typeof this.parameterMacro=="function"){const L=vS({parameterMacro:this.parameterMacro,options:t});o.push(L)}if(typeof this.modelPropertyMacro=="function"){const L=wS({modelPropertyMacro:this.modelPropertyMacro,options:t});o.push(L)}if(this.mode!=="strict"){const L=xS({options:t});o.push(L)}const E=Ty(o,{nodeTypeGetter:Oc}),R=await ES(l.rootRef.value,E,{keyMap:Gc,nodeTypeGetter:Oc});return t.dereference.refSet===null&&l.clean(),R}}}),Hw=SS,jv=async e=>{const{spec:t,timeout:r,redirects:o,requestInterceptor:n,responseInterceptor:l,pathDiscriminator:h=[],allowMetaPatches:b=!1,useCircularStructures:E=!1,skipNormalization:R=!1,parameterMacro:L=null,modelPropertyMacro:U=null,mode:K="non-strict"}=e;try{const{cache:F}=jv,V=Uc(ep())?ep():qc,f=up(e),Y=Vi(V,f);let H;F.has(t)?H=F.get(t):(H=ju.refract(t),H.classes.push("result"),F.set(t,H));const ne=new Z([H]),ae=Qx(h),le=ae===""?"":`#${ae}`,ye=Jc(ae,H),he=ph({uri:Y,value:ne}),Ee=im({refs:[he]});ae!==""&&(Ee.rootRef=null);const Ke=[new Set([ye])],$e=[],xe=await(async(Lt,gt={})=>{const er=Pw(bE,gt);return OE(Lt,er)})(ye,{resolve:{baseURI:`${Y}${le}`,resolvers:[Mw({timeout:r||1e4,redirects:o||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:n,responseInterceptor:l}},strategies:[KE()]},parse:{mediaType:mp.latest(),parsers:[Uw({allowEmpty:!1,sourceMap:!1}),qw({allowEmpty:!1,sourceMap:!1}),Fw({allowEmpty:!1,sourceMap:!1}),$w({allowEmpty:!1,sourceMap:!1}),CE({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[Hw({allowMetaPatches:b,useCircularStructures:E,parameterMacro:L,modelPropertyMacro:U,mode:K,ancestors:Ke})],refSet:Ee,dereferenceOpts:{errors:$e}}}),Ze=((Lt,gt,er)=>new Vx({element:er}).transclude(Lt,gt))(ye,xe,H),Rt=R?Ze:Bw(Ze);return{spec:ro(Rt),errors:$e}}catch(F){if(F instanceof ob||F instanceof Rg)return{spec:null,errors:[]};throw F}};jv.cache=new WeakMap;const _S=jv,jS={name:"openapi-3-1-apidom",match:({spec:e})=>xd(e),normalize:({spec:e})=>fh(Bw)(e),resolve:async e=>_S(e)},Vw=jS,Ov=e=>async t=>(async r=>{const{spec:o,requestInterceptor:n,responseInterceptor:l}=r,h=up(r),b=wd(r),E=o||await ku(b,{requestInterceptor:n,responseInterceptor:l})(h),R={...r,spec:E};return r.strategies.find(L=>L.match(R)).resolve(R)})({...e,...t}),OS=Ov({strategies:[Cg,Eu,xu]});var AS=st(29225);function Ww(e){return Object.prototype.toString.call(e)==="[object Object]"}function Jw(e){var t,r;return Ww(e)!==!1&&((t=e.constructor)===void 0||Ww(r=t.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)}const CS={body:function({req:e,value:t}){e.body=t},header:function({req:e,parameter:t,value:r}){e.headers=e.headers||{},r!==void 0&&(e.headers[t.name]=r)},query:function({req:e,value:t,parameter:r}){if(e.query=e.query||{},t===!1&&r.type==="boolean"&&(t="false"),t===0&&["number","integer"].indexOf(r.type)>-1&&(t="0"),t)e.query[r.name]={collectionFormat:r.collectionFormat,value:t};else if(r.allowEmptyValue&&t!==void 0){const o=r.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}},path:function({req:e,value:t,parameter:r}){e.url=e.url.split(`{${r.name}}`).join(encodeURIComponent(t))},formData:function({req:e,value:t,parameter:r}){(t||r.allowEmptyValue)&&(e.form=e.form||{},e.form[r.name]={value:t,allowEmptyValue:r.allowEmptyValue,collectionFormat:r.collectionFormat})}};function gm(e,t){return t.includes("application/json")?typeof e=="string"?e:JSON.stringify(e):e.toString()}function PS({req:e,value:t,parameter:r}){const{name:o,style:n,explode:l,content:h}=r;if(h){const E=Object.keys(h)[0];return void(e.url=e.url.split(`{${o}}`).join(pc(gm(t,E),{escape:!0})))}const b=_g({key:r.name,value:t,style:n||"simple",explode:l||!1,escape:!0});e.url=e.url.split(`{${o}}`).join(b)}function IS({req:e,value:t,parameter:r}){if(e.query=e.query||{},r.content){const o=gm(t,Object.keys(r.content)[0]);if(o)e.query[r.name]=o;else if(r.allowEmptyValue&&t!==void 0){const n=r.name;e.query[n]=e.query[n]||{},e.query[n].allowEmptyValue=!0}}else if(t===!1&&(t="false"),t===0&&(t="0"),t){const{style:o,explode:n,allowReserved:l}=r;e.query[r.name]={value:t,serializationOption:{style:o,explode:n,allowReserved:l}}}else if(r.allowEmptyValue&&t!==void 0){const o=r.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}}const zS=["accept","authorization","content-type"];function TS({req:e,parameter:t,value:r}){if(e.headers=e.headers||{},!(zS.indexOf(t.name.toLowerCase())>-1))if(t.content){const o=Object.keys(t.content)[0];e.headers[t.name]=gm(r,o)}else r===void 0||Array.isArray(r)&&r.length===0||(e.headers[t.name]=_g({key:t.name,value:r,style:t.style||"simple",explode:t.explode!==void 0&&t.explode,escape:!1}))}function RS({req:e,parameter:t,value:r}){e.headers=e.headers||{};const o=typeof r;if(t.content){const n=Object.keys(t.content)[0];e.headers.Cookie=`${t.name}=${gm(r,n)}`}else if(r!==void 0&&(!Array.isArray(r)||r.length!==0)){const n=o==="object"&&!Array.isArray(r)&&t.explode?"":`${t.name}=`;e.headers.Cookie=n+_g({key:t.name,value:r,escape:!1,style:t.style||"form",explode:t.explode!==void 0&&t.explode})}}const NS=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:DS}=NS,Gw=DS;function BS(e,t){const{operation:r,requestBody:o,securities:n,spec:l,attachContentTypeForEmptyPayload:h}=e;let{requestContentType:b}=e;t=function({request:F,securities:V={},operation:f={},spec:Y}){var H;const ne={...F},{authorized:ae={}}=V,le=f.security||Y.security||[],ye=ae&&!!Object.keys(ae).length,he=(Y==null||(H=Y.components)===null||H===void 0?void 0:H.securitySchemes)||{};return ne.headers=ne.headers||{},ne.query=ne.query||{},!Object.keys(V).length||!ye||!le||Array.isArray(f.security)&&!f.security.length?F:(le.forEach(Ee=>{Object.keys(Ee).forEach(Ke=>{const $e=ae[Ke],xe=he[Ke];if(!$e)return;const Ze=$e.value||$e,{type:Rt}=xe;if($e){if(Rt==="apiKey")xe.in==="query"&&(ne.query[xe.name]=Ze),xe.in==="header"&&(ne.headers[xe.name]=Ze),xe.in==="cookie"&&(ne.cookies[xe.name]=Ze);else if(Rt==="http"){if(/^basic$/i.test(xe.scheme)){const Lt=Ze.username||"",gt=Ze.password||"",er=Gw(`${Lt}:${gt}`);ne.headers.Authorization=`Basic ${er}`}/^bearer$/i.test(xe.scheme)&&(ne.headers.Authorization=`Bearer ${Ze}`)}else if(Rt==="oauth2"||Rt==="openIdConnect"){const Lt=$e.token||{},gt=Lt[xe["x-tokenName"]||"access_token"];let er=Lt.token_type;er&&er.toLowerCase()!=="bearer"||(er="Bearer"),ne.headers.Authorization=`${er} ${gt}`}}})}),ne)}({request:t,securities:n,operation:r,spec:l});const E=r.requestBody||{},R=Object.keys(E.content||{}),L=b&&R.indexOf(b)>-1;if(o||h){if(b&&L)t.headers["Content-Type"]=b;else if(!b){const F=R[0];F&&(t.headers["Content-Type"]=F,b=F)}}else b&&L&&(t.headers["Content-Type"]=b);if(!e.responseContentType&&r.responses){const F=Object.entries(r.responses).filter(([V,f])=>{const Y=parseInt(V,10);return Y>=200&&Y<300&&Jw(f.content)}).reduce((V,[,f])=>V.concat(Object.keys(f.content)),[]);F.length>0&&(t.headers.accept=F.join(", "))}if(o)if(b){if(R.indexOf(b)>-1)if(b==="application/x-www-form-urlencoded"||b==="multipart/form-data")if(typeof o=="object"){var U,K;const F=(U=(K=E.content[b])===null||K===void 0?void 0:K.encoding)!==null&&U!==void 0?U:{};t.form={},Object.keys(o).forEach(V=>{t.form[V]={value:o[V],encoding:F[V]||{}}})}else t.form=o;else t.body=o}else t.body=o;return t}function MS(e,t){const{spec:r,operation:o,securities:n,requestContentType:l,responseContentType:h,attachContentTypeForEmptyPayload:b}=e;if(t=function({request:E,securities:R={},operation:L={},spec:U}){const K={...E},{authorized:F={},specSecurity:V=[]}=R,f=L.security||V,Y=F&&!!Object.keys(F).length,H=U.securityDefinitions;return K.headers=K.headers||{},K.query=K.query||{},!Object.keys(R).length||!Y||!f||Array.isArray(L.security)&&!L.security.length?E:(f.forEach(ne=>{Object.keys(ne).forEach(ae=>{const le=F[ae];if(!le)return;const{token:ye}=le,he=le.value||le,Ee=H[ae],{type:Ke}=Ee,$e=Ee["x-tokenName"]||"access_token",xe=ye&&ye[$e];let Ze=ye&&ye.token_type;if(le)if(Ke==="apiKey"){const Rt=Ee.in==="query"?"query":"headers";K[Rt]=K[Rt]||{},K[Rt][Ee.name]=he}else if(Ke==="basic")if(he.header)K.headers.authorization=he.header;else{const Rt=he.username||"",Lt=he.password||"";he.base64=Gw(`${Rt}:${Lt}`),K.headers.authorization=`Basic ${he.base64}`}else Ke==="oauth2"&&xe&&(Ze=Ze&&Ze.toLowerCase()!=="bearer"?Ze:"Bearer",K.headers.authorization=`${Ze} ${xe}`)})}),K)}({request:t,securities:n,operation:o,spec:r}),t.body||t.form||b)l?t.headers["Content-Type"]=l:Array.isArray(o.consumes)?[t.headers["Content-Type"]]=o.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:o.parameters&&o.parameters.filter(E=>E.type==="file").length?t.headers["Content-Type"]="multipart/form-data":o.parameters&&o.parameters.filter(E=>E.in==="formData").length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(l){const E=o.parameters&&o.parameters.filter(L=>L.in==="body").length>0,R=o.parameters&&o.parameters.filter(L=>L.in==="formData").length>0;(E||R)&&(t.headers["Content-Type"]=l)}return!h&&Array.isArray(o.produces)&&o.produces.length>0&&(t.headers.accept=o.produces.join(", ")),t}function Yw(e,t){return`${t.toLowerCase()}-${e}`}function Zw(e,t,r){if(!e||typeof e!="object"||!e.paths||typeof e.paths!="object")return null;const{paths:o}=e;for(const n in o)for(const l in o[n]){if(l.toUpperCase()==="PARAMETERS")continue;const h=o[n][l];if(!h||typeof h!="object")continue;const b={spec:e,pathName:n,method:l.toUpperCase(),operation:h},E=t(b);if(r&&E)return b}}function LS(e,t){return e&&e.paths?function(r,o){return Zw(r,o,!0)||null}(e,({pathName:r,method:o,operation:n})=>{if(!n||typeof n!="object")return!1;const l=n.operationId;return[Ul(n,r,o),Yw(r,o),l].some(h=>h&&h===t)}):null}const Qw=e=>Array.isArray(e)?e:[],Av=e=>{try{return new URL(e)}catch{const t=new URL(e,qc),r=String(e).startsWith("/")?t.pathname:t.pathname.substring(1);return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}},FS=Di("OperationNotFoundError",function(e,t,r){this.originalError=r,Object.assign(this,t||{})}),$S={buildRequest:Cv};function Xw({http:e,fetch:t,spec:r,operationId:o,pathName:n,method:l,parameters:h,securities:b,...E}){const R=e||t||Ms;n&&l&&!o&&(o=Yw(n,l));const L=$S.buildRequest({spec:r,operationId:o,parameters:h,securities:b,http:R,...E});return L.body&&(Jw(L.body)||Array.isArray(L.body))&&(L.body=JSON.stringify(L.body)),R(L)}function Cv(e){const{spec:t,operationId:r,responseContentType:o,scheme:n,requestInterceptor:l,responseInterceptor:h,contextUrl:b,userFetch:E,server:R,serverVariables:L,http:U,signal:K}=e;let{parameters:F,parameterBuilders:V}=e;const f=dp(t);V||(V=f?C:CS);let Y={url:"",credentials:U&&U.withCredentials?"include":"same-origin",headers:{},cookies:{}};K&&(Y.signal=K),l&&(Y.requestInterceptor=l),h&&(Y.responseInterceptor=h),E&&(Y.userFetch=E);const H=LS(t,r);if(!H)throw new FS(`Operation ${r} not found`);const{operation:ne={},method:ae,pathName:le}=H;if(Y.url+=ek({spec:t,scheme:n,contextUrl:b,server:R,serverVariables:L,pathName:le,method:ae}),!r)return delete Y.cookies,Y;Y.url+=le,Y.method=`${ae}`.toUpperCase(),F=F||{};const ye=t.paths[le]||{};o&&(Y.headers.accept=o);const he=(Ke=>{const $e={};Ke.forEach(Ze=>{$e[Ze.in]||($e[Ze.in]={}),$e[Ze.in][Ze.name]=Ze});const xe=[];return Object.keys($e).forEach(Ze=>{Object.keys($e[Ze]).forEach(Rt=>{xe.push($e[Ze][Rt])})}),xe})([].concat(Qw(ne.parameters)).concat(Qw(ye.parameters)));he.forEach(Ke=>{const $e=V[Ke.in];let xe;if(Ke.in==="body"&&Ke.schema&&Ke.schema.properties&&(xe=F),xe=Ke&&Ke.name&&F[Ke.name],xe===void 0?xe=Ke&&Ke.name&&F[`${Ke.in}.${Ke.name}`]:((Ze,Rt)=>Rt.filter(Lt=>Lt.name===Ze))(Ke.name,he).length>1&&console.warn(`Parameter '${Ke.name}' is ambiguous because the defined spec has more than one parameter with the name: '${Ke.name}' and the passed-in parameter values did not define an 'in' value.`),xe!==null){if(Ke.default!==void 0&&xe===void 0&&(xe=Ke.default),xe===void 0&&Ke.required&&!Ke.allowEmptyValue)throw new Error(`Required parameter ${Ke.name} is not provided`);if(f&&Ke.schema&&Ke.schema.type==="object"&&typeof xe=="string")try{xe=JSON.parse(xe)}catch{throw new Error("Could not parse object parameter value string as JSON")}$e&&$e({req:Y,parameter:Ke,value:xe,operation:ne,spec:t})}});const Ee={...e,operation:ne};if(Y=f?BS(Ee,Y):MS(Ee,Y),Y.cookies&&Object.keys(Y.cookies).length){const Ke=Object.keys(Y.cookies).reduce(($e,xe)=>{const Ze=Y.cookies[xe];return $e+($e?"&":"")+AS.serialize(xe,Ze)},"");Y.headers.Cookie=Ke}return Y.cookies&&delete Y.cookies,lp(Y),Y}const Pv=e=>e?e.replace(/\W/g,""):null;function ek(e){return dp(e.spec)?function({spec:t,pathName:r,method:o,server:n,contextUrl:l,serverVariables:h={}}){var b,E;let R,L=[],U="";const K=t==null||(b=t.paths)===null||b===void 0||(b=b[r])===null||b===void 0||(b=b[(o||"").toLowerCase()])===null||b===void 0?void 0:b.servers,F=t==null||(E=t.paths)===null||E===void 0||(E=E[r])===null||E===void 0?void 0:E.servers,V=t==null?void 0:t.servers;return L=Iv(K)?K:Iv(F)?F:Iv(V)?V:[ud],n&&(R=L.find(f=>f.url===n),R&&(U=n)),U||([R]=L,U=R.url),U.includes("{")&&function(Y){const H=[],ne=/{([^}]+)}/g;let ae;for(;ae=ne.exec(Y);)H.push(ae[1]);return H}(U).forEach(Y=>{if(R.variables&&R.variables[Y]){const H=R.variables[Y],ne=h[Y]||H.default,ae=new RegExp(`{${Y}}`,"g");U=U.replace(ae,ne)}}),function(f="",Y=""){const H=Av(f&&Y?Vi(Y,f):f),ne=Av(Y),ae=Pv(H.protocol)||Pv(ne.protocol),le=H.host||ne.host,ye=H.pathname;let he;return he=ae&&le?`${ae}://${le+ye}`:ye,he[he.length-1]==="/"?he.slice(0,-1):he}(U,l)}(e):function({spec:t,scheme:r,contextUrl:o=""}){const n=Av(o),l=Array.isArray(t.schemes)?t.schemes[0]:null,h=r||l||Pv(n.protocol)||"http",b=t.host||n.host||"",E=t.basePath||"";let R;return R=h&&b?`${h}://${b+E}`:E,R[R.length-1]==="/"?R.slice(0,-1):R}(e)}const Iv=e=>Array.isArray(e)&&e.length>0,tk=e=>async(t,r,o={})=>(async(n,l,h={})=>{const{returnEntireTree:b,baseDoc:E,requestInterceptor:R,responseInterceptor:L,parameterMacro:U,modelPropertyMacro:K,useCircularStructures:F,strategies:V}=h,f={spec:n,pathDiscriminator:l,baseDoc:E,requestInterceptor:R,responseInterceptor:L,parameterMacro:U,modelPropertyMacro:K,useCircularStructures:F,strategies:V},Y=V.find(ne=>ne.match(f)).normalize(f),H=await OS({...f,spec:Y,allowMetaPatches:!0,skipNormalization:!0});return!b&&Array.isArray(l)&&l.length&&(H.spec=l.reduce((ne,ae)=>ne==null?void 0:ne[ae],H.spec)||null),H})(t,r,{...e,...o});var rk=st(30883),US=st(17862),qS=st(24904);let ok=function(e){e()};const KS=()=>ok,ak=Symbol.for("react-redux-context"),nk=typeof globalThis<"u"?globalThis:{};function HS(){var e;if(!P.createContext)return{};const t=(e=nk[ak])!=null?e:nk[ak]=new Map;let r=t.get(P.createContext);return r||(r=P.createContext(null),t.set(P.createContext,r)),r}const ik=HS();function vp(){return vp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},vp.apply(this,arguments)}function zv(e,t){if(e==null)return{};var r,o,n={},l=Object.keys(e);for(o=0;o<l.length;o++)r=l[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}var VS=st(69869),sk=st.n(VS),WS=st(67086);const JS=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function GS(e,t,r,o,{areStatesEqual:n,areOwnPropsEqual:l,areStatePropsEqual:h}){let b,E,R,L,U,K=!1;function F(V,f){const Y=!l(f,E),H=!n(V,b,f,E);return b=V,E=f,Y&&H?(R=e(b,E),t.dependsOnOwnProps&&(L=t(o,E)),U=r(R,L,E),U):Y?(e.dependsOnOwnProps&&(R=e(b,E)),t.dependsOnOwnProps&&(L=t(o,E)),U=r(R,L,E),U):H?function(){const ne=e(b,E),ae=!h(ne,R);return R=ne,ae&&(U=r(R,L,E)),U}():U}return function(V,f){return K?F(V,f):(b=V,E=f,R=e(b,E),L=t(o,E),U=r(R,L,E),K=!0,U)}}function Tv(e){return function(t){const r=e(t);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ck(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function lk(e,t){return function(r,{displayName:o}){const n=function(l,h){return n.dependsOnOwnProps?n.mapToProps(l,h):n.mapToProps(l,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(l,h){n.mapToProps=e,n.dependsOnOwnProps=ck(e);let b=n(l,h);return typeof b=="function"&&(n.mapToProps=b,n.dependsOnOwnProps=ck(b),b=n(l,h)),b},n}}function Rv(e,t){return(r,o)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${o.wrappedComponentName}.`)}}function YS(e,t,r){return vp({},r,e,t)}const uk={notify(){},get:()=>[]};function pk(e,t){let r,o=uk,n=0,l=!1;function h(){R.onStateChange&&R.onStateChange()}function b(){n++,r||(r=t?t.addNestedSub(h):e.subscribe(h),o=function(){const L=KS();let U=null,K=null;return{clear(){U=null,K=null},notify(){L(()=>{let F=U;for(;F;)F.callback(),F=F.next})},get(){let F=[],V=U;for(;V;)F.push(V),V=V.next;return F},subscribe(F){let V=!0,f=K={callback:F,next:null,prev:K};return f.prev?f.prev.next=f:U=f,function(){V&&U!==null&&(V=!1,f.next?f.next.prev=f.prev:K=f.prev,f.prev?f.prev.next=f.next:U=f.next)}}}}())}function E(){n--,r&&n===0&&(r(),r=void 0,o.clear(),o=uk)}const R={addNestedSub:function(L){b();const U=o.subscribe(L);let K=!1;return()=>{K||(K=!0,U(),E())}},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:h,isSubscribed:function(){return l},trySubscribe:function(){l||(l=!0,b())},tryUnsubscribe:function(){l&&(l=!1,E())},getListeners:()=>o};return R}const hm=typeof window>"u"||window.document===void 0||window.document.createElement===void 0?P.useEffect:P.useLayoutEffect;function dk(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!=e&&t!=t}function Nv(e,t){if(dk(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!dk(e[r[n]],t[r[n]]))return!1;return!0}const ZS=["reactReduxForwardedRef"];let gk=()=>{throw new Error("uSES not initialized!")};const QS=[null,null];function XS(e,t,r,o,n,l){e.current=o,r.current=!1,n.current&&(n.current=null,l())}function e_(e,t){return e===t}const t_=function(e,t,r,{pure:o,areStatesEqual:n=e_,areOwnPropsEqual:l=Nv,areStatePropsEqual:h=Nv,areMergedPropsEqual:b=Nv,forwardRef:E=!1,context:R=ik}={}){const L=R,U=function(f){return f?typeof f=="function"?lk(f):Rv(f,"mapStateToProps"):Tv(()=>({}))}(e),K=function(f){return f&&typeof f=="object"?Tv(Y=>function(H,ne){const ae={};for(const le in H){const ye=H[le];typeof ye=="function"&&(ae[le]=(...he)=>ne(ye(...he)))}return ae}(f,Y)):f?typeof f=="function"?lk(f):Rv(f,"mapDispatchToProps"):Tv(Y=>({dispatch:Y}))}(t),F=function(f){return f?typeof f=="function"?function(Y){return function(H,{displayName:ne,areMergedPropsEqual:ae}){let le,ye=!1;return function(he,Ee,Ke){const $e=Y(he,Ee,Ke);return ye?ae($e,le)||(le=$e):(ye=!0,le=$e),le}}}(f):Rv(f,"mergeProps"):()=>YS}(r),V=!!e;return f=>{const Y=f.displayName||f.name||"Component",H=`Connect(${Y})`,ne={shouldHandleStateChanges:V,displayName:H,wrappedComponentName:Y,WrappedComponent:f,initMapStateToProps:U,initMapDispatchToProps:K,initMergeProps:F,areStatesEqual:n,areStatePropsEqual:h,areOwnPropsEqual:l,areMergedPropsEqual:b};function ae(ye){const[he,Ee,Ke]=P.useMemo(()=>{const{reactReduxForwardedRef:Jr}=ye,Vo=zv(ye,ZS);return[ye.context,Jr,Vo]},[ye]),$e=P.useMemo(()=>he&&he.Consumer&&(0,WS.isContextConsumer)(P.createElement(he.Consumer,null))?he:L,[he,L]),xe=P.useContext($e),Ze=!!ye.store&&!!ye.store.getState&&!!ye.store.dispatch,Rt=!!xe&&!!xe.store,Lt=Ze?ye.store:xe.store,gt=Rt?xe.getServerState:Lt.getState,er=P.useMemo(()=>function(Jr,Vo){let{initMapStateToProps:la,initMapDispatchToProps:ho,initMergeProps:Po}=Vo,na=zv(Vo,JS);return GS(la(Jr,na),ho(Jr,na),Po(Jr,na),Jr,na)}(Lt.dispatch,ne),[Lt]),[pt,wt]=P.useMemo(()=>{if(!V)return QS;const Jr=pk(Lt,Ze?void 0:xe.subscription),Vo=Jr.notifyNestedSubs.bind(Jr);return[Jr,Vo]},[Lt,Ze,xe]),Ue=P.useMemo(()=>Ze?xe:vp({},xe,{subscription:pt}),[Ze,xe,pt]),Bt=P.useRef(),sr=P.useRef(Ke),ur=P.useRef(),Vt=P.useRef(!1),vr=(P.useRef(!1),P.useRef(!1)),Ut=P.useRef();hm(()=>(vr.current=!0,()=>{vr.current=!1}),[]);const Hr=P.useMemo(()=>()=>ur.current&&Ke===sr.current?ur.current:er(Lt.getState(),Ke),[Lt,Ke]),rt=P.useMemo(()=>Jr=>pt?function(Vo,la,ho,Po,na,ce,we,Me,Dt,Ft,cr){if(!Vo)return()=>{};let Tr=!1,Jo=null;const ha=()=>{if(Tr||!Me.current)return;const Pa=la.getState();let wa,Xa;try{wa=Po(Pa,na.current)}catch(on){Xa=on,Jo=on}Xa||(Jo=null),wa===ce.current?we.current||Ft():(ce.current=wa,Dt.current=wa,we.current=!0,cr())};return ho.onStateChange=ha,ho.trySubscribe(),ha(),()=>{if(Tr=!0,ho.tryUnsubscribe(),ho.onStateChange=null,Jo)throw Jo}}(V,Lt,pt,er,sr,Bt,Vt,vr,ur,wt,Jr):()=>{},[pt]);var Ge,pr,Yr;let Xt;Ge=XS,pr=[sr,Bt,Vt,Ke,ur,wt],hm(()=>Ge(...pr),Yr);try{Xt=gk(rt,Hr,gt?()=>er(gt(),Ke):Hr)}catch(Jr){throw Ut.current&&(Jr.message+=`
|
|
180
180
|
The error may be correlated with this previous error:
|
|
181
181
|
${Ut.current.stack}
|
|
182
182
|
|
|
@@ -260,4 +260,4 @@ div#sidebar {
|
|
|
260
260
|
top: unset;
|
|
261
261
|
left: unset;
|
|
262
262
|
}
|
|
263
|
-
`,o.setAttribute("data-testid","relative-sidebar-styles"),this.shadowRoot.appendChild(o)}yn(this,Ql)&&n1.use({target:this.shadowRoot,testId:"hide-essentials-styles"});const r={hasSidebar:yn(this,zu),applicationRegistrationEnabled:yn(this,Dd),currentVersion:{version:yn(this,Bd)},onViewSpecClick:()=>{this.dispatchEvent(new CustomEvent("clicked-view-spec",{bubbles:!0}))},onRegisterClick:()=>{this.dispatchEvent(new CustomEvent("clicked-register",{bubbles:!0}))},...yn(this,Nd)};Xc(this,fc,xm({url:yn(this,Op),spec:yn(this,Iu),domNode:this.rootElement,deepLinking:!0,filter:!0,presets:[xm.presets.apis,xm.SwaggerUIStandalonePreset],plugins:[xm.plugins.DownloadUrl,rC.SwaggerUIKongTheme],layout:"KongLayout",theme:r}))}showOperation(r){if(!yn(this,fc))return!1;const o=ty(r);return yn(this,fc).layoutActions.show(o,!0),!0}hideOperation(r){if(!yn(this,fc))return!1;const o=ty(r);return yn(this,fc).layoutActions.show(o,!1),!0}scrollToOperation(r){if(!yn(this,fc))return!1;const o=cC(r);let n=this.shadowRoot.getElementById(o);if(!n){const b=this.shadowRoot.querySelector(`[data-tag='${r.tag}']`);if(!b||(b.click(),n=this.shadowRoot.getElementById(o),!n))return!1}const l=window.matchMedia("(prefers-reduced-motion: no-preference)");let h;l&&l.matches&&(h="smooth"),n.scrollIntoView({behavior:h})}get autoInit(){return yn(this,Rd)}set autoInit(r){Xc(this,Rd,xh(r))}get hasSidebar(){return yn(this,zu)}set hasSidebar(r){Xc(this,zu,xh(r))}get relativeSidebar(){return yn(this,Ap)}set relativeSidebar(r){Xc(this,Ap,xh(r))}get essentialsOnly(){return yn(this,Ql)}set essentialsOnly(r){Xc(this,Ql,xh(r))}get instance(){return yn(this,fc)}get spec(){return yn(this,Iu)}set spec(r){if(!r)return void console.warn("spec cannot be empty");let o;typeof r=="string"?o=JSON.parse(r):typeof r=="object"&&(o=r),Xc(this,Iu,o),yn(this,fc)&&yn(this,fc).getSystem().specActions.updateJsonSpec(yn(this,Iu))}get url(){return yn(this,Op)}set url(r){Xc(this,Op,r)}get themeOverrides(){return yn(this,Nd)}set themeOverrides(r){Xc(this,Nd,r)}get applicationRegistrationEnabled(){return yn(this,Dd)}set applicationRegistrationEnabled(r){Xc(this,Dd,xh(r))}get currentVersion(){return yn(this,Bd)}set currentVersion(r){Xc(this,Bd,r)}static get observedAttributes(){return["url","spec","auto-init","has-sidebar","relative-sidebar","essentials-only","application-registration-enabled","current-version","theme-overrides"]}}Rd=new WeakMap,Iu=new WeakMap,Op=new WeakMap,zu=new WeakMap,Ap=new WeakMap,Ql=new WeakMap,fc=new WeakMap,Nd=new WeakMap,Dd=new WeakMap,Bd=new WeakMap,Io(_h,"name","kong-swagger-ui"),customElements.get(_h.name)?console.warn(`Cannot register ${_h.name}. Element is already defined, ignoring`):customElements.define(_h.name,_h)})()})();const O1=["application-registration-enabled","current-version","essentials-only","has-sidebar","relative-sidebar","spec","theme-overrides","url"],A1={key:1,"data-testid":"kong-public-ui-spec-details-error"},C1=It.defineComponent({__name:"SpecDetails",props:{document:{type:Object,default:null},url:{type:String,default:""},hasSidebar:{type:Boolean,default:!1},relativeSidebar:{type:Boolean,default:!1},themeOverrides:{type:Object,default:null},essentialsOnly:{type:Boolean,default:!1},activeOperation:{type:Object,default:null},applicationRegistrationEnabled:{type:Boolean,default:!1},currentVersion:{type:String,default:()=>{}}},setup(yr,{expose:zo}){const Mo=yr,{i18n:pn}=Du.useI18n(),st=It.ref(null);zo({swaggerInstance:st});const y=It.computed(()=>!!(Mo.document||Mo.url)),A=It.ref(!1),a=()=>{if(!st.value)return;const p={...Mo.activeOperation};if(p&&p.tag){const k=decodeURIComponent(p.tag.trim().replaceAll(/\s/g,"%20"));p.tag=k}st.value.showOperation(p),st.value.scrollToOperation(p),A.value=!0};return It.onMounted(()=>{Mo.activeOperation&&a()}),It.watch(()=>Mo.activeOperation,()=>{Mo.activeOperation&&a()}),(p,k)=>(It.openBlock(),It.createElementBlock("div",{class:It.normalizeClass(["kong-public-ui-spec-details",{"active-op-focused":A.value}])},[y.value?(It.openBlock(),It.createElementBlock("kong-swagger-ui",{key:0,ref_key:"swaggerRef",ref:st,"application-registration-enabled":yr.applicationRegistrationEnabled,"current-version":yr.currentVersion,"data-testid":"kong-public-ui-spec-details-swagger","essentials-only":yr.essentialsOnly,"has-sidebar":yr.hasSidebar,"relative-sidebar":yr.relativeSidebar,spec:yr.document,"theme-overrides":encodeURIComponent(JSON.stringify(yr.themeOverrides)),url:yr.url},null,8,O1)):(It.openBlock(),It.createElementBlock("div",A1,It.toDisplayString(It.unref(pn).t("specDetails.error")),1))],2))}}),Ld=(yr,zo)=>{const Mo=yr.__vccOpts||yr;for(const[pn,st]of zo)Mo[pn]=st;return Mo},hy=Ld(C1,[["__scopeId","data-v-693c299f"]]);let Ih;const P1=new Uint8Array(16);function I1(){if(!Ih&&(Ih=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ih))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ih(P1)}const ds=[];for(let yr=0;yr<256;++yr)ds.push((yr+256).toString(16).slice(1));function z1(yr,zo=0){return ds[yr[zo+0]]+ds[yr[zo+1]]+ds[yr[zo+2]]+ds[yr[zo+3]]+"-"+ds[yr[zo+4]]+ds[yr[zo+5]]+"-"+ds[yr[zo+6]]+ds[yr[zo+7]]+"-"+ds[yr[zo+8]]+ds[yr[zo+9]]+"-"+ds[yr[zo+10]]+ds[yr[zo+11]]+ds[yr[zo+12]]+ds[yr[zo+13]]+ds[yr[zo+14]]+ds[yr[zo+15]]}let fy,x0,E0=0,S0=0;function T1(yr,zo,Mo){let pn=zo&&Mo||0;const st=zo||new Array(16);yr=yr||{};let y=yr.node||fy,A=yr.clockseq!==void 0?yr.clockseq:x0;if(y==null||A==null){const C=yr.random||(yr.rng||I1)();y==null&&(y=fy=[C[0]|1,C[1],C[2],C[3],C[4],C[5]]),A==null&&(A=x0=(C[6]<<8|C[7])&16383)}let a=yr.msecs!==void 0?yr.msecs:Date.now(),p=yr.nsecs!==void 0?yr.nsecs:S0+1;const k=a-E0+(p-S0)/1e4;if(k<0&&yr.clockseq===void 0&&(A=A+1&16383),(k<0||a>E0)&&yr.nsecs===void 0&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");E0=a,S0=p,x0=A,a+=122192928e5;const _=((a&268435455)*1e4+p)%4294967296;st[pn++]=_>>>24&255,st[pn++]=_>>>16&255,st[pn++]=_>>>8&255,st[pn++]=_&255;const x=a/4294967296*1e4&268435455;st[pn++]=x>>>8&255,st[pn++]=x&255,st[pn++]=x>>>24&15|16,st[pn++]=x>>>16&255,st[pn++]=A>>>8|128,st[pn++]=A&255;for(let C=0;C<6;++C)st[pn+C]=y[C];return zo||z1(st)}var zh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function R1(yr){return yr&&yr.__esModule&&Object.prototype.hasOwnProperty.call(yr,"default")?yr.default:yr}var Th={exports:{}};Th.exports,function(yr,zo){var Mo=200,pn="__lodash_hash_undefined__",st=9007199254740991,y="[object Arguments]",A="[object Array]",a="[object Boolean]",p="[object Date]",k="[object Error]",_="[object Function]",x="[object GeneratorFunction]",C="[object Map]",P="[object Number]",d="[object Object]",i="[object Promise]",u="[object RegExp]",g="[object Set]",s="[object String]",m="[object Symbol]",S="[object WeakMap]",j="[object ArrayBuffer]",w="[object DataView]",O="[object Float32Array]",z="[object Float64Array]",T="[object Int8Array]",B="[object Int16Array]",q="[object Int32Array]",$="[object Uint8Array]",N="[object Uint8ClampedArray]",W="[object Uint16Array]",J="[object Uint32Array]",ee=/[\\^$.*+?()[\]{}|]/g,re=/\w*$/,X=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,Q={};Q[y]=Q[A]=Q[j]=Q[w]=Q[a]=Q[p]=Q[O]=Q[z]=Q[T]=Q[B]=Q[q]=Q[C]=Q[P]=Q[d]=Q[u]=Q[g]=Q[s]=Q[m]=Q[$]=Q[N]=Q[W]=Q[J]=!0,Q[k]=Q[_]=Q[S]=!1;var me=typeof zh=="object"&&zh&&zh.Object===Object&&zh,ie=typeof self=="object"&&self&&self.Object===Object&&self,se=me||ie||Function("return this")(),ve=zo&&!zo.nodeType&&zo,Ie=ve&&!0&&yr&&!yr.nodeType&&yr,Fe=Ie&&Ie.exports===ve;function Te(Qe,dr){return Qe.set(dr[0],dr[1]),Qe}function He(Qe,dr){return Qe.add(dr),Qe}function tt(Qe,dr){for(var qr=-1,fo=Qe?Qe.length:0;++qr<fo&&dr(Qe[qr],qr,Qe)!==!1;);return Qe}function Ne(Qe,dr){for(var qr=-1,fo=dr.length,tn=Qe.length;++qr<fo;)Qe[tn+qr]=dr[qr];return Qe}function Ce(Qe,dr,qr,fo){var tn=-1,Cn=Qe?Qe.length:0;for(fo&&Cn&&(qr=Qe[++tn]);++tn<Cn;)qr=dr(qr,Qe[tn],tn,Qe);return qr}function ht(Qe,dr){for(var qr=-1,fo=Array(Qe);++qr<Qe;)fo[qr]=dr(qr);return fo}function mt(Qe,dr){return Qe==null?void 0:Qe[dr]}function _t(Qe){var dr=!1;if(Qe!=null&&typeof Qe.toString!="function")try{dr=!!(Qe+"")}catch{}return dr}function Yt(Qe){var dr=-1,qr=Array(Qe.size);return Qe.forEach(function(fo,tn){qr[++dr]=[tn,fo]}),qr}function Wt(Qe,dr){return function(qr){return Qe(dr(qr))}}function yt(Qe){var dr=-1,qr=Array(Qe.size);return Qe.forEach(function(fo){qr[++dr]=fo}),qr}var Mt=Array.prototype,ar=Function.prototype,lr=Object.prototype,Ar=se["__core-js_shared__"],ir=function(){var Qe=/[^.]+$/.exec(Ar&&Ar.keys&&Ar.keys.IE_PROTO||"");return Qe?"Symbol(src)_1."+Qe:""}(),Ct=ar.toString,De=lr.hasOwnProperty,ot=lr.toString,Ot=RegExp("^"+Ct.call(De).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ye=Fe?se.Buffer:void 0,at=se.Symbol,zt=se.Uint8Array,Gt=Wt(Object.getPrototypeOf,Object),Ir=Object.create,te=lr.propertyIsEnumerable,ge=Mt.splice,Se=Object.getOwnPropertySymbols,et=Ye?Ye.isBuffer:void 0,ct=Wt(Object.keys,Object),ft=Ln(se,"DataView"),nt=Ln(se,"Map"),jt=Ln(se,"Promise"),Er=Ln(se,"Set"),Nt=Ln(se,"WeakMap"),Re=Ln(Object,"create"),Xe=ei(ft),it=ei(nt),St=ei(jt),Sr=ei(Er),Mr=ei(Nt),oo=at?at.prototype:void 0,ao=oo?oo.valueOf:void 0;function xo(Qe){var dr=-1,qr=Qe?Qe.length:0;for(this.clear();++dr<qr;){var fo=Qe[dr];this.set(fo[0],fo[1])}}function Ht(){this.__data__=Re?Re(null):{}}function zr(Qe){return this.has(Qe)&&delete this.__data__[Qe]}function Zr(Qe){var dr=this.__data__;if(Re){var qr=dr[Qe];return qr===pn?void 0:qr}return De.call(dr,Qe)?dr[Qe]:void 0}function Lo(Qe){var dr=this.__data__;return Re?dr[Qe]!==void 0:De.call(dr,Qe)}function wo(Qe,dr){var qr=this.__data__;return qr[Qe]=Re&&dr===void 0?pn:dr,this}xo.prototype.clear=Ht,xo.prototype.delete=zr,xo.prototype.get=Zr,xo.prototype.has=Lo,xo.prototype.set=wo;function Ao(Qe){var dr=-1,qr=Qe?Qe.length:0;for(this.clear();++dr<qr;){var fo=Qe[dr];this.set(fo[0],fo[1])}}function ko(){this.__data__=[]}function ia(Qe){var dr=this.__data__,qr=kt(dr,Qe);if(qr<0)return!1;var fo=dr.length-1;return qr==fo?dr.pop():ge.call(dr,qr,1),!0}function So(Qe){var dr=this.__data__,qr=kt(dr,Qe);return qr<0?void 0:dr[qr][1]}function Ea(Qe){return kt(this.__data__,Qe)>-1}function dn(Qe,dr){var qr=this.__data__,fo=kt(qr,Qe);return fo<0?qr.push([Qe,dr]):qr[fo][1]=dr,this}Ao.prototype.clear=ko,Ao.prototype.delete=ia,Ao.prototype.get=So,Ao.prototype.has=Ea,Ao.prototype.set=dn;function da(Qe){var dr=-1,qr=Qe?Qe.length:0;for(this.clear();++dr<qr;){var fo=Qe[dr];this.set(fo[0],fo[1])}}function Qo(){this.__data__={hash:new xo,map:new(nt||Ao),string:new xo}}function za(Qe){return xn(this,Qe).delete(Qe)}function Ya(Qe){return xn(this,Qe).get(Qe)}function mr(Qe){return xn(this,Qe).has(Qe)}function wr(Qe,dr){return xn(this,Qe).set(Qe,dr),this}da.prototype.clear=Qo,da.prototype.delete=za,da.prototype.get=Ya,da.prototype.has=mr,da.prototype.set=wr;function br(Qe){this.__data__=new Ao(Qe)}function lo(){this.__data__=new Ao}function kr(Qe){return this.__data__.delete(Qe)}function ba(Qe){return this.__data__.get(Qe)}function uo(Qe){return this.__data__.has(Qe)}function dt(Qe,dr){var qr=this.__data__;if(qr instanceof Ao){var fo=qr.__data__;if(!nt||fo.length<Mo-1)return fo.push([Qe,dr]),this;qr=this.__data__=new da(fo)}return qr.set(Qe,dr),this}br.prototype.clear=lo,br.prototype.delete=kr,br.prototype.get=ba,br.prototype.has=uo,br.prototype.set=dt;function Oe(Qe,dr){var qr=pi(Qe)||Yi(Qe)?ht(Qe.length,String):[],fo=qr.length,tn=!!fo;for(var Cn in Qe)(dr||De.call(Qe,Cn))&&!(tn&&(Cn=="length"||xi(Cn,fo)))&&qr.push(Cn);return qr}function Je(Qe,dr,qr){var fo=Qe[dr];(!(De.call(Qe,dr)&&Pi(fo,qr))||qr===void 0&&!(dr in Qe))&&(Qe[dr]=qr)}function kt(Qe,dr){for(var qr=Qe.length;qr--;)if(Pi(Qe[qr][0],dr))return qr;return-1}function Qt(Qe,dr){return Qe&&cn(dr,io(dr),Qe)}function Pr(Qe,dr,qr,fo,tn,Cn,Pn){var Yn;if(fo&&(Yn=Cn?fo(Qe,tn,Cn,Pn):fo(Qe)),Yn!==void 0)return Yn;if(!$n(Qe))return Qe;var $i=pi(Qe);if($i){if(Yn=ni(Qe),!dr)return wn(Qe,Yn)}else{var fi=zn(Qe),En=fi==_||fi==x;if(Si(Qe))return Uo(Qe,dr);if(fi==d||fi==y||En&&!Cn){if(_t(Qe))return Cn?Qe:{};if(Yn=Fn(En?{}:Qe),!dr)return va(Qe,Qt(Yn,Qe))}else{if(!Q[fi])return Cn?Qe:{};Yn=Ma(Qe,fi,Pr,dr)}}Pn||(Pn=new br);var tc=Pn.get(Qe);if(tc)return tc;if(Pn.set(Qe,Yn),!$i)var Zi=qr?ln(Qe):io(Qe);return tt(Zi||Qe,function(ka,Ss){Zi&&(Ss=ka,ka=Qe[Ss]),Je(Yn,Ss,Pr(ka,dr,qr,fo,Ss,Qe,Pn))}),Yn}function bt(Qe){return $n(Qe)?Ir(Qe):{}}function Jt(Qe,dr,qr){var fo=dr(Qe);return pi(Qe)?fo:Ne(fo,qr(Qe))}function Lr(Qe){return ot.call(Qe)}function Cr(Qe){if(!$n(Qe)||On(Qe))return!1;var dr=oa(Qe)||_t(Qe)?Ot:X;return dr.test(ei(Qe))}function yo(Qe){if(!Vn(Qe))return ct(Qe);var dr=[];for(var qr in Object(Qe))De.call(Qe,qr)&&qr!="constructor"&&dr.push(qr);return dr}function Uo(Qe,dr){if(dr)return Qe.slice();var qr=new Qe.constructor(Qe.length);return Qe.copy(qr),qr}function fa(Qe){var dr=new Qe.constructor(Qe.byteLength);return new zt(dr).set(new zt(Qe)),dr}function ja(Qe,dr){var qr=dr?fa(Qe.buffer):Qe.buffer;return new Qe.constructor(qr,Qe.byteOffset,Qe.byteLength)}function ya(Qe,dr,qr){var fo=dr?qr(Yt(Qe),!0):Yt(Qe);return Ce(fo,Te,new Qe.constructor)}function en(Qe){var dr=new Qe.constructor(Qe.source,re.exec(Qe));return dr.lastIndex=Qe.lastIndex,dr}function nn(Qe,dr,qr){var fo=dr?qr(yt(Qe),!0):yt(Qe);return Ce(fo,He,new Qe.constructor)}function Oa(Qe){return ao?Object(ao.call(Qe)):{}}function sn(Qe,dr){var qr=dr?fa(Qe.buffer):Qe.buffer;return new Qe.constructor(qr,Qe.byteOffset,Qe.length)}function wn(Qe,dr){var qr=-1,fo=Qe.length;for(dr||(dr=Array(fo));++qr<fo;)dr[qr]=Qe[qr];return dr}function cn(Qe,dr,qr,fo){qr||(qr={});for(var tn=-1,Cn=dr.length;++tn<Cn;){var Pn=dr[tn],Yn=fo?fo(qr[Pn],Qe[Pn],Pn,qr,Qe):void 0;Je(qr,Pn,Yn===void 0?Qe[Pn]:Yn)}return qr}function va(Qe,dr){return cn(Qe,Za(Qe),dr)}function ln(Qe){return Jt(Qe,io,Za)}function xn(Qe,dr){var qr=Qe.__data__;return Ei(dr)?qr[typeof dr=="string"?"string":"hash"]:qr.map}function Ln(Qe,dr){var qr=mt(Qe,dr);return Cr(qr)?qr:void 0}var Za=Se?Wt(Se,Object):Gr,zn=Lr;(ft&&zn(new ft(new ArrayBuffer(1)))!=w||nt&&zn(new nt)!=C||jt&&zn(jt.resolve())!=i||Er&&zn(new Er)!=g||Nt&&zn(new Nt)!=S)&&(zn=function(Qe){var dr=ot.call(Qe),qr=dr==d?Qe.constructor:void 0,fo=qr?ei(qr):void 0;if(fo)switch(fo){case Xe:return w;case it:return C;case St:return i;case Sr:return g;case Mr:return S}return dr});function ni(Qe){var dr=Qe.length,qr=Qe.constructor(dr);return dr&&typeof Qe[0]=="string"&&De.call(Qe,"index")&&(qr.index=Qe.index,qr.input=Qe.input),qr}function Fn(Qe){return typeof Qe.constructor=="function"&&!Vn(Qe)?bt(Gt(Qe)):{}}function Ma(Qe,dr,qr,fo){var tn=Qe.constructor;switch(dr){case j:return fa(Qe);case a:case p:return new tn(+Qe);case w:return ja(Qe,fo);case O:case z:case T:case B:case q:case $:case N:case W:case J:return sn(Qe,fo);case C:return ya(Qe,fo,qr);case P:case s:return new tn(Qe);case u:return en(Qe);case g:return nn(Qe,fo,qr);case m:return Oa(Qe)}}function xi(Qe,dr){return dr=dr??st,!!dr&&(typeof Qe=="number"||ue.test(Qe))&&Qe>-1&&Qe%1==0&&Qe<dr}function Ei(Qe){var dr=typeof Qe;return dr=="string"||dr=="number"||dr=="symbol"||dr=="boolean"?Qe!=="__proto__":Qe===null}function On(Qe){return!!ir&&ir in Qe}function Vn(Qe){var dr=Qe&&Qe.constructor,qr=typeof dr=="function"&&dr.prototype||lr;return Qe===qr}function ei(Qe){if(Qe!=null){try{return Ct.call(Qe)}catch{}try{return Qe+""}catch{}}return""}function os(Qe){return Pr(Qe,!0,!0)}function Pi(Qe,dr){return Qe===dr||Qe!==Qe&&dr!==dr}function Yi(Qe){return Fi(Qe)&&De.call(Qe,"callee")&&(!te.call(Qe,"callee")||ot.call(Qe)==y)}var pi=Array.isArray;function Sa(Qe){return Qe!=null&&as(Qe.length)&&!oa(Qe)}function Fi(Qe){return Tt(Qe)&&Sa(Qe)}var Si=et||Ua;function oa(Qe){var dr=$n(Qe)?ot.call(Qe):"";return dr==_||dr==x}function as(Qe){return typeof Qe=="number"&&Qe>-1&&Qe%1==0&&Qe<=st}function $n(Qe){var dr=typeof Qe;return!!Qe&&(dr=="object"||dr=="function")}function Tt(Qe){return!!Qe&&typeof Qe=="object"}function io(Qe){return Sa(Qe)?Oe(Qe):yo(Qe)}function Gr(){return[]}function Ua(){return!1}yr.exports=os}(Th,Th.exports);var N1=Th.exports;const _0=R1(N1),zp="default",D1="#3a3f51",B1="#afb7c5",my="20px",Tp="24px",j0=(yr,zo)=>{const Mo=yr.__vccOpts||yr;for(const[pn,st]of zo)Mo[pn]=st;return Mo},M1=yr=>(It.pushScopeId("data-v-98c34919"),yr=yr(),It.popScopeId(),yr),L1=["aria-hidden"],F1={key:0,"data-testid":"kui-icon-svg-title"},$1=M1(()=>It.createElementVNode("path",{d:"M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",fill:"currentColor"},null,-1)),U1=It.defineComponent({__name:"ChevronDownIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:Tp,validator:yr=>{if(typeof yr=="number"&&yr>0)return!0;if(typeof yr=="string"){const zo=String(yr).replace(/px/gi,""),Mo=Number(zo);if(Mo&&!isNaN(Mo)&&Number.isInteger(Mo)&&Mo>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(yr){const zo=yr,Mo=It.computed(()=>{if(typeof zo.size=="number"&&zo.size>0)return`${zo.size}px`;if(typeof zo.size=="string"){const st=String(zo.size).replace(/px/gi,""),y=Number(st);if(y&&!isNaN(y)&&Number.isInteger(y)&&y>0)return`${y}px`}return Tp}),pn=It.computed(()=>({boxSizing:"border-box",color:zo.color,display:zo.display,height:Mo.value,lineHeight:"0",width:Mo.value}));return(st,y)=>(It.openBlock(),It.createBlock(It.resolveDynamicComponent(yr.as),{"aria-hidden":yr.decorative?"true":void 0,class:"kui-icon chevron-down-icon","data-testid":"kui-icon-wrapper-chevron-down-icon",style:It.normalizeStyle(pn.value)},{default:It.withCtx(()=>[(It.openBlock(),It.createElementBlock("svg",{"aria-hidden":yr.decorative?"true":void 0,"data-testid":"kui-icon-svg-chevron-down-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[yr.title?(It.openBlock(),It.createElementBlock("title",F1,It.toDisplayString(yr.title),1)):It.createCommentVNode("",!0),$1],8,L1))]),_:1},8,["aria-hidden","style"]))}}),q1=j0(U1,[["__scopeId","data-v-98c34919"]]),K1=yr=>(It.pushScopeId("data-v-35654a79"),yr=yr(),It.popScopeId(),yr),H1=["aria-hidden"],V1={key:0,"data-testid":"kui-icon-svg-title"},W1=K1(()=>It.createElementVNode("path",{d:"M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",fill:"currentColor"},null,-1)),J1=It.defineComponent({__name:"ChevronRightIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:Tp,validator:yr=>{if(typeof yr=="number"&&yr>0)return!0;if(typeof yr=="string"){const zo=String(yr).replace(/px/gi,""),Mo=Number(zo);if(Mo&&!isNaN(Mo)&&Number.isInteger(Mo)&&Mo>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(yr){const zo=yr,Mo=It.computed(()=>{if(typeof zo.size=="number"&&zo.size>0)return`${zo.size}px`;if(typeof zo.size=="string"){const st=String(zo.size).replace(/px/gi,""),y=Number(st);if(y&&!isNaN(y)&&Number.isInteger(y)&&y>0)return`${y}px`}return Tp}),pn=It.computed(()=>({boxSizing:"border-box",color:zo.color,display:zo.display,height:Mo.value,lineHeight:"0",width:Mo.value}));return(st,y)=>(It.openBlock(),It.createBlock(It.resolveDynamicComponent(yr.as),{"aria-hidden":yr.decorative?"true":void 0,class:"kui-icon chevron-right-icon","data-testid":"kui-icon-wrapper-chevron-right-icon",style:It.normalizeStyle(pn.value)},{default:It.withCtx(()=>[(It.openBlock(),It.createElementBlock("svg",{"aria-hidden":yr.decorative?"true":void 0,"data-testid":"kui-icon-svg-chevron-right-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[yr.title?(It.openBlock(),It.createElementBlock("title",V1,It.toDisplayString(yr.title),1)):It.createCommentVNode("",!0),W1],8,H1))]),_:1},8,["aria-hidden","style"]))}}),G1=j0(J1,[["__scopeId","data-v-35654a79"]]),Y1=yr=>(It.pushScopeId("data-v-7cf6d1fd"),yr=yr(),It.popScopeId(),yr),Z1=["aria-hidden"],Q1={key:0,"data-testid":"kui-icon-svg-title"},X1=Y1(()=>It.createElementVNode("path",{d:"M10 18V16H14V18H10ZM6 13V11H18V13H6ZM3 8V6H21V8H3Z",fill:"currentColor"},null,-1)),ex=It.defineComponent({__name:"FilterIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:Tp,validator:yr=>{if(typeof yr=="number"&&yr>0)return!0;if(typeof yr=="string"){const zo=String(yr).replace(/px/gi,""),Mo=Number(zo);if(Mo&&!isNaN(Mo)&&Number.isInteger(Mo)&&Mo>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(yr){const zo=yr,Mo=It.computed(()=>{if(typeof zo.size=="number"&&zo.size>0)return`${zo.size}px`;if(typeof zo.size=="string"){const st=String(zo.size).replace(/px/gi,""),y=Number(st);if(y&&!isNaN(y)&&Number.isInteger(y)&&y>0)return`${y}px`}return Tp}),pn=It.computed(()=>({boxSizing:"border-box",color:zo.color,display:zo.display,height:Mo.value,lineHeight:"0",width:Mo.value}));return(st,y)=>(It.openBlock(),It.createBlock(It.resolveDynamicComponent(yr.as),{"aria-hidden":yr.decorative?"true":void 0,class:"kui-icon filter-icon","data-testid":"kui-icon-wrapper-filter-icon",style:It.normalizeStyle(pn.value)},{default:It.withCtx(()=>[(It.openBlock(),It.createElementBlock("svg",{"aria-hidden":yr.decorative?"true":void 0,"data-testid":"kui-icon-svg-filter-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[yr.title?(It.openBlock(),It.createElementBlock("title",Q1,It.toDisplayString(yr.title),1)):It.createCommentVNode("",!0),X1],8,Z1))]),_:1},8,["aria-hidden","style"]))}}),tx=j0(ex,[["__scopeId","data-v-7cf6d1fd"]]),rx=["aria-controls","aria-expanded","aria-label"],ox={"aria-hidden":"true",class:"icon-wrapper"},ax={"aria-hidden":"true",class:"label truncated"},nx=["title"],by=Ld(It.defineComponent({__name:"OperationsListSectionHeader",props:{isCollapsed:{type:Boolean,required:!0},name:{type:String,required:!0},description:{type:String,default:void 0},contentElementId:{type:String,required:!0}},emits:["toggle"],setup(yr){const zo=yr,{i18n:Mo}=Du.useI18n(),pn=It.computed(()=>zo.isCollapsed?Mo.t("specOperationsList.section.expandAriaLabel",{section:`"${zo.name}"`}):Mo.t("specOperationsList.section.collapseAriaLabel",{section:`"${zo.name}"`}));return(st,y)=>(It.openBlock(),It.createElementBlock("button",{"aria-controls":yr.contentElementId,"aria-expanded":yr.isCollapsed?"false":"true","aria-label":pn.value,class:It.normalizeClass(["header",{"header--collapsed":yr.isCollapsed}]),type:"button",onClick:y[0]||(y[0]=A=>st.$emit("toggle"))},[It.createElementVNode("div",ox,[yr.isCollapsed?(It.openBlock(),It.createBlock(It.unref(G1),{key:0,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-collapsed, ${It.unref(B1)})`,size:It.unref(my)},null,8,["color","size"])):(It.openBlock(),It.createBlock(It.unref(q1),{key:1,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-expanded, ${It.unref(D1)})`,icon:"chevronDown",size:It.unref(my)},null,8,["color","size"]))]),It.createElementVNode("h1",ax,It.toDisplayString(yr.name),1),It.createElementVNode("div",{class:"description truncated",title:yr.description},It.toDisplayString(yr.description),9,nx)],10,rx))}}),[["__scopeId","data-v-98e20a36"]]),ix=["data-testid"],sx=["title"],cx={class:"details"},lx=["aria-label","title"],vy=Ld(It.defineComponent({__name:"OperationsListItem",props:{item:{type:Object,required:!0,validator:yr=>yr.method!==void 0&&yr.summary!==void 0&&yr.path!==void 0},isSelected:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1}},emits:["click"],setup(yr){const zo=yr,{i18n:Mo}=Du.useI18n(),pn=It.computed(()=>{var y,A;return`spec-operations-list-item-${(y=zo.item.method)==null?void 0:y.toLowerCase()}${(A=zo.item.path)==null?void 0:A.replaceAll("/","-")}-${zo.item.tag||"-"}`}),st=It.computed(()=>zo.item.method||"");return(y,A)=>{const a=It.resolveComponent("KBadge");return It.openBlock(),It.createElementBlock("button",{class:It.normalizeClass(["spec-operations-list-item",{"item--selected":yr.isSelected,[`item--method-${yr.item.method}`]:!0,disabled:yr.disableSelection}]),"data-testid":pn.value,type:"button",onClick:A[0]||(A[0]=p=>y.$emit("click",yr.item))},[yr.item.summary?(It.openBlock(),It.createElementBlock("h2",{key:0,class:"summary truncated",title:yr.item.summary},It.toDisplayString(yr.item.summary),9,sx)):It.createCommentVNode("",!0),It.createElementVNode("div",cx,[It.createVNode(a,{appearance:st.value,"aria-label":It.unref(Mo).t("specOperationsList.item.methodAriaLabel",{method:st.value.toUpperCase()}),"background-color":"var(--kong-ui-spec-renderer-operations-list-item-method-background)",class:"method-badge",color:"var(--kong-ui-spec-renderer-operations-list-item-method-color)",tabindex:"-1"},{default:It.withCtx(()=>[It.createTextVNode(It.toDisplayString(st.value.toUpperCase()),1)]),_:1},8,["appearance","aria-label"]),It.createElementVNode("span",{"aria-label":It.unref(Mo).t("specOperationsList.item.pathAriaLabel",{path:yr.item.path}),class:"path truncated",title:yr.item.path},It.toDisplayString(yr.item.path),9,lx)])],10,ix)}}}),[["__scopeId","data-v-33314425"]]),ux=["aria-label"],px={key:0},dx={key:0,class:"filter-wrapper"},gx={key:1},hx=["data-testid"],fx=["id"],mx={key:0,class:"section","data-testid":"spec-operations-list-untagged-items"},bx=["id"],vx={key:2,"data-testid":"kong-ui-public-spec-operations-list-empty"},yx={class:"center"},wx={key:1,"data-testid":"kong-ui-public-spec-operations-list-error"},{getSizeFromString:kx,hasRequiredProps:yy}=Du.useUtilities(),wy=Ld(It.defineComponent({__name:"SpecOperationsList",props:{operations:{type:Array,required:!0,validator:yr=>!yr.length||yy(yr,["method","path"])},tags:{type:Array,default:()=>[],validator:yr=>!yr.length||yy(yr,["name"])},isFilterable:{type:Boolean,default:!0},filterFunction:{type:Function,default:({items:yr,query:zo})=>(zo=zo.toLowerCase(),yr.filter(Mo=>Mo.tag&&Mo.tag.toLowerCase().includes(zo))),validator:yr=>!!yr&&typeof yr=="function"},deselect:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1},width:{type:String,default:"210"}},emits:["selected"],setup(yr,{emit:zo}){const Mo=yr,pn=zo,{i18n:st}=Du.useI18n(),y=It.computed(()=>T1()),A=It.ref(""),a=It.ref([]),p=It.ref(),k=It.ref([]),_=()=>{const S=a.value;if(!Mo.isFilterable){k.value=S;return}if(!Mo.filterFunction||typeof Mo.filterFunction!="function")throw new Error(`filterFunction property must be a function, got ${typeof Mo.filterFunction}`);k.value=Mo.filterFunction({items:S,query:A.value})},x=It.computed(()=>kx(Mo.width)),C=It.computed(()=>{const S=[];return k.value.forEach(j=>{j.tag&&!S.includes(j.tag)&&S.push(j.tag)}),S}),P=It.computed(()=>a.value.filter(S=>!S.tag)),d=S=>{if(!Mo.tags||!Array.isArray(Mo.tags))return"";const j=Mo.tags.find(w=>w.name===S);return(j==null?void 0:j.description)||""},i=S=>k.value.filter(j=>j.tag===S),u=S=>{const j=p.value;return!!j&&j.path===S.path&&j.method===S.method&&j.operationId===S.operationId&&j.tag===S.tag},g=S=>`${y.value}-section-${S.toLowerCase()}`,s=S=>{Mo.disableSelection||(p.value=S,pn("selected",S))},m=()=>{a.value=[],Mo.operations&&(Mo.operations.forEach(S=>{var w;const j=_0(S);(w=S.tags)!=null&&w.length?S.tags.forEach(O=>{delete j.tags,j.tag=O,a.value.push(_0(j))}):(delete j.tags,j.tag=null,a.value.push(_0(j)))}),_())};return It.watch(()=>Mo.deselect,()=>{Mo.deselect&&(p.value=void 0)}),It.watch(()=>Mo.operations,()=>m()),It.watch(A,()=>_()),It.onMounted(()=>{m()}),(S,j)=>{const w=It.resolveComponent("KInput"),O=It.resolveComponent("KCollapse");return It.openBlock(),It.createElementBlock("section",{"aria-label":It.unref(st).t("specOperationsList.ariaLabel"),class:"kong-ui-public-spec-operations-list","data-testid":"kong-ui-public-spec-operations-list",role:"navigation",style:It.normalizeStyle({width:x.value})},[yr.operations?(It.openBlock(),It.createElementBlock("div",px,[yr.isFilterable?(It.openBlock(),It.createElementBlock("div",dx,[It.createVNode(w,{modelValue:A.value,"onUpdate:modelValue":j[0]||(j[0]=z=>A.value=z),class:"filter-input","data-testid":"spec-operations-list-filter",placeholder:It.unref(st).t("specOperationsList.filterPlaceholder")},{before:It.withCtx(()=>[It.createVNode(It.unref(tx),{decorative:""})]),_:1},8,["modelValue","placeholder"])])):It.createCommentVNode("",!0),k.value.length?(It.openBlock(),It.createElementBlock("div",gx,[(It.openBlock(!0),It.createElementBlock(It.Fragment,null,It.renderList(C.value,z=>(It.openBlock(),It.createElementBlock("div",{key:z,class:"section-wrapper","data-testid":`spec-operations-list-section-${z.toLowerCase().replaceAll(" ","-")}`},[It.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:It.withCtx(({isCollapsed:T,toggle:B})=>[It.createVNode(by,{"content-element-id":g(z),"data-testid":`spec-operations-list-section-${z.toLowerCase().replaceAll(" ","-")}-collapse-trigger`,description:d(z),"is-collapsed":T,name:z,onToggle:B},null,8,["content-element-id","data-testid","description","is-collapsed","name","onToggle"])]),default:It.withCtx(()=>[It.createElementVNode("div",{id:g(z)},[(It.openBlock(!0),It.createElementBlock(It.Fragment,null,It.renderList(i(z),T=>It.renderSlot(S.$slots,"item",{key:`${T.path}-${T.method}`,item:T,section:z,select:()=>s(T)},()=>[It.createVNode(vy,{"disable-selection":yr.disableSelection,"is-selected":u(T),item:T,section:z,onClick:s},null,8,["disable-selection","is-selected","item","section"])],!0)),128))],8,fx)]),_:2},1024)],8,hx))),128)),!yr.isFilterable||!A.value?(It.openBlock(),It.createElementBlock("div",mx,[It.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:It.withCtx(({isCollapsed:z,toggle:T})=>[It.createVNode(by,{"content-element-id":g(It.unref(zp)),"data-testid":"spec-operations-list-section-untagged-collapse-trigger",description:d(It.unref(zp)),"is-collapsed":z,name:It.unref(zp),onToggle:T},null,8,["content-element-id","description","is-collapsed","name","onToggle"])]),default:It.withCtx(()=>[It.createElementVNode("div",{id:g(It.unref(zp))},[(It.openBlock(!0),It.createElementBlock(It.Fragment,null,It.renderList(P.value,z=>It.renderSlot(S.$slots,"untagged-item",{key:`${z.path}-${z.method}`,item:z,section:It.unref(zp),select:()=>s(z)},()=>[It.createVNode(vy,{"disable-selection":yr.disableSelection,"is-selected":u(z),item:z,onClick:s},null,8,["disable-selection","is-selected","item"])],!0)),128))],8,bx)]),_:3})])):It.createCommentVNode("",!0)])):(It.openBlock(),It.createElementBlock("div",vx,[It.renderSlot(S.$slots,"empty-state",{},()=>[It.createElementVNode("div",yx,It.toDisplayString(It.unref(st).t("specOperationsList.noResults")),1)],!0)]))])):(It.openBlock(),It.createElementBlock("div",wx,[It.renderSlot(S.$slots,"error-state",{},()=>[It.createTextVNode(It.toDisplayString(It.unref(st).t("specOperationsList.error")),1)],!0)]))],12,ux)}}}),[["__scopeId","data-v-751da895"]]),xx={class:"kong-ui-public-spec-renderer"},Ex={key:0,class:"spec-container"},Sx={class:"spec-renderer-ops-list-empty-state","data-testid":"spec-renderer-ops-list-empty-state"},_x={key:1,"data-testid":"kong-ui-public-spec-renderer-error"},{hasRequiredProps:ky}=Du.useUtilities(),jx=Ld(It.defineComponent({__name:"SpecRenderer",props:{spec:{type:Object,required:!0},essentialsOnly:{type:Boolean,default:!1},operationsList:{type:Array,required:!0,validator:yr=>!yr.length||ky(yr,["method","path"])},tags:{type:Array,default:()=>[],validator:yr=>!yr.length||ky(yr,["name"])},navWidth:{type:String,default:"310"},deselect:{type:Boolean,default:!1}},setup(yr){const zo=yr,{i18n:Mo}=Du.useI18n(),pn=It.computed(()=>!!(zo.spec&&zo.operationsList)),st=It.ref(),y=A=>{st.value=A};return(A,a)=>{const p=It.resolveComponent("KEmptyState");return It.openBlock(),It.createElementBlock("div",xx,[pn.value?(It.openBlock(),It.createElementBlock("div",Ex,[It.createVNode(wy,{"data-testid":"spec-renderer-ops-list-content",deselect:yr.deselect,operations:yr.operationsList,tags:yr.tags,width:yr.navWidth,onSelected:y},{"empty-state":It.withCtx(()=>[It.createElementVNode("div",Sx,[It.renderSlot(A.$slots,"ops-list-empty-state",{},void 0,!0)])]),_:3},8,["deselect","operations","tags","width"]),It.createVNode(hy,{"active-operation":st.value,class:"spec-renderer-details","data-testid":"spec-renderer-details-content",document:yr.spec,"essentials-only":yr.essentialsOnly,"has-sidebar":!1},null,8,["active-operation","document","essentials-only"])])):(It.openBlock(),It.createElementBlock("div",_x,[It.renderSlot(A.$slots,"error-state",{},()=>[It.createVNode(p,{"action-button-visible":!1,"icon-variant":"error"},{title:It.withCtx(()=>[It.createTextVNode(It.toDisplayString(It.unref(Mo).t("specRenderer.error")),1)]),_:1})],!0)]))])}}}),[["__scopeId","data-v-4cfc670e"]]);Mn.DEFAULT_UNTAGGED_SECTION_NAME=zp,Mn.SpecDetails=hy,Mn.SpecOperationsList=wy,Mn.SpecRenderer=jx,Object.defineProperty(Mn,Symbol.toStringTag,{value:"Module"})});
|
|
263
|
+
`,o.setAttribute("data-testid","relative-sidebar-styles"),this.shadowRoot.appendChild(o)}yn(this,Ql)&&n1.use({target:this.shadowRoot,testId:"hide-essentials-styles"});const r={hasSidebar:yn(this,zu),applicationRegistrationEnabled:yn(this,Dd),currentVersion:{version:yn(this,Bd)},onViewSpecClick:()=>{this.dispatchEvent(new CustomEvent("clicked-view-spec",{bubbles:!0}))},onRegisterClick:()=>{this.dispatchEvent(new CustomEvent("clicked-register",{bubbles:!0}))},...yn(this,Nd)};Xc(this,fc,xm({url:yn(this,Op),spec:yn(this,Iu),domNode:this.rootElement,deepLinking:!0,filter:!0,presets:[xm.presets.apis,xm.SwaggerUIStandalonePreset],plugins:[xm.plugins.DownloadUrl,rC.SwaggerUIKongTheme],layout:"KongLayout",theme:r}))}showOperation(r){if(!yn(this,fc))return!1;const o=ty(r);return yn(this,fc).layoutActions.show(o,!0),!0}hideOperation(r){if(!yn(this,fc))return!1;const o=ty(r);return yn(this,fc).layoutActions.show(o,!1),!0}scrollToOperation(r){if(!yn(this,fc))return!1;const o=cC(r);let n=this.shadowRoot.getElementById(o);if(!n){const b=this.shadowRoot.querySelector(`[data-tag='${r.tag}']`);if(!b||(b.click(),n=this.shadowRoot.getElementById(o),!n))return!1}const l=window.matchMedia("(prefers-reduced-motion: no-preference)");let h;l&&l.matches&&(h="smooth"),n.scrollIntoView({behavior:h})}get autoInit(){return yn(this,Rd)}set autoInit(r){Xc(this,Rd,xh(r))}get hasSidebar(){return yn(this,zu)}set hasSidebar(r){Xc(this,zu,xh(r))}get relativeSidebar(){return yn(this,Ap)}set relativeSidebar(r){Xc(this,Ap,xh(r))}get essentialsOnly(){return yn(this,Ql)}set essentialsOnly(r){Xc(this,Ql,xh(r))}get instance(){return yn(this,fc)}get spec(){return yn(this,Iu)}set spec(r){if(!r)return void console.warn("spec cannot be empty");let o;typeof r=="string"?o=JSON.parse(r):typeof r=="object"&&(o=r),Xc(this,Iu,o),yn(this,fc)&&yn(this,fc).getSystem().specActions.updateJsonSpec(yn(this,Iu))}get url(){return yn(this,Op)}set url(r){Xc(this,Op,r)}get themeOverrides(){return yn(this,Nd)}set themeOverrides(r){Xc(this,Nd,r)}get applicationRegistrationEnabled(){return yn(this,Dd)}set applicationRegistrationEnabled(r){Xc(this,Dd,xh(r))}get currentVersion(){return yn(this,Bd)}set currentVersion(r){Xc(this,Bd,r)}static get observedAttributes(){return["url","spec","auto-init","has-sidebar","relative-sidebar","essentials-only","application-registration-enabled","current-version","theme-overrides"]}}Rd=new WeakMap,Iu=new WeakMap,Op=new WeakMap,zu=new WeakMap,Ap=new WeakMap,Ql=new WeakMap,fc=new WeakMap,Nd=new WeakMap,Dd=new WeakMap,Bd=new WeakMap,Io(_h,"name","kong-swagger-ui"),customElements.get(_h.name)?console.warn(`Cannot register ${_h.name}. Element is already defined, ignoring`):customElements.define(_h.name,_h)})()})();const O1=["application-registration-enabled","current-version","essentials-only","has-sidebar","relative-sidebar","spec","theme-overrides","url"],A1={key:1,"data-testid":"kong-public-ui-spec-details-error"},C1=It.defineComponent({__name:"SpecDetails",props:{document:{type:Object,default:null},url:{type:String,default:""},hasSidebar:{type:Boolean,default:!1},relativeSidebar:{type:Boolean,default:!1},themeOverrides:{type:Object,default:null},essentialsOnly:{type:Boolean,default:!1},activeOperation:{type:Object,default:null},applicationRegistrationEnabled:{type:Boolean,default:!1},currentVersion:{type:String,default:()=>{}}},setup(yr,{expose:zo}){const Mo=yr,{i18n:pn}=Du.useI18n(),st=It.ref(null);zo({swaggerInstance:st});const y=It.computed(()=>!!(Mo.document||Mo.url)),A=It.ref(!1),a=()=>{if(!st.value)return;const p={...Mo.activeOperation};if(p&&p.tag){const k=decodeURIComponent(p.tag.trim().replaceAll(/\s/g,"%20"));p.tag=k}st.value.showOperation(p),st.value.scrollToOperation(p),A.value=!0};return It.onMounted(()=>{Mo.activeOperation&&a()}),It.watch(()=>Mo.activeOperation,()=>{Mo.activeOperation&&a()}),(p,k)=>(It.openBlock(),It.createElementBlock("div",{class:It.normalizeClass(["kong-public-ui-spec-details",{"active-op-focused":A.value}])},[y.value?(It.openBlock(),It.createElementBlock("kong-swagger-ui",{key:0,ref_key:"swaggerRef",ref:st,"application-registration-enabled":yr.applicationRegistrationEnabled,"current-version":yr.currentVersion,"data-testid":"kong-public-ui-spec-details-swagger","essentials-only":yr.essentialsOnly,"has-sidebar":yr.hasSidebar,"relative-sidebar":yr.relativeSidebar,spec:yr.document,"theme-overrides":encodeURIComponent(JSON.stringify(yr.themeOverrides)),url:yr.url},null,8,O1)):(It.openBlock(),It.createElementBlock("div",A1,It.toDisplayString(It.unref(pn).t("specDetails.error")),1))],2))}}),Ld=(yr,zo)=>{const Mo=yr.__vccOpts||yr;for(const[pn,st]of zo)Mo[pn]=st;return Mo},hy=Ld(C1,[["__scopeId","data-v-693c299f"]]);let Ih;const P1=new Uint8Array(16);function I1(){if(!Ih&&(Ih=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ih))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ih(P1)}const ds=[];for(let yr=0;yr<256;++yr)ds.push((yr+256).toString(16).slice(1));function z1(yr,zo=0){return ds[yr[zo+0]]+ds[yr[zo+1]]+ds[yr[zo+2]]+ds[yr[zo+3]]+"-"+ds[yr[zo+4]]+ds[yr[zo+5]]+"-"+ds[yr[zo+6]]+ds[yr[zo+7]]+"-"+ds[yr[zo+8]]+ds[yr[zo+9]]+"-"+ds[yr[zo+10]]+ds[yr[zo+11]]+ds[yr[zo+12]]+ds[yr[zo+13]]+ds[yr[zo+14]]+ds[yr[zo+15]]}let fy,x0,E0=0,S0=0;function T1(yr,zo,Mo){let pn=zo&&Mo||0;const st=zo||new Array(16);yr=yr||{};let y=yr.node||fy,A=yr.clockseq!==void 0?yr.clockseq:x0;if(y==null||A==null){const C=yr.random||(yr.rng||I1)();y==null&&(y=fy=[C[0]|1,C[1],C[2],C[3],C[4],C[5]]),A==null&&(A=x0=(C[6]<<8|C[7])&16383)}let a=yr.msecs!==void 0?yr.msecs:Date.now(),p=yr.nsecs!==void 0?yr.nsecs:S0+1;const k=a-E0+(p-S0)/1e4;if(k<0&&yr.clockseq===void 0&&(A=A+1&16383),(k<0||a>E0)&&yr.nsecs===void 0&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");E0=a,S0=p,x0=A,a+=122192928e5;const _=((a&268435455)*1e4+p)%4294967296;st[pn++]=_>>>24&255,st[pn++]=_>>>16&255,st[pn++]=_>>>8&255,st[pn++]=_&255;const x=a/4294967296*1e4&268435455;st[pn++]=x>>>8&255,st[pn++]=x&255,st[pn++]=x>>>24&15|16,st[pn++]=x>>>16&255,st[pn++]=A>>>8|128,st[pn++]=A&255;for(let C=0;C<6;++C)st[pn+C]=y[C];return zo||z1(st)}var zh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function R1(yr){return yr&&yr.__esModule&&Object.prototype.hasOwnProperty.call(yr,"default")?yr.default:yr}var Th={exports:{}};Th.exports,function(yr,zo){var Mo=200,pn="__lodash_hash_undefined__",st=9007199254740991,y="[object Arguments]",A="[object Array]",a="[object Boolean]",p="[object Date]",k="[object Error]",_="[object Function]",x="[object GeneratorFunction]",C="[object Map]",P="[object Number]",d="[object Object]",i="[object Promise]",u="[object RegExp]",g="[object Set]",s="[object String]",m="[object Symbol]",S="[object WeakMap]",j="[object ArrayBuffer]",w="[object DataView]",O="[object Float32Array]",z="[object Float64Array]",T="[object Int8Array]",B="[object Int16Array]",q="[object Int32Array]",$="[object Uint8Array]",N="[object Uint8ClampedArray]",W="[object Uint16Array]",J="[object Uint32Array]",ee=/[\\^$.*+?()[\]{}|]/g,re=/\w*$/,X=/^\[object .+?Constructor\]$/,ue=/^(?:0|[1-9]\d*)$/,Q={};Q[y]=Q[A]=Q[j]=Q[w]=Q[a]=Q[p]=Q[O]=Q[z]=Q[T]=Q[B]=Q[q]=Q[C]=Q[P]=Q[d]=Q[u]=Q[g]=Q[s]=Q[m]=Q[$]=Q[N]=Q[W]=Q[J]=!0,Q[k]=Q[_]=Q[S]=!1;var me=typeof zh=="object"&&zh&&zh.Object===Object&&zh,ie=typeof self=="object"&&self&&self.Object===Object&&self,se=me||ie||Function("return this")(),ve=zo&&!zo.nodeType&&zo,Ie=ve&&!0&&yr&&!yr.nodeType&&yr,Fe=Ie&&Ie.exports===ve;function Te(Qe,dr){return Qe.set(dr[0],dr[1]),Qe}function He(Qe,dr){return Qe.add(dr),Qe}function tt(Qe,dr){for(var qr=-1,fo=Qe?Qe.length:0;++qr<fo&&dr(Qe[qr],qr,Qe)!==!1;);return Qe}function Ne(Qe,dr){for(var qr=-1,fo=dr.length,tn=Qe.length;++qr<fo;)Qe[tn+qr]=dr[qr];return Qe}function Ce(Qe,dr,qr,fo){var tn=-1,Cn=Qe?Qe.length:0;for(fo&&Cn&&(qr=Qe[++tn]);++tn<Cn;)qr=dr(qr,Qe[tn],tn,Qe);return qr}function ht(Qe,dr){for(var qr=-1,fo=Array(Qe);++qr<Qe;)fo[qr]=dr(qr);return fo}function mt(Qe,dr){return Qe==null?void 0:Qe[dr]}function _t(Qe){var dr=!1;if(Qe!=null&&typeof Qe.toString!="function")try{dr=!!(Qe+"")}catch{}return dr}function Yt(Qe){var dr=-1,qr=Array(Qe.size);return Qe.forEach(function(fo,tn){qr[++dr]=[tn,fo]}),qr}function Wt(Qe,dr){return function(qr){return Qe(dr(qr))}}function yt(Qe){var dr=-1,qr=Array(Qe.size);return Qe.forEach(function(fo){qr[++dr]=fo}),qr}var Mt=Array.prototype,ar=Function.prototype,lr=Object.prototype,Ar=se["__core-js_shared__"],ir=function(){var Qe=/[^.]+$/.exec(Ar&&Ar.keys&&Ar.keys.IE_PROTO||"");return Qe?"Symbol(src)_1."+Qe:""}(),Ct=ar.toString,De=lr.hasOwnProperty,ot=lr.toString,Ot=RegExp("^"+Ct.call(De).replace(ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ye=Fe?se.Buffer:void 0,at=se.Symbol,zt=se.Uint8Array,Gt=Wt(Object.getPrototypeOf,Object),Ir=Object.create,te=lr.propertyIsEnumerable,ge=Mt.splice,Se=Object.getOwnPropertySymbols,et=Ye?Ye.isBuffer:void 0,ct=Wt(Object.keys,Object),ft=Ln(se,"DataView"),nt=Ln(se,"Map"),jt=Ln(se,"Promise"),Er=Ln(se,"Set"),Nt=Ln(se,"WeakMap"),Re=Ln(Object,"create"),Xe=ei(ft),it=ei(nt),St=ei(jt),Sr=ei(Er),Mr=ei(Nt),oo=at?at.prototype:void 0,ao=oo?oo.valueOf:void 0;function xo(Qe){var dr=-1,qr=Qe?Qe.length:0;for(this.clear();++dr<qr;){var fo=Qe[dr];this.set(fo[0],fo[1])}}function Ht(){this.__data__=Re?Re(null):{}}function zr(Qe){return this.has(Qe)&&delete this.__data__[Qe]}function Zr(Qe){var dr=this.__data__;if(Re){var qr=dr[Qe];return qr===pn?void 0:qr}return De.call(dr,Qe)?dr[Qe]:void 0}function Lo(Qe){var dr=this.__data__;return Re?dr[Qe]!==void 0:De.call(dr,Qe)}function wo(Qe,dr){var qr=this.__data__;return qr[Qe]=Re&&dr===void 0?pn:dr,this}xo.prototype.clear=Ht,xo.prototype.delete=zr,xo.prototype.get=Zr,xo.prototype.has=Lo,xo.prototype.set=wo;function Ao(Qe){var dr=-1,qr=Qe?Qe.length:0;for(this.clear();++dr<qr;){var fo=Qe[dr];this.set(fo[0],fo[1])}}function ko(){this.__data__=[]}function ia(Qe){var dr=this.__data__,qr=kt(dr,Qe);if(qr<0)return!1;var fo=dr.length-1;return qr==fo?dr.pop():ge.call(dr,qr,1),!0}function So(Qe){var dr=this.__data__,qr=kt(dr,Qe);return qr<0?void 0:dr[qr][1]}function Ea(Qe){return kt(this.__data__,Qe)>-1}function dn(Qe,dr){var qr=this.__data__,fo=kt(qr,Qe);return fo<0?qr.push([Qe,dr]):qr[fo][1]=dr,this}Ao.prototype.clear=ko,Ao.prototype.delete=ia,Ao.prototype.get=So,Ao.prototype.has=Ea,Ao.prototype.set=dn;function da(Qe){var dr=-1,qr=Qe?Qe.length:0;for(this.clear();++dr<qr;){var fo=Qe[dr];this.set(fo[0],fo[1])}}function Qo(){this.__data__={hash:new xo,map:new(nt||Ao),string:new xo}}function za(Qe){return xn(this,Qe).delete(Qe)}function Ya(Qe){return xn(this,Qe).get(Qe)}function mr(Qe){return xn(this,Qe).has(Qe)}function wr(Qe,dr){return xn(this,Qe).set(Qe,dr),this}da.prototype.clear=Qo,da.prototype.delete=za,da.prototype.get=Ya,da.prototype.has=mr,da.prototype.set=wr;function br(Qe){this.__data__=new Ao(Qe)}function lo(){this.__data__=new Ao}function kr(Qe){return this.__data__.delete(Qe)}function ba(Qe){return this.__data__.get(Qe)}function uo(Qe){return this.__data__.has(Qe)}function dt(Qe,dr){var qr=this.__data__;if(qr instanceof Ao){var fo=qr.__data__;if(!nt||fo.length<Mo-1)return fo.push([Qe,dr]),this;qr=this.__data__=new da(fo)}return qr.set(Qe,dr),this}br.prototype.clear=lo,br.prototype.delete=kr,br.prototype.get=ba,br.prototype.has=uo,br.prototype.set=dt;function Oe(Qe,dr){var qr=pi(Qe)||Yi(Qe)?ht(Qe.length,String):[],fo=qr.length,tn=!!fo;for(var Cn in Qe)(dr||De.call(Qe,Cn))&&!(tn&&(Cn=="length"||xi(Cn,fo)))&&qr.push(Cn);return qr}function Je(Qe,dr,qr){var fo=Qe[dr];(!(De.call(Qe,dr)&&Pi(fo,qr))||qr===void 0&&!(dr in Qe))&&(Qe[dr]=qr)}function kt(Qe,dr){for(var qr=Qe.length;qr--;)if(Pi(Qe[qr][0],dr))return qr;return-1}function Qt(Qe,dr){return Qe&&cn(dr,io(dr),Qe)}function Pr(Qe,dr,qr,fo,tn,Cn,Pn){var Yn;if(fo&&(Yn=Cn?fo(Qe,tn,Cn,Pn):fo(Qe)),Yn!==void 0)return Yn;if(!$n(Qe))return Qe;var $i=pi(Qe);if($i){if(Yn=ni(Qe),!dr)return wn(Qe,Yn)}else{var fi=zn(Qe),En=fi==_||fi==x;if(Si(Qe))return Uo(Qe,dr);if(fi==d||fi==y||En&&!Cn){if(_t(Qe))return Cn?Qe:{};if(Yn=Fn(En?{}:Qe),!dr)return va(Qe,Qt(Yn,Qe))}else{if(!Q[fi])return Cn?Qe:{};Yn=Ma(Qe,fi,Pr,dr)}}Pn||(Pn=new br);var tc=Pn.get(Qe);if(tc)return tc;if(Pn.set(Qe,Yn),!$i)var Zi=qr?ln(Qe):io(Qe);return tt(Zi||Qe,function(ka,Ss){Zi&&(Ss=ka,ka=Qe[Ss]),Je(Yn,Ss,Pr(ka,dr,qr,fo,Ss,Qe,Pn))}),Yn}function bt(Qe){return $n(Qe)?Ir(Qe):{}}function Jt(Qe,dr,qr){var fo=dr(Qe);return pi(Qe)?fo:Ne(fo,qr(Qe))}function Lr(Qe){return ot.call(Qe)}function Cr(Qe){if(!$n(Qe)||On(Qe))return!1;var dr=oa(Qe)||_t(Qe)?Ot:X;return dr.test(ei(Qe))}function yo(Qe){if(!Vn(Qe))return ct(Qe);var dr=[];for(var qr in Object(Qe))De.call(Qe,qr)&&qr!="constructor"&&dr.push(qr);return dr}function Uo(Qe,dr){if(dr)return Qe.slice();var qr=new Qe.constructor(Qe.length);return Qe.copy(qr),qr}function fa(Qe){var dr=new Qe.constructor(Qe.byteLength);return new zt(dr).set(new zt(Qe)),dr}function ja(Qe,dr){var qr=dr?fa(Qe.buffer):Qe.buffer;return new Qe.constructor(qr,Qe.byteOffset,Qe.byteLength)}function ya(Qe,dr,qr){var fo=dr?qr(Yt(Qe),!0):Yt(Qe);return Ce(fo,Te,new Qe.constructor)}function en(Qe){var dr=new Qe.constructor(Qe.source,re.exec(Qe));return dr.lastIndex=Qe.lastIndex,dr}function nn(Qe,dr,qr){var fo=dr?qr(yt(Qe),!0):yt(Qe);return Ce(fo,He,new Qe.constructor)}function Oa(Qe){return ao?Object(ao.call(Qe)):{}}function sn(Qe,dr){var qr=dr?fa(Qe.buffer):Qe.buffer;return new Qe.constructor(qr,Qe.byteOffset,Qe.length)}function wn(Qe,dr){var qr=-1,fo=Qe.length;for(dr||(dr=Array(fo));++qr<fo;)dr[qr]=Qe[qr];return dr}function cn(Qe,dr,qr,fo){qr||(qr={});for(var tn=-1,Cn=dr.length;++tn<Cn;){var Pn=dr[tn],Yn=fo?fo(qr[Pn],Qe[Pn],Pn,qr,Qe):void 0;Je(qr,Pn,Yn===void 0?Qe[Pn]:Yn)}return qr}function va(Qe,dr){return cn(Qe,Za(Qe),dr)}function ln(Qe){return Jt(Qe,io,Za)}function xn(Qe,dr){var qr=Qe.__data__;return Ei(dr)?qr[typeof dr=="string"?"string":"hash"]:qr.map}function Ln(Qe,dr){var qr=mt(Qe,dr);return Cr(qr)?qr:void 0}var Za=Se?Wt(Se,Object):Gr,zn=Lr;(ft&&zn(new ft(new ArrayBuffer(1)))!=w||nt&&zn(new nt)!=C||jt&&zn(jt.resolve())!=i||Er&&zn(new Er)!=g||Nt&&zn(new Nt)!=S)&&(zn=function(Qe){var dr=ot.call(Qe),qr=dr==d?Qe.constructor:void 0,fo=qr?ei(qr):void 0;if(fo)switch(fo){case Xe:return w;case it:return C;case St:return i;case Sr:return g;case Mr:return S}return dr});function ni(Qe){var dr=Qe.length,qr=Qe.constructor(dr);return dr&&typeof Qe[0]=="string"&&De.call(Qe,"index")&&(qr.index=Qe.index,qr.input=Qe.input),qr}function Fn(Qe){return typeof Qe.constructor=="function"&&!Vn(Qe)?bt(Gt(Qe)):{}}function Ma(Qe,dr,qr,fo){var tn=Qe.constructor;switch(dr){case j:return fa(Qe);case a:case p:return new tn(+Qe);case w:return ja(Qe,fo);case O:case z:case T:case B:case q:case $:case N:case W:case J:return sn(Qe,fo);case C:return ya(Qe,fo,qr);case P:case s:return new tn(Qe);case u:return en(Qe);case g:return nn(Qe,fo,qr);case m:return Oa(Qe)}}function xi(Qe,dr){return dr=dr??st,!!dr&&(typeof Qe=="number"||ue.test(Qe))&&Qe>-1&&Qe%1==0&&Qe<dr}function Ei(Qe){var dr=typeof Qe;return dr=="string"||dr=="number"||dr=="symbol"||dr=="boolean"?Qe!=="__proto__":Qe===null}function On(Qe){return!!ir&&ir in Qe}function Vn(Qe){var dr=Qe&&Qe.constructor,qr=typeof dr=="function"&&dr.prototype||lr;return Qe===qr}function ei(Qe){if(Qe!=null){try{return Ct.call(Qe)}catch{}try{return Qe+""}catch{}}return""}function os(Qe){return Pr(Qe,!0,!0)}function Pi(Qe,dr){return Qe===dr||Qe!==Qe&&dr!==dr}function Yi(Qe){return Fi(Qe)&&De.call(Qe,"callee")&&(!te.call(Qe,"callee")||ot.call(Qe)==y)}var pi=Array.isArray;function Sa(Qe){return Qe!=null&&as(Qe.length)&&!oa(Qe)}function Fi(Qe){return Tt(Qe)&&Sa(Qe)}var Si=et||Ua;function oa(Qe){var dr=$n(Qe)?ot.call(Qe):"";return dr==_||dr==x}function as(Qe){return typeof Qe=="number"&&Qe>-1&&Qe%1==0&&Qe<=st}function $n(Qe){var dr=typeof Qe;return!!Qe&&(dr=="object"||dr=="function")}function Tt(Qe){return!!Qe&&typeof Qe=="object"}function io(Qe){return Sa(Qe)?Oe(Qe):yo(Qe)}function Gr(){return[]}function Ua(){return!1}yr.exports=os}(Th,Th.exports);var N1=Th.exports;const _0=R1(N1),zp="default",D1="#3a3f51",B1="#afb7c5",my="20px",Tp="24px",j0=(yr,zo)=>{const Mo=yr.__vccOpts||yr;for(const[pn,st]of zo)Mo[pn]=st;return Mo},M1=yr=>(It.pushScopeId("data-v-b2c75f11"),yr=yr(),It.popScopeId(),yr),L1=["aria-hidden"],F1={key:0,"data-testid":"kui-icon-svg-title"},$1=M1(()=>It.createElementVNode("path",{d:"M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",fill:"currentColor"},null,-1)),U1=It.defineComponent({__name:"ChevronDownIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:Tp,validator:yr=>{if(typeof yr=="number"&&yr>0)return!0;if(typeof yr=="string"){const zo=String(yr).replace(/px/gi,""),Mo=Number(zo);if(Mo&&!isNaN(Mo)&&Number.isInteger(Mo)&&Mo>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(yr){const zo=yr,Mo=It.computed(()=>{if(typeof zo.size=="number"&&zo.size>0)return`${zo.size}px`;if(typeof zo.size=="string"){const st=String(zo.size).replace(/px/gi,""),y=Number(st);if(y&&!isNaN(y)&&Number.isInteger(y)&&y>0)return`${y}px`}return Tp}),pn=It.computed(()=>({boxSizing:"border-box",color:zo.color,display:zo.display,height:Mo.value,lineHeight:"0",width:Mo.value}));return(st,y)=>(It.openBlock(),It.createBlock(It.resolveDynamicComponent(yr.as),{"aria-hidden":yr.decorative?"true":void 0,class:"kui-icon chevron-down-icon","data-testid":"kui-icon-wrapper-chevron-down-icon",style:It.normalizeStyle(pn.value)},{default:It.withCtx(()=>[(It.openBlock(),It.createElementBlock("svg",{"aria-hidden":yr.decorative?"true":void 0,"data-testid":"kui-icon-svg-chevron-down-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[yr.title?(It.openBlock(),It.createElementBlock("title",F1,It.toDisplayString(yr.title),1)):It.createCommentVNode("",!0),$1],8,L1))]),_:1},8,["aria-hidden","style"]))}}),q1=j0(U1,[["__scopeId","data-v-b2c75f11"]]),K1=yr=>(It.pushScopeId("data-v-33bb9517"),yr=yr(),It.popScopeId(),yr),H1=["aria-hidden"],V1={key:0,"data-testid":"kui-icon-svg-title"},W1=K1(()=>It.createElementVNode("path",{d:"M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",fill:"currentColor"},null,-1)),J1=It.defineComponent({__name:"ChevronRightIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:Tp,validator:yr=>{if(typeof yr=="number"&&yr>0)return!0;if(typeof yr=="string"){const zo=String(yr).replace(/px/gi,""),Mo=Number(zo);if(Mo&&!isNaN(Mo)&&Number.isInteger(Mo)&&Mo>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(yr){const zo=yr,Mo=It.computed(()=>{if(typeof zo.size=="number"&&zo.size>0)return`${zo.size}px`;if(typeof zo.size=="string"){const st=String(zo.size).replace(/px/gi,""),y=Number(st);if(y&&!isNaN(y)&&Number.isInteger(y)&&y>0)return`${y}px`}return Tp}),pn=It.computed(()=>({boxSizing:"border-box",color:zo.color,display:zo.display,height:Mo.value,lineHeight:"0",width:Mo.value}));return(st,y)=>(It.openBlock(),It.createBlock(It.resolveDynamicComponent(yr.as),{"aria-hidden":yr.decorative?"true":void 0,class:"kui-icon chevron-right-icon","data-testid":"kui-icon-wrapper-chevron-right-icon",style:It.normalizeStyle(pn.value)},{default:It.withCtx(()=>[(It.openBlock(),It.createElementBlock("svg",{"aria-hidden":yr.decorative?"true":void 0,"data-testid":"kui-icon-svg-chevron-right-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[yr.title?(It.openBlock(),It.createElementBlock("title",V1,It.toDisplayString(yr.title),1)):It.createCommentVNode("",!0),W1],8,H1))]),_:1},8,["aria-hidden","style"]))}}),G1=j0(J1,[["__scopeId","data-v-33bb9517"]]),Y1=yr=>(It.pushScopeId("data-v-bf1a695a"),yr=yr(),It.popScopeId(),yr),Z1=["aria-hidden"],Q1={key:0,"data-testid":"kui-icon-svg-title"},X1=Y1(()=>It.createElementVNode("path",{d:"M10 18V16H14V18H10ZM6 13V11H18V13H6ZM3 8V6H21V8H3Z",fill:"currentColor"},null,-1)),ex=It.defineComponent({__name:"FilterIcon",props:{title:{type:String,required:!1,default:""},color:{type:String,required:!1,default:"currentColor"},display:{type:String,required:!1,default:"block"},decorative:{type:Boolean,required:!1,default:!1},size:{type:[Number,String],required:!1,default:Tp,validator:yr=>{if(typeof yr=="number"&&yr>0)return!0;if(typeof yr=="string"){const zo=String(yr).replace(/px/gi,""),Mo=Number(zo);if(Mo&&!isNaN(Mo)&&Number.isInteger(Mo)&&Mo>0)return!0}return!1}},as:{type:String,required:!1,default:"span"}},setup(yr){const zo=yr,Mo=It.computed(()=>{if(typeof zo.size=="number"&&zo.size>0)return`${zo.size}px`;if(typeof zo.size=="string"){const st=String(zo.size).replace(/px/gi,""),y=Number(st);if(y&&!isNaN(y)&&Number.isInteger(y)&&y>0)return`${y}px`}return Tp}),pn=It.computed(()=>({boxSizing:"border-box",color:zo.color,display:zo.display,height:Mo.value,lineHeight:"0",width:Mo.value}));return(st,y)=>(It.openBlock(),It.createBlock(It.resolveDynamicComponent(yr.as),{"aria-hidden":yr.decorative?"true":void 0,class:"kui-icon filter-icon","data-testid":"kui-icon-wrapper-filter-icon",style:It.normalizeStyle(pn.value)},{default:It.withCtx(()=>[(It.openBlock(),It.createElementBlock("svg",{"aria-hidden":yr.decorative?"true":void 0,"data-testid":"kui-icon-svg-filter-icon",fill:"none",height:"100%",role:"img",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[yr.title?(It.openBlock(),It.createElementBlock("title",Q1,It.toDisplayString(yr.title),1)):It.createCommentVNode("",!0),X1],8,Z1))]),_:1},8,["aria-hidden","style"]))}}),tx=j0(ex,[["__scopeId","data-v-bf1a695a"]]),rx=["aria-controls","aria-expanded","aria-label"],ox={"aria-hidden":"true",class:"icon-wrapper"},ax={"aria-hidden":"true",class:"label truncated"},nx=["title"],by=Ld(It.defineComponent({__name:"OperationsListSectionHeader",props:{isCollapsed:{type:Boolean,required:!0},name:{type:String,required:!0},description:{type:String,default:void 0},contentElementId:{type:String,required:!0}},emits:["toggle"],setup(yr){const zo=yr,{i18n:Mo}=Du.useI18n(),pn=It.computed(()=>zo.isCollapsed?Mo.t("specOperationsList.section.expandAriaLabel",{section:`"${zo.name}"`}):Mo.t("specOperationsList.section.collapseAriaLabel",{section:`"${zo.name}"`}));return(st,y)=>(It.openBlock(),It.createElementBlock("button",{"aria-controls":yr.contentElementId,"aria-expanded":yr.isCollapsed?"false":"true","aria-label":pn.value,class:It.normalizeClass(["header",{"header--collapsed":yr.isCollapsed}]),type:"button",onClick:y[0]||(y[0]=A=>st.$emit("toggle"))},[It.createElementVNode("div",ox,[yr.isCollapsed?(It.openBlock(),It.createBlock(It.unref(G1),{key:0,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-collapsed, ${It.unref(B1)})`,size:It.unref(my)},null,8,["color","size"])):(It.openBlock(),It.createBlock(It.unref(q1),{key:1,color:`var(--kong-ui-spec-renderer-operations-list-section-icon-color-expanded, ${It.unref(D1)})`,icon:"chevronDown",size:It.unref(my)},null,8,["color","size"]))]),It.createElementVNode("h1",ax,It.toDisplayString(yr.name),1),It.createElementVNode("div",{class:"description truncated",title:yr.description},It.toDisplayString(yr.description),9,nx)],10,rx))}}),[["__scopeId","data-v-98e20a36"]]),ix=["data-testid"],sx=["title"],cx={class:"details"},lx=["aria-label","title"],vy=Ld(It.defineComponent({__name:"OperationsListItem",props:{item:{type:Object,required:!0,validator:yr=>yr.method!==void 0&&yr.summary!==void 0&&yr.path!==void 0},isSelected:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1}},emits:["click"],setup(yr){const zo=yr,{i18n:Mo}=Du.useI18n(),pn=It.computed(()=>{var y,A;return`spec-operations-list-item-${(y=zo.item.method)==null?void 0:y.toLowerCase()}${(A=zo.item.path)==null?void 0:A.replaceAll("/","-")}-${zo.item.tag||"-"}`}),st=It.computed(()=>zo.item.method||"");return(y,A)=>{const a=It.resolveComponent("KBadge");return It.openBlock(),It.createElementBlock("button",{class:It.normalizeClass(["spec-operations-list-item",{"item--selected":yr.isSelected,[`item--method-${yr.item.method}`]:!0,disabled:yr.disableSelection}]),"data-testid":pn.value,type:"button",onClick:A[0]||(A[0]=p=>y.$emit("click",yr.item))},[yr.item.summary?(It.openBlock(),It.createElementBlock("h2",{key:0,class:"summary truncated",title:yr.item.summary},It.toDisplayString(yr.item.summary),9,sx)):It.createCommentVNode("",!0),It.createElementVNode("div",cx,[It.createVNode(a,{appearance:st.value,"aria-label":It.unref(Mo).t("specOperationsList.item.methodAriaLabel",{method:st.value.toUpperCase()}),"background-color":"var(--kong-ui-spec-renderer-operations-list-item-method-background)",class:"method-badge",color:"var(--kong-ui-spec-renderer-operations-list-item-method-color)",tabindex:"-1"},{default:It.withCtx(()=>[It.createTextVNode(It.toDisplayString(st.value.toUpperCase()),1)]),_:1},8,["appearance","aria-label"]),It.createElementVNode("span",{"aria-label":It.unref(Mo).t("specOperationsList.item.pathAriaLabel",{path:yr.item.path}),class:"path truncated",title:yr.item.path},It.toDisplayString(yr.item.path),9,lx)])],10,ix)}}}),[["__scopeId","data-v-33314425"]]),ux=["aria-label"],px={key:0},dx={key:0,class:"filter-wrapper"},gx={key:1},hx=["data-testid"],fx=["id"],mx={key:0,class:"section","data-testid":"spec-operations-list-untagged-items"},bx=["id"],vx={key:2,"data-testid":"kong-ui-public-spec-operations-list-empty"},yx={class:"center"},wx={key:1,"data-testid":"kong-ui-public-spec-operations-list-error"},{getSizeFromString:kx,hasRequiredProps:yy}=Du.useUtilities(),wy=Ld(It.defineComponent({__name:"SpecOperationsList",props:{operations:{type:Array,required:!0,validator:yr=>!yr.length||yy(yr,["method","path"])},tags:{type:Array,default:()=>[],validator:yr=>!yr.length||yy(yr,["name"])},isFilterable:{type:Boolean,default:!0},filterFunction:{type:Function,default:({items:yr,query:zo})=>(zo=zo.toLowerCase(),yr.filter(Mo=>Mo.tag&&Mo.tag.toLowerCase().includes(zo))),validator:yr=>!!yr&&typeof yr=="function"},deselect:{type:Boolean,default:!1},disableSelection:{type:Boolean,default:!1},width:{type:String,default:"210"}},emits:["selected"],setup(yr,{emit:zo}){const Mo=yr,pn=zo,{i18n:st}=Du.useI18n(),y=It.computed(()=>T1()),A=It.ref(""),a=It.ref([]),p=It.ref(),k=It.ref([]),_=()=>{const S=a.value;if(!Mo.isFilterable){k.value=S;return}if(!Mo.filterFunction||typeof Mo.filterFunction!="function")throw new Error(`filterFunction property must be a function, got ${typeof Mo.filterFunction}`);k.value=Mo.filterFunction({items:S,query:A.value})},x=It.computed(()=>kx(Mo.width)),C=It.computed(()=>{const S=[];return k.value.forEach(j=>{j.tag&&!S.includes(j.tag)&&S.push(j.tag)}),S}),P=It.computed(()=>a.value.filter(S=>!S.tag)),d=S=>{if(!Mo.tags||!Array.isArray(Mo.tags))return"";const j=Mo.tags.find(w=>w.name===S);return(j==null?void 0:j.description)||""},i=S=>k.value.filter(j=>j.tag===S),u=S=>{const j=p.value;return!!j&&j.path===S.path&&j.method===S.method&&j.operationId===S.operationId&&j.tag===S.tag},g=S=>`${y.value}-section-${S.toLowerCase()}`,s=S=>{Mo.disableSelection||(p.value=S,pn("selected",S))},m=()=>{a.value=[],Mo.operations&&(Mo.operations.forEach(S=>{var w;const j=_0(S);(w=S.tags)!=null&&w.length?S.tags.forEach(O=>{delete j.tags,j.tag=O,a.value.push(_0(j))}):(delete j.tags,j.tag=null,a.value.push(_0(j)))}),_())};return It.watch(()=>Mo.deselect,()=>{Mo.deselect&&(p.value=void 0)}),It.watch(()=>Mo.operations,()=>m()),It.watch(A,()=>_()),It.onMounted(()=>{m()}),(S,j)=>{const w=It.resolveComponent("KInput"),O=It.resolveComponent("KCollapse");return It.openBlock(),It.createElementBlock("section",{"aria-label":It.unref(st).t("specOperationsList.ariaLabel"),class:"kong-ui-public-spec-operations-list","data-testid":"kong-ui-public-spec-operations-list",role:"navigation",style:It.normalizeStyle({width:x.value})},[yr.operations?(It.openBlock(),It.createElementBlock("div",px,[yr.isFilterable?(It.openBlock(),It.createElementBlock("div",dx,[It.createVNode(w,{modelValue:A.value,"onUpdate:modelValue":j[0]||(j[0]=z=>A.value=z),class:"filter-input","data-testid":"spec-operations-list-filter",placeholder:It.unref(st).t("specOperationsList.filterPlaceholder")},{before:It.withCtx(()=>[It.createVNode(It.unref(tx),{decorative:""})]),_:1},8,["modelValue","placeholder"])])):It.createCommentVNode("",!0),k.value.length?(It.openBlock(),It.createElementBlock("div",gx,[(It.openBlock(!0),It.createElementBlock(It.Fragment,null,It.renderList(C.value,z=>(It.openBlock(),It.createElementBlock("div",{key:z,class:"section-wrapper","data-testid":`spec-operations-list-section-${z.toLowerCase().replaceAll(" ","-")}`},[It.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:It.withCtx(({isCollapsed:T,toggle:B})=>[It.createVNode(by,{"content-element-id":g(z),"data-testid":`spec-operations-list-section-${z.toLowerCase().replaceAll(" ","-")}-collapse-trigger`,description:d(z),"is-collapsed":T,name:z,onToggle:B},null,8,["content-element-id","data-testid","description","is-collapsed","name","onToggle"])]),default:It.withCtx(()=>[It.createElementVNode("div",{id:g(z)},[(It.openBlock(!0),It.createElementBlock(It.Fragment,null,It.renderList(i(z),T=>It.renderSlot(S.$slots,"item",{key:`${T.path}-${T.method}`,item:T,section:z,select:()=>s(T)},()=>[It.createVNode(vy,{"disable-selection":yr.disableSelection,"is-selected":u(T),item:T,section:z,onClick:s},null,8,["disable-selection","is-selected","item","section"])],!0)),128))],8,fx)]),_:2},1024)],8,hx))),128)),!yr.isFilterable||!A.value?(It.openBlock(),It.createElementBlock("div",mx,[It.createVNode(O,{"model-value":!1,"trigger-alignment":"leading"},{trigger:It.withCtx(({isCollapsed:z,toggle:T})=>[It.createVNode(by,{"content-element-id":g(It.unref(zp)),"data-testid":"spec-operations-list-section-untagged-collapse-trigger",description:d(It.unref(zp)),"is-collapsed":z,name:It.unref(zp),onToggle:T},null,8,["content-element-id","description","is-collapsed","name","onToggle"])]),default:It.withCtx(()=>[It.createElementVNode("div",{id:g(It.unref(zp))},[(It.openBlock(!0),It.createElementBlock(It.Fragment,null,It.renderList(P.value,z=>It.renderSlot(S.$slots,"untagged-item",{key:`${z.path}-${z.method}`,item:z,section:It.unref(zp),select:()=>s(z)},()=>[It.createVNode(vy,{"disable-selection":yr.disableSelection,"is-selected":u(z),item:z,onClick:s},null,8,["disable-selection","is-selected","item"])],!0)),128))],8,bx)]),_:3})])):It.createCommentVNode("",!0)])):(It.openBlock(),It.createElementBlock("div",vx,[It.renderSlot(S.$slots,"empty-state",{},()=>[It.createElementVNode("div",yx,It.toDisplayString(It.unref(st).t("specOperationsList.noResults")),1)],!0)]))])):(It.openBlock(),It.createElementBlock("div",wx,[It.renderSlot(S.$slots,"error-state",{},()=>[It.createTextVNode(It.toDisplayString(It.unref(st).t("specOperationsList.error")),1)],!0)]))],12,ux)}}}),[["__scopeId","data-v-751da895"]]),xx={class:"kong-ui-public-spec-renderer"},Ex={key:0,class:"spec-container"},Sx={class:"spec-renderer-ops-list-empty-state","data-testid":"spec-renderer-ops-list-empty-state"},_x={key:1,"data-testid":"kong-ui-public-spec-renderer-error"},{hasRequiredProps:ky}=Du.useUtilities(),jx=Ld(It.defineComponent({__name:"SpecRenderer",props:{spec:{type:Object,required:!0},essentialsOnly:{type:Boolean,default:!1},operationsList:{type:Array,required:!0,validator:yr=>!yr.length||ky(yr,["method","path"])},tags:{type:Array,default:()=>[],validator:yr=>!yr.length||ky(yr,["name"])},navWidth:{type:String,default:"310"},deselect:{type:Boolean,default:!1}},setup(yr){const zo=yr,{i18n:Mo}=Du.useI18n(),pn=It.computed(()=>!!(zo.spec&&zo.operationsList)),st=It.ref(),y=A=>{st.value=A};return(A,a)=>{const p=It.resolveComponent("KEmptyState");return It.openBlock(),It.createElementBlock("div",xx,[pn.value?(It.openBlock(),It.createElementBlock("div",Ex,[It.createVNode(wy,{"data-testid":"spec-renderer-ops-list-content",deselect:yr.deselect,operations:yr.operationsList,tags:yr.tags,width:yr.navWidth,onSelected:y},{"empty-state":It.withCtx(()=>[It.createElementVNode("div",Sx,[It.renderSlot(A.$slots,"ops-list-empty-state",{},void 0,!0)])]),_:3},8,["deselect","operations","tags","width"]),It.createVNode(hy,{"active-operation":st.value,class:"spec-renderer-details","data-testid":"spec-renderer-details-content",document:yr.spec,"essentials-only":yr.essentialsOnly,"has-sidebar":!1},null,8,["active-operation","document","essentials-only"])])):(It.openBlock(),It.createElementBlock("div",_x,[It.renderSlot(A.$slots,"error-state",{},()=>[It.createVNode(p,{"action-button-visible":!1,"icon-variant":"error"},{title:It.withCtx(()=>[It.createTextVNode(It.toDisplayString(It.unref(Mo).t("specRenderer.error")),1)]),_:1})],!0)]))])}}}),[["__scopeId","data-v-4cfc670e"]]);Mn.DEFAULT_UNTAGGED_SECTION_NAME=zp,Mn.SpecDetails=hy,Mn.SpecOperationsList=wy,Mn.SpecRenderer=jx,Object.defineProperty(Mn,Symbol.toStringTag,{value:"Module"})});
|