@apify/actors-mcp-server 0.9.12-beta.3 → 0.9.12-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ var Yhe=Object.create;var sy=Object.defineProperty;var Khe=Object.getOwnProperty
6
6
  `).replace(d1e,"")}function l1(e,t,n){if(t=DF(t),DF(e)!==t&&n)throw Error(ge(425))}function O1(){}var SE=null,IE=null;function TE(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var CE=typeof setTimeout=="function"?setTimeout:void 0,f1e=typeof clearTimeout=="function"?clearTimeout:void 0,$F=typeof Promise=="function"?Promise:void 0,p1e=typeof queueMicrotask=="function"?queueMicrotask:typeof $F<"u"?function(e){return $F.resolve(null).then(e).catch(m1e)}:CE;function m1e(e){setTimeout(function(){throw e})}function Y2(e,t){var n=t,i=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"){if(i===0){e.removeChild(r),Ym(t);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=r}while(n);Ym(t)}function Uu(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function SF(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var df=Math.random().toString(36).slice(2),La="__reactFiber$"+df,th="__reactProps$"+df,$s="__reactContainer$"+df,AE="__reactEvents$"+df,h1e="__reactListeners$"+df,g1e="__reactHandles$"+df;function nc(e){var t=e[La];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$s]||n[La]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=SF(e);e!==null;){if(n=e[La])return n;e=SF(e)}return t}e=n,n=e.parentNode}return null}function ch(e){return e=e[La]||e[$s],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zd(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ge(33))}function Q1(e){return e[th]||null}var NE=[],Hd=-1;function qu(e){return{current:e}}function $n(e){0>Hd||(e.current=NE[Hd],NE[Hd]=null,Hd--)}function bn(e,t){Hd++,NE[Hd]=e.current,e.current=t}var Vu={},jr=qu(Vu),Si=qu(!1),sc=Vu;function rf(e,t){var n=e.type.contextTypes;if(!n)return Vu;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var r={},o;for(o in n)r[o]=t[o];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function Ii(e){return e=e.childContextTypes,e!=null}function z1(){$n(Si),$n(jr)}function IF(e,t,n){if(jr.current!==Vu)throw Error(ge(168));bn(jr,t),bn(Si,n)}function KM(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var r in i)if(!(r in t))throw Error(ge(108,nye(e)||"Unknown",r));return Mn({},n,i)}function P1(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vu,sc=jr.current,bn(jr,e),bn(Si,Si.current),!0}function TF(e,t,n){var i=e.stateNode;if(!i)throw Error(ge(169));n?(e=KM(e,t,sc),i.__reactInternalMemoizedMergedChildContext=e,$n(Si),$n(jr),bn(jr,e)):$n(Si),bn(Si,n)}var xs=null,eb=!1,K2=!1;function XM(e){xs===null?xs=[e]:xs.push(e)}function v1e(e){eb=!0,XM(e)}function Ju(){if(!K2&&xs!==null){K2=!0;var e=0,t=Kt;try{var n=xs;for(Kt=1;e<n.length;e++){var i=n[e];do i=i(!0);while(i!==null)}xs=null,eb=!1}catch(r){throw xs!==null&&(xs=xs.slice(e+1)),wM(oD,Ju),r}finally{Kt=t,K2=!1}}return null}var Wd=[],Vd=0,R1=null,L1=0,wo=[],Eo=0,uc=null,ks=1,ws="";function ec(e,t){Wd[Vd++]=L1,Wd[Vd++]=R1,R1=e,L1=t}function QM(e,t,n){wo[Eo++]=ks,wo[Eo++]=ws,wo[Eo++]=uc,uc=e;var i=ks;e=ws;var r=32-ca(i)-1;i&=~(1<<r),n+=1;var o=32-ca(t)+r;if(30<o){var a=r-r%5;o=(i&(1<<a)-1).toString(32),i>>=a,r-=a,ks=1<<32-ca(t)+r|n<<r|i,ws=o+e}else ks=1<<o|n<<r|i,ws=e}function mD(e){e.return!==null&&(ec(e,1),QM(e,1,0))}function hD(e){for(;e===R1;)R1=Wd[--Vd],Wd[Vd]=null,L1=Wd[--Vd],Wd[Vd]=null;for(;e===uc;)uc=wo[--Eo],wo[Eo]=null,ws=wo[--Eo],wo[Eo]=null,ks=wo[--Eo],wo[Eo]=null}var qi=null,Gi=null,Cn=!1,la=null;function e9(e,t){var n=Do(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function CF(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,qi=e,Gi=Uu(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,qi=e,Gi=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=uc!==null?{id:ks,overflow:ws}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Do(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,qi=e,Gi=null,!0):!1;default:return!1}}function OE(e){return(e.mode&1)!==0&&(e.flags&128)===0}function zE(e){if(Cn){var t=Gi;if(t){var n=t;if(!CF(e,t)){if(OE(e))throw Error(ge(418));t=Uu(n.nextSibling);var i=qi;t&&CF(e,t)?e9(i,n):(e.flags=e.flags&-4097|2,Cn=!1,qi=e)}}else{if(OE(e))throw Error(ge(418));e.flags=e.flags&-4097|2,Cn=!1,qi=e}}}function AF(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qi=e}function c1(e){if(e!==qi)return!1;if(!Cn)return AF(e),Cn=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!TE(e.type,e.memoizedProps)),t&&(t=Gi)){if(OE(e))throw t9(),Error(ge(418));for(;t;)e9(e,t),t=Uu(t.nextSibling)}if(AF(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ge(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Gi=Uu(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Gi=null}}else Gi=qi?Uu(e.stateNode.nextSibling):null;return!0}function t9(){for(var e=Gi;e;)e=Uu(e.nextSibling)}function of(){Gi=qi=null,Cn=!1}function gD(e){la===null?la=[e]:la.push(e)}var y1e=Ts.ReactCurrentBatchConfig;function Im(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(ge(309));var i=n.stateNode}if(!i)throw Error(ge(147,e));var r=i,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var s=r.refs;a===null?delete s[o]:s[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(ge(284));if(!n._owner)throw Error(ge(290,e))}return e}function d1(e,t){throw e=Object.prototype.toString.call(t),Error(ge(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function NF(e){var t=e._init;return t(e._payload)}function n9(e){function t(x,E){if(e){var w=x.deletions;w===null?(x.deletions=[E],x.flags|=16):w.push(E)}}function n(x,E){if(!e)return null;for(;E!==null;)t(x,E),E=E.sibling;return null}function i(x,E){for(x=new Map;E!==null;)E.key!==null?x.set(E.key,E):x.set(E.index,E),E=E.sibling;return x}function r(x,E){return x=Hu(x,E),x.index=0,x.sibling=null,x}function o(x,E,w){return x.index=w,e?(w=x.alternate,w!==null?(w=w.index,w<E?(x.flags|=2,E):w):(x.flags|=2,E)):(x.flags|=1048576,E)}function a(x){return e&&x.alternate===null&&(x.flags|=2),x}function s(x,E,w,T){return E===null||E.tag!==6?(E=iE(w,x.mode,T),E.return=x,E):(E=r(E,w),E.return=x,E)}function l(x,E,w,T){var M=w.type;return M===Md?f(x,E,w.props.children,T,w.key):E!==null&&(E.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===Au&&NF(M)===E.type)?(T=r(E,w.props),T.ref=Im(x,E,w),T.return=x,T):(T=E1(w.type,w.key,w.props,null,x.mode,T),T.ref=Im(x,E,w),T.return=x,T)}function c(x,E,w,T){return E===null||E.tag!==4||E.stateNode.containerInfo!==w.containerInfo||E.stateNode.implementation!==w.implementation?(E=oE(w,x.mode,T),E.return=x,E):(E=r(E,w.children||[]),E.return=x,E)}function f(x,E,w,T,M){return E===null||E.tag!==7?(E=ac(w,x.mode,T,M),E.return=x,E):(E=r(E,w),E.return=x,E)}function p(x,E,w){if(typeof E=="string"&&E!==""||typeof E=="number")return E=iE(""+E,x.mode,w),E.return=x,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Yy:return w=E1(E.type,E.key,E.props,null,x.mode,w),w.ref=Im(x,null,E),w.return=x,w;case Fd:return E=oE(E,x.mode,w),E.return=x,E;case Au:var T=E._init;return p(x,T(E._payload),w)}if(Om(E)||Em(E))return E=ac(E,x.mode,w,null),E.return=x,E;d1(x,E)}return null}function h(x,E,w,T){var M=E!==null?E.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return M!==null?null:s(x,E,""+w,T);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Yy:return w.key===M?l(x,E,w,T):null;case Fd:return w.key===M?c(x,E,w,T):null;case Au:return M=w._init,h(x,E,M(w._payload),T)}if(Om(w)||Em(w))return M!==null?null:f(x,E,w,T,null);d1(x,w)}return null}function v(x,E,w,T,M){if(typeof T=="string"&&T!==""||typeof T=="number")return x=x.get(w)||null,s(E,x,""+T,M);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Yy:return x=x.get(T.key===null?w:T.key)||null,l(E,x,T,M);case Fd:return x=x.get(T.key===null?w:T.key)||null,c(E,x,T,M);case Au:var A=T._init;return v(x,E,w,A(T._payload),M)}if(Om(T)||Em(T))return x=x.get(w)||null,f(E,x,T,M,null);d1(E,T)}return null}function b(x,E,w,T){for(var M=null,A=null,j=E,X=E=0,se=null;j!==null&&X<w.length;X++){j.index>X?(se=j,j=null):se=j.sibling;var F=h(x,j,w[X],T);if(F===null){j===null&&(j=se);break}e&&j&&F.alternate===null&&t(x,j),E=o(F,E,X),A===null?M=F:A.sibling=F,A=F,j=se}if(X===w.length)return n(x,j),Cn&&ec(x,X),M;if(j===null){for(;X<w.length;X++)j=p(x,w[X],T),j!==null&&(E=o(j,E,X),A===null?M=j:A.sibling=j,A=j);return Cn&&ec(x,X),M}for(j=i(x,j);X<w.length;X++)se=v(j,x,X,w[X],T),se!==null&&(e&&se.alternate!==null&&j.delete(se.key===null?X:se.key),E=o(se,E,X),A===null?M=se:A.sibling=se,A=se);return e&&j.forEach(function(De){return t(x,De)}),Cn&&ec(x,X),M}function k(x,E,w,T){var M=Em(w);if(typeof M!="function")throw Error(ge(150));if(w=M.call(w),w==null)throw Error(ge(151));for(var A=M=null,j=E,X=E=0,se=null,F=w.next();j!==null&&!F.done;X++,F=w.next()){j.index>X?(se=j,j=null):se=j.sibling;var De=h(x,j,F.value,T);if(De===null){j===null&&(j=se);break}e&&j&&De.alternate===null&&t(x,j),E=o(De,E,X),A===null?M=De:A.sibling=De,A=De,j=se}if(F.done)return n(x,j),Cn&&ec(x,X),M;if(j===null){for(;!F.done;X++,F=w.next())F=p(x,F.value,T),F!==null&&(E=o(F,E,X),A===null?M=F:A.sibling=F,A=F);return Cn&&ec(x,X),M}for(j=i(x,j);!F.done;X++,F=w.next())F=v(j,x,X,F.value,T),F!==null&&(e&&F.alternate!==null&&j.delete(F.key===null?X:F.key),E=o(F,E,X),A===null?M=F:A.sibling=F,A=F);return e&&j.forEach(function(Ee){return t(x,Ee)}),Cn&&ec(x,X),M}function $(x,E,w,T){if(typeof w=="object"&&w!==null&&w.type===Md&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Yy:e:{for(var M=w.key,A=E;A!==null;){if(A.key===M){if(M=w.type,M===Md){if(A.tag===7){n(x,A.sibling),E=r(A,w.props.children),E.return=x,x=E;break e}}else if(A.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===Au&&NF(M)===A.type){n(x,A.sibling),E=r(A,w.props),E.ref=Im(x,A,w),E.return=x,x=E;break e}n(x,A);break}else t(x,A);A=A.sibling}w.type===Md?(E=ac(w.props.children,x.mode,T,w.key),E.return=x,x=E):(T=E1(w.type,w.key,w.props,null,x.mode,T),T.ref=Im(x,E,w),T.return=x,x=T)}return a(x);case Fd:e:{for(A=w.key;E!==null;){if(E.key===A)if(E.tag===4&&E.stateNode.containerInfo===w.containerInfo&&E.stateNode.implementation===w.implementation){n(x,E.sibling),E=r(E,w.children||[]),E.return=x,x=E;break e}else{n(x,E);break}else t(x,E);E=E.sibling}E=oE(w,x.mode,T),E.return=x,x=E}return a(x);case Au:return A=w._init,$(x,E,A(w._payload),T)}if(Om(w))return b(x,E,w,T);if(Em(w))return k(x,E,w,T);d1(x,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,E!==null&&E.tag===6?(n(x,E.sibling),E=r(E,w),E.return=x,x=E):(n(x,E),E=iE(w,x.mode,T),E.return=x,x=E),a(x)):n(x,E)}return $}var af=n9(!0),r9=n9(!1),F1=qu(null),M1=null,Gd=null,vD=null;function yD(){vD=Gd=M1=null}function bD(e){var t=F1.current;$n(F1),e._currentValue=t}function PE(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function ef(e,t){M1=e,vD=Gd=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&($i=!0),e.firstContext=null)}function So(e){var t=e._currentValue;if(vD!==e)if(e={context:e,memoizedValue:t,next:null},Gd===null){if(M1===null)throw Error(ge(308));Gd=e,M1.dependencies={lanes:0,firstContext:e}}else Gd=Gd.next=e;return t}var rc=null;function _D(e){rc===null?rc=[e]:rc.push(e)}function i9(e,t,n,i){var r=t.interleaved;return r===null?(n.next=n,_D(t)):(n.next=r.next,r.next=n),t.interleaved=n,Ss(e,i)}function Ss(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nu=!1;function xD(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function o9(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Es(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ju(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,Bt&2){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,Ss(e,n)}return r=i.interleaved,r===null?(t.next=t,_D(i)):(t.next=r.next,r.next=t),i.interleaved=t,Ss(e,n)}function y1(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,aD(e,n)}}function OF(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?r=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?r=o=t:o=o.next=t}else r=o=t;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function U1(e,t,n,i){var r=e.updateQueue;Nu=!1;var o=r.firstBaseUpdate,a=r.lastBaseUpdate,s=r.shared.pending;if(s!==null){r.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==a&&(s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=l))}if(o!==null){var p=r.baseState;a=0,f=c=l=null,s=o;do{var h=s.lane,v=s.eventTime;if((i&h)===h){f!==null&&(f=f.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var b=e,k=s;switch(h=t,v=n,k.tag){case 1:if(b=k.payload,typeof b=="function"){p=b.call(v,p,h);break e}p=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=k.payload,h=typeof b=="function"?b.call(v,p,h):b,h==null)break e;p=Mn({},p,h);break e;case 2:Nu=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=r.effects,h===null?r.effects=[s]:h.push(s))}else v={eventTime:v,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(c=f=v,l=p):f=f.next=v,a|=h;if(s=s.next,s===null){if(s=r.shared.pending,s===null)break;h=s,s=h.next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}while(!0);if(f===null&&(l=p),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=f,t=r.shared.interleaved,t!==null){r=t;do a|=r.lane,r=r.next;while(r!==t)}else o===null&&(r.shared.lanes=0);cc|=a,e.lanes=a,e.memoizedState=p}}function zF(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],r=i.callback;if(r!==null){if(i.callback=null,i=n,typeof r!="function")throw Error(ge(191,r));r.call(i)}}}var dh={},Ma=qu(dh),nh=qu(dh),rh=qu(dh);function ic(e){if(e===dh)throw Error(ge(174));return e}function kD(e,t){switch(bn(rh,t),bn(nh,e),bn(Ma,dh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:hE(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=hE(t,e)}$n(Ma),bn(Ma,t)}function sf(){$n(Ma),$n(nh),$n(rh)}function a9(e){ic(rh.current);var t=ic(Ma.current),n=hE(t,e.type);t!==n&&(bn(nh,e),bn(Ma,n))}function wD(e){nh.current===e&&($n(Ma),$n(nh))}var Ln=qu(0);function j1(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var X2=[];function ED(){for(var e=0;e<X2.length;e++)X2[e]._workInProgressVersionPrimary=null;X2.length=0}var b1=Ts.ReactCurrentDispatcher,Q2=Ts.ReactCurrentBatchConfig,lc=0,Fn=null,ur=null,yr=null,B1=!1,jm=!1,ih=0,b1e=0;function Fr(){throw Error(ge(321))}function DD(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!fa(e[n],t[n]))return!1;return!0}function $D(e,t,n,i,r,o){if(lc=o,Fn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,b1.current=e===null||e.memoizedState===null?w1e:E1e,e=n(i,r),jm){o=0;do{if(jm=!1,ih=0,25<=o)throw Error(ge(301));o+=1,yr=ur=null,t.updateQueue=null,b1.current=D1e,e=n(i,r)}while(jm)}if(b1.current=Z1,t=ur!==null&&ur.next!==null,lc=0,yr=ur=Fn=null,B1=!1,t)throw Error(ge(300));return e}function SD(){var e=ih!==0;return ih=0,e}function Ra(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yr===null?Fn.memoizedState=yr=e:yr=yr.next=e,yr}function Io(){if(ur===null){var e=Fn.alternate;e=e!==null?e.memoizedState:null}else e=ur.next;var t=yr===null?Fn.memoizedState:yr.next;if(t!==null)yr=t,ur=e;else{if(e===null)throw Error(ge(310));ur=e,e={memoizedState:ur.memoizedState,baseState:ur.baseState,baseQueue:ur.baseQueue,queue:ur.queue,next:null},yr===null?Fn.memoizedState=yr=e:yr=yr.next=e}return yr}function oh(e,t){return typeof t=="function"?t(e):t}function eE(e){var t=Io(),n=t.queue;if(n===null)throw Error(ge(311));n.lastRenderedReducer=e;var i=ur,r=i.baseQueue,o=n.pending;if(o!==null){if(r!==null){var a=r.next;r.next=o.next,o.next=a}i.baseQueue=r=o,n.pending=null}if(r!==null){o=r.next,i=i.baseState;var s=a=null,l=null,c=o;do{var f=c.lane;if((lc&f)===f)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:e(i,c.action);else{var p={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=p,a=i):l=l.next=p,Fn.lanes|=f,cc|=f}c=c.next}while(c!==null&&c!==o);l===null?a=i:l.next=s,fa(i,t.memoizedState)||($i=!0),t.memoizedState=i,t.baseState=a,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){r=e;do o=r.lane,Fn.lanes|=o,cc|=o,r=r.next;while(r!==e)}else r===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function tE(e){var t=Io(),n=t.queue;if(n===null)throw Error(ge(311));n.lastRenderedReducer=e;var i=n.dispatch,r=n.pending,o=t.memoizedState;if(r!==null){n.pending=null;var a=r=r.next;do o=e(o,a.action),a=a.next;while(a!==r);fa(o,t.memoizedState)||($i=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function s9(){}function u9(e,t){var n=Fn,i=Io(),r=t(),o=!fa(i.memoizedState,r);if(o&&(i.memoizedState=r,$i=!0),i=i.queue,ID(d9.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||yr!==null&&yr.memoizedState.tag&1){if(n.flags|=2048,ah(9,c9.bind(null,n,i,r,t),void 0,null),br===null)throw Error(ge(349));lc&30||l9(n,t,r)}return r}function l9(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Fn.updateQueue,t===null?(t={lastEffect:null,stores:null},Fn.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function c9(e,t,n,i){t.value=n,t.getSnapshot=i,f9(t)&&p9(e)}function d9(e,t,n){return n(function(){f9(t)&&p9(e)})}function f9(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fa(e,n)}catch{return!0}}function p9(e){var t=Ss(e,1);t!==null&&da(t,e,1,-1)}function PF(e){var t=Ra();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:oh,lastRenderedState:e},t.queue=e,e=e.dispatch=k1e.bind(null,Fn,e),[t.memoizedState,e]}function ah(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},t=Fn.updateQueue,t===null?(t={lastEffect:null,stores:null},Fn.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e)),e}function m9(){return Io().memoizedState}function _1(e,t,n,i){var r=Ra();Fn.flags|=e,r.memoizedState=ah(1|t,n,void 0,i===void 0?null:i)}function tb(e,t,n,i){var r=Io();i=i===void 0?null:i;var o=void 0;if(ur!==null){var a=ur.memoizedState;if(o=a.destroy,i!==null&&DD(i,a.deps)){r.memoizedState=ah(t,n,o,i);return}}Fn.flags|=e,r.memoizedState=ah(1|t,n,o,i)}function RF(e,t){return _1(8390656,8,e,t)}function ID(e,t){return tb(2048,8,e,t)}function h9(e,t){return tb(4,2,e,t)}function g9(e,t){return tb(4,4,e,t)}function v9(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function y9(e,t,n){return n=n!=null?n.concat([e]):null,tb(4,4,v9.bind(null,t,e),n)}function TD(){}function b9(e,t){var n=Io();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&DD(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function _9(e,t){var n=Io();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&DD(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function x9(e,t,n){return lc&21?(fa(n,t)||(n=$M(),Fn.lanes|=n,cc|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,$i=!0),e.memoizedState=n)}function _1e(e,t){var n=Kt;Kt=n!==0&&4>n?n:4,e(!0);var i=Q2.transition;Q2.transition={};try{e(!1),t()}finally{Kt=n,Q2.transition=i}}function k9(){return Io().memoizedState}function x1e(e,t,n){var i=Zu(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},w9(e))E9(t,n);else if(n=i9(e,t,n,i),n!==null){var r=li();da(n,e,i,r),D9(n,t,i)}}function k1e(e,t,n){var i=Zu(e),r={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(w9(e))E9(t,r);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(r.hasEagerState=!0,r.eagerState=s,fa(s,a)){var l=t.interleaved;l===null?(r.next=r,_D(t)):(r.next=l.next,l.next=r),t.interleaved=r;return}}catch{}finally{}n=i9(e,t,r,i),n!==null&&(r=li(),da(n,e,i,r),D9(n,t,i))}}function w9(e){var t=e.alternate;return e===Fn||t!==null&&t===Fn}function E9(e,t){jm=B1=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function D9(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,aD(e,n)}}var Z1={readContext:So,useCallback:Fr,useContext:Fr,useEffect:Fr,useImperativeHandle:Fr,useInsertionEffect:Fr,useLayoutEffect:Fr,useMemo:Fr,useReducer:Fr,useRef:Fr,useState:Fr,useDebugValue:Fr,useDeferredValue:Fr,useTransition:Fr,useMutableSource:Fr,useSyncExternalStore:Fr,useId:Fr,unstable_isNewReconciler:!1},w1e={readContext:So,useCallback:function(e,t){return Ra().memoizedState=[e,t===void 0?null:t],e},useContext:So,useEffect:RF,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_1(4194308,4,v9.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _1(4194308,4,e,t)},useInsertionEffect:function(e,t){return _1(4,2,e,t)},useMemo:function(e,t){var n=Ra();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Ra();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=x1e.bind(null,Fn,e),[i.memoizedState,e]},useRef:function(e){var t=Ra();return e={current:e},t.memoizedState=e},useState:PF,useDebugValue:TD,useDeferredValue:function(e){return Ra().memoizedState=e},useTransition:function(){var e=PF(!1),t=e[0];return e=_1e.bind(null,e[1]),Ra().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Fn,r=Ra();if(Cn){if(n===void 0)throw Error(ge(407));n=n()}else{if(n=t(),br===null)throw Error(ge(349));lc&30||l9(i,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,RF(d9.bind(null,i,o,e),[e]),i.flags|=2048,ah(9,c9.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Ra(),t=br.identifierPrefix;if(Cn){var n=ws,i=ks;n=(i&~(1<<32-ca(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=ih++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=b1e++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},E1e={readContext:So,useCallback:b9,useContext:So,useEffect:ID,useImperativeHandle:y9,useInsertionEffect:h9,useLayoutEffect:g9,useMemo:_9,useReducer:eE,useRef:m9,useState:function(){return eE(oh)},useDebugValue:TD,useDeferredValue:function(e){var t=Io();return x9(t,ur.memoizedState,e)},useTransition:function(){var e=eE(oh)[0],t=Io().memoizedState;return[e,t]},useMutableSource:s9,useSyncExternalStore:u9,useId:k9,unstable_isNewReconciler:!1},D1e={readContext:So,useCallback:b9,useContext:So,useEffect:ID,useImperativeHandle:y9,useInsertionEffect:h9,useLayoutEffect:g9,useMemo:_9,useReducer:tE,useRef:m9,useState:function(){return tE(oh)},useDebugValue:TD,useDeferredValue:function(e){var t=Io();return ur===null?t.memoizedState=e:x9(t,ur.memoizedState,e)},useTransition:function(){var e=tE(oh)[0],t=Io().memoizedState;return[e,t]},useMutableSource:s9,useSyncExternalStore:u9,useId:k9,unstable_isNewReconciler:!1};function sa(e,t){if(e&&e.defaultProps){t=Mn({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function RE(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:Mn({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var nb={isMounted:function(e){return(e=e._reactInternals)?pc(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=li(),r=Zu(e),o=Es(i,r);o.payload=t,n!=null&&(o.callback=n),t=ju(e,o,r),t!==null&&(da(t,e,r,i),y1(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=li(),r=Zu(e),o=Es(i,r);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=ju(e,o,r),t!==null&&(da(t,e,r,i),y1(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=li(),i=Zu(e),r=Es(n,i);r.tag=2,t!=null&&(r.callback=t),t=ju(e,r,i),t!==null&&(da(t,e,i,n),y1(t,e,i))}};function LF(e,t,n,i,r,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,o,a):t.prototype&&t.prototype.isPureReactComponent?!Xm(n,i)||!Xm(r,o):!0}function $9(e,t,n){var i=!1,r=Vu,o=t.contextType;return typeof o=="object"&&o!==null?o=So(o):(r=Ii(t)?sc:jr.current,i=t.contextTypes,o=(i=i!=null)?rf(e,r):Vu),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=nb,e.stateNode=t,t._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function FF(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&nb.enqueueReplaceState(t,t.state,null)}function LE(e,t,n,i){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs={},xD(e);var o=t.contextType;typeof o=="object"&&o!==null?r.context=So(o):(o=Ii(t)?sc:jr.current,r.context=rf(e,o)),r.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(RE(e,t,o,n),r.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(t=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),t!==r.state&&nb.enqueueReplaceState(r,r.state,null),U1(e,n,r,i),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308)}function uf(e,t){try{var n="",i=t;do n+=tye(i),i=i.return;while(i);var r=n}catch(o){r=`
7
7
  Error generating stack: `+o.message+`
8
8
  `+o.stack}return{value:e,source:t,stack:r,digest:null}}function nE(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function FE(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $1e=typeof WeakMap=="function"?WeakMap:Map;function S9(e,t,n){n=Es(-1,n),n.tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){W1||(W1=!0,qE=i),FE(e,t)},n}function I9(e,t,n){n=Es(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var r=t.value;n.payload=function(){return i(r)},n.callback=function(){FE(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){FE(e,t),typeof i!="function"&&(Bu===null?Bu=new Set([this]):Bu.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function MF(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new $1e;var r=new Set;i.set(t,r)}else r=i.get(t),r===void 0&&(r=new Set,i.set(t,r));r.has(n)||(r.add(n),e=U1e.bind(null,e,t,n),t.then(e,e))}function UF(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function jF(e,t,n,i,r){return e.mode&1?(e.flags|=65536,e.lanes=r,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Es(-1,1),t.tag=2,ju(n,t,1))),n.lanes|=1),e)}var S1e=Ts.ReactCurrentOwner,$i=!1;function ui(e,t,n,i){t.child=e===null?r9(t,null,n,i):af(t,e.child,n,i)}function BF(e,t,n,i,r){n=n.render;var o=t.ref;return ef(t,r),i=$D(e,t,n,i,o,r),n=SD(),e!==null&&!$i?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Is(e,t,r)):(Cn&&n&&mD(t),t.flags|=1,ui(e,t,i,r),t.child)}function ZF(e,t,n,i,r){if(e===null){var o=n.type;return typeof o=="function"&&!LD(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,T9(e,t,o,i,r)):(e=E1(n.type,null,i,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&r)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Xm,n(a,i)&&e.ref===t.ref)return Is(e,t,r)}return t.flags|=1,e=Hu(o,i),e.ref=t.ref,e.return=t,t.child=e}function T9(e,t,n,i,r){if(e!==null){var o=e.memoizedProps;if(Xm(o,i)&&e.ref===t.ref)if($i=!1,t.pendingProps=i=o,(e.lanes&r)!==0)e.flags&131072&&($i=!0);else return t.lanes=e.lanes,Is(e,t,r)}return ME(e,t,n,i,r)}function C9(e,t,n){var i=t.pendingProps,r=i.children,o=e!==null?e.memoizedState:null;if(i.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},bn(Jd,Vi),Vi|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,bn(Jd,Vi),Vi|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=o!==null?o.baseLanes:n,bn(Jd,Vi),Vi|=i}else o!==null?(i=o.baseLanes|n,t.memoizedState=null):i=n,bn(Jd,Vi),Vi|=i;return ui(e,t,r,n),t.child}function A9(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ME(e,t,n,i,r){var o=Ii(n)?sc:jr.current;return o=rf(t,o),ef(t,r),n=$D(e,t,n,i,o,r),i=SD(),e!==null&&!$i?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,Is(e,t,r)):(Cn&&i&&mD(t),t.flags|=1,ui(e,t,n,r),t.child)}function HF(e,t,n,i,r){if(Ii(n)){var o=!0;P1(t)}else o=!1;if(ef(t,r),t.stateNode===null)x1(e,t),$9(t,n,i),LE(t,n,i,r),i=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=So(c):(c=Ii(n)?sc:jr.current,c=rf(t,c));var f=n.getDerivedStateFromProps,p=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==i||l!==c)&&FF(t,a,i,c),Nu=!1;var h=t.memoizedState;a.state=h,U1(t,i,a,r),l=t.memoizedState,s!==i||h!==l||Si.current||Nu?(typeof f=="function"&&(RE(t,n,f,i),l=t.memoizedState),(s=Nu||LF(t,n,s,i,h,l,c))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=l),a.props=i,a.state=l,a.context=c,i=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{a=t.stateNode,o9(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:sa(t.type,s),a.props=c,p=t.pendingProps,h=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=So(l):(l=Ii(n)?sc:jr.current,l=rf(t,l));var v=n.getDerivedStateFromProps;(f=typeof v=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==p||h!==l)&&FF(t,a,i,l),Nu=!1,h=t.memoizedState,a.state=h,U1(t,i,a,r);var b=t.memoizedState;s!==p||h!==b||Si.current||Nu?(typeof v=="function"&&(RE(t,n,v,i),b=t.memoizedState),(c=Nu||LF(t,n,c,i,h,b,l)||!1)?(f||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(i,b,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(i,b,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=b),a.props=i,a.state=b,a.context=l,i=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),i=!1)}return UE(e,t,n,i,o,r)}function UE(e,t,n,i,r,o){A9(e,t);var a=(t.flags&128)!==0;if(!i&&!a)return r&&TF(t,n,!1),Is(e,t,o);i=t.stateNode,S1e.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&a?(t.child=af(t,e.child,null,o),t.child=af(t,null,s,o)):ui(e,t,s,o),t.memoizedState=i.state,r&&TF(t,n,!0),t.child}function N9(e){var t=e.stateNode;t.pendingContext?IF(e,t.pendingContext,t.pendingContext!==t.context):t.context&&IF(e,t.context,!1),kD(e,t.containerInfo)}function WF(e,t,n,i,r){return of(),gD(r),t.flags|=256,ui(e,t,n,i),t.child}var jE={dehydrated:null,treeContext:null,retryLane:0};function BE(e){return{baseLanes:e,cachePool:null,transitions:null}}function O9(e,t,n){var i=t.pendingProps,r=Ln.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(r&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(r|=1),bn(Ln,r&1),e===null)return zE(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=i.children,e=i.fallback,o?(i=t.mode,o=t.child,a={mode:"hidden",children:a},!(i&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=ob(a,i,0,null),e=ac(e,i,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=BE(n),t.memoizedState=jE,e):CD(t,a));if(r=e.memoizedState,r!==null&&(s=r.dehydrated,s!==null))return I1e(e,t,a,i,s,r,n);if(o){o=i.fallback,a=t.mode,r=e.child,s=r.sibling;var l={mode:"hidden",children:i.children};return!(a&1)&&t.child!==r?(i=t.child,i.childLanes=0,i.pendingProps=l,t.deletions=null):(i=Hu(r,l),i.subtreeFlags=r.subtreeFlags&14680064),s!==null?o=Hu(s,o):(o=ac(o,a,n,null),o.flags|=2),o.return=t,i.return=t,i.sibling=o,t.child=i,i=o,o=t.child,a=e.child.memoizedState,a=a===null?BE(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=jE,i}return o=e.child,e=o.sibling,i=Hu(o,{mode:"visible",children:i.children}),!(t.mode&1)&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function CD(e,t){return t=ob({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function f1(e,t,n,i){return i!==null&&gD(i),af(t,e.child,null,n),e=CD(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function I1e(e,t,n,i,r,o,a){if(n)return t.flags&256?(t.flags&=-257,i=nE(Error(ge(422))),f1(e,t,a,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=i.fallback,r=t.mode,i=ob({mode:"visible",children:i.children},r,0,null),o=ac(o,r,a,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&af(t,e.child,null,a),t.child.memoizedState=BE(a),t.memoizedState=jE,o);if(!(t.mode&1))return f1(e,t,a,null);if(r.data==="$!"){if(i=r.nextSibling&&r.nextSibling.dataset,i)var s=i.dgst;return i=s,o=Error(ge(419)),i=nE(o,i,void 0),f1(e,t,a,i)}if(s=(a&e.childLanes)!==0,$i||s){if(i=br,i!==null){switch(a&-a){case 4:r=2;break;case 16:r=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}r=r&(i.suspendedLanes|a)?0:r,r!==0&&r!==o.retryLane&&(o.retryLane=r,Ss(e,r),da(i,e,r,-1))}return RD(),i=nE(Error(ge(421))),f1(e,t,a,i)}return r.data==="$?"?(t.flags|=128,t.child=e.child,t=j1e.bind(null,e),r._reactRetry=t,null):(e=o.treeContext,Gi=Uu(r.nextSibling),qi=t,Cn=!0,la=null,e!==null&&(wo[Eo++]=ks,wo[Eo++]=ws,wo[Eo++]=uc,ks=e.id,ws=e.overflow,uc=t),t=CD(t,i.children),t.flags|=4096,t)}function VF(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),PE(e.return,t,n)}function rE(e,t,n,i,r){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=i,o.tail=n,o.tailMode=r)}function z9(e,t,n){var i=t.pendingProps,r=i.revealOrder,o=i.tail;if(ui(e,t,i.children,n),i=Ln.current,i&2)i=i&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&VF(e,n,t);else if(e.tag===19)VF(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(bn(Ln,i),!(t.mode&1))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&j1(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),rE(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&j1(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}rE(t,!0,n,null,o);break;case"together":rE(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function x1(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Is(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),cc|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ge(153));if(t.child!==null){for(e=t.child,n=Hu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Hu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function T1e(e,t,n){switch(t.tag){case 3:N9(t),of();break;case 5:a9(t);break;case 1:Ii(t.type)&&P1(t);break;case 4:kD(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,r=t.memoizedProps.value;bn(F1,i._currentValue),i._currentValue=r;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(bn(Ln,Ln.current&1),t.flags|=128,null):n&t.child.childLanes?O9(e,t,n):(bn(Ln,Ln.current&1),e=Is(e,t,n),e!==null?e.sibling:null);bn(Ln,Ln.current&1);break;case 19:if(i=(n&t.childLanes)!==0,e.flags&128){if(i)return z9(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),bn(Ln,Ln.current),i)break;return null;case 22:case 23:return t.lanes=0,C9(e,t,n)}return Is(e,t,n)}var P9,ZE,R9,L9;P9=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};ZE=function(){};R9=function(e,t,n,i){var r=e.memoizedProps;if(r!==i){e=t.stateNode,ic(Ma.current);var o=null;switch(n){case"input":r=dE(e,r),i=dE(e,i),o=[];break;case"select":r=Mn({},r,{value:void 0}),i=Mn({},i,{value:void 0}),o=[];break;case"textarea":r=mE(e,r),i=mE(e,i),o=[];break;default:typeof r.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=O1)}gE(n,i);var a;n=null;for(c in r)if(!i.hasOwnProperty(c)&&r.hasOwnProperty(c)&&r[c]!=null)if(c==="style"){var s=r[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Wm.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in i){var l=i[c];if(s=r?.[c],i.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Wm.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Dn("scroll",e),o||s===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};L9=function(e,t,n,i){n!==i&&(t.flags|=4)};function Tm(e,t){if(!Cn)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Mr(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&14680064,i|=r.flags&14680064,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function C1e(e,t,n){var i=t.pendingProps;switch(hD(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mr(t),null;case 1:return Ii(t.type)&&z1(),Mr(t),null;case 3:return i=t.stateNode,sf(),$n(Si),$n(jr),ED(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(c1(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,la!==null&&(KE(la),la=null))),ZE(e,t),Mr(t),null;case 5:wD(t);var r=ic(rh.current);if(n=t.type,e!==null&&t.stateNode!=null)R9(e,t,n,i,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(ge(166));return Mr(t),null}if(e=ic(Ma.current),c1(t)){i=t.stateNode,n=t.type;var o=t.memoizedProps;switch(i[La]=t,i[th]=o,e=(t.mode&1)!==0,n){case"dialog":Dn("cancel",i),Dn("close",i);break;case"iframe":case"object":case"embed":Dn("load",i);break;case"video":case"audio":for(r=0;r<Pm.length;r++)Dn(Pm[r],i);break;case"source":Dn("error",i);break;case"img":case"image":case"link":Dn("error",i),Dn("load",i);break;case"details":Dn("toggle",i);break;case"input":eF(i,o),Dn("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!o.multiple},Dn("invalid",i);break;case"textarea":nF(i,o),Dn("invalid",i)}gE(n,o),r=null;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];a==="children"?typeof s=="string"?i.textContent!==s&&(o.suppressHydrationWarning!==!0&&l1(i.textContent,s,e),r=["children",s]):typeof s=="number"&&i.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&l1(i.textContent,s,e),r=["children",""+s]):Wm.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Dn("scroll",i)}switch(n){case"input":Ky(i),tF(i,o,!0);break;case"textarea":Ky(i),rF(i);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(i.onclick=O1)}i=r,t.updateQueue=i,i!==null&&(t.flags|=4)}else{a=r.nodeType===9?r:r.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=dM(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=a.createElement(n,{is:i.is}):(e=a.createElement(n),n==="select"&&(a=e,i.multiple?a.multiple=!0:i.size&&(a.size=i.size))):e=a.createElementNS(e,n),e[La]=t,e[th]=i,P9(e,t,!1,!1),t.stateNode=e;e:{switch(a=vE(n,i),n){case"dialog":Dn("cancel",e),Dn("close",e),r=i;break;case"iframe":case"object":case"embed":Dn("load",e),r=i;break;case"video":case"audio":for(r=0;r<Pm.length;r++)Dn(Pm[r],e);r=i;break;case"source":Dn("error",e),r=i;break;case"img":case"image":case"link":Dn("error",e),Dn("load",e),r=i;break;case"details":Dn("toggle",e),r=i;break;case"input":eF(e,i),r=dE(e,i),Dn("invalid",e);break;case"option":r=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},r=Mn({},i,{value:void 0}),Dn("invalid",e);break;case"textarea":nF(e,i),r=mE(e,i),Dn("invalid",e);break;default:r=i}gE(n,r),s=r;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?mM(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&fM(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Vm(e,l):typeof l=="number"&&Vm(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Wm.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Dn("scroll",e):l!=null&&eD(e,o,l,a))}switch(n){case"input":Ky(e),tF(e,i,!1);break;case"textarea":Ky(e),rF(e);break;case"option":i.value!=null&&e.setAttribute("value",""+Wu(i.value));break;case"select":e.multiple=!!i.multiple,o=i.value,o!=null?Yd(e,!!i.multiple,o,!1):i.defaultValue!=null&&Yd(e,!!i.multiple,i.defaultValue,!0);break;default:typeof r.onClick=="function"&&(e.onclick=O1)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Mr(t),null;case 6:if(e&&t.stateNode!=null)L9(e,t,e.memoizedProps,i);else{if(typeof i!="string"&&t.stateNode===null)throw Error(ge(166));if(n=ic(rh.current),ic(Ma.current),c1(t)){if(i=t.stateNode,n=t.memoizedProps,i[La]=t,(o=i.nodeValue!==n)&&(e=qi,e!==null))switch(e.tag){case 3:l1(i.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&l1(i.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[La]=t,t.stateNode=i}return Mr(t),null;case 13:if($n(Ln),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Cn&&Gi!==null&&t.mode&1&&!(t.flags&128))t9(),of(),t.flags|=98560,o=!1;else if(o=c1(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error(ge(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(ge(317));o[La]=t}else of(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Mr(t),o=!1}else la!==null&&(KE(la),la=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Ln.current&1?lr===0&&(lr=3):RD())),t.updateQueue!==null&&(t.flags|=4),Mr(t),null);case 4:return sf(),ZE(e,t),e===null&&Qm(t.stateNode.containerInfo),Mr(t),null;case 10:return bD(t.type._context),Mr(t),null;case 17:return Ii(t.type)&&z1(),Mr(t),null;case 19:if($n(Ln),o=t.memoizedState,o===null)return Mr(t),null;if(i=(t.flags&128)!==0,a=o.rendering,a===null)if(i)Tm(o,!1);else{if(lr!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=j1(e),a!==null){for(t.flags|=128,Tm(o,!1),i=a.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)o=n,e=i,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return bn(Ln,Ln.current&1|2),t.child}e=e.sibling}o.tail!==null&&qn()>lf&&(t.flags|=128,i=!0,Tm(o,!1),t.lanes=4194304)}else{if(!i)if(e=j1(a),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Tm(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Cn)return Mr(t),null}else 2*qn()-o.renderingStartTime>lf&&n!==1073741824&&(t.flags|=128,i=!0,Tm(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=qn(),t.sibling=null,n=Ln.current,bn(Ln,i?n&1|2:n&1),t):(Mr(t),null);case 22:case 23:return PD(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Vi&1073741824&&(Mr(t),t.subtreeFlags&6&&(t.flags|=8192)):Mr(t),null;case 24:return null;case 25:return null}throw Error(ge(156,t.tag))}function A1e(e,t){switch(hD(t),t.tag){case 1:return Ii(t.type)&&z1(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sf(),$n(Si),$n(jr),ED(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return wD(t),null;case 13:if($n(Ln),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ge(340));of()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $n(Ln),null;case 4:return sf(),null;case 10:return bD(t.type._context),null;case 22:case 23:return PD(),null;case 24:return null;default:return null}}var p1=!1,Ur=!1,N1e=typeof WeakSet=="function"?WeakSet:Set,Me=null;function qd(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){jn(e,t,i)}else n.current=null}function HE(e,t,n){try{n()}catch(i){jn(e,t,i)}}var GF=!1;function O1e(e,t){if(SE=C1,e=BM(),pD(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var r=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,f=0,p=e,h=null;t:for(;;){for(var v;p!==n||r!==0&&p.nodeType!==3||(s=a+r),p!==o||i!==0&&p.nodeType!==3||(l=a+i),p.nodeType===3&&(a+=p.nodeValue.length),(v=p.firstChild)!==null;)h=p,p=v;for(;;){if(p===e)break t;if(h===n&&++c===r&&(s=a),h===o&&++f===i&&(l=a),(v=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(IE={focusedElem:e,selectionRange:n},C1=!1,Me=t;Me!==null;)if(t=Me,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Me=e;else for(;Me!==null;){t=Me;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var k=b.memoizedProps,$=b.memoizedState,x=t.stateNode,E=x.getSnapshotBeforeUpdate(t.elementType===t.type?k:sa(t.type,k),$);x.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ge(163))}}catch(T){jn(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,Me=e;break}Me=t.return}return b=GF,GF=!1,b}function Bm(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var r=i=i.next;do{if((r.tag&e)===e){var o=r.destroy;r.destroy=void 0,o!==void 0&&HE(t,n,o)}r=r.next}while(r!==i)}}function rb(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function WE(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function F9(e){var t=e.alternate;t!==null&&(e.alternate=null,F9(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[La],delete t[th],delete t[AE],delete t[h1e],delete t[g1e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function M9(e){return e.tag===5||e.tag===3||e.tag===4}function qF(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||M9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function VE(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=O1));else if(i!==4&&(e=e.child,e!==null))for(VE(e,t,n),e=e.sibling;e!==null;)VE(e,t,n),e=e.sibling}function GE(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(GE(e,t,n),e=e.sibling;e!==null;)GE(e,t,n),e=e.sibling}var $r=null,ua=!1;function Cu(e,t,n){for(n=n.child;n!==null;)U9(e,t,n),n=n.sibling}function U9(e,t,n){if(Fa&&typeof Fa.onCommitFiberUnmount=="function")try{Fa.onCommitFiberUnmount(J1,n)}catch{}switch(n.tag){case 5:Ur||qd(n,t);case 6:var i=$r,r=ua;$r=null,Cu(e,t,n),$r=i,ua=r,$r!==null&&(ua?(e=$r,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$r.removeChild(n.stateNode));break;case 18:$r!==null&&(ua?(e=$r,n=n.stateNode,e.nodeType===8?Y2(e.parentNode,n):e.nodeType===1&&Y2(e,n),Ym(e)):Y2($r,n.stateNode));break;case 4:i=$r,r=ua,$r=n.stateNode.containerInfo,ua=!0,Cu(e,t,n),$r=i,ua=r;break;case 0:case 11:case 14:case 15:if(!Ur&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){r=i=i.next;do{var o=r,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&HE(n,t,a),r=r.next}while(r!==i)}Cu(e,t,n);break;case 1:if(!Ur&&(qd(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(s){jn(n,t,s)}Cu(e,t,n);break;case 21:Cu(e,t,n);break;case 22:n.mode&1?(Ur=(i=Ur)||n.memoizedState!==null,Cu(e,t,n),Ur=i):Cu(e,t,n);break;default:Cu(e,t,n)}}function JF(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new N1e),t.forEach(function(i){var r=B1e.bind(null,e,i);n.has(i)||(n.add(i),i.then(r,r))})}}function aa(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];try{var o=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:$r=s.stateNode,ua=!1;break e;case 3:$r=s.stateNode.containerInfo,ua=!0;break e;case 4:$r=s.stateNode.containerInfo,ua=!0;break e}s=s.return}if($r===null)throw Error(ge(160));U9(o,a,r),$r=null,ua=!1;var l=r.alternate;l!==null&&(l.return=null),r.return=null}catch(c){jn(r,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)j9(t,e),t=t.sibling}function j9(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(aa(t,e),Pa(e),i&4){try{Bm(3,e,e.return),rb(3,e)}catch(k){jn(e,e.return,k)}try{Bm(5,e,e.return)}catch(k){jn(e,e.return,k)}}break;case 1:aa(t,e),Pa(e),i&512&&n!==null&&qd(n,n.return);break;case 5:if(aa(t,e),Pa(e),i&512&&n!==null&&qd(n,n.return),e.flags&32){var r=e.stateNode;try{Vm(r,"")}catch(k){jn(e,e.return,k)}}if(i&4&&(r=e.stateNode,r!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&lM(r,o),vE(s,a);var c=vE(s,o);for(a=0;a<l.length;a+=2){var f=l[a],p=l[a+1];f==="style"?mM(r,p):f==="dangerouslySetInnerHTML"?fM(r,p):f==="children"?Vm(r,p):eD(r,f,p,c)}switch(s){case"input":fE(r,o);break;case"textarea":cM(r,o);break;case"select":var h=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var v=o.value;v!=null?Yd(r,!!o.multiple,v,!1):h!==!!o.multiple&&(o.defaultValue!=null?Yd(r,!!o.multiple,o.defaultValue,!0):Yd(r,!!o.multiple,o.multiple?[]:"",!1))}r[th]=o}catch(k){jn(e,e.return,k)}}break;case 6:if(aa(t,e),Pa(e),i&4){if(e.stateNode===null)throw Error(ge(162));r=e.stateNode,o=e.memoizedProps;try{r.nodeValue=o}catch(k){jn(e,e.return,k)}}break;case 3:if(aa(t,e),Pa(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{Ym(t.containerInfo)}catch(k){jn(e,e.return,k)}break;case 4:aa(t,e),Pa(e);break;case 13:aa(t,e),Pa(e),r=e.child,r.flags&8192&&(o=r.memoizedState!==null,r.stateNode.isHidden=o,!o||r.alternate!==null&&r.alternate.memoizedState!==null||(OD=qn())),i&4&&JF(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Ur=(c=Ur)||f,aa(t,e),Ur=c):aa(t,e),Pa(e),i&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!f&&e.mode&1)for(Me=e,f=e.child;f!==null;){for(p=Me=f;Me!==null;){switch(h=Me,v=h.child,h.tag){case 0:case 11:case 14:case 15:Bm(4,h,h.return);break;case 1:qd(h,h.return);var b=h.stateNode;if(typeof b.componentWillUnmount=="function"){i=h,n=h.return;try{t=i,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(k){jn(i,n,k)}}break;case 5:qd(h,h.return);break;case 22:if(h.memoizedState!==null){KF(p);continue}}v!==null?(v.return=h,Me=v):KF(p)}f=f.sibling}e:for(f=null,p=e;;){if(p.tag===5){if(f===null){f=p;try{r=p.stateNode,c?(o=r.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=p.stateNode,l=p.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=pM("display",a))}catch(k){jn(e,e.return,k)}}}else if(p.tag===6){if(f===null)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(k){jn(e,e.return,k)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;f===p&&(f=null),p=p.return}f===p&&(f=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:aa(t,e),Pa(e),i&4&&JF(e);break;case 21:break;default:aa(t,e),Pa(e)}}function Pa(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(M9(n)){var i=n;break e}n=n.return}throw Error(ge(160))}switch(i.tag){case 5:var r=i.stateNode;i.flags&32&&(Vm(r,""),i.flags&=-33);var o=qF(e);GE(e,o,r);break;case 3:case 4:var a=i.stateNode.containerInfo,s=qF(e);VE(e,s,a);break;default:throw Error(ge(161))}}catch(l){jn(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function z1e(e,t,n){Me=e,B9(e,t,n)}function B9(e,t,n){for(var i=(e.mode&1)!==0;Me!==null;){var r=Me,o=r.child;if(r.tag===22&&i){var a=r.memoizedState!==null||p1;if(!a){var s=r.alternate,l=s!==null&&s.memoizedState!==null||Ur;s=p1;var c=Ur;if(p1=a,(Ur=l)&&!c)for(Me=r;Me!==null;)a=Me,l=a.child,a.tag===22&&a.memoizedState!==null?XF(r):l!==null?(l.return=a,Me=l):XF(r);for(;o!==null;)Me=o,B9(o,t,n),o=o.sibling;Me=r,p1=s,Ur=c}YF(e,t,n)}else r.subtreeFlags&8772&&o!==null?(o.return=r,Me=o):YF(e,t,n)}}function YF(e){for(;Me!==null;){var t=Me;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ur||rb(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!Ur)if(n===null)i.componentDidMount();else{var r=t.elementType===t.type?n.memoizedProps:sa(t.type,n.memoizedProps);i.componentDidUpdate(r,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&zF(t,o,i);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}zF(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var f=c.memoizedState;if(f!==null){var p=f.dehydrated;p!==null&&Ym(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ge(163))}Ur||t.flags&512&&WE(t)}catch(h){jn(t,t.return,h)}}if(t===e){Me=null;break}if(n=t.sibling,n!==null){n.return=t.return,Me=n;break}Me=t.return}}function KF(e){for(;Me!==null;){var t=Me;if(t===e){Me=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Me=n;break}Me=t.return}}function XF(e){for(;Me!==null;){var t=Me;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rb(4,t)}catch(l){jn(t,n,l)}break;case 1:var i=t.stateNode;if(typeof i.componentDidMount=="function"){var r=t.return;try{i.componentDidMount()}catch(l){jn(t,r,l)}}var o=t.return;try{WE(t)}catch(l){jn(t,o,l)}break;case 5:var a=t.return;try{WE(t)}catch(l){jn(t,a,l)}}}catch(l){jn(t,t.return,l)}if(t===e){Me=null;break}var s=t.sibling;if(s!==null){s.return=t.return,Me=s;break}Me=t.return}}var P1e=Math.ceil,H1=Ts.ReactCurrentDispatcher,AD=Ts.ReactCurrentOwner,$o=Ts.ReactCurrentBatchConfig,Bt=0,br=null,Qn=null,Sr=0,Vi=0,Jd=qu(0),lr=0,sh=null,cc=0,ib=0,ND=0,Zm=null,Di=null,OD=0,lf=1/0,_s=null,W1=!1,qE=null,Bu=null,m1=!1,Ru=null,V1=0,Hm=0,JE=null,k1=-1,w1=0;function li(){return Bt&6?qn():k1!==-1?k1:k1=qn()}function Zu(e){return e.mode&1?Bt&2&&Sr!==0?Sr&-Sr:y1e.transition!==null?(w1===0&&(w1=$M()),w1):(e=Kt,e!==0||(e=window.event,e=e===void 0?16:OM(e.type)),e):1}function da(e,t,n,i){if(50<Hm)throw Hm=0,JE=null,Error(ge(185));uh(e,n,i),(!(Bt&2)||e!==br)&&(e===br&&(!(Bt&2)&&(ib|=n),lr===4&&zu(e,Sr)),Ti(e,i),n===1&&Bt===0&&!(t.mode&1)&&(lf=qn()+500,eb&&Ju()))}function Ti(e,t){var n=e.callbackNode;_ye(e,t);var i=T1(e,e===br?Sr:0);if(i===0)n!==null&&aF(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(n!=null&&aF(n),t===1)e.tag===0?v1e(QF.bind(null,e)):XM(QF.bind(null,e)),p1e(function(){!(Bt&6)&&Ju()}),n=null;else{switch(SM(i)){case 1:n=oD;break;case 4:n=EM;break;case 16:n=I1;break;case 536870912:n=DM;break;default:n=I1}n=Y9(n,Z9.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Z9(e,t){if(k1=-1,w1=0,Bt&6)throw Error(ge(327));var n=e.callbackNode;if(tf()&&e.callbackNode!==n)return null;var i=T1(e,e===br?Sr:0);if(i===0)return null;if(i&30||i&e.expiredLanes||t)t=G1(e,i);else{t=i;var r=Bt;Bt|=2;var o=W9();(br!==e||Sr!==t)&&(_s=null,lf=qn()+500,oc(e,t));do try{F1e();break}catch(s){H9(e,s)}while(!0);yD(),H1.current=o,Bt=r,Qn!==null?t=0:(br=null,Sr=0,t=lr)}if(t!==0){if(t===2&&(r=kE(e),r!==0&&(i=r,t=YE(e,r))),t===1)throw n=sh,oc(e,0),zu(e,i),Ti(e,qn()),n;if(t===6)zu(e,i);else{if(r=e.current.alternate,!(i&30)&&!R1e(r)&&(t=G1(e,i),t===2&&(o=kE(e),o!==0&&(i=o,t=YE(e,o))),t===1))throw n=sh,oc(e,0),zu(e,i),Ti(e,qn()),n;switch(e.finishedWork=r,e.finishedLanes=i,t){case 0:case 1:throw Error(ge(345));case 2:tc(e,Di,_s);break;case 3:if(zu(e,i),(i&130023424)===i&&(t=OD+500-qn(),10<t)){if(T1(e,0)!==0)break;if(r=e.suspendedLanes,(r&i)!==i){li(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=CE(tc.bind(null,e,Di,_s),t);break}tc(e,Di,_s);break;case 4:if(zu(e,i),(i&4194240)===i)break;for(t=e.eventTimes,r=-1;0<i;){var a=31-ca(i);o=1<<a,a=t[a],a>r&&(r=a),i&=~o}if(i=r,i=qn()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*P1e(i/1960))-i,10<i){e.timeoutHandle=CE(tc.bind(null,e,Di,_s),i);break}tc(e,Di,_s);break;case 5:tc(e,Di,_s);break;default:throw Error(ge(329))}}}return Ti(e,qn()),e.callbackNode===n?Z9.bind(null,e):null}function YE(e,t){var n=Zm;return e.current.memoizedState.isDehydrated&&(oc(e,t).flags|=256),e=G1(e,t),e!==2&&(t=Di,Di=n,t!==null&&KE(t)),e}function KE(e){Di===null?Di=e:Di.push.apply(Di,e)}function R1e(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var i=0;i<n.length;i++){var r=n[i],o=r.getSnapshot;r=r.value;try{if(!fa(o(),r))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function zu(e,t){for(t&=~ND,t&=~ib,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ca(t),i=1<<n;e[n]=-1,t&=~i}}function QF(e){if(Bt&6)throw Error(ge(327));tf();var t=T1(e,0);if(!(t&1))return Ti(e,qn()),null;var n=G1(e,t);if(e.tag!==0&&n===2){var i=kE(e);i!==0&&(t=i,n=YE(e,i))}if(n===1)throw n=sh,oc(e,0),zu(e,t),Ti(e,qn()),n;if(n===6)throw Error(ge(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,tc(e,Di,_s),Ti(e,qn()),null}function zD(e,t){var n=Bt;Bt|=1;try{return e(t)}finally{Bt=n,Bt===0&&(lf=qn()+500,eb&&Ju())}}function dc(e){Ru!==null&&Ru.tag===0&&!(Bt&6)&&tf();var t=Bt;Bt|=1;var n=$o.transition,i=Kt;try{if($o.transition=null,Kt=1,e)return e()}finally{Kt=i,$o.transition=n,Bt=t,!(Bt&6)&&Ju()}}function PD(){Vi=Jd.current,$n(Jd)}function oc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,f1e(n)),Qn!==null)for(n=Qn.return;n!==null;){var i=n;switch(hD(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&z1();break;case 3:sf(),$n(Si),$n(jr),ED();break;case 5:wD(i);break;case 4:sf();break;case 13:$n(Ln);break;case 19:$n(Ln);break;case 10:bD(i.type._context);break;case 22:case 23:PD()}n=n.return}if(br=e,Qn=e=Hu(e.current,null),Sr=Vi=t,lr=0,sh=null,ND=ib=cc=0,Di=Zm=null,rc!==null){for(t=0;t<rc.length;t++)if(n=rc[t],i=n.interleaved,i!==null){n.interleaved=null;var r=i.next,o=n.pending;if(o!==null){var a=o.next;o.next=r,i.next=a}n.pending=i}rc=null}return e}function H9(e,t){do{var n=Qn;try{if(yD(),b1.current=Z1,B1){for(var i=Fn.memoizedState;i!==null;){var r=i.queue;r!==null&&(r.pending=null),i=i.next}B1=!1}if(lc=0,yr=ur=Fn=null,jm=!1,ih=0,AD.current=null,n===null||n.return===null){lr=1,sh=t,Qn=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=Sr,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,f=s,p=f.tag;if(!(f.mode&1)&&(p===0||p===11||p===15)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var v=UF(a);if(v!==null){v.flags&=-257,jF(v,a,s,o,t),v.mode&1&&MF(o,c,t),t=v,l=c;var b=t.updateQueue;if(b===null){var k=new Set;k.add(l),t.updateQueue=k}else b.add(l);break e}else{if(!(t&1)){MF(o,c,t),RD();break e}l=Error(ge(426))}}else if(Cn&&s.mode&1){var $=UF(a);if($!==null){!($.flags&65536)&&($.flags|=256),jF($,a,s,o,t),gD(uf(l,s));break e}}o=l=uf(l,s),lr!==4&&(lr=2),Zm===null?Zm=[o]:Zm.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var x=S9(o,l,t);OF(o,x);break e;case 1:s=l;var E=o.type,w=o.stateNode;if(!(o.flags&128)&&(typeof E.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Bu===null||!Bu.has(w)))){o.flags|=65536,t&=-t,o.lanes|=t;var T=I9(o,s,t);OF(o,T);break e}}o=o.return}while(o!==null)}G9(n)}catch(M){t=M,Qn===n&&n!==null&&(Qn=n=n.return);continue}break}while(!0)}function W9(){var e=H1.current;return H1.current=Z1,e===null?Z1:e}function RD(){(lr===0||lr===3||lr===2)&&(lr=4),br===null||!(cc&268435455)&&!(ib&268435455)||zu(br,Sr)}function G1(e,t){var n=Bt;Bt|=2;var i=W9();(br!==e||Sr!==t)&&(_s=null,oc(e,t));do try{L1e();break}catch(r){H9(e,r)}while(!0);if(yD(),Bt=n,H1.current=i,Qn!==null)throw Error(ge(261));return br=null,Sr=0,lr}function L1e(){for(;Qn!==null;)V9(Qn)}function F1e(){for(;Qn!==null&&!dye();)V9(Qn)}function V9(e){var t=J9(e.alternate,e,Vi);e.memoizedProps=e.pendingProps,t===null?G9(e):Qn=t,AD.current=null}function G9(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=A1e(n,t),n!==null){n.flags&=32767,Qn=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{lr=6,Qn=null;return}}else if(n=C1e(n,t,Vi),n!==null){Qn=n;return}if(t=t.sibling,t!==null){Qn=t;return}Qn=t=e}while(t!==null);lr===0&&(lr=5)}function tc(e,t,n){var i=Kt,r=$o.transition;try{$o.transition=null,Kt=1,M1e(e,t,n,i)}finally{$o.transition=r,Kt=i}return null}function M1e(e,t,n,i){do tf();while(Ru!==null);if(Bt&6)throw Error(ge(327));n=e.finishedWork;var r=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(ge(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(xye(e,o),e===br&&(Qn=br=null,Sr=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||m1||(m1=!0,Y9(I1,function(){return tf(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=$o.transition,$o.transition=null;var a=Kt;Kt=1;var s=Bt;Bt|=4,AD.current=null,O1e(e,n),j9(n,e),s1e(IE),C1=!!SE,IE=SE=null,e.current=n,z1e(n,e,r),fye(),Bt=s,Kt=a,$o.transition=o}else e.current=n;if(m1&&(m1=!1,Ru=e,V1=r),o=e.pendingLanes,o===0&&(Bu=null),hye(n.stateNode,i),Ti(e,qn()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)r=t[n],i(r.value,{componentStack:r.stack,digest:r.digest});if(W1)throw W1=!1,e=qE,qE=null,e;return V1&1&&e.tag!==0&&tf(),o=e.pendingLanes,o&1?e===JE?Hm++:(Hm=0,JE=e):Hm=0,Ju(),null}function tf(){if(Ru!==null){var e=SM(V1),t=$o.transition,n=Kt;try{if($o.transition=null,Kt=16>e?16:e,Ru===null)var i=!1;else{if(e=Ru,Ru=null,V1=0,Bt&6)throw Error(ge(331));var r=Bt;for(Bt|=4,Me=e.current;Me!==null;){var o=Me,a=o.child;if(Me.flags&16){var s=o.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(Me=c;Me!==null;){var f=Me;switch(f.tag){case 0:case 11:case 15:Bm(8,f,o)}var p=f.child;if(p!==null)p.return=f,Me=p;else for(;Me!==null;){f=Me;var h=f.sibling,v=f.return;if(F9(f),f===c){Me=null;break}if(h!==null){h.return=v,Me=h;break}Me=v}}}var b=o.alternate;if(b!==null){var k=b.child;if(k!==null){b.child=null;do{var $=k.sibling;k.sibling=null,k=$}while(k!==null)}}Me=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,Me=a;else e:for(;Me!==null;){if(o=Me,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Bm(9,o,o.return)}var x=o.sibling;if(x!==null){x.return=o.return,Me=x;break e}Me=o.return}}var E=e.current;for(Me=E;Me!==null;){a=Me;var w=a.child;if(a.subtreeFlags&2064&&w!==null)w.return=a,Me=w;else e:for(a=E;Me!==null;){if(s=Me,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:rb(9,s)}}catch(M){jn(s,s.return,M)}if(s===a){Me=null;break e}var T=s.sibling;if(T!==null){T.return=s.return,Me=T;break e}Me=s.return}}if(Bt=r,Ju(),Fa&&typeof Fa.onPostCommitFiberRoot=="function")try{Fa.onPostCommitFiberRoot(J1,e)}catch{}i=!0}return i}finally{Kt=n,$o.transition=t}}return!1}function eM(e,t,n){t=uf(n,t),t=S9(e,t,1),e=ju(e,t,1),t=li(),e!==null&&(uh(e,1,t),Ti(e,t))}function jn(e,t,n){if(e.tag===3)eM(e,e,n);else for(;t!==null;){if(t.tag===3){eM(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Bu===null||!Bu.has(i))){e=uf(n,e),e=I9(t,e,1),t=ju(t,e,1),e=li(),t!==null&&(uh(t,1,e),Ti(t,e));break}}t=t.return}}function U1e(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),t=li(),e.pingedLanes|=e.suspendedLanes&n,br===e&&(Sr&n)===n&&(lr===4||lr===3&&(Sr&130023424)===Sr&&500>qn()-OD?oc(e,0):ND|=n),Ti(e,t)}function q9(e,t){t===0&&(e.mode&1?(t=e1,e1<<=1,!(e1&130023424)&&(e1=4194304)):t=1);var n=li();e=Ss(e,t),e!==null&&(uh(e,t,n),Ti(e,n))}function j1e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),q9(e,n)}function B1e(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(ge(314))}i!==null&&i.delete(t),q9(e,n)}var J9;J9=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Si.current)$i=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return $i=!1,T1e(e,t,n);$i=!!(e.flags&131072)}else $i=!1,Cn&&t.flags&1048576&&QM(t,L1,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;x1(e,t),e=t.pendingProps;var r=rf(t,jr.current);ef(t,n),r=$D(null,t,i,e,r,n);var o=SD();return t.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ii(i)?(o=!0,P1(t)):o=!1,t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,xD(t),r.updater=nb,t.stateNode=r,r._reactInternals=t,LE(t,i,e,n),t=UE(null,t,i,!0,o,n)):(t.tag=0,Cn&&o&&mD(t),ui(null,t,r,n),t=t.child),t;case 16:i=t.elementType;e:{switch(x1(e,t),e=t.pendingProps,r=i._init,i=r(i._payload),t.type=i,r=t.tag=H1e(i),e=sa(i,e),r){case 0:t=ME(null,t,i,e,n);break e;case 1:t=HF(null,t,i,e,n);break e;case 11:t=BF(null,t,i,e,n);break e;case 14:t=ZF(null,t,i,sa(i.type,e),n);break e}throw Error(ge(306,i,""))}return t;case 0:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:sa(i,r),ME(e,t,i,r,n);case 1:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:sa(i,r),HF(e,t,i,r,n);case 3:e:{if(N9(t),e===null)throw Error(ge(387));i=t.pendingProps,o=t.memoizedState,r=o.element,o9(e,t),U1(t,i,null,n);var a=t.memoizedState;if(i=a.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){r=uf(Error(ge(423)),t),t=WF(e,t,i,n,r);break e}else if(i!==r){r=uf(Error(ge(424)),t),t=WF(e,t,i,n,r);break e}else for(Gi=Uu(t.stateNode.containerInfo.firstChild),qi=t,Cn=!0,la=null,n=r9(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(of(),i===r){t=Is(e,t,n);break e}ui(e,t,i,n)}t=t.child}return t;case 5:return a9(t),e===null&&zE(t),i=t.type,r=t.pendingProps,o=e!==null?e.memoizedProps:null,a=r.children,TE(i,r)?a=null:o!==null&&TE(i,o)&&(t.flags|=32),A9(e,t),ui(e,t,a,n),t.child;case 6:return e===null&&zE(t),null;case 13:return O9(e,t,n);case 4:return kD(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=af(t,null,i,n):ui(e,t,i,n),t.child;case 11:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:sa(i,r),BF(e,t,i,r,n);case 7:return ui(e,t,t.pendingProps,n),t.child;case 8:return ui(e,t,t.pendingProps.children,n),t.child;case 12:return ui(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,r=t.pendingProps,o=t.memoizedProps,a=r.value,bn(F1,i._currentValue),i._currentValue=a,o!==null)if(fa(o.value,a)){if(o.children===r.children&&!Si.current){t=Is(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=Es(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),PE(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(ge(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),PE(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}ui(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,i=t.pendingProps.children,ef(t,n),r=So(r),i=i(r),t.flags|=1,ui(e,t,i,n),t.child;case 14:return i=t.type,r=sa(i,t.pendingProps),r=sa(i.type,r),ZF(e,t,i,r,n);case 15:return T9(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,r=t.pendingProps,r=t.elementType===i?r:sa(i,r),x1(e,t),t.tag=1,Ii(i)?(e=!0,P1(t)):e=!1,ef(t,n),$9(t,i,r),LE(t,i,r,n),UE(null,t,i,!0,e,n);case 19:return z9(e,t,n);case 22:return C9(e,t,n)}throw Error(ge(156,t.tag))};function Y9(e,t){return wM(e,t)}function Z1e(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Do(e,t,n,i){return new Z1e(e,t,n,i)}function LD(e){return e=e.prototype,!(!e||!e.isReactComponent)}function H1e(e){if(typeof e=="function")return LD(e)?1:0;if(e!=null){if(e=e.$$typeof,e===nD)return 11;if(e===rD)return 14}return 2}function Hu(e,t){var n=e.alternate;return n===null?(n=Do(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function E1(e,t,n,i,r,o){var a=2;if(i=e,typeof e=="function")LD(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Md:return ac(n.children,r,o,t);case tD:a=8,r|=8;break;case sE:return e=Do(12,n,t,r|2),e.elementType=sE,e.lanes=o,e;case uE:return e=Do(13,n,t,r),e.elementType=uE,e.lanes=o,e;case lE:return e=Do(19,n,t,r),e.elementType=lE,e.lanes=o,e;case aM:return ob(n,r,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case iM:a=10;break e;case oM:a=9;break e;case nD:a=11;break e;case rD:a=14;break e;case Au:a=16,i=null;break e}throw Error(ge(130,e==null?e:typeof e,""))}return t=Do(a,n,t,r),t.elementType=e,t.type=i,t.lanes=o,t}function ac(e,t,n,i){return e=Do(7,e,i,t),e.lanes=n,e}function ob(e,t,n,i){return e=Do(22,e,i,t),e.elementType=aM,e.lanes=n,e.stateNode={isHidden:!1},e}function iE(e,t,n){return e=Do(6,e,null,t),e.lanes=n,e}function oE(e,t,n){return t=Do(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function W1e(e,t,n,i,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=B2(0),this.expirationTimes=B2(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=B2(0),this.identifierPrefix=i,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function FD(e,t,n,i,r,o,a,s,l){return e=new W1e(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Do(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},xD(o),e}function V1e(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Fd,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}function K9(e){if(!e)return Vu;e=e._reactInternals;e:{if(pc(e)!==e||e.tag!==1)throw Error(ge(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ii(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(ge(171))}if(e.tag===1){var n=e.type;if(Ii(n))return KM(e,n,t)}return t}function X9(e,t,n,i,r,o,a,s,l){return e=FD(n,i,!0,e,r,o,a,s,l),e.context=K9(null),n=e.current,i=li(),r=Zu(n),o=Es(i,r),o.callback=t??null,ju(n,o,r),e.current.lanes=r,uh(e,r,i),Ti(e,i),e}function ab(e,t,n,i){var r=t.current,o=li(),a=Zu(r);return n=K9(n),t.context===null?t.context=n:t.pendingContext=n,t=Es(o,a),t.payload={element:e},i=i===void 0?null:i,i!==null&&(t.callback=i),e=ju(r,t,a),e!==null&&(da(e,r,a,o),y1(e,r,a)),a}function q1(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function tM(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function MD(e,t){tM(e,t),(e=e.alternate)&&tM(e,t)}function G1e(){return null}var Q9=typeof reportError=="function"?reportError:function(e){console.error(e)};function UD(e){this._internalRoot=e}sb.prototype.render=UD.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ge(409));ab(e,t,null,null)};sb.prototype.unmount=UD.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dc(function(){ab(null,e,null,null)}),t[$s]=null}};function sb(e){this._internalRoot=e}sb.prototype.unstable_scheduleHydration=function(e){if(e){var t=CM();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ou.length&&t!==0&&t<Ou[n].priority;n++);Ou.splice(n,0,e),n===0&&NM(e)}};function jD(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ub(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function nM(){}function q1e(e,t,n,i,r){if(r){if(typeof i=="function"){var o=i;i=function(){var c=q1(a);o.call(c)}}var a=X9(t,i,e,0,null,!1,!1,"",nM);return e._reactRootContainer=a,e[$s]=a.current,Qm(e.nodeType===8?e.parentNode:e),dc(),a}for(;r=e.lastChild;)e.removeChild(r);if(typeof i=="function"){var s=i;i=function(){var c=q1(l);s.call(c)}}var l=FD(e,0,!1,null,null,!1,!1,"",nM);return e._reactRootContainer=l,e[$s]=l.current,Qm(e.nodeType===8?e.parentNode:e),dc(function(){ab(t,l,n,i)}),l}function lb(e,t,n,i,r){var o=n._reactRootContainer;if(o){var a=o;if(typeof r=="function"){var s=r;r=function(){var l=q1(a);s.call(l)}}ab(t,a,e,r)}else a=q1e(n,t,e,r,i);return q1(a)}IM=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=zm(t.pendingLanes);n!==0&&(aD(t,n|1),Ti(t,qn()),!(Bt&6)&&(lf=qn()+500,Ju()))}break;case 13:dc(function(){var i=Ss(e,1);if(i!==null){var r=li();da(i,e,1,r)}}),MD(e,1)}};sD=function(e){if(e.tag===13){var t=Ss(e,134217728);if(t!==null){var n=li();da(t,e,134217728,n)}MD(e,134217728)}};TM=function(e){if(e.tag===13){var t=Zu(e),n=Ss(e,t);if(n!==null){var i=li();da(n,e,t,i)}MD(e,t)}};CM=function(){return Kt};AM=function(e,t){var n=Kt;try{return Kt=e,t()}finally{Kt=n}};bE=function(e,t,n){switch(t){case"input":if(fE(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var r=Q1(i);if(!r)throw Error(ge(90));uM(i),fE(i,r)}}}break;case"textarea":cM(e,n);break;case"select":t=n.value,t!=null&&Yd(e,!!n.multiple,t,!1)}};vM=zD;yM=dc;var J1e={usingClientEntryPoint:!1,Events:[ch,Zd,Q1,hM,gM,zD]},Cm={findFiberByHostInstance:nc,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Y1e={bundleType:Cm.bundleType,version:Cm.version,rendererPackageName:Cm.rendererPackageName,rendererConfig:Cm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ts.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xM(e),e===null?null:e.stateNode},findFiberByHostInstance:Cm.findFiberByHostInstance||G1e,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Am=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Am.isDisabled&&Am.supportsFiber))try{J1=Am.inject(Y1e),Fa=Am}catch{}var Am;Ki.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J1e;Ki.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jD(t))throw Error(ge(200));return V1e(e,t,null,n)};Ki.createRoot=function(e,t){if(!jD(e))throw Error(ge(299));var n=!1,i="",r=Q9;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(r=t.onRecoverableError)),t=FD(e,1,!1,null,null,n,!1,i,r),e[$s]=t.current,Qm(e.nodeType===8?e.parentNode:e),new UD(t)};Ki.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ge(188)):(e=Object.keys(e).join(","),Error(ge(268,e)));return e=xM(t),e=e===null?null:e.stateNode,e};Ki.flushSync=function(e){return dc(e)};Ki.hydrate=function(e,t,n){if(!ub(t))throw Error(ge(200));return lb(null,e,t,!0,n)};Ki.hydrateRoot=function(e,t,n){if(!jD(e))throw Error(ge(405));var i=n!=null&&n.hydratedSources||null,r=!1,o="",a=Q9;if(n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=X9(t,null,e,1,n??null,r,!1,o,a),e[$s]=t.current,Qm(e),i)for(e=0;e<i.length;e++)n=i[e],r=n._getVersion,r=r(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r);return new sb(t)};Ki.render=function(e,t,n){if(!ub(t))throw Error(ge(200));return lb(null,e,t,!1,n)};Ki.unmountComponentAtNode=function(e){if(!ub(e))throw Error(ge(40));return e._reactRootContainer?(dc(function(){lb(null,null,e,!1,function(){e._reactRootContainer=null,e[$s]=null})}),!0):!1};Ki.unstable_batchedUpdates=zD;Ki.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!ub(n))throw Error(ge(200));if(e==null||e._reactInternals===void 0)throw Error(ge(38));return lb(e,t,n,!1,i)};Ki.version="18.3.1-next-f1338f8080-20240426"});var cb=en((CMe,nU)=>{"use strict";function tU(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tU)}catch(e){console.error(e)}}tU(),nU.exports=eU()});var kj=en((_je,xj)=>{"use strict";var vj=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,f_e=/\n/g,p_e=/^\s*/,m_e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,h_e=/^:\s*/,g_e=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,v_e=/^[;\s]*/,y_e=/^\s+|\s+$/g,b_e=`
9
- `,yj="/",bj="*",yc="",__e="comment",x_e="declaration";function k_e(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,i=1;function r(b){var k=b.match(f_e);k&&(n+=k.length);var $=b.lastIndexOf(b_e);i=~$?b.length-$:i+b.length}function o(){var b={line:n,column:i};return function(k){return k.position=new a(b),c(),k}}function a(b){this.start=b,this.end={line:n,column:i},this.source=t.source}a.prototype.content=e;function s(b){var k=new Error(t.source+":"+n+":"+i+": "+b);if(k.reason=b,k.filename=t.source,k.line=n,k.column=i,k.source=e,!t.silent)throw k}function l(b){var k=b.exec(e);if(k){var $=k[0];return r($),e=e.slice($.length),k}}function c(){l(p_e)}function f(b){var k;for(b=b||[];k=p();)k!==!1&&b.push(k);return b}function p(){var b=o();if(!(yj!=e.charAt(0)||bj!=e.charAt(1))){for(var k=2;yc!=e.charAt(k)&&(bj!=e.charAt(k)||yj!=e.charAt(k+1));)++k;if(k+=2,yc===e.charAt(k-1))return s("End of comment missing");var $=e.slice(2,k-2);return i+=2,r($),e=e.slice(k),i+=2,b({type:__e,comment:$})}}function h(){var b=o(),k=l(m_e);if(k){if(p(),!l(h_e))return s("property missing ':'");var $=l(g_e),x=b({type:x_e,property:_j(k[0].replace(vj,yc)),value:$?_j($[0].replace(vj,yc)):yc});return l(v_e),x}}function v(){var b=[];f(b);for(var k;k=h();)k!==!1&&(b.push(k),f(b));return b}return c(),v()}function _j(e){return e?e.replace(y_e,yc):yc}xj.exports=k_e});var wj=en(mh=>{"use strict";var w_e=mh&&mh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mh,"__esModule",{value:!0});mh.default=D_e;var E_e=w_e(kj());function D_e(e,t){let n=null;if(!e||typeof e!="string")return n;let i=(0,E_e.default)(e),r=typeof t=="function";return i.forEach(o=>{if(o.type!=="declaration")return;let{property:a,value:s}=o;r?t(a,s,o):s&&(n=n||{},n[a]=s)}),n}});var Dj=en(Sb=>{"use strict";Object.defineProperty(Sb,"__esModule",{value:!0});Sb.camelCase=void 0;var $_e=/^--[a-zA-Z0-9_-]+$/,S_e=/-([a-z])/g,I_e=/^[^-]+$/,T_e=/^-(webkit|moz|ms|o|khtml)-/,C_e=/^-(ms)-/,A_e=function(e){return!e||I_e.test(e)||$_e.test(e)},N_e=function(e,t){return t.toUpperCase()},Ej=function(e,t){return"".concat(t,"-")},O_e=function(e,t){return t===void 0&&(t={}),A_e(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(C_e,Ej):e=e.replace(T_e,Ej),e.replace(S_e,N_e))};Sb.camelCase=O_e});var Sj=en((g$,$j)=>{"use strict";var z_e=g$&&g$.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},P_e=z_e(wj()),R_e=Dj();function h$(e,t){var n={};return!e||typeof e!="string"||(0,P_e.default)(e,function(i,r){i&&r&&(n[(0,R_e.camelCase)(i,t)]=r)}),n}h$.default=h$;$j.exports=h$});var KB=en((YVe,YB)=>{"use strict";var Yb=Object.prototype.hasOwnProperty,JB=Object.prototype.toString,ZB=Object.defineProperty,HB=Object.getOwnPropertyDescriptor,WB=function(t){return typeof Array.isArray=="function"?Array.isArray(t):JB.call(t)==="[object Array]"},VB=function(t){if(!t||JB.call(t)!=="[object Object]")return!1;var n=Yb.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&Yb.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!i)return!1;var r;for(r in t);return typeof r>"u"||Yb.call(t,r)},GB=function(t,n){ZB&&n.name==="__proto__"?ZB(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},qB=function(t,n){if(n==="__proto__")if(Yb.call(t,n)){if(HB)return HB(t,n).value}else return;return t[n]};YB.exports=function e(){var t,n,i,r,o,a,s=arguments[0],l=1,c=arguments.length,f=!1;for(typeof s=="boolean"&&(f=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)i=qB(s,n),r=qB(t,n),s!==r&&(f&&r&&(VB(r)||(o=WB(r)))?(o?(o=!1,a=i&&WB(i)?i:[]):a=i&&VB(i)?i:{},GB(s,{name:n,newValue:e(f,a,r)})):typeof r<"u"&&GB(s,{name:n,newValue:r}));return s}});var QH=en((o4,a4)=>{(function(e,t,n){typeof o4=="object"?(a4.exports=n(),a4.exports.default=n()):typeof define=="function"&&define.amd?define(n):t[e]=n()})("slugify",o4,function(){var e=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`),t=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');function n(i,r){if(typeof i!="string")throw new Error("slugify: string argument expected");r=typeof r=="string"?{replacement:r}:r||{};var o=t[r.locale]||{},a=r.replacement===void 0?"-":r.replacement,s=r.trim===void 0?!0:r.trim,l=i.normalize().split("").reduce(function(c,f){var p=o[f];return p===void 0&&(p=e[f]),p===void 0&&(p=f),p===a&&(p=" "),c+p.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(l=l.replace(/[^A-Za-z0-9\s]/g,"")),s&&(l=l.trim()),l=l.replace(/\s+/g,a),r.lower&&(l=l.toLowerCase()),l}return n.extend=function(i){Object.assign(e,i)},n})});var Hh=en((Nf,Zh)=>{(function(){var e,t="4.17.23",n=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",r="Expected a function",o="Invalid `variable` option passed into `_.template`",a="__lodash_hash_undefined__",s=500,l="__lodash_placeholder__",c=1,f=2,p=4,h=1,v=2,b=1,k=2,$=4,x=8,E=16,w=32,T=64,M=128,A=256,j=512,X=30,se="...",F=800,De=16,Ee=1,ve=2,ye=3,$e=1/0,Be=9007199254740991,Oe=17976931348623157e292,xe=NaN,Re=4294967295,P=Re-1,We=Re>>>1,Ct=[["ary",M],["bind",b],["bindKey",k],["curry",x],["curryRight",E],["flip",j],["partial",w],["partialRight",T],["rearg",A]],U="[object Arguments]",Yt="[object Array]",Qr="[object AsyncFunction]",wr="[object Boolean]",fr="[object Date]",gn="[object DOMException]",Wn="[object Error]",ir="[object Function]",Or="[object GeneratorFunction]",Qt="[object Map]",Ri="[object Number]",uu="[object Null]",or="[object Object]",Rp="[object Promise]",yv="[object Proxy]",Ol="[object RegExp]",_i="[object Set]",lu="[object String]",od="[object Symbol]",xw="[object Undefined]",zl="[object WeakMap]",kw="[object WeakSet]",Pl="[object ArrayBuffer]",ne="[object DataView]",ke="[object Float32Array]",st="[object Float64Array]",wt="[object Int8Array]",Ht="[object Int16Array]",ei="[object Int32Array]",qo="[object Uint8Array]",Li="[object Uint8ClampedArray]",ts="[object Uint16Array]",ns="[object Uint32Array]",ti=/\b__p \+= '';/g,cu=/\b(__p \+=) '' \+/g,Jo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Pz=/&(?:amp|lt|gt|quot|#39);/g,Rz=/[&<>"']/g,_ue=RegExp(Pz.source),xue=RegExp(Rz.source),kue=/<%-([\s\S]+?)%>/g,wue=/<%([\s\S]+?)%>/g,Lz=/<%=([\s\S]+?)%>/g,Eue=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Due=/^\w*$/,$ue=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ww=/[\\^$.*+?()[\]{}|]/g,Sue=RegExp(ww.source),Ew=/^\s+/,Iue=/\s/,Tue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Cue=/\{\n\/\* \[wrapped with (.+)\] \*/,Aue=/,? & /,Nue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Oue=/[()=,{}\[\]\/\s]/,zue=/\\(\\)?/g,Pue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fz=/\w*$/,Rue=/^[-+]0x[0-9a-f]+$/i,Lue=/^0b[01]+$/i,Fue=/^\[object .+?Constructor\]$/,Mue=/^0o[0-7]+$/i,Uue=/^(?:0|[1-9]\d*)$/,jue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bv=/($^)/,Bue=/['\n\r\u2028\u2029\\]/g,_v="\\ud800-\\udfff",Zue="\\u0300-\\u036f",Hue="\\ufe20-\\ufe2f",Wue="\\u20d0-\\u20ff",Mz=Zue+Hue+Wue,Uz="\\u2700-\\u27bf",jz="a-z\\xdf-\\xf6\\xf8-\\xff",Vue="\\xac\\xb1\\xd7\\xf7",Gue="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",que="\\u2000-\\u206f",Jue=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Bz="A-Z\\xc0-\\xd6\\xd8-\\xde",Zz="\\ufe0e\\ufe0f",Hz=Vue+Gue+que+Jue,Dw="['\u2019]",Yue="["+_v+"]",Wz="["+Hz+"]",xv="["+Mz+"]",Vz="\\d+",Kue="["+Uz+"]",Gz="["+jz+"]",qz="[^"+_v+Hz+Vz+Uz+jz+Bz+"]",$w="\\ud83c[\\udffb-\\udfff]",Xue="(?:"+xv+"|"+$w+")",Jz="[^"+_v+"]",Sw="(?:\\ud83c[\\udde6-\\uddff]){2}",Iw="[\\ud800-\\udbff][\\udc00-\\udfff]",ad="["+Bz+"]",Yz="\\u200d",Kz="(?:"+Gz+"|"+qz+")",Que="(?:"+ad+"|"+qz+")",Xz="(?:"+Dw+"(?:d|ll|m|re|s|t|ve))?",Qz="(?:"+Dw+"(?:D|LL|M|RE|S|T|VE))?",e8=Xue+"?",t8="["+Zz+"]?",ele="(?:"+Yz+"(?:"+[Jz,Sw,Iw].join("|")+")"+t8+e8+")*",tle="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nle="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",n8=t8+e8+ele,rle="(?:"+[Kue,Sw,Iw].join("|")+")"+n8,ile="(?:"+[Jz+xv+"?",xv,Sw,Iw,Yue].join("|")+")",ole=RegExp(Dw,"g"),ale=RegExp(xv,"g"),Tw=RegExp($w+"(?="+$w+")|"+ile+n8,"g"),sle=RegExp([ad+"?"+Gz+"+"+Xz+"(?="+[Wz,ad,"$"].join("|")+")",Que+"+"+Qz+"(?="+[Wz,ad+Kz,"$"].join("|")+")",ad+"?"+Kz+"+"+Xz,ad+"+"+Qz,nle,tle,Vz,rle].join("|"),"g"),ule=RegExp("["+Yz+_v+Mz+Zz+"]"),lle=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cle=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],dle=-1,wn={};wn[ke]=wn[st]=wn[wt]=wn[Ht]=wn[ei]=wn[qo]=wn[Li]=wn[ts]=wn[ns]=!0,wn[U]=wn[Yt]=wn[Pl]=wn[wr]=wn[ne]=wn[fr]=wn[Wn]=wn[ir]=wn[Qt]=wn[Ri]=wn[or]=wn[Ol]=wn[_i]=wn[lu]=wn[zl]=!1;var vn={};vn[U]=vn[Yt]=vn[Pl]=vn[ne]=vn[wr]=vn[fr]=vn[ke]=vn[st]=vn[wt]=vn[Ht]=vn[ei]=vn[Qt]=vn[Ri]=vn[or]=vn[Ol]=vn[_i]=vn[lu]=vn[od]=vn[qo]=vn[Li]=vn[ts]=vn[ns]=!0,vn[Wn]=vn[ir]=vn[zl]=!1;var fle={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ple={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mle={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},hle={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},gle=parseFloat,vle=parseInt,r8=typeof global=="object"&&global&&global.Object===Object&&global,yle=typeof self=="object"&&self&&self.Object===Object&&self,pr=r8||yle||Function("return this")(),Cw=typeof Nf=="object"&&Nf&&!Nf.nodeType&&Nf,Rl=Cw&&typeof Zh=="object"&&Zh&&!Zh.nodeType&&Zh,i8=Rl&&Rl.exports===Cw,Aw=i8&&r8.process,co=function(){try{var Z=Rl&&Rl.require&&Rl.require("util").types;return Z||Aw&&Aw.binding&&Aw.binding("util")}catch{}}(),o8=co&&co.isArrayBuffer,a8=co&&co.isDate,s8=co&&co.isMap,u8=co&&co.isRegExp,l8=co&&co.isSet,c8=co&&co.isTypedArray;function Fi(Z,re,K){switch(K.length){case 0:return Z.call(re);case 1:return Z.call(re,K[0]);case 2:return Z.call(re,K[0],K[1]);case 3:return Z.call(re,K[0],K[1],K[2])}return Z.apply(re,K)}function ble(Z,re,K,Le){for(var ct=-1,Wt=Z==null?0:Z.length;++ct<Wt;){var ar=Z[ct];re(Le,ar,K(ar),Z)}return Le}function fo(Z,re){for(var K=-1,Le=Z==null?0:Z.length;++K<Le&&re(Z[K],K,Z)!==!1;);return Z}function _le(Z,re){for(var K=Z==null?0:Z.length;K--&&re(Z[K],K,Z)!==!1;);return Z}function d8(Z,re){for(var K=-1,Le=Z==null?0:Z.length;++K<Le;)if(!re(Z[K],K,Z))return!1;return!0}function du(Z,re){for(var K=-1,Le=Z==null?0:Z.length,ct=0,Wt=[];++K<Le;){var ar=Z[K];re(ar,K,Z)&&(Wt[ct++]=ar)}return Wt}function kv(Z,re){var K=Z==null?0:Z.length;return!!K&&sd(Z,re,0)>-1}function Nw(Z,re,K){for(var Le=-1,ct=Z==null?0:Z.length;++Le<ct;)if(K(re,Z[Le]))return!0;return!1}function In(Z,re){for(var K=-1,Le=Z==null?0:Z.length,ct=Array(Le);++K<Le;)ct[K]=re(Z[K],K,Z);return ct}function fu(Z,re){for(var K=-1,Le=re.length,ct=Z.length;++K<Le;)Z[ct+K]=re[K];return Z}function Ow(Z,re,K,Le){var ct=-1,Wt=Z==null?0:Z.length;for(Le&&Wt&&(K=Z[++ct]);++ct<Wt;)K=re(K,Z[ct],ct,Z);return K}function xle(Z,re,K,Le){var ct=Z==null?0:Z.length;for(Le&&ct&&(K=Z[--ct]);ct--;)K=re(K,Z[ct],ct,Z);return K}function zw(Z,re){for(var K=-1,Le=Z==null?0:Z.length;++K<Le;)if(re(Z[K],K,Z))return!0;return!1}var kle=Pw("length");function wle(Z){return Z.split("")}function Ele(Z){return Z.match(Nue)||[]}function f8(Z,re,K){var Le;return K(Z,function(ct,Wt,ar){if(re(ct,Wt,ar))return Le=Wt,!1}),Le}function wv(Z,re,K,Le){for(var ct=Z.length,Wt=K+(Le?1:-1);Le?Wt--:++Wt<ct;)if(re(Z[Wt],Wt,Z))return Wt;return-1}function sd(Z,re,K){return re===re?Rle(Z,re,K):wv(Z,p8,K)}function Dle(Z,re,K,Le){for(var ct=K-1,Wt=Z.length;++ct<Wt;)if(Le(Z[ct],re))return ct;return-1}function p8(Z){return Z!==Z}function m8(Z,re){var K=Z==null?0:Z.length;return K?Lw(Z,re)/K:xe}function Pw(Z){return function(re){return re==null?e:re[Z]}}function Rw(Z){return function(re){return Z==null?e:Z[re]}}function h8(Z,re,K,Le,ct){return ct(Z,function(Wt,ar,sn){K=Le?(Le=!1,Wt):re(K,Wt,ar,sn)}),K}function $le(Z,re){var K=Z.length;for(Z.sort(re);K--;)Z[K]=Z[K].value;return Z}function Lw(Z,re){for(var K,Le=-1,ct=Z.length;++Le<ct;){var Wt=re(Z[Le]);Wt!==e&&(K=K===e?Wt:K+Wt)}return K}function Fw(Z,re){for(var K=-1,Le=Array(Z);++K<Z;)Le[K]=re(K);return Le}function Sle(Z,re){return In(re,function(K){return[K,Z[K]]})}function g8(Z){return Z&&Z.slice(0,_8(Z)+1).replace(Ew,"")}function Mi(Z){return function(re){return Z(re)}}function Mw(Z,re){return In(re,function(K){return Z[K]})}function Lp(Z,re){return Z.has(re)}function v8(Z,re){for(var K=-1,Le=Z.length;++K<Le&&sd(re,Z[K],0)>-1;);return K}function y8(Z,re){for(var K=Z.length;K--&&sd(re,Z[K],0)>-1;);return K}function Ile(Z,re){for(var K=Z.length,Le=0;K--;)Z[K]===re&&++Le;return Le}var Tle=Rw(fle),Cle=Rw(ple);function Ale(Z){return"\\"+hle[Z]}function Nle(Z,re){return Z==null?e:Z[re]}function ud(Z){return ule.test(Z)}function Ole(Z){return lle.test(Z)}function zle(Z){for(var re,K=[];!(re=Z.next()).done;)K.push(re.value);return K}function Uw(Z){var re=-1,K=Array(Z.size);return Z.forEach(function(Le,ct){K[++re]=[ct,Le]}),K}function b8(Z,re){return function(K){return Z(re(K))}}function pu(Z,re){for(var K=-1,Le=Z.length,ct=0,Wt=[];++K<Le;){var ar=Z[K];(ar===re||ar===l)&&(Z[K]=l,Wt[ct++]=K)}return Wt}function Ev(Z){var re=-1,K=Array(Z.size);return Z.forEach(function(Le){K[++re]=Le}),K}function Ple(Z){var re=-1,K=Array(Z.size);return Z.forEach(function(Le){K[++re]=[Le,Le]}),K}function Rle(Z,re,K){for(var Le=K-1,ct=Z.length;++Le<ct;)if(Z[Le]===re)return Le;return-1}function Lle(Z,re,K){for(var Le=K+1;Le--;)if(Z[Le]===re)return Le;return Le}function ld(Z){return ud(Z)?Mle(Z):kle(Z)}function Yo(Z){return ud(Z)?Ule(Z):wle(Z)}function _8(Z){for(var re=Z.length;re--&&Iue.test(Z.charAt(re)););return re}var Fle=Rw(mle);function Mle(Z){for(var re=Tw.lastIndex=0;Tw.test(Z);)++re;return re}function Ule(Z){return Z.match(Tw)||[]}function jle(Z){return Z.match(sle)||[]}var Ble=function Z(re){re=re==null?pr:mu.defaults(pr.Object(),re,mu.pick(pr,cle));var K=re.Array,Le=re.Date,ct=re.Error,Wt=re.Function,ar=re.Math,sn=re.Object,jw=re.RegExp,Zle=re.String,po=re.TypeError,Dv=K.prototype,Hle=Wt.prototype,cd=sn.prototype,$v=re["__core-js_shared__"],Sv=Hle.toString,Gt=cd.hasOwnProperty,Wle=0,x8=function(){var u=/[^.]+$/.exec($v&&$v.keys&&$v.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}(),Iv=cd.toString,Vle=Sv.call(sn),Gle=pr._,qle=jw("^"+Sv.call(Gt).replace(ww,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tv=i8?re.Buffer:e,hu=re.Symbol,Cv=re.Uint8Array,k8=Tv?Tv.allocUnsafe:e,Av=b8(sn.getPrototypeOf,sn),w8=sn.create,E8=cd.propertyIsEnumerable,Nv=Dv.splice,D8=hu?hu.isConcatSpreadable:e,Fp=hu?hu.iterator:e,Ll=hu?hu.toStringTag:e,Ov=function(){try{var u=Bl(sn,"defineProperty");return u({},"",{}),u}catch{}}(),Jle=re.clearTimeout!==pr.clearTimeout&&re.clearTimeout,Yle=Le&&Le.now!==pr.Date.now&&Le.now,Kle=re.setTimeout!==pr.setTimeout&&re.setTimeout,zv=ar.ceil,Pv=ar.floor,Bw=sn.getOwnPropertySymbols,Xle=Tv?Tv.isBuffer:e,$8=re.isFinite,Qle=Dv.join,ece=b8(sn.keys,sn),sr=ar.max,zr=ar.min,tce=Le.now,nce=re.parseInt,S8=ar.random,rce=Dv.reverse,Zw=Bl(re,"DataView"),Mp=Bl(re,"Map"),Hw=Bl(re,"Promise"),dd=Bl(re,"Set"),Up=Bl(re,"WeakMap"),jp=Bl(sn,"create"),Rv=Up&&new Up,fd={},ice=Zl(Zw),oce=Zl(Mp),ace=Zl(Hw),sce=Zl(dd),uce=Zl(Up),Lv=hu?hu.prototype:e,Bp=Lv?Lv.valueOf:e,I8=Lv?Lv.toString:e;function S(u){if(Un(u)&&!pt(u)&&!(u instanceof Rt)){if(u instanceof mo)return u;if(Gt.call(u,"__wrapped__"))return TP(u)}return new mo(u)}var pd=function(){function u(){}return function(d){if(!zn(d))return{};if(w8)return w8(d);u.prototype=d;var m=new u;return u.prototype=e,m}}();function Fv(){}function mo(u,d){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=e}S.templateSettings={escape:kue,evaluate:wue,interpolate:Lz,variable:"",imports:{_:S}},S.prototype=Fv.prototype,S.prototype.constructor=S,mo.prototype=pd(Fv.prototype),mo.prototype.constructor=mo;function Rt(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Re,this.__views__=[]}function lce(){var u=new Rt(this.__wrapped__);return u.__actions__=xi(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=xi(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=xi(this.__views__),u}function cce(){if(this.__filtered__){var u=new Rt(this);u.__dir__=-1,u.__filtered__=!0}else u=this.clone(),u.__dir__*=-1;return u}function dce(){var u=this.__wrapped__.value(),d=this.__dir__,m=pt(u),_=d<0,D=m?u.length:0,I=wde(0,D,this.__views__),R=I.start,B=I.end,W=B-R,oe=_?B:R-1,ae=this.__iteratees__,le=ae.length,Se=0,je=zr(W,this.__takeCount__);if(!m||!_&&D==W&&je==W)return X8(u,this.__actions__);var Ye=[];e:for(;W--&&Se<je;){oe+=d;for(var kt=-1,Ke=u[oe];++kt<le;){var At=ae[kt],Mt=At.iteratee,Bi=At.type,ii=Mt(Ke);if(Bi==ve)Ke=ii;else if(!ii){if(Bi==Ee)continue e;break e}}Ye[Se++]=Ke}return Ye}Rt.prototype=pd(Fv.prototype),Rt.prototype.constructor=Rt;function Fl(u){var d=-1,m=u==null?0:u.length;for(this.clear();++d<m;){var _=u[d];this.set(_[0],_[1])}}function fce(){this.__data__=jp?jp(null):{},this.size=0}function pce(u){var d=this.has(u)&&delete this.__data__[u];return this.size-=d?1:0,d}function mce(u){var d=this.__data__;if(jp){var m=d[u];return m===a?e:m}return Gt.call(d,u)?d[u]:e}function hce(u){var d=this.__data__;return jp?d[u]!==e:Gt.call(d,u)}function gce(u,d){var m=this.__data__;return this.size+=this.has(u)?0:1,m[u]=jp&&d===e?a:d,this}Fl.prototype.clear=fce,Fl.prototype.delete=pce,Fl.prototype.get=mce,Fl.prototype.has=hce,Fl.prototype.set=gce;function rs(u){var d=-1,m=u==null?0:u.length;for(this.clear();++d<m;){var _=u[d];this.set(_[0],_[1])}}function vce(){this.__data__=[],this.size=0}function yce(u){var d=this.__data__,m=Mv(d,u);if(m<0)return!1;var _=d.length-1;return m==_?d.pop():Nv.call(d,m,1),--this.size,!0}function bce(u){var d=this.__data__,m=Mv(d,u);return m<0?e:d[m][1]}function _ce(u){return Mv(this.__data__,u)>-1}function xce(u,d){var m=this.__data__,_=Mv(m,u);return _<0?(++this.size,m.push([u,d])):m[_][1]=d,this}rs.prototype.clear=vce,rs.prototype.delete=yce,rs.prototype.get=bce,rs.prototype.has=_ce,rs.prototype.set=xce;function is(u){var d=-1,m=u==null?0:u.length;for(this.clear();++d<m;){var _=u[d];this.set(_[0],_[1])}}function kce(){this.size=0,this.__data__={hash:new Fl,map:new(Mp||rs),string:new Fl}}function wce(u){var d=Kv(this,u).delete(u);return this.size-=d?1:0,d}function Ece(u){return Kv(this,u).get(u)}function Dce(u){return Kv(this,u).has(u)}function $ce(u,d){var m=Kv(this,u),_=m.size;return m.set(u,d),this.size+=m.size==_?0:1,this}is.prototype.clear=kce,is.prototype.delete=wce,is.prototype.get=Ece,is.prototype.has=Dce,is.prototype.set=$ce;function Ml(u){var d=-1,m=u==null?0:u.length;for(this.__data__=new is;++d<m;)this.add(u[d])}function Sce(u){return this.__data__.set(u,a),this}function Ice(u){return this.__data__.has(u)}Ml.prototype.add=Ml.prototype.push=Sce,Ml.prototype.has=Ice;function Ko(u){var d=this.__data__=new rs(u);this.size=d.size}function Tce(){this.__data__=new rs,this.size=0}function Cce(u){var d=this.__data__,m=d.delete(u);return this.size=d.size,m}function Ace(u){return this.__data__.get(u)}function Nce(u){return this.__data__.has(u)}function Oce(u,d){var m=this.__data__;if(m instanceof rs){var _=m.__data__;if(!Mp||_.length<n-1)return _.push([u,d]),this.size=++m.size,this;m=this.__data__=new is(_)}return m.set(u,d),this.size=m.size,this}Ko.prototype.clear=Tce,Ko.prototype.delete=Cce,Ko.prototype.get=Ace,Ko.prototype.has=Nce,Ko.prototype.set=Oce;function T8(u,d){var m=pt(u),_=!m&&Hl(u),D=!m&&!_&&_u(u),I=!m&&!_&&!D&&vd(u),R=m||_||D||I,B=R?Fw(u.length,Zle):[],W=B.length;for(var oe in u)(d||Gt.call(u,oe))&&!(R&&(oe=="length"||D&&(oe=="offset"||oe=="parent")||I&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||us(oe,W)))&&B.push(oe);return B}function C8(u){var d=u.length;return d?u[t3(0,d-1)]:e}function zce(u,d){return Xv(xi(u),Ul(d,0,u.length))}function Pce(u){return Xv(xi(u))}function Ww(u,d,m){(m!==e&&!Xo(u[d],m)||m===e&&!(d in u))&&os(u,d,m)}function Zp(u,d,m){var _=u[d];(!(Gt.call(u,d)&&Xo(_,m))||m===e&&!(d in u))&&os(u,d,m)}function Mv(u,d){for(var m=u.length;m--;)if(Xo(u[m][0],d))return m;return-1}function Rce(u,d,m,_){return gu(u,function(D,I,R){d(_,D,m(D),R)}),_}function A8(u,d){return u&&$a(d,mr(d),u)}function Lce(u,d){return u&&$a(d,wi(d),u)}function os(u,d,m){d=="__proto__"&&Ov?Ov(u,d,{configurable:!0,enumerable:!0,value:m,writable:!0}):u[d]=m}function Vw(u,d){for(var m=-1,_=d.length,D=K(_),I=u==null;++m<_;)D[m]=I?e:$3(u,d[m]);return D}function Ul(u,d,m){return u===u&&(m!==e&&(u=u<=m?u:m),d!==e&&(u=u>=d?u:d)),u}function ho(u,d,m,_,D,I){var R,B=d&c,W=d&f,oe=d&p;if(m&&(R=D?m(u,_,D,I):m(u)),R!==e)return R;if(!zn(u))return u;var ae=pt(u);if(ae){if(R=Dde(u),!B)return xi(u,R)}else{var le=Pr(u),Se=le==ir||le==Or;if(_u(u))return tP(u,B);if(le==or||le==U||Se&&!D){if(R=W||Se?{}:_P(u),!B)return W?mde(u,Lce(R,u)):pde(u,A8(R,u))}else{if(!vn[le])return D?u:{};R=$de(u,le,B)}}I||(I=new Ko);var je=I.get(u);if(je)return je;I.set(u,R),JP(u)?u.forEach(function(Ke){R.add(ho(Ke,d,m,Ke,u,I))}):GP(u)&&u.forEach(function(Ke,At){R.set(At,ho(Ke,d,m,At,u,I))});var Ye=oe?W?f3:d3:W?wi:mr,kt=ae?e:Ye(u);return fo(kt||u,function(Ke,At){kt&&(At=Ke,Ke=u[At]),Zp(R,At,ho(Ke,d,m,At,u,I))}),R}function Fce(u){var d=mr(u);return function(m){return N8(m,u,d)}}function N8(u,d,m){var _=m.length;if(u==null)return!_;for(u=sn(u);_--;){var D=m[_],I=d[D],R=u[D];if(R===e&&!(D in u)||!I(R))return!1}return!0}function O8(u,d,m){if(typeof u!="function")throw new po(r);return Yp(function(){u.apply(e,m)},d)}function Hp(u,d,m,_){var D=-1,I=kv,R=!0,B=u.length,W=[],oe=d.length;if(!B)return W;m&&(d=In(d,Mi(m))),_?(I=Nw,R=!1):d.length>=n&&(I=Lp,R=!1,d=new Ml(d));e:for(;++D<B;){var ae=u[D],le=m==null?ae:m(ae);if(ae=_||ae!==0?ae:0,R&&le===le){for(var Se=oe;Se--;)if(d[Se]===le)continue e;W.push(ae)}else I(d,le,_)||W.push(ae)}return W}var gu=aP(Da),z8=aP(qw,!0);function Mce(u,d){var m=!0;return gu(u,function(_,D,I){return m=!!d(_,D,I),m}),m}function Uv(u,d,m){for(var _=-1,D=u.length;++_<D;){var I=u[_],R=d(I);if(R!=null&&(B===e?R===R&&!ji(R):m(R,B)))var B=R,W=I}return W}function Uce(u,d,m,_){var D=u.length;for(m=bt(m),m<0&&(m=-m>D?0:D+m),_=_===e||_>D?D:bt(_),_<0&&(_+=D),_=m>_?0:KP(_);m<_;)u[m++]=d;return u}function P8(u,d){var m=[];return gu(u,function(_,D,I){d(_,D,I)&&m.push(_)}),m}function Er(u,d,m,_,D){var I=-1,R=u.length;for(m||(m=Ide),D||(D=[]);++I<R;){var B=u[I];d>0&&m(B)?d>1?Er(B,d-1,m,_,D):fu(D,B):_||(D[D.length]=B)}return D}var Gw=sP(),R8=sP(!0);function Da(u,d){return u&&Gw(u,d,mr)}function qw(u,d){return u&&R8(u,d,mr)}function jv(u,d){return du(d,function(m){return ls(u[m])})}function jl(u,d){d=yu(d,u);for(var m=0,_=d.length;u!=null&&m<_;)u=u[Sa(d[m++])];return m&&m==_?u:e}function L8(u,d,m){var _=d(u);return pt(u)?_:fu(_,m(u))}function ni(u){return u==null?u===e?xw:uu:Ll&&Ll in sn(u)?kde(u):Pde(u)}function Jw(u,d){return u>d}function jce(u,d){return u!=null&&Gt.call(u,d)}function Bce(u,d){return u!=null&&d in sn(u)}function Zce(u,d,m){return u>=zr(d,m)&&u<sr(d,m)}function Yw(u,d,m){for(var _=m?Nw:kv,D=u[0].length,I=u.length,R=I,B=K(I),W=1/0,oe=[];R--;){var ae=u[R];R&&d&&(ae=In(ae,Mi(d))),W=zr(ae.length,W),B[R]=!m&&(d||D>=120&&ae.length>=120)?new Ml(R&&ae):e}ae=u[0];var le=-1,Se=B[0];e:for(;++le<D&&oe.length<W;){var je=ae[le],Ye=d?d(je):je;if(je=m||je!==0?je:0,!(Se?Lp(Se,Ye):_(oe,Ye,m))){for(R=I;--R;){var kt=B[R];if(!(kt?Lp(kt,Ye):_(u[R],Ye,m)))continue e}Se&&Se.push(Ye),oe.push(je)}}return oe}function Hce(u,d,m,_){return Da(u,function(D,I,R){d(_,m(D),I,R)}),_}function Wp(u,d,m){d=yu(d,u),u=EP(u,d);var _=u==null?u:u[Sa(vo(d))];return _==null?e:Fi(_,u,m)}function F8(u){return Un(u)&&ni(u)==U}function Wce(u){return Un(u)&&ni(u)==Pl}function Vce(u){return Un(u)&&ni(u)==fr}function Vp(u,d,m,_,D){return u===d?!0:u==null||d==null||!Un(u)&&!Un(d)?u!==u&&d!==d:Gce(u,d,m,_,Vp,D)}function Gce(u,d,m,_,D,I){var R=pt(u),B=pt(d),W=R?Yt:Pr(u),oe=B?Yt:Pr(d);W=W==U?or:W,oe=oe==U?or:oe;var ae=W==or,le=oe==or,Se=W==oe;if(Se&&_u(u)){if(!_u(d))return!1;R=!0,ae=!1}if(Se&&!ae)return I||(I=new Ko),R||vd(u)?vP(u,d,m,_,D,I):_de(u,d,W,m,_,D,I);if(!(m&h)){var je=ae&&Gt.call(u,"__wrapped__"),Ye=le&&Gt.call(d,"__wrapped__");if(je||Ye){var kt=je?u.value():u,Ke=Ye?d.value():d;return I||(I=new Ko),D(kt,Ke,m,_,I)}}return Se?(I||(I=new Ko),xde(u,d,m,_,D,I)):!1}function qce(u){return Un(u)&&Pr(u)==Qt}function Kw(u,d,m,_){var D=m.length,I=D,R=!_;if(u==null)return!I;for(u=sn(u);D--;){var B=m[D];if(R&&B[2]?B[1]!==u[B[0]]:!(B[0]in u))return!1}for(;++D<I;){B=m[D];var W=B[0],oe=u[W],ae=B[1];if(R&&B[2]){if(oe===e&&!(W in u))return!1}else{var le=new Ko;if(_)var Se=_(oe,ae,W,u,d,le);if(!(Se===e?Vp(ae,oe,h|v,_,le):Se))return!1}}return!0}function M8(u){if(!zn(u)||Cde(u))return!1;var d=ls(u)?qle:Fue;return d.test(Zl(u))}function Jce(u){return Un(u)&&ni(u)==Ol}function Yce(u){return Un(u)&&Pr(u)==_i}function Kce(u){return Un(u)&&iy(u.length)&&!!wn[ni(u)]}function U8(u){return typeof u=="function"?u:u==null?Ei:typeof u=="object"?pt(u)?Z8(u[0],u[1]):B8(u):u7(u)}function Xw(u){if(!Jp(u))return ece(u);var d=[];for(var m in sn(u))Gt.call(u,m)&&m!="constructor"&&d.push(m);return d}function Xce(u){if(!zn(u))return zde(u);var d=Jp(u),m=[];for(var _ in u)_=="constructor"&&(d||!Gt.call(u,_))||m.push(_);return m}function Qw(u,d){return u<d}function j8(u,d){var m=-1,_=ki(u)?K(u.length):[];return gu(u,function(D,I,R){_[++m]=d(D,I,R)}),_}function B8(u){var d=m3(u);return d.length==1&&d[0][2]?kP(d[0][0],d[0][1]):function(m){return m===u||Kw(m,u,d)}}function Z8(u,d){return g3(u)&&xP(d)?kP(Sa(u),d):function(m){var _=$3(m,u);return _===e&&_===d?S3(m,u):Vp(d,_,h|v)}}function Bv(u,d,m,_,D){u!==d&&Gw(d,function(I,R){if(D||(D=new Ko),zn(I))Qce(u,d,R,m,Bv,_,D);else{var B=_?_(y3(u,R),I,R+"",u,d,D):e;B===e&&(B=I),Ww(u,R,B)}},wi)}function Qce(u,d,m,_,D,I,R){var B=y3(u,m),W=y3(d,m),oe=R.get(W);if(oe){Ww(u,m,oe);return}var ae=I?I(B,W,m+"",u,d,R):e,le=ae===e;if(le){var Se=pt(W),je=!Se&&_u(W),Ye=!Se&&!je&&vd(W);ae=W,Se||je||Ye?pt(B)?ae=B:Vn(B)?ae=xi(B):je?(le=!1,ae=tP(W,!0)):Ye?(le=!1,ae=nP(W,!0)):ae=[]:Kp(W)||Hl(W)?(ae=B,Hl(B)?ae=XP(B):(!zn(B)||ls(B))&&(ae=_P(W))):le=!1}le&&(R.set(W,ae),D(ae,W,_,I,R),R.delete(W)),Ww(u,m,ae)}function H8(u,d){var m=u.length;if(m)return d+=d<0?m:0,us(d,m)?u[d]:e}function W8(u,d,m){d.length?d=In(d,function(I){return pt(I)?function(R){return jl(R,I.length===1?I[0]:I)}:I}):d=[Ei];var _=-1;d=In(d,Mi(qe()));var D=j8(u,function(I,R,B){var W=In(d,function(oe){return oe(I)});return{criteria:W,index:++_,value:I}});return $le(D,function(I,R){return fde(I,R,m)})}function ede(u,d){return V8(u,d,function(m,_){return S3(u,_)})}function V8(u,d,m){for(var _=-1,D=d.length,I={};++_<D;){var R=d[_],B=jl(u,R);m(B,R)&&Gp(I,yu(R,u),B)}return I}function tde(u){return function(d){return jl(d,u)}}function e3(u,d,m,_){var D=_?Dle:sd,I=-1,R=d.length,B=u;for(u===d&&(d=xi(d)),m&&(B=In(u,Mi(m)));++I<R;)for(var W=0,oe=d[I],ae=m?m(oe):oe;(W=D(B,ae,W,_))>-1;)B!==u&&Nv.call(B,W,1),Nv.call(u,W,1);return u}function G8(u,d){for(var m=u?d.length:0,_=m-1;m--;){var D=d[m];if(m==_||D!==I){var I=D;us(D)?Nv.call(u,D,1):i3(u,D)}}return u}function t3(u,d){return u+Pv(S8()*(d-u+1))}function nde(u,d,m,_){for(var D=-1,I=sr(zv((d-u)/(m||1)),0),R=K(I);I--;)R[_?I:++D]=u,u+=m;return R}function n3(u,d){var m="";if(!u||d<1||d>Be)return m;do d%2&&(m+=u),d=Pv(d/2),d&&(u+=u);while(d);return m}function Et(u,d){return b3(wP(u,d,Ei),u+"")}function rde(u){return C8(yd(u))}function ide(u,d){var m=yd(u);return Xv(m,Ul(d,0,m.length))}function Gp(u,d,m,_){if(!zn(u))return u;d=yu(d,u);for(var D=-1,I=d.length,R=I-1,B=u;B!=null&&++D<I;){var W=Sa(d[D]),oe=m;if(W==="__proto__"||W==="constructor"||W==="prototype")return u;if(D!=R){var ae=B[W];oe=_?_(ae,W,B):e,oe===e&&(oe=zn(ae)?ae:us(d[D+1])?[]:{})}Zp(B,W,oe),B=B[W]}return u}var q8=Rv?function(u,d){return Rv.set(u,d),u}:Ei,ode=Ov?function(u,d){return Ov(u,"toString",{configurable:!0,enumerable:!1,value:T3(d),writable:!0})}:Ei;function ade(u){return Xv(yd(u))}function go(u,d,m){var _=-1,D=u.length;d<0&&(d=-d>D?0:D+d),m=m>D?D:m,m<0&&(m+=D),D=d>m?0:m-d>>>0,d>>>=0;for(var I=K(D);++_<D;)I[_]=u[_+d];return I}function sde(u,d){var m;return gu(u,function(_,D,I){return m=d(_,D,I),!m}),!!m}function Zv(u,d,m){var _=0,D=u==null?_:u.length;if(typeof d=="number"&&d===d&&D<=We){for(;_<D;){var I=_+D>>>1,R=u[I];R!==null&&!ji(R)&&(m?R<=d:R<d)?_=I+1:D=I}return D}return r3(u,d,Ei,m)}function r3(u,d,m,_){var D=0,I=u==null?0:u.length;if(I===0)return 0;d=m(d);for(var R=d!==d,B=d===null,W=ji(d),oe=d===e;D<I;){var ae=Pv((D+I)/2),le=m(u[ae]),Se=le!==e,je=le===null,Ye=le===le,kt=ji(le);if(R)var Ke=_||Ye;else oe?Ke=Ye&&(_||Se):B?Ke=Ye&&Se&&(_||!je):W?Ke=Ye&&Se&&!je&&(_||!kt):je||kt?Ke=!1:Ke=_?le<=d:le<d;Ke?D=ae+1:I=ae}return zr(I,P)}function J8(u,d){for(var m=-1,_=u.length,D=0,I=[];++m<_;){var R=u[m],B=d?d(R):R;if(!m||!Xo(B,W)){var W=B;I[D++]=R===0?0:R}}return I}function Y8(u){return typeof u=="number"?u:ji(u)?xe:+u}function Ui(u){if(typeof u=="string")return u;if(pt(u))return In(u,Ui)+"";if(ji(u))return I8?I8.call(u):"";var d=u+"";return d=="0"&&1/u==-$e?"-0":d}function vu(u,d,m){var _=-1,D=kv,I=u.length,R=!0,B=[],W=B;if(m)R=!1,D=Nw;else if(I>=n){var oe=d?null:yde(u);if(oe)return Ev(oe);R=!1,D=Lp,W=new Ml}else W=d?[]:B;e:for(;++_<I;){var ae=u[_],le=d?d(ae):ae;if(ae=m||ae!==0?ae:0,R&&le===le){for(var Se=W.length;Se--;)if(W[Se]===le)continue e;d&&W.push(le),B.push(ae)}else D(W,le,m)||(W!==B&&W.push(le),B.push(ae))}return B}function i3(u,d){d=yu(d,u);var m=-1,_=d.length;if(!_)return!0;for(var D=u==null||typeof u!="object"&&typeof u!="function";++m<_;){var I=d[m];if(typeof I=="string"){if(I==="__proto__"&&!Gt.call(u,"__proto__"))return!1;if(I==="constructor"&&m+1<_&&typeof d[m+1]=="string"&&d[m+1]==="prototype"){if(D&&m===0)continue;return!1}}}var R=EP(u,d);return R==null||delete R[Sa(vo(d))]}function K8(u,d,m,_){return Gp(u,d,m(jl(u,d)),_)}function Hv(u,d,m,_){for(var D=u.length,I=_?D:-1;(_?I--:++I<D)&&d(u[I],I,u););return m?go(u,_?0:I,_?I+1:D):go(u,_?I+1:0,_?D:I)}function X8(u,d){var m=u;return m instanceof Rt&&(m=m.value()),Ow(d,function(_,D){return D.func.apply(D.thisArg,fu([_],D.args))},m)}function o3(u,d,m){var _=u.length;if(_<2)return _?vu(u[0]):[];for(var D=-1,I=K(_);++D<_;)for(var R=u[D],B=-1;++B<_;)B!=D&&(I[D]=Hp(I[D]||R,u[B],d,m));return vu(Er(I,1),d,m)}function Q8(u,d,m){for(var _=-1,D=u.length,I=d.length,R={};++_<D;){var B=_<I?d[_]:e;m(R,u[_],B)}return R}function a3(u){return Vn(u)?u:[]}function s3(u){return typeof u=="function"?u:Ei}function yu(u,d){return pt(u)?u:g3(u,d)?[u]:IP(qt(u))}var ude=Et;function bu(u,d,m){var _=u.length;return m=m===e?_:m,!d&&m>=_?u:go(u,d,m)}var eP=Jle||function(u){return pr.clearTimeout(u)};function tP(u,d){if(d)return u.slice();var m=u.length,_=k8?k8(m):new u.constructor(m);return u.copy(_),_}function u3(u){var d=new u.constructor(u.byteLength);return new Cv(d).set(new Cv(u)),d}function lde(u,d){var m=d?u3(u.buffer):u.buffer;return new u.constructor(m,u.byteOffset,u.byteLength)}function cde(u){var d=new u.constructor(u.source,Fz.exec(u));return d.lastIndex=u.lastIndex,d}function dde(u){return Bp?sn(Bp.call(u)):{}}function nP(u,d){var m=d?u3(u.buffer):u.buffer;return new u.constructor(m,u.byteOffset,u.length)}function rP(u,d){if(u!==d){var m=u!==e,_=u===null,D=u===u,I=ji(u),R=d!==e,B=d===null,W=d===d,oe=ji(d);if(!B&&!oe&&!I&&u>d||I&&R&&W&&!B&&!oe||_&&R&&W||!m&&W||!D)return 1;if(!_&&!I&&!oe&&u<d||oe&&m&&D&&!_&&!I||B&&m&&D||!R&&D||!W)return-1}return 0}function fde(u,d,m){for(var _=-1,D=u.criteria,I=d.criteria,R=D.length,B=m.length;++_<R;){var W=rP(D[_],I[_]);if(W){if(_>=B)return W;var oe=m[_];return W*(oe=="desc"?-1:1)}}return u.index-d.index}function iP(u,d,m,_){for(var D=-1,I=u.length,R=m.length,B=-1,W=d.length,oe=sr(I-R,0),ae=K(W+oe),le=!_;++B<W;)ae[B]=d[B];for(;++D<R;)(le||D<I)&&(ae[m[D]]=u[D]);for(;oe--;)ae[B++]=u[D++];return ae}function oP(u,d,m,_){for(var D=-1,I=u.length,R=-1,B=m.length,W=-1,oe=d.length,ae=sr(I-B,0),le=K(ae+oe),Se=!_;++D<ae;)le[D]=u[D];for(var je=D;++W<oe;)le[je+W]=d[W];for(;++R<B;)(Se||D<I)&&(le[je+m[R]]=u[D++]);return le}function xi(u,d){var m=-1,_=u.length;for(d||(d=K(_));++m<_;)d[m]=u[m];return d}function $a(u,d,m,_){var D=!m;m||(m={});for(var I=-1,R=d.length;++I<R;){var B=d[I],W=_?_(m[B],u[B],B,m,u):e;W===e&&(W=u[B]),D?os(m,B,W):Zp(m,B,W)}return m}function pde(u,d){return $a(u,h3(u),d)}function mde(u,d){return $a(u,yP(u),d)}function Wv(u,d){return function(m,_){var D=pt(m)?ble:Rce,I=d?d():{};return D(m,u,qe(_,2),I)}}function md(u){return Et(function(d,m){var _=-1,D=m.length,I=D>1?m[D-1]:e,R=D>2?m[2]:e;for(I=u.length>3&&typeof I=="function"?(D--,I):e,R&&ri(m[0],m[1],R)&&(I=D<3?e:I,D=1),d=sn(d);++_<D;){var B=m[_];B&&u(d,B,_,I)}return d})}function aP(u,d){return function(m,_){if(m==null)return m;if(!ki(m))return u(m,_);for(var D=m.length,I=d?D:-1,R=sn(m);(d?I--:++I<D)&&_(R[I],I,R)!==!1;);return m}}function sP(u){return function(d,m,_){for(var D=-1,I=sn(d),R=_(d),B=R.length;B--;){var W=R[u?B:++D];if(m(I[W],W,I)===!1)break}return d}}function hde(u,d,m){var _=d&b,D=qp(u);function I(){var R=this&&this!==pr&&this instanceof I?D:u;return R.apply(_?m:this,arguments)}return I}function uP(u){return function(d){d=qt(d);var m=ud(d)?Yo(d):e,_=m?m[0]:d.charAt(0),D=m?bu(m,1).join(""):d.slice(1);return _[u]()+D}}function hd(u){return function(d){return Ow(a7(o7(d).replace(ole,"")),u,"")}}function qp(u){return function(){var d=arguments;switch(d.length){case 0:return new u;case 1:return new u(d[0]);case 2:return new u(d[0],d[1]);case 3:return new u(d[0],d[1],d[2]);case 4:return new u(d[0],d[1],d[2],d[3]);case 5:return new u(d[0],d[1],d[2],d[3],d[4]);case 6:return new u(d[0],d[1],d[2],d[3],d[4],d[5]);case 7:return new u(d[0],d[1],d[2],d[3],d[4],d[5],d[6])}var m=pd(u.prototype),_=u.apply(m,d);return zn(_)?_:m}}function gde(u,d,m){var _=qp(u);function D(){for(var I=arguments.length,R=K(I),B=I,W=gd(D);B--;)R[B]=arguments[B];var oe=I<3&&R[0]!==W&&R[I-1]!==W?[]:pu(R,W);if(I-=oe.length,I<m)return pP(u,d,Vv,D.placeholder,e,R,oe,e,e,m-I);var ae=this&&this!==pr&&this instanceof D?_:u;return Fi(ae,this,R)}return D}function lP(u){return function(d,m,_){var D=sn(d);if(!ki(d)){var I=qe(m,3);d=mr(d),m=function(B){return I(D[B],B,D)}}var R=u(d,m,_);return R>-1?D[I?d[R]:R]:e}}function cP(u){return ss(function(d){var m=d.length,_=m,D=mo.prototype.thru;for(u&&d.reverse();_--;){var I=d[_];if(typeof I!="function")throw new po(r);if(D&&!R&&Yv(I)=="wrapper")var R=new mo([],!0)}for(_=R?_:m;++_<m;){I=d[_];var B=Yv(I),W=B=="wrapper"?p3(I):e;W&&v3(W[0])&&W[1]==(M|x|w|A)&&!W[4].length&&W[9]==1?R=R[Yv(W[0])].apply(R,W[3]):R=I.length==1&&v3(I)?R[B]():R.thru(I)}return function(){var oe=arguments,ae=oe[0];if(R&&oe.length==1&&pt(ae))return R.plant(ae).value();for(var le=0,Se=m?d[le].apply(this,oe):ae;++le<m;)Se=d[le].call(this,Se);return Se}})}function Vv(u,d,m,_,D,I,R,B,W,oe){var ae=d&M,le=d&b,Se=d&k,je=d&(x|E),Ye=d&j,kt=Se?e:qp(u);function Ke(){for(var At=arguments.length,Mt=K(At),Bi=At;Bi--;)Mt[Bi]=arguments[Bi];if(je)var ii=gd(Ke),Zi=Ile(Mt,ii);if(_&&(Mt=iP(Mt,_,D,je)),I&&(Mt=oP(Mt,I,R,je)),At-=Zi,je&&At<oe){var Gn=pu(Mt,ii);return pP(u,d,Vv,Ke.placeholder,m,Mt,Gn,B,W,oe-At)}var Qo=le?m:this,ds=Se?Qo[u]:u;return At=Mt.length,B?Mt=Rde(Mt,B):Ye&&At>1&&Mt.reverse(),ae&&W<At&&(Mt.length=W),this&&this!==pr&&this instanceof Ke&&(ds=kt||qp(ds)),ds.apply(Qo,Mt)}return Ke}function dP(u,d){return function(m,_){return Hce(m,u,d(_),{})}}function Gv(u,d){return function(m,_){var D;if(m===e&&_===e)return d;if(m!==e&&(D=m),_!==e){if(D===e)return _;typeof m=="string"||typeof _=="string"?(m=Ui(m),_=Ui(_)):(m=Y8(m),_=Y8(_)),D=u(m,_)}return D}}function l3(u){return ss(function(d){return d=In(d,Mi(qe())),Et(function(m){var _=this;return u(d,function(D){return Fi(D,_,m)})})})}function qv(u,d){d=d===e?" ":Ui(d);var m=d.length;if(m<2)return m?n3(d,u):d;var _=n3(d,zv(u/ld(d)));return ud(d)?bu(Yo(_),0,u).join(""):_.slice(0,u)}function vde(u,d,m,_){var D=d&b,I=qp(u);function R(){for(var B=-1,W=arguments.length,oe=-1,ae=_.length,le=K(ae+W),Se=this&&this!==pr&&this instanceof R?I:u;++oe<ae;)le[oe]=_[oe];for(;W--;)le[oe++]=arguments[++B];return Fi(Se,D?m:this,le)}return R}function fP(u){return function(d,m,_){return _&&typeof _!="number"&&ri(d,m,_)&&(m=_=e),d=cs(d),m===e?(m=d,d=0):m=cs(m),_=_===e?d<m?1:-1:cs(_),nde(d,m,_,u)}}function Jv(u){return function(d,m){return typeof d=="string"&&typeof m=="string"||(d=yo(d),m=yo(m)),u(d,m)}}function pP(u,d,m,_,D,I,R,B,W,oe){var ae=d&x,le=ae?R:e,Se=ae?e:R,je=ae?I:e,Ye=ae?e:I;d|=ae?w:T,d&=~(ae?T:w),d&$||(d&=~(b|k));var kt=[u,d,D,je,le,Ye,Se,B,W,oe],Ke=m.apply(e,kt);return v3(u)&&DP(Ke,kt),Ke.placeholder=_,$P(Ke,u,d)}function c3(u){var d=ar[u];return function(m,_){if(m=yo(m),_=_==null?0:zr(bt(_),292),_&&$8(m)){var D=(qt(m)+"e").split("e"),I=d(D[0]+"e"+(+D[1]+_));return D=(qt(I)+"e").split("e"),+(D[0]+"e"+(+D[1]-_))}return d(m)}}var yde=dd&&1/Ev(new dd([,-0]))[1]==$e?function(u){return new dd(u)}:N3;function mP(u){return function(d){var m=Pr(d);return m==Qt?Uw(d):m==_i?Ple(d):Sle(d,u(d))}}function as(u,d,m,_,D,I,R,B){var W=d&k;if(!W&&typeof u!="function")throw new po(r);var oe=_?_.length:0;if(oe||(d&=~(w|T),_=D=e),R=R===e?R:sr(bt(R),0),B=B===e?B:bt(B),oe-=D?D.length:0,d&T){var ae=_,le=D;_=D=e}var Se=W?e:p3(u),je=[u,d,m,_,D,ae,le,I,R,B];if(Se&&Ode(je,Se),u=je[0],d=je[1],m=je[2],_=je[3],D=je[4],B=je[9]=je[9]===e?W?0:u.length:sr(je[9]-oe,0),!B&&d&(x|E)&&(d&=~(x|E)),!d||d==b)var Ye=hde(u,d,m);else d==x||d==E?Ye=gde(u,d,B):(d==w||d==(b|w))&&!D.length?Ye=vde(u,d,m,_):Ye=Vv.apply(e,je);var kt=Se?q8:DP;return $P(kt(Ye,je),u,d)}function hP(u,d,m,_){return u===e||Xo(u,cd[m])&&!Gt.call(_,m)?d:u}function gP(u,d,m,_,D,I){return zn(u)&&zn(d)&&(I.set(d,u),Bv(u,d,e,gP,I),I.delete(d)),u}function bde(u){return Kp(u)?e:u}function vP(u,d,m,_,D,I){var R=m&h,B=u.length,W=d.length;if(B!=W&&!(R&&W>B))return!1;var oe=I.get(u),ae=I.get(d);if(oe&&ae)return oe==d&&ae==u;var le=-1,Se=!0,je=m&v?new Ml:e;for(I.set(u,d),I.set(d,u);++le<B;){var Ye=u[le],kt=d[le];if(_)var Ke=R?_(kt,Ye,le,d,u,I):_(Ye,kt,le,u,d,I);if(Ke!==e){if(Ke)continue;Se=!1;break}if(je){if(!zw(d,function(At,Mt){if(!Lp(je,Mt)&&(Ye===At||D(Ye,At,m,_,I)))return je.push(Mt)})){Se=!1;break}}else if(!(Ye===kt||D(Ye,kt,m,_,I))){Se=!1;break}}return I.delete(u),I.delete(d),Se}function _de(u,d,m,_,D,I,R){switch(m){case ne:if(u.byteLength!=d.byteLength||u.byteOffset!=d.byteOffset)return!1;u=u.buffer,d=d.buffer;case Pl:return!(u.byteLength!=d.byteLength||!I(new Cv(u),new Cv(d)));case wr:case fr:case Ri:return Xo(+u,+d);case Wn:return u.name==d.name&&u.message==d.message;case Ol:case lu:return u==d+"";case Qt:var B=Uw;case _i:var W=_&h;if(B||(B=Ev),u.size!=d.size&&!W)return!1;var oe=R.get(u);if(oe)return oe==d;_|=v,R.set(u,d);var ae=vP(B(u),B(d),_,D,I,R);return R.delete(u),ae;case od:if(Bp)return Bp.call(u)==Bp.call(d)}return!1}function xde(u,d,m,_,D,I){var R=m&h,B=d3(u),W=B.length,oe=d3(d),ae=oe.length;if(W!=ae&&!R)return!1;for(var le=W;le--;){var Se=B[le];if(!(R?Se in d:Gt.call(d,Se)))return!1}var je=I.get(u),Ye=I.get(d);if(je&&Ye)return je==d&&Ye==u;var kt=!0;I.set(u,d),I.set(d,u);for(var Ke=R;++le<W;){Se=B[le];var At=u[Se],Mt=d[Se];if(_)var Bi=R?_(Mt,At,Se,d,u,I):_(At,Mt,Se,u,d,I);if(!(Bi===e?At===Mt||D(At,Mt,m,_,I):Bi)){kt=!1;break}Ke||(Ke=Se=="constructor")}if(kt&&!Ke){var ii=u.constructor,Zi=d.constructor;ii!=Zi&&"constructor"in u&&"constructor"in d&&!(typeof ii=="function"&&ii instanceof ii&&typeof Zi=="function"&&Zi instanceof Zi)&&(kt=!1)}return I.delete(u),I.delete(d),kt}function ss(u){return b3(wP(u,e,NP),u+"")}function d3(u){return L8(u,mr,h3)}function f3(u){return L8(u,wi,yP)}var p3=Rv?function(u){return Rv.get(u)}:N3;function Yv(u){for(var d=u.name+"",m=fd[d],_=Gt.call(fd,d)?m.length:0;_--;){var D=m[_],I=D.func;if(I==null||I==u)return D.name}return d}function gd(u){var d=Gt.call(S,"placeholder")?S:u;return d.placeholder}function qe(){var u=S.iteratee||C3;return u=u===C3?U8:u,arguments.length?u(arguments[0],arguments[1]):u}function Kv(u,d){var m=u.__data__;return Tde(d)?m[typeof d=="string"?"string":"hash"]:m.map}function m3(u){for(var d=mr(u),m=d.length;m--;){var _=d[m],D=u[_];d[m]=[_,D,xP(D)]}return d}function Bl(u,d){var m=Nle(u,d);return M8(m)?m:e}function kde(u){var d=Gt.call(u,Ll),m=u[Ll];try{u[Ll]=e;var _=!0}catch{}var D=Iv.call(u);return _&&(d?u[Ll]=m:delete u[Ll]),D}var h3=Bw?function(u){return u==null?[]:(u=sn(u),du(Bw(u),function(d){return E8.call(u,d)}))}:O3,yP=Bw?function(u){for(var d=[];u;)fu(d,h3(u)),u=Av(u);return d}:O3,Pr=ni;(Zw&&Pr(new Zw(new ArrayBuffer(1)))!=ne||Mp&&Pr(new Mp)!=Qt||Hw&&Pr(Hw.resolve())!=Rp||dd&&Pr(new dd)!=_i||Up&&Pr(new Up)!=zl)&&(Pr=function(u){var d=ni(u),m=d==or?u.constructor:e,_=m?Zl(m):"";if(_)switch(_){case ice:return ne;case oce:return Qt;case ace:return Rp;case sce:return _i;case uce:return zl}return d});function wde(u,d,m){for(var _=-1,D=m.length;++_<D;){var I=m[_],R=I.size;switch(I.type){case"drop":u+=R;break;case"dropRight":d-=R;break;case"take":d=zr(d,u+R);break;case"takeRight":u=sr(u,d-R);break}}return{start:u,end:d}}function Ede(u){var d=u.match(Cue);return d?d[1].split(Aue):[]}function bP(u,d,m){d=yu(d,u);for(var _=-1,D=d.length,I=!1;++_<D;){var R=Sa(d[_]);if(!(I=u!=null&&m(u,R)))break;u=u[R]}return I||++_!=D?I:(D=u==null?0:u.length,!!D&&iy(D)&&us(R,D)&&(pt(u)||Hl(u)))}function Dde(u){var d=u.length,m=new u.constructor(d);return d&&typeof u[0]=="string"&&Gt.call(u,"index")&&(m.index=u.index,m.input=u.input),m}function _P(u){return typeof u.constructor=="function"&&!Jp(u)?pd(Av(u)):{}}function $de(u,d,m){var _=u.constructor;switch(d){case Pl:return u3(u);case wr:case fr:return new _(+u);case ne:return lde(u,m);case ke:case st:case wt:case Ht:case ei:case qo:case Li:case ts:case ns:return nP(u,m);case Qt:return new _;case Ri:case lu:return new _(u);case Ol:return cde(u);case _i:return new _;case od:return dde(u)}}function Sde(u,d){var m=d.length;if(!m)return u;var _=m-1;return d[_]=(m>1?"& ":"")+d[_],d=d.join(m>2?", ":" "),u.replace(Tue,`{
9
+ `,yj="/",bj="*",yc="",__e="comment",x_e="declaration";function k_e(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,i=1;function r(b){var k=b.match(f_e);k&&(n+=k.length);var $=b.lastIndexOf(b_e);i=~$?b.length-$:i+b.length}function o(){var b={line:n,column:i};return function(k){return k.position=new a(b),c(),k}}function a(b){this.start=b,this.end={line:n,column:i},this.source=t.source}a.prototype.content=e;function s(b){var k=new Error(t.source+":"+n+":"+i+": "+b);if(k.reason=b,k.filename=t.source,k.line=n,k.column=i,k.source=e,!t.silent)throw k}function l(b){var k=b.exec(e);if(k){var $=k[0];return r($),e=e.slice($.length),k}}function c(){l(p_e)}function f(b){var k;for(b=b||[];k=p();)k!==!1&&b.push(k);return b}function p(){var b=o();if(!(yj!=e.charAt(0)||bj!=e.charAt(1))){for(var k=2;yc!=e.charAt(k)&&(bj!=e.charAt(k)||yj!=e.charAt(k+1));)++k;if(k+=2,yc===e.charAt(k-1))return s("End of comment missing");var $=e.slice(2,k-2);return i+=2,r($),e=e.slice(k),i+=2,b({type:__e,comment:$})}}function h(){var b=o(),k=l(m_e);if(k){if(p(),!l(h_e))return s("property missing ':'");var $=l(g_e),x=b({type:x_e,property:_j(k[0].replace(vj,yc)),value:$?_j($[0].replace(vj,yc)):yc});return l(v_e),x}}function v(){var b=[];f(b);for(var k;k=h();)k!==!1&&(b.push(k),f(b));return b}return c(),v()}function _j(e){return e?e.replace(y_e,yc):yc}xj.exports=k_e});var wj=en(mh=>{"use strict";var w_e=mh&&mh.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(mh,"__esModule",{value:!0});mh.default=D_e;var E_e=w_e(kj());function D_e(e,t){let n=null;if(!e||typeof e!="string")return n;let i=(0,E_e.default)(e),r=typeof t=="function";return i.forEach(o=>{if(o.type!=="declaration")return;let{property:a,value:s}=o;r?t(a,s,o):s&&(n=n||{},n[a]=s)}),n}});var Dj=en(Sb=>{"use strict";Object.defineProperty(Sb,"__esModule",{value:!0});Sb.camelCase=void 0;var $_e=/^--[a-zA-Z0-9_-]+$/,S_e=/-([a-z])/g,I_e=/^[^-]+$/,T_e=/^-(webkit|moz|ms|o|khtml)-/,C_e=/^-(ms)-/,A_e=function(e){return!e||I_e.test(e)||$_e.test(e)},N_e=function(e,t){return t.toUpperCase()},Ej=function(e,t){return"".concat(t,"-")},O_e=function(e,t){return t===void 0&&(t={}),A_e(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(C_e,Ej):e=e.replace(T_e,Ej),e.replace(S_e,N_e))};Sb.camelCase=O_e});var Sj=en((g$,$j)=>{"use strict";var z_e=g$&&g$.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},P_e=z_e(wj()),R_e=Dj();function h$(e,t){var n={};return!e||typeof e!="string"||(0,P_e.default)(e,function(i,r){i&&r&&(n[(0,R_e.camelCase)(i,t)]=r)}),n}h$.default=h$;$j.exports=h$});var KB=en((YVe,YB)=>{"use strict";var Yb=Object.prototype.hasOwnProperty,JB=Object.prototype.toString,ZB=Object.defineProperty,HB=Object.getOwnPropertyDescriptor,WB=function(t){return typeof Array.isArray=="function"?Array.isArray(t):JB.call(t)==="[object Array]"},VB=function(t){if(!t||JB.call(t)!=="[object Object]")return!1;var n=Yb.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&Yb.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!i)return!1;var r;for(r in t);return typeof r>"u"||Yb.call(t,r)},GB=function(t,n){ZB&&n.name==="__proto__"?ZB(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},qB=function(t,n){if(n==="__proto__")if(Yb.call(t,n)){if(HB)return HB(t,n).value}else return;return t[n]};YB.exports=function e(){var t,n,i,r,o,a,s=arguments[0],l=1,c=arguments.length,f=!1;for(typeof s=="boolean"&&(f=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)i=qB(s,n),r=qB(t,n),s!==r&&(f&&r&&(VB(r)||(o=WB(r)))?(o?(o=!1,a=i&&WB(i)?i:[]):a=i&&VB(i)?i:{},GB(s,{name:n,newValue:e(f,a,r)})):typeof r<"u"&&GB(s,{name:n,newValue:r}));return s}});var QH=en((oI,aI)=>{(function(e,t,n){typeof oI=="object"?(aI.exports=n(),aI.exports.default=n()):typeof define=="function"&&define.amd?define(n):t[e]=n()})("slugify",oI,function(){var e=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E'","\u0538":"Y'","\u0539":"T'","\u053A":"JH","\u053B":"I","\u053C":"L","\u053D":"X","\u053E":"C'","\u053F":"K","\u0540":"H","\u0541":"D'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054A":"P","\u054B":"J","\u054C":"R'","\u054D":"S","\u054E":"V","\u054F":"T","\u0550":"R","\u0551":"C","\u0553":"P'","\u0554":"Q'","\u0555":"O''","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062A":"t","\u062B":"th","\u062C":"j","\u062D":"h","\u062E":"kh","\u062F":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063A":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064A":"y","\u064B":"an","\u064C":"on","\u064D":"en","\u064E":"a","\u064F":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067E":"p","\u0686":"ch","\u0698":"zh","\u06A9":"k","\u06AF":"g","\u06CC":"y","\u06F0":"0","\u06F1":"1","\u06F2":"2","\u06F3":"3","\u06F4":"4","\u06F5":"5","\u06F6":"6","\u06F7":"7","\u06F8":"8","\u06F9":"9","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E62":"S","\u1E63":"s","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2013":"-","\u2018":"'","\u2019":"'","\u201C":"\\"","\u201D":"\\"","\u201E":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial","\uFEF5":"laa","\uFEF7":"laa","\uFEF9":"lai","\uFEFB":"la"}`),t=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042A":"A","\u042C":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044A":"a","\u044C":"y"},"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","\xDF":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xA2":"centavos","\xA3":"libras","\xA4":"moneda","\u20A3":"francos","\u2211":"suma","\u221E":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xA2":"centavo","\u2211":"soma","\xA3":"libra","\u221E":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xD8":"OE","\xF8":"oe","\xC5":"AA","\xE5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xF8rre end"},"nb":{"&":"og","\xC5":"AA","\xC6":"AE","\xD8":"OE","\xE5":"aa","\xE6":"ae","\xF8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xC5":"AA","\xC4":"AE","\xD6":"OE","\xE5":"aa","\xE4":"ae","\xF6":"oe"}}');function n(i,r){if(typeof i!="string")throw new Error("slugify: string argument expected");r=typeof r=="string"?{replacement:r}:r||{};var o=t[r.locale]||{},a=r.replacement===void 0?"-":r.replacement,s=r.trim===void 0?!0:r.trim,l=i.normalize().split("").reduce(function(c,f){var p=o[f];return p===void 0&&(p=e[f]),p===void 0&&(p=f),p===a&&(p=" "),c+p.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(l=l.replace(/[^A-Za-z0-9\s]/g,"")),s&&(l=l.trim()),l=l.replace(/\s+/g,a),r.lower&&(l=l.toLowerCase()),l}return n.extend=function(i){Object.assign(e,i)},n})});var Hh=en((Nf,Zh)=>{(function(){var e,t="4.17.23",n=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",r="Expected a function",o="Invalid `variable` option passed into `_.template`",a="__lodash_hash_undefined__",s=500,l="__lodash_placeholder__",c=1,f=2,p=4,h=1,v=2,b=1,k=2,$=4,x=8,E=16,w=32,T=64,M=128,A=256,j=512,X=30,se="...",F=800,De=16,Ee=1,ve=2,ye=3,$e=1/0,Be=9007199254740991,Oe=17976931348623157e292,xe=NaN,Re=4294967295,P=Re-1,We=Re>>>1,Ct=[["ary",M],["bind",b],["bindKey",k],["curry",x],["curryRight",E],["flip",j],["partial",w],["partialRight",T],["rearg",A]],U="[object Arguments]",Yt="[object Array]",Qr="[object AsyncFunction]",wr="[object Boolean]",fr="[object Date]",gn="[object DOMException]",Wn="[object Error]",ir="[object Function]",Or="[object GeneratorFunction]",Qt="[object Map]",Ri="[object Number]",uu="[object Null]",or="[object Object]",Rp="[object Promise]",yv="[object Proxy]",Ol="[object RegExp]",_i="[object Set]",lu="[object String]",od="[object Symbol]",xw="[object Undefined]",zl="[object WeakMap]",kw="[object WeakSet]",Pl="[object ArrayBuffer]",ne="[object DataView]",ke="[object Float32Array]",st="[object Float64Array]",wt="[object Int8Array]",Ht="[object Int16Array]",ei="[object Int32Array]",qo="[object Uint8Array]",Li="[object Uint8ClampedArray]",ts="[object Uint16Array]",ns="[object Uint32Array]",ti=/\b__p \+= '';/g,cu=/\b(__p \+=) '' \+/g,Jo=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Pz=/&(?:amp|lt|gt|quot|#39);/g,Rz=/[&<>"']/g,_ue=RegExp(Pz.source),xue=RegExp(Rz.source),kue=/<%-([\s\S]+?)%>/g,wue=/<%([\s\S]+?)%>/g,Lz=/<%=([\s\S]+?)%>/g,Eue=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Due=/^\w*$/,$ue=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ww=/[\\^$.*+?()[\]{}|]/g,Sue=RegExp(ww.source),Ew=/^\s+/,Iue=/\s/,Tue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Cue=/\{\n\/\* \[wrapped with (.+)\] \*/,Aue=/,? & /,Nue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Oue=/[()=,{}\[\]\/\s]/,zue=/\\(\\)?/g,Pue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fz=/\w*$/,Rue=/^[-+]0x[0-9a-f]+$/i,Lue=/^0b[01]+$/i,Fue=/^\[object .+?Constructor\]$/,Mue=/^0o[0-7]+$/i,Uue=/^(?:0|[1-9]\d*)$/,jue=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,bv=/($^)/,Bue=/['\n\r\u2028\u2029\\]/g,_v="\\ud800-\\udfff",Zue="\\u0300-\\u036f",Hue="\\ufe20-\\ufe2f",Wue="\\u20d0-\\u20ff",Mz=Zue+Hue+Wue,Uz="\\u2700-\\u27bf",jz="a-z\\xdf-\\xf6\\xf8-\\xff",Vue="\\xac\\xb1\\xd7\\xf7",Gue="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",que="\\u2000-\\u206f",Jue=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Bz="A-Z\\xc0-\\xd6\\xd8-\\xde",Zz="\\ufe0e\\ufe0f",Hz=Vue+Gue+que+Jue,Dw="['\u2019]",Yue="["+_v+"]",Wz="["+Hz+"]",xv="["+Mz+"]",Vz="\\d+",Kue="["+Uz+"]",Gz="["+jz+"]",qz="[^"+_v+Hz+Vz+Uz+jz+Bz+"]",$w="\\ud83c[\\udffb-\\udfff]",Xue="(?:"+xv+"|"+$w+")",Jz="[^"+_v+"]",Sw="(?:\\ud83c[\\udde6-\\uddff]){2}",Iw="[\\ud800-\\udbff][\\udc00-\\udfff]",ad="["+Bz+"]",Yz="\\u200d",Kz="(?:"+Gz+"|"+qz+")",Que="(?:"+ad+"|"+qz+")",Xz="(?:"+Dw+"(?:d|ll|m|re|s|t|ve))?",Qz="(?:"+Dw+"(?:D|LL|M|RE|S|T|VE))?",e8=Xue+"?",t8="["+Zz+"]?",ele="(?:"+Yz+"(?:"+[Jz,Sw,Iw].join("|")+")"+t8+e8+")*",tle="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nle="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",n8=t8+e8+ele,rle="(?:"+[Kue,Sw,Iw].join("|")+")"+n8,ile="(?:"+[Jz+xv+"?",xv,Sw,Iw,Yue].join("|")+")",ole=RegExp(Dw,"g"),ale=RegExp(xv,"g"),Tw=RegExp($w+"(?="+$w+")|"+ile+n8,"g"),sle=RegExp([ad+"?"+Gz+"+"+Xz+"(?="+[Wz,ad,"$"].join("|")+")",Que+"+"+Qz+"(?="+[Wz,ad+Kz,"$"].join("|")+")",ad+"?"+Kz+"+"+Xz,ad+"+"+Qz,nle,tle,Vz,rle].join("|"),"g"),ule=RegExp("["+Yz+_v+Mz+Zz+"]"),lle=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cle=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],dle=-1,wn={};wn[ke]=wn[st]=wn[wt]=wn[Ht]=wn[ei]=wn[qo]=wn[Li]=wn[ts]=wn[ns]=!0,wn[U]=wn[Yt]=wn[Pl]=wn[wr]=wn[ne]=wn[fr]=wn[Wn]=wn[ir]=wn[Qt]=wn[Ri]=wn[or]=wn[Ol]=wn[_i]=wn[lu]=wn[zl]=!1;var vn={};vn[U]=vn[Yt]=vn[Pl]=vn[ne]=vn[wr]=vn[fr]=vn[ke]=vn[st]=vn[wt]=vn[Ht]=vn[ei]=vn[Qt]=vn[Ri]=vn[or]=vn[Ol]=vn[_i]=vn[lu]=vn[od]=vn[qo]=vn[Li]=vn[ts]=vn[ns]=!0,vn[Wn]=vn[ir]=vn[zl]=!1;var fle={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ple={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mle={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},hle={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},gle=parseFloat,vle=parseInt,r8=typeof global=="object"&&global&&global.Object===Object&&global,yle=typeof self=="object"&&self&&self.Object===Object&&self,pr=r8||yle||Function("return this")(),Cw=typeof Nf=="object"&&Nf&&!Nf.nodeType&&Nf,Rl=Cw&&typeof Zh=="object"&&Zh&&!Zh.nodeType&&Zh,i8=Rl&&Rl.exports===Cw,Aw=i8&&r8.process,co=function(){try{var Z=Rl&&Rl.require&&Rl.require("util").types;return Z||Aw&&Aw.binding&&Aw.binding("util")}catch{}}(),o8=co&&co.isArrayBuffer,a8=co&&co.isDate,s8=co&&co.isMap,u8=co&&co.isRegExp,l8=co&&co.isSet,c8=co&&co.isTypedArray;function Fi(Z,re,K){switch(K.length){case 0:return Z.call(re);case 1:return Z.call(re,K[0]);case 2:return Z.call(re,K[0],K[1]);case 3:return Z.call(re,K[0],K[1],K[2])}return Z.apply(re,K)}function ble(Z,re,K,Le){for(var ct=-1,Wt=Z==null?0:Z.length;++ct<Wt;){var ar=Z[ct];re(Le,ar,K(ar),Z)}return Le}function fo(Z,re){for(var K=-1,Le=Z==null?0:Z.length;++K<Le&&re(Z[K],K,Z)!==!1;);return Z}function _le(Z,re){for(var K=Z==null?0:Z.length;K--&&re(Z[K],K,Z)!==!1;);return Z}function d8(Z,re){for(var K=-1,Le=Z==null?0:Z.length;++K<Le;)if(!re(Z[K],K,Z))return!1;return!0}function du(Z,re){for(var K=-1,Le=Z==null?0:Z.length,ct=0,Wt=[];++K<Le;){var ar=Z[K];re(ar,K,Z)&&(Wt[ct++]=ar)}return Wt}function kv(Z,re){var K=Z==null?0:Z.length;return!!K&&sd(Z,re,0)>-1}function Nw(Z,re,K){for(var Le=-1,ct=Z==null?0:Z.length;++Le<ct;)if(K(re,Z[Le]))return!0;return!1}function In(Z,re){for(var K=-1,Le=Z==null?0:Z.length,ct=Array(Le);++K<Le;)ct[K]=re(Z[K],K,Z);return ct}function fu(Z,re){for(var K=-1,Le=re.length,ct=Z.length;++K<Le;)Z[ct+K]=re[K];return Z}function Ow(Z,re,K,Le){var ct=-1,Wt=Z==null?0:Z.length;for(Le&&Wt&&(K=Z[++ct]);++ct<Wt;)K=re(K,Z[ct],ct,Z);return K}function xle(Z,re,K,Le){var ct=Z==null?0:Z.length;for(Le&&ct&&(K=Z[--ct]);ct--;)K=re(K,Z[ct],ct,Z);return K}function zw(Z,re){for(var K=-1,Le=Z==null?0:Z.length;++K<Le;)if(re(Z[K],K,Z))return!0;return!1}var kle=Pw("length");function wle(Z){return Z.split("")}function Ele(Z){return Z.match(Nue)||[]}function f8(Z,re,K){var Le;return K(Z,function(ct,Wt,ar){if(re(ct,Wt,ar))return Le=Wt,!1}),Le}function wv(Z,re,K,Le){for(var ct=Z.length,Wt=K+(Le?1:-1);Le?Wt--:++Wt<ct;)if(re(Z[Wt],Wt,Z))return Wt;return-1}function sd(Z,re,K){return re===re?Rle(Z,re,K):wv(Z,p8,K)}function Dle(Z,re,K,Le){for(var ct=K-1,Wt=Z.length;++ct<Wt;)if(Le(Z[ct],re))return ct;return-1}function p8(Z){return Z!==Z}function m8(Z,re){var K=Z==null?0:Z.length;return K?Lw(Z,re)/K:xe}function Pw(Z){return function(re){return re==null?e:re[Z]}}function Rw(Z){return function(re){return Z==null?e:Z[re]}}function h8(Z,re,K,Le,ct){return ct(Z,function(Wt,ar,sn){K=Le?(Le=!1,Wt):re(K,Wt,ar,sn)}),K}function $le(Z,re){var K=Z.length;for(Z.sort(re);K--;)Z[K]=Z[K].value;return Z}function Lw(Z,re){for(var K,Le=-1,ct=Z.length;++Le<ct;){var Wt=re(Z[Le]);Wt!==e&&(K=K===e?Wt:K+Wt)}return K}function Fw(Z,re){for(var K=-1,Le=Array(Z);++K<Z;)Le[K]=re(K);return Le}function Sle(Z,re){return In(re,function(K){return[K,Z[K]]})}function g8(Z){return Z&&Z.slice(0,_8(Z)+1).replace(Ew,"")}function Mi(Z){return function(re){return Z(re)}}function Mw(Z,re){return In(re,function(K){return Z[K]})}function Lp(Z,re){return Z.has(re)}function v8(Z,re){for(var K=-1,Le=Z.length;++K<Le&&sd(re,Z[K],0)>-1;);return K}function y8(Z,re){for(var K=Z.length;K--&&sd(re,Z[K],0)>-1;);return K}function Ile(Z,re){for(var K=Z.length,Le=0;K--;)Z[K]===re&&++Le;return Le}var Tle=Rw(fle),Cle=Rw(ple);function Ale(Z){return"\\"+hle[Z]}function Nle(Z,re){return Z==null?e:Z[re]}function ud(Z){return ule.test(Z)}function Ole(Z){return lle.test(Z)}function zle(Z){for(var re,K=[];!(re=Z.next()).done;)K.push(re.value);return K}function Uw(Z){var re=-1,K=Array(Z.size);return Z.forEach(function(Le,ct){K[++re]=[ct,Le]}),K}function b8(Z,re){return function(K){return Z(re(K))}}function pu(Z,re){for(var K=-1,Le=Z.length,ct=0,Wt=[];++K<Le;){var ar=Z[K];(ar===re||ar===l)&&(Z[K]=l,Wt[ct++]=K)}return Wt}function Ev(Z){var re=-1,K=Array(Z.size);return Z.forEach(function(Le){K[++re]=Le}),K}function Ple(Z){var re=-1,K=Array(Z.size);return Z.forEach(function(Le){K[++re]=[Le,Le]}),K}function Rle(Z,re,K){for(var Le=K-1,ct=Z.length;++Le<ct;)if(Z[Le]===re)return Le;return-1}function Lle(Z,re,K){for(var Le=K+1;Le--;)if(Z[Le]===re)return Le;return Le}function ld(Z){return ud(Z)?Mle(Z):kle(Z)}function Yo(Z){return ud(Z)?Ule(Z):wle(Z)}function _8(Z){for(var re=Z.length;re--&&Iue.test(Z.charAt(re)););return re}var Fle=Rw(mle);function Mle(Z){for(var re=Tw.lastIndex=0;Tw.test(Z);)++re;return re}function Ule(Z){return Z.match(Tw)||[]}function jle(Z){return Z.match(sle)||[]}var Ble=function Z(re){re=re==null?pr:mu.defaults(pr.Object(),re,mu.pick(pr,cle));var K=re.Array,Le=re.Date,ct=re.Error,Wt=re.Function,ar=re.Math,sn=re.Object,jw=re.RegExp,Zle=re.String,po=re.TypeError,Dv=K.prototype,Hle=Wt.prototype,cd=sn.prototype,$v=re["__core-js_shared__"],Sv=Hle.toString,Gt=cd.hasOwnProperty,Wle=0,x8=function(){var u=/[^.]+$/.exec($v&&$v.keys&&$v.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}(),Iv=cd.toString,Vle=Sv.call(sn),Gle=pr._,qle=jw("^"+Sv.call(Gt).replace(ww,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tv=i8?re.Buffer:e,hu=re.Symbol,Cv=re.Uint8Array,k8=Tv?Tv.allocUnsafe:e,Av=b8(sn.getPrototypeOf,sn),w8=sn.create,E8=cd.propertyIsEnumerable,Nv=Dv.splice,D8=hu?hu.isConcatSpreadable:e,Fp=hu?hu.iterator:e,Ll=hu?hu.toStringTag:e,Ov=function(){try{var u=Bl(sn,"defineProperty");return u({},"",{}),u}catch{}}(),Jle=re.clearTimeout!==pr.clearTimeout&&re.clearTimeout,Yle=Le&&Le.now!==pr.Date.now&&Le.now,Kle=re.setTimeout!==pr.setTimeout&&re.setTimeout,zv=ar.ceil,Pv=ar.floor,Bw=sn.getOwnPropertySymbols,Xle=Tv?Tv.isBuffer:e,$8=re.isFinite,Qle=Dv.join,ece=b8(sn.keys,sn),sr=ar.max,zr=ar.min,tce=Le.now,nce=re.parseInt,S8=ar.random,rce=Dv.reverse,Zw=Bl(re,"DataView"),Mp=Bl(re,"Map"),Hw=Bl(re,"Promise"),dd=Bl(re,"Set"),Up=Bl(re,"WeakMap"),jp=Bl(sn,"create"),Rv=Up&&new Up,fd={},ice=Zl(Zw),oce=Zl(Mp),ace=Zl(Hw),sce=Zl(dd),uce=Zl(Up),Lv=hu?hu.prototype:e,Bp=Lv?Lv.valueOf:e,I8=Lv?Lv.toString:e;function S(u){if(Un(u)&&!pt(u)&&!(u instanceof Rt)){if(u instanceof mo)return u;if(Gt.call(u,"__wrapped__"))return TP(u)}return new mo(u)}var pd=function(){function u(){}return function(d){if(!zn(d))return{};if(w8)return w8(d);u.prototype=d;var m=new u;return u.prototype=e,m}}();function Fv(){}function mo(u,d){this.__wrapped__=u,this.__actions__=[],this.__chain__=!!d,this.__index__=0,this.__values__=e}S.templateSettings={escape:kue,evaluate:wue,interpolate:Lz,variable:"",imports:{_:S}},S.prototype=Fv.prototype,S.prototype.constructor=S,mo.prototype=pd(Fv.prototype),mo.prototype.constructor=mo;function Rt(u){this.__wrapped__=u,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Re,this.__views__=[]}function lce(){var u=new Rt(this.__wrapped__);return u.__actions__=xi(this.__actions__),u.__dir__=this.__dir__,u.__filtered__=this.__filtered__,u.__iteratees__=xi(this.__iteratees__),u.__takeCount__=this.__takeCount__,u.__views__=xi(this.__views__),u}function cce(){if(this.__filtered__){var u=new Rt(this);u.__dir__=-1,u.__filtered__=!0}else u=this.clone(),u.__dir__*=-1;return u}function dce(){var u=this.__wrapped__.value(),d=this.__dir__,m=pt(u),_=d<0,D=m?u.length:0,I=wde(0,D,this.__views__),R=I.start,B=I.end,W=B-R,oe=_?B:R-1,ae=this.__iteratees__,le=ae.length,Se=0,je=zr(W,this.__takeCount__);if(!m||!_&&D==W&&je==W)return X8(u,this.__actions__);var Ye=[];e:for(;W--&&Se<je;){oe+=d;for(var kt=-1,Ke=u[oe];++kt<le;){var At=ae[kt],Mt=At.iteratee,Bi=At.type,ii=Mt(Ke);if(Bi==ve)Ke=ii;else if(!ii){if(Bi==Ee)continue e;break e}}Ye[Se++]=Ke}return Ye}Rt.prototype=pd(Fv.prototype),Rt.prototype.constructor=Rt;function Fl(u){var d=-1,m=u==null?0:u.length;for(this.clear();++d<m;){var _=u[d];this.set(_[0],_[1])}}function fce(){this.__data__=jp?jp(null):{},this.size=0}function pce(u){var d=this.has(u)&&delete this.__data__[u];return this.size-=d?1:0,d}function mce(u){var d=this.__data__;if(jp){var m=d[u];return m===a?e:m}return Gt.call(d,u)?d[u]:e}function hce(u){var d=this.__data__;return jp?d[u]!==e:Gt.call(d,u)}function gce(u,d){var m=this.__data__;return this.size+=this.has(u)?0:1,m[u]=jp&&d===e?a:d,this}Fl.prototype.clear=fce,Fl.prototype.delete=pce,Fl.prototype.get=mce,Fl.prototype.has=hce,Fl.prototype.set=gce;function rs(u){var d=-1,m=u==null?0:u.length;for(this.clear();++d<m;){var _=u[d];this.set(_[0],_[1])}}function vce(){this.__data__=[],this.size=0}function yce(u){var d=this.__data__,m=Mv(d,u);if(m<0)return!1;var _=d.length-1;return m==_?d.pop():Nv.call(d,m,1),--this.size,!0}function bce(u){var d=this.__data__,m=Mv(d,u);return m<0?e:d[m][1]}function _ce(u){return Mv(this.__data__,u)>-1}function xce(u,d){var m=this.__data__,_=Mv(m,u);return _<0?(++this.size,m.push([u,d])):m[_][1]=d,this}rs.prototype.clear=vce,rs.prototype.delete=yce,rs.prototype.get=bce,rs.prototype.has=_ce,rs.prototype.set=xce;function is(u){var d=-1,m=u==null?0:u.length;for(this.clear();++d<m;){var _=u[d];this.set(_[0],_[1])}}function kce(){this.size=0,this.__data__={hash:new Fl,map:new(Mp||rs),string:new Fl}}function wce(u){var d=Kv(this,u).delete(u);return this.size-=d?1:0,d}function Ece(u){return Kv(this,u).get(u)}function Dce(u){return Kv(this,u).has(u)}function $ce(u,d){var m=Kv(this,u),_=m.size;return m.set(u,d),this.size+=m.size==_?0:1,this}is.prototype.clear=kce,is.prototype.delete=wce,is.prototype.get=Ece,is.prototype.has=Dce,is.prototype.set=$ce;function Ml(u){var d=-1,m=u==null?0:u.length;for(this.__data__=new is;++d<m;)this.add(u[d])}function Sce(u){return this.__data__.set(u,a),this}function Ice(u){return this.__data__.has(u)}Ml.prototype.add=Ml.prototype.push=Sce,Ml.prototype.has=Ice;function Ko(u){var d=this.__data__=new rs(u);this.size=d.size}function Tce(){this.__data__=new rs,this.size=0}function Cce(u){var d=this.__data__,m=d.delete(u);return this.size=d.size,m}function Ace(u){return this.__data__.get(u)}function Nce(u){return this.__data__.has(u)}function Oce(u,d){var m=this.__data__;if(m instanceof rs){var _=m.__data__;if(!Mp||_.length<n-1)return _.push([u,d]),this.size=++m.size,this;m=this.__data__=new is(_)}return m.set(u,d),this.size=m.size,this}Ko.prototype.clear=Tce,Ko.prototype.delete=Cce,Ko.prototype.get=Ace,Ko.prototype.has=Nce,Ko.prototype.set=Oce;function T8(u,d){var m=pt(u),_=!m&&Hl(u),D=!m&&!_&&_u(u),I=!m&&!_&&!D&&vd(u),R=m||_||D||I,B=R?Fw(u.length,Zle):[],W=B.length;for(var oe in u)(d||Gt.call(u,oe))&&!(R&&(oe=="length"||D&&(oe=="offset"||oe=="parent")||I&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||us(oe,W)))&&B.push(oe);return B}function C8(u){var d=u.length;return d?u[t3(0,d-1)]:e}function zce(u,d){return Xv(xi(u),Ul(d,0,u.length))}function Pce(u){return Xv(xi(u))}function Ww(u,d,m){(m!==e&&!Xo(u[d],m)||m===e&&!(d in u))&&os(u,d,m)}function Zp(u,d,m){var _=u[d];(!(Gt.call(u,d)&&Xo(_,m))||m===e&&!(d in u))&&os(u,d,m)}function Mv(u,d){for(var m=u.length;m--;)if(Xo(u[m][0],d))return m;return-1}function Rce(u,d,m,_){return gu(u,function(D,I,R){d(_,D,m(D),R)}),_}function A8(u,d){return u&&$a(d,mr(d),u)}function Lce(u,d){return u&&$a(d,wi(d),u)}function os(u,d,m){d=="__proto__"&&Ov?Ov(u,d,{configurable:!0,enumerable:!0,value:m,writable:!0}):u[d]=m}function Vw(u,d){for(var m=-1,_=d.length,D=K(_),I=u==null;++m<_;)D[m]=I?e:$3(u,d[m]);return D}function Ul(u,d,m){return u===u&&(m!==e&&(u=u<=m?u:m),d!==e&&(u=u>=d?u:d)),u}function ho(u,d,m,_,D,I){var R,B=d&c,W=d&f,oe=d&p;if(m&&(R=D?m(u,_,D,I):m(u)),R!==e)return R;if(!zn(u))return u;var ae=pt(u);if(ae){if(R=Dde(u),!B)return xi(u,R)}else{var le=Pr(u),Se=le==ir||le==Or;if(_u(u))return tP(u,B);if(le==or||le==U||Se&&!D){if(R=W||Se?{}:_P(u),!B)return W?mde(u,Lce(R,u)):pde(u,A8(R,u))}else{if(!vn[le])return D?u:{};R=$de(u,le,B)}}I||(I=new Ko);var je=I.get(u);if(je)return je;I.set(u,R),JP(u)?u.forEach(function(Ke){R.add(ho(Ke,d,m,Ke,u,I))}):GP(u)&&u.forEach(function(Ke,At){R.set(At,ho(Ke,d,m,At,u,I))});var Ye=oe?W?f3:d3:W?wi:mr,kt=ae?e:Ye(u);return fo(kt||u,function(Ke,At){kt&&(At=Ke,Ke=u[At]),Zp(R,At,ho(Ke,d,m,At,u,I))}),R}function Fce(u){var d=mr(u);return function(m){return N8(m,u,d)}}function N8(u,d,m){var _=m.length;if(u==null)return!_;for(u=sn(u);_--;){var D=m[_],I=d[D],R=u[D];if(R===e&&!(D in u)||!I(R))return!1}return!0}function O8(u,d,m){if(typeof u!="function")throw new po(r);return Yp(function(){u.apply(e,m)},d)}function Hp(u,d,m,_){var D=-1,I=kv,R=!0,B=u.length,W=[],oe=d.length;if(!B)return W;m&&(d=In(d,Mi(m))),_?(I=Nw,R=!1):d.length>=n&&(I=Lp,R=!1,d=new Ml(d));e:for(;++D<B;){var ae=u[D],le=m==null?ae:m(ae);if(ae=_||ae!==0?ae:0,R&&le===le){for(var Se=oe;Se--;)if(d[Se]===le)continue e;W.push(ae)}else I(d,le,_)||W.push(ae)}return W}var gu=aP(Da),z8=aP(qw,!0);function Mce(u,d){var m=!0;return gu(u,function(_,D,I){return m=!!d(_,D,I),m}),m}function Uv(u,d,m){for(var _=-1,D=u.length;++_<D;){var I=u[_],R=d(I);if(R!=null&&(B===e?R===R&&!ji(R):m(R,B)))var B=R,W=I}return W}function Uce(u,d,m,_){var D=u.length;for(m=bt(m),m<0&&(m=-m>D?0:D+m),_=_===e||_>D?D:bt(_),_<0&&(_+=D),_=m>_?0:KP(_);m<_;)u[m++]=d;return u}function P8(u,d){var m=[];return gu(u,function(_,D,I){d(_,D,I)&&m.push(_)}),m}function Er(u,d,m,_,D){var I=-1,R=u.length;for(m||(m=Ide),D||(D=[]);++I<R;){var B=u[I];d>0&&m(B)?d>1?Er(B,d-1,m,_,D):fu(D,B):_||(D[D.length]=B)}return D}var Gw=sP(),R8=sP(!0);function Da(u,d){return u&&Gw(u,d,mr)}function qw(u,d){return u&&R8(u,d,mr)}function jv(u,d){return du(d,function(m){return ls(u[m])})}function jl(u,d){d=yu(d,u);for(var m=0,_=d.length;u!=null&&m<_;)u=u[Sa(d[m++])];return m&&m==_?u:e}function L8(u,d,m){var _=d(u);return pt(u)?_:fu(_,m(u))}function ni(u){return u==null?u===e?xw:uu:Ll&&Ll in sn(u)?kde(u):Pde(u)}function Jw(u,d){return u>d}function jce(u,d){return u!=null&&Gt.call(u,d)}function Bce(u,d){return u!=null&&d in sn(u)}function Zce(u,d,m){return u>=zr(d,m)&&u<sr(d,m)}function Yw(u,d,m){for(var _=m?Nw:kv,D=u[0].length,I=u.length,R=I,B=K(I),W=1/0,oe=[];R--;){var ae=u[R];R&&d&&(ae=In(ae,Mi(d))),W=zr(ae.length,W),B[R]=!m&&(d||D>=120&&ae.length>=120)?new Ml(R&&ae):e}ae=u[0];var le=-1,Se=B[0];e:for(;++le<D&&oe.length<W;){var je=ae[le],Ye=d?d(je):je;if(je=m||je!==0?je:0,!(Se?Lp(Se,Ye):_(oe,Ye,m))){for(R=I;--R;){var kt=B[R];if(!(kt?Lp(kt,Ye):_(u[R],Ye,m)))continue e}Se&&Se.push(Ye),oe.push(je)}}return oe}function Hce(u,d,m,_){return Da(u,function(D,I,R){d(_,m(D),I,R)}),_}function Wp(u,d,m){d=yu(d,u),u=EP(u,d);var _=u==null?u:u[Sa(vo(d))];return _==null?e:Fi(_,u,m)}function F8(u){return Un(u)&&ni(u)==U}function Wce(u){return Un(u)&&ni(u)==Pl}function Vce(u){return Un(u)&&ni(u)==fr}function Vp(u,d,m,_,D){return u===d?!0:u==null||d==null||!Un(u)&&!Un(d)?u!==u&&d!==d:Gce(u,d,m,_,Vp,D)}function Gce(u,d,m,_,D,I){var R=pt(u),B=pt(d),W=R?Yt:Pr(u),oe=B?Yt:Pr(d);W=W==U?or:W,oe=oe==U?or:oe;var ae=W==or,le=oe==or,Se=W==oe;if(Se&&_u(u)){if(!_u(d))return!1;R=!0,ae=!1}if(Se&&!ae)return I||(I=new Ko),R||vd(u)?vP(u,d,m,_,D,I):_de(u,d,W,m,_,D,I);if(!(m&h)){var je=ae&&Gt.call(u,"__wrapped__"),Ye=le&&Gt.call(d,"__wrapped__");if(je||Ye){var kt=je?u.value():u,Ke=Ye?d.value():d;return I||(I=new Ko),D(kt,Ke,m,_,I)}}return Se?(I||(I=new Ko),xde(u,d,m,_,D,I)):!1}function qce(u){return Un(u)&&Pr(u)==Qt}function Kw(u,d,m,_){var D=m.length,I=D,R=!_;if(u==null)return!I;for(u=sn(u);D--;){var B=m[D];if(R&&B[2]?B[1]!==u[B[0]]:!(B[0]in u))return!1}for(;++D<I;){B=m[D];var W=B[0],oe=u[W],ae=B[1];if(R&&B[2]){if(oe===e&&!(W in u))return!1}else{var le=new Ko;if(_)var Se=_(oe,ae,W,u,d,le);if(!(Se===e?Vp(ae,oe,h|v,_,le):Se))return!1}}return!0}function M8(u){if(!zn(u)||Cde(u))return!1;var d=ls(u)?qle:Fue;return d.test(Zl(u))}function Jce(u){return Un(u)&&ni(u)==Ol}function Yce(u){return Un(u)&&Pr(u)==_i}function Kce(u){return Un(u)&&iy(u.length)&&!!wn[ni(u)]}function U8(u){return typeof u=="function"?u:u==null?Ei:typeof u=="object"?pt(u)?Z8(u[0],u[1]):B8(u):u7(u)}function Xw(u){if(!Jp(u))return ece(u);var d=[];for(var m in sn(u))Gt.call(u,m)&&m!="constructor"&&d.push(m);return d}function Xce(u){if(!zn(u))return zde(u);var d=Jp(u),m=[];for(var _ in u)_=="constructor"&&(d||!Gt.call(u,_))||m.push(_);return m}function Qw(u,d){return u<d}function j8(u,d){var m=-1,_=ki(u)?K(u.length):[];return gu(u,function(D,I,R){_[++m]=d(D,I,R)}),_}function B8(u){var d=m3(u);return d.length==1&&d[0][2]?kP(d[0][0],d[0][1]):function(m){return m===u||Kw(m,u,d)}}function Z8(u,d){return g3(u)&&xP(d)?kP(Sa(u),d):function(m){var _=$3(m,u);return _===e&&_===d?S3(m,u):Vp(d,_,h|v)}}function Bv(u,d,m,_,D){u!==d&&Gw(d,function(I,R){if(D||(D=new Ko),zn(I))Qce(u,d,R,m,Bv,_,D);else{var B=_?_(y3(u,R),I,R+"",u,d,D):e;B===e&&(B=I),Ww(u,R,B)}},wi)}function Qce(u,d,m,_,D,I,R){var B=y3(u,m),W=y3(d,m),oe=R.get(W);if(oe){Ww(u,m,oe);return}var ae=I?I(B,W,m+"",u,d,R):e,le=ae===e;if(le){var Se=pt(W),je=!Se&&_u(W),Ye=!Se&&!je&&vd(W);ae=W,Se||je||Ye?pt(B)?ae=B:Vn(B)?ae=xi(B):je?(le=!1,ae=tP(W,!0)):Ye?(le=!1,ae=nP(W,!0)):ae=[]:Kp(W)||Hl(W)?(ae=B,Hl(B)?ae=XP(B):(!zn(B)||ls(B))&&(ae=_P(W))):le=!1}le&&(R.set(W,ae),D(ae,W,_,I,R),R.delete(W)),Ww(u,m,ae)}function H8(u,d){var m=u.length;if(m)return d+=d<0?m:0,us(d,m)?u[d]:e}function W8(u,d,m){d.length?d=In(d,function(I){return pt(I)?function(R){return jl(R,I.length===1?I[0]:I)}:I}):d=[Ei];var _=-1;d=In(d,Mi(qe()));var D=j8(u,function(I,R,B){var W=In(d,function(oe){return oe(I)});return{criteria:W,index:++_,value:I}});return $le(D,function(I,R){return fde(I,R,m)})}function ede(u,d){return V8(u,d,function(m,_){return S3(u,_)})}function V8(u,d,m){for(var _=-1,D=d.length,I={};++_<D;){var R=d[_],B=jl(u,R);m(B,R)&&Gp(I,yu(R,u),B)}return I}function tde(u){return function(d){return jl(d,u)}}function e3(u,d,m,_){var D=_?Dle:sd,I=-1,R=d.length,B=u;for(u===d&&(d=xi(d)),m&&(B=In(u,Mi(m)));++I<R;)for(var W=0,oe=d[I],ae=m?m(oe):oe;(W=D(B,ae,W,_))>-1;)B!==u&&Nv.call(B,W,1),Nv.call(u,W,1);return u}function G8(u,d){for(var m=u?d.length:0,_=m-1;m--;){var D=d[m];if(m==_||D!==I){var I=D;us(D)?Nv.call(u,D,1):i3(u,D)}}return u}function t3(u,d){return u+Pv(S8()*(d-u+1))}function nde(u,d,m,_){for(var D=-1,I=sr(zv((d-u)/(m||1)),0),R=K(I);I--;)R[_?I:++D]=u,u+=m;return R}function n3(u,d){var m="";if(!u||d<1||d>Be)return m;do d%2&&(m+=u),d=Pv(d/2),d&&(u+=u);while(d);return m}function Et(u,d){return b3(wP(u,d,Ei),u+"")}function rde(u){return C8(yd(u))}function ide(u,d){var m=yd(u);return Xv(m,Ul(d,0,m.length))}function Gp(u,d,m,_){if(!zn(u))return u;d=yu(d,u);for(var D=-1,I=d.length,R=I-1,B=u;B!=null&&++D<I;){var W=Sa(d[D]),oe=m;if(W==="__proto__"||W==="constructor"||W==="prototype")return u;if(D!=R){var ae=B[W];oe=_?_(ae,W,B):e,oe===e&&(oe=zn(ae)?ae:us(d[D+1])?[]:{})}Zp(B,W,oe),B=B[W]}return u}var q8=Rv?function(u,d){return Rv.set(u,d),u}:Ei,ode=Ov?function(u,d){return Ov(u,"toString",{configurable:!0,enumerable:!1,value:T3(d),writable:!0})}:Ei;function ade(u){return Xv(yd(u))}function go(u,d,m){var _=-1,D=u.length;d<0&&(d=-d>D?0:D+d),m=m>D?D:m,m<0&&(m+=D),D=d>m?0:m-d>>>0,d>>>=0;for(var I=K(D);++_<D;)I[_]=u[_+d];return I}function sde(u,d){var m;return gu(u,function(_,D,I){return m=d(_,D,I),!m}),!!m}function Zv(u,d,m){var _=0,D=u==null?_:u.length;if(typeof d=="number"&&d===d&&D<=We){for(;_<D;){var I=_+D>>>1,R=u[I];R!==null&&!ji(R)&&(m?R<=d:R<d)?_=I+1:D=I}return D}return r3(u,d,Ei,m)}function r3(u,d,m,_){var D=0,I=u==null?0:u.length;if(I===0)return 0;d=m(d);for(var R=d!==d,B=d===null,W=ji(d),oe=d===e;D<I;){var ae=Pv((D+I)/2),le=m(u[ae]),Se=le!==e,je=le===null,Ye=le===le,kt=ji(le);if(R)var Ke=_||Ye;else oe?Ke=Ye&&(_||Se):B?Ke=Ye&&Se&&(_||!je):W?Ke=Ye&&Se&&!je&&(_||!kt):je||kt?Ke=!1:Ke=_?le<=d:le<d;Ke?D=ae+1:I=ae}return zr(I,P)}function J8(u,d){for(var m=-1,_=u.length,D=0,I=[];++m<_;){var R=u[m],B=d?d(R):R;if(!m||!Xo(B,W)){var W=B;I[D++]=R===0?0:R}}return I}function Y8(u){return typeof u=="number"?u:ji(u)?xe:+u}function Ui(u){if(typeof u=="string")return u;if(pt(u))return In(u,Ui)+"";if(ji(u))return I8?I8.call(u):"";var d=u+"";return d=="0"&&1/u==-$e?"-0":d}function vu(u,d,m){var _=-1,D=kv,I=u.length,R=!0,B=[],W=B;if(m)R=!1,D=Nw;else if(I>=n){var oe=d?null:yde(u);if(oe)return Ev(oe);R=!1,D=Lp,W=new Ml}else W=d?[]:B;e:for(;++_<I;){var ae=u[_],le=d?d(ae):ae;if(ae=m||ae!==0?ae:0,R&&le===le){for(var Se=W.length;Se--;)if(W[Se]===le)continue e;d&&W.push(le),B.push(ae)}else D(W,le,m)||(W!==B&&W.push(le),B.push(ae))}return B}function i3(u,d){d=yu(d,u);var m=-1,_=d.length;if(!_)return!0;for(var D=u==null||typeof u!="object"&&typeof u!="function";++m<_;){var I=d[m];if(typeof I=="string"){if(I==="__proto__"&&!Gt.call(u,"__proto__"))return!1;if(I==="constructor"&&m+1<_&&typeof d[m+1]=="string"&&d[m+1]==="prototype"){if(D&&m===0)continue;return!1}}}var R=EP(u,d);return R==null||delete R[Sa(vo(d))]}function K8(u,d,m,_){return Gp(u,d,m(jl(u,d)),_)}function Hv(u,d,m,_){for(var D=u.length,I=_?D:-1;(_?I--:++I<D)&&d(u[I],I,u););return m?go(u,_?0:I,_?I+1:D):go(u,_?I+1:0,_?D:I)}function X8(u,d){var m=u;return m instanceof Rt&&(m=m.value()),Ow(d,function(_,D){return D.func.apply(D.thisArg,fu([_],D.args))},m)}function o3(u,d,m){var _=u.length;if(_<2)return _?vu(u[0]):[];for(var D=-1,I=K(_);++D<_;)for(var R=u[D],B=-1;++B<_;)B!=D&&(I[D]=Hp(I[D]||R,u[B],d,m));return vu(Er(I,1),d,m)}function Q8(u,d,m){for(var _=-1,D=u.length,I=d.length,R={};++_<D;){var B=_<I?d[_]:e;m(R,u[_],B)}return R}function a3(u){return Vn(u)?u:[]}function s3(u){return typeof u=="function"?u:Ei}function yu(u,d){return pt(u)?u:g3(u,d)?[u]:IP(qt(u))}var ude=Et;function bu(u,d,m){var _=u.length;return m=m===e?_:m,!d&&m>=_?u:go(u,d,m)}var eP=Jle||function(u){return pr.clearTimeout(u)};function tP(u,d){if(d)return u.slice();var m=u.length,_=k8?k8(m):new u.constructor(m);return u.copy(_),_}function u3(u){var d=new u.constructor(u.byteLength);return new Cv(d).set(new Cv(u)),d}function lde(u,d){var m=d?u3(u.buffer):u.buffer;return new u.constructor(m,u.byteOffset,u.byteLength)}function cde(u){var d=new u.constructor(u.source,Fz.exec(u));return d.lastIndex=u.lastIndex,d}function dde(u){return Bp?sn(Bp.call(u)):{}}function nP(u,d){var m=d?u3(u.buffer):u.buffer;return new u.constructor(m,u.byteOffset,u.length)}function rP(u,d){if(u!==d){var m=u!==e,_=u===null,D=u===u,I=ji(u),R=d!==e,B=d===null,W=d===d,oe=ji(d);if(!B&&!oe&&!I&&u>d||I&&R&&W&&!B&&!oe||_&&R&&W||!m&&W||!D)return 1;if(!_&&!I&&!oe&&u<d||oe&&m&&D&&!_&&!I||B&&m&&D||!R&&D||!W)return-1}return 0}function fde(u,d,m){for(var _=-1,D=u.criteria,I=d.criteria,R=D.length,B=m.length;++_<R;){var W=rP(D[_],I[_]);if(W){if(_>=B)return W;var oe=m[_];return W*(oe=="desc"?-1:1)}}return u.index-d.index}function iP(u,d,m,_){for(var D=-1,I=u.length,R=m.length,B=-1,W=d.length,oe=sr(I-R,0),ae=K(W+oe),le=!_;++B<W;)ae[B]=d[B];for(;++D<R;)(le||D<I)&&(ae[m[D]]=u[D]);for(;oe--;)ae[B++]=u[D++];return ae}function oP(u,d,m,_){for(var D=-1,I=u.length,R=-1,B=m.length,W=-1,oe=d.length,ae=sr(I-B,0),le=K(ae+oe),Se=!_;++D<ae;)le[D]=u[D];for(var je=D;++W<oe;)le[je+W]=d[W];for(;++R<B;)(Se||D<I)&&(le[je+m[R]]=u[D++]);return le}function xi(u,d){var m=-1,_=u.length;for(d||(d=K(_));++m<_;)d[m]=u[m];return d}function $a(u,d,m,_){var D=!m;m||(m={});for(var I=-1,R=d.length;++I<R;){var B=d[I],W=_?_(m[B],u[B],B,m,u):e;W===e&&(W=u[B]),D?os(m,B,W):Zp(m,B,W)}return m}function pde(u,d){return $a(u,h3(u),d)}function mde(u,d){return $a(u,yP(u),d)}function Wv(u,d){return function(m,_){var D=pt(m)?ble:Rce,I=d?d():{};return D(m,u,qe(_,2),I)}}function md(u){return Et(function(d,m){var _=-1,D=m.length,I=D>1?m[D-1]:e,R=D>2?m[2]:e;for(I=u.length>3&&typeof I=="function"?(D--,I):e,R&&ri(m[0],m[1],R)&&(I=D<3?e:I,D=1),d=sn(d);++_<D;){var B=m[_];B&&u(d,B,_,I)}return d})}function aP(u,d){return function(m,_){if(m==null)return m;if(!ki(m))return u(m,_);for(var D=m.length,I=d?D:-1,R=sn(m);(d?I--:++I<D)&&_(R[I],I,R)!==!1;);return m}}function sP(u){return function(d,m,_){for(var D=-1,I=sn(d),R=_(d),B=R.length;B--;){var W=R[u?B:++D];if(m(I[W],W,I)===!1)break}return d}}function hde(u,d,m){var _=d&b,D=qp(u);function I(){var R=this&&this!==pr&&this instanceof I?D:u;return R.apply(_?m:this,arguments)}return I}function uP(u){return function(d){d=qt(d);var m=ud(d)?Yo(d):e,_=m?m[0]:d.charAt(0),D=m?bu(m,1).join(""):d.slice(1);return _[u]()+D}}function hd(u){return function(d){return Ow(a7(o7(d).replace(ole,"")),u,"")}}function qp(u){return function(){var d=arguments;switch(d.length){case 0:return new u;case 1:return new u(d[0]);case 2:return new u(d[0],d[1]);case 3:return new u(d[0],d[1],d[2]);case 4:return new u(d[0],d[1],d[2],d[3]);case 5:return new u(d[0],d[1],d[2],d[3],d[4]);case 6:return new u(d[0],d[1],d[2],d[3],d[4],d[5]);case 7:return new u(d[0],d[1],d[2],d[3],d[4],d[5],d[6])}var m=pd(u.prototype),_=u.apply(m,d);return zn(_)?_:m}}function gde(u,d,m){var _=qp(u);function D(){for(var I=arguments.length,R=K(I),B=I,W=gd(D);B--;)R[B]=arguments[B];var oe=I<3&&R[0]!==W&&R[I-1]!==W?[]:pu(R,W);if(I-=oe.length,I<m)return pP(u,d,Vv,D.placeholder,e,R,oe,e,e,m-I);var ae=this&&this!==pr&&this instanceof D?_:u;return Fi(ae,this,R)}return D}function lP(u){return function(d,m,_){var D=sn(d);if(!ki(d)){var I=qe(m,3);d=mr(d),m=function(B){return I(D[B],B,D)}}var R=u(d,m,_);return R>-1?D[I?d[R]:R]:e}}function cP(u){return ss(function(d){var m=d.length,_=m,D=mo.prototype.thru;for(u&&d.reverse();_--;){var I=d[_];if(typeof I!="function")throw new po(r);if(D&&!R&&Yv(I)=="wrapper")var R=new mo([],!0)}for(_=R?_:m;++_<m;){I=d[_];var B=Yv(I),W=B=="wrapper"?p3(I):e;W&&v3(W[0])&&W[1]==(M|x|w|A)&&!W[4].length&&W[9]==1?R=R[Yv(W[0])].apply(R,W[3]):R=I.length==1&&v3(I)?R[B]():R.thru(I)}return function(){var oe=arguments,ae=oe[0];if(R&&oe.length==1&&pt(ae))return R.plant(ae).value();for(var le=0,Se=m?d[le].apply(this,oe):ae;++le<m;)Se=d[le].call(this,Se);return Se}})}function Vv(u,d,m,_,D,I,R,B,W,oe){var ae=d&M,le=d&b,Se=d&k,je=d&(x|E),Ye=d&j,kt=Se?e:qp(u);function Ke(){for(var At=arguments.length,Mt=K(At),Bi=At;Bi--;)Mt[Bi]=arguments[Bi];if(je)var ii=gd(Ke),Zi=Ile(Mt,ii);if(_&&(Mt=iP(Mt,_,D,je)),I&&(Mt=oP(Mt,I,R,je)),At-=Zi,je&&At<oe){var Gn=pu(Mt,ii);return pP(u,d,Vv,Ke.placeholder,m,Mt,Gn,B,W,oe-At)}var Qo=le?m:this,ds=Se?Qo[u]:u;return At=Mt.length,B?Mt=Rde(Mt,B):Ye&&At>1&&Mt.reverse(),ae&&W<At&&(Mt.length=W),this&&this!==pr&&this instanceof Ke&&(ds=kt||qp(ds)),ds.apply(Qo,Mt)}return Ke}function dP(u,d){return function(m,_){return Hce(m,u,d(_),{})}}function Gv(u,d){return function(m,_){var D;if(m===e&&_===e)return d;if(m!==e&&(D=m),_!==e){if(D===e)return _;typeof m=="string"||typeof _=="string"?(m=Ui(m),_=Ui(_)):(m=Y8(m),_=Y8(_)),D=u(m,_)}return D}}function l3(u){return ss(function(d){return d=In(d,Mi(qe())),Et(function(m){var _=this;return u(d,function(D){return Fi(D,_,m)})})})}function qv(u,d){d=d===e?" ":Ui(d);var m=d.length;if(m<2)return m?n3(d,u):d;var _=n3(d,zv(u/ld(d)));return ud(d)?bu(Yo(_),0,u).join(""):_.slice(0,u)}function vde(u,d,m,_){var D=d&b,I=qp(u);function R(){for(var B=-1,W=arguments.length,oe=-1,ae=_.length,le=K(ae+W),Se=this&&this!==pr&&this instanceof R?I:u;++oe<ae;)le[oe]=_[oe];for(;W--;)le[oe++]=arguments[++B];return Fi(Se,D?m:this,le)}return R}function fP(u){return function(d,m,_){return _&&typeof _!="number"&&ri(d,m,_)&&(m=_=e),d=cs(d),m===e?(m=d,d=0):m=cs(m),_=_===e?d<m?1:-1:cs(_),nde(d,m,_,u)}}function Jv(u){return function(d,m){return typeof d=="string"&&typeof m=="string"||(d=yo(d),m=yo(m)),u(d,m)}}function pP(u,d,m,_,D,I,R,B,W,oe){var ae=d&x,le=ae?R:e,Se=ae?e:R,je=ae?I:e,Ye=ae?e:I;d|=ae?w:T,d&=~(ae?T:w),d&$||(d&=~(b|k));var kt=[u,d,D,je,le,Ye,Se,B,W,oe],Ke=m.apply(e,kt);return v3(u)&&DP(Ke,kt),Ke.placeholder=_,$P(Ke,u,d)}function c3(u){var d=ar[u];return function(m,_){if(m=yo(m),_=_==null?0:zr(bt(_),292),_&&$8(m)){var D=(qt(m)+"e").split("e"),I=d(D[0]+"e"+(+D[1]+_));return D=(qt(I)+"e").split("e"),+(D[0]+"e"+(+D[1]-_))}return d(m)}}var yde=dd&&1/Ev(new dd([,-0]))[1]==$e?function(u){return new dd(u)}:N3;function mP(u){return function(d){var m=Pr(d);return m==Qt?Uw(d):m==_i?Ple(d):Sle(d,u(d))}}function as(u,d,m,_,D,I,R,B){var W=d&k;if(!W&&typeof u!="function")throw new po(r);var oe=_?_.length:0;if(oe||(d&=~(w|T),_=D=e),R=R===e?R:sr(bt(R),0),B=B===e?B:bt(B),oe-=D?D.length:0,d&T){var ae=_,le=D;_=D=e}var Se=W?e:p3(u),je=[u,d,m,_,D,ae,le,I,R,B];if(Se&&Ode(je,Se),u=je[0],d=je[1],m=je[2],_=je[3],D=je[4],B=je[9]=je[9]===e?W?0:u.length:sr(je[9]-oe,0),!B&&d&(x|E)&&(d&=~(x|E)),!d||d==b)var Ye=hde(u,d,m);else d==x||d==E?Ye=gde(u,d,B):(d==w||d==(b|w))&&!D.length?Ye=vde(u,d,m,_):Ye=Vv.apply(e,je);var kt=Se?q8:DP;return $P(kt(Ye,je),u,d)}function hP(u,d,m,_){return u===e||Xo(u,cd[m])&&!Gt.call(_,m)?d:u}function gP(u,d,m,_,D,I){return zn(u)&&zn(d)&&(I.set(d,u),Bv(u,d,e,gP,I),I.delete(d)),u}function bde(u){return Kp(u)?e:u}function vP(u,d,m,_,D,I){var R=m&h,B=u.length,W=d.length;if(B!=W&&!(R&&W>B))return!1;var oe=I.get(u),ae=I.get(d);if(oe&&ae)return oe==d&&ae==u;var le=-1,Se=!0,je=m&v?new Ml:e;for(I.set(u,d),I.set(d,u);++le<B;){var Ye=u[le],kt=d[le];if(_)var Ke=R?_(kt,Ye,le,d,u,I):_(Ye,kt,le,u,d,I);if(Ke!==e){if(Ke)continue;Se=!1;break}if(je){if(!zw(d,function(At,Mt){if(!Lp(je,Mt)&&(Ye===At||D(Ye,At,m,_,I)))return je.push(Mt)})){Se=!1;break}}else if(!(Ye===kt||D(Ye,kt,m,_,I))){Se=!1;break}}return I.delete(u),I.delete(d),Se}function _de(u,d,m,_,D,I,R){switch(m){case ne:if(u.byteLength!=d.byteLength||u.byteOffset!=d.byteOffset)return!1;u=u.buffer,d=d.buffer;case Pl:return!(u.byteLength!=d.byteLength||!I(new Cv(u),new Cv(d)));case wr:case fr:case Ri:return Xo(+u,+d);case Wn:return u.name==d.name&&u.message==d.message;case Ol:case lu:return u==d+"";case Qt:var B=Uw;case _i:var W=_&h;if(B||(B=Ev),u.size!=d.size&&!W)return!1;var oe=R.get(u);if(oe)return oe==d;_|=v,R.set(u,d);var ae=vP(B(u),B(d),_,D,I,R);return R.delete(u),ae;case od:if(Bp)return Bp.call(u)==Bp.call(d)}return!1}function xde(u,d,m,_,D,I){var R=m&h,B=d3(u),W=B.length,oe=d3(d),ae=oe.length;if(W!=ae&&!R)return!1;for(var le=W;le--;){var Se=B[le];if(!(R?Se in d:Gt.call(d,Se)))return!1}var je=I.get(u),Ye=I.get(d);if(je&&Ye)return je==d&&Ye==u;var kt=!0;I.set(u,d),I.set(d,u);for(var Ke=R;++le<W;){Se=B[le];var At=u[Se],Mt=d[Se];if(_)var Bi=R?_(Mt,At,Se,d,u,I):_(At,Mt,Se,u,d,I);if(!(Bi===e?At===Mt||D(At,Mt,m,_,I):Bi)){kt=!1;break}Ke||(Ke=Se=="constructor")}if(kt&&!Ke){var ii=u.constructor,Zi=d.constructor;ii!=Zi&&"constructor"in u&&"constructor"in d&&!(typeof ii=="function"&&ii instanceof ii&&typeof Zi=="function"&&Zi instanceof Zi)&&(kt=!1)}return I.delete(u),I.delete(d),kt}function ss(u){return b3(wP(u,e,NP),u+"")}function d3(u){return L8(u,mr,h3)}function f3(u){return L8(u,wi,yP)}var p3=Rv?function(u){return Rv.get(u)}:N3;function Yv(u){for(var d=u.name+"",m=fd[d],_=Gt.call(fd,d)?m.length:0;_--;){var D=m[_],I=D.func;if(I==null||I==u)return D.name}return d}function gd(u){var d=Gt.call(S,"placeholder")?S:u;return d.placeholder}function qe(){var u=S.iteratee||C3;return u=u===C3?U8:u,arguments.length?u(arguments[0],arguments[1]):u}function Kv(u,d){var m=u.__data__;return Tde(d)?m[typeof d=="string"?"string":"hash"]:m.map}function m3(u){for(var d=mr(u),m=d.length;m--;){var _=d[m],D=u[_];d[m]=[_,D,xP(D)]}return d}function Bl(u,d){var m=Nle(u,d);return M8(m)?m:e}function kde(u){var d=Gt.call(u,Ll),m=u[Ll];try{u[Ll]=e;var _=!0}catch{}var D=Iv.call(u);return _&&(d?u[Ll]=m:delete u[Ll]),D}var h3=Bw?function(u){return u==null?[]:(u=sn(u),du(Bw(u),function(d){return E8.call(u,d)}))}:O3,yP=Bw?function(u){for(var d=[];u;)fu(d,h3(u)),u=Av(u);return d}:O3,Pr=ni;(Zw&&Pr(new Zw(new ArrayBuffer(1)))!=ne||Mp&&Pr(new Mp)!=Qt||Hw&&Pr(Hw.resolve())!=Rp||dd&&Pr(new dd)!=_i||Up&&Pr(new Up)!=zl)&&(Pr=function(u){var d=ni(u),m=d==or?u.constructor:e,_=m?Zl(m):"";if(_)switch(_){case ice:return ne;case oce:return Qt;case ace:return Rp;case sce:return _i;case uce:return zl}return d});function wde(u,d,m){for(var _=-1,D=m.length;++_<D;){var I=m[_],R=I.size;switch(I.type){case"drop":u+=R;break;case"dropRight":d-=R;break;case"take":d=zr(d,u+R);break;case"takeRight":u=sr(u,d-R);break}}return{start:u,end:d}}function Ede(u){var d=u.match(Cue);return d?d[1].split(Aue):[]}function bP(u,d,m){d=yu(d,u);for(var _=-1,D=d.length,I=!1;++_<D;){var R=Sa(d[_]);if(!(I=u!=null&&m(u,R)))break;u=u[R]}return I||++_!=D?I:(D=u==null?0:u.length,!!D&&iy(D)&&us(R,D)&&(pt(u)||Hl(u)))}function Dde(u){var d=u.length,m=new u.constructor(d);return d&&typeof u[0]=="string"&&Gt.call(u,"index")&&(m.index=u.index,m.input=u.input),m}function _P(u){return typeof u.constructor=="function"&&!Jp(u)?pd(Av(u)):{}}function $de(u,d,m){var _=u.constructor;switch(d){case Pl:return u3(u);case wr:case fr:return new _(+u);case ne:return lde(u,m);case ke:case st:case wt:case Ht:case ei:case qo:case Li:case ts:case ns:return nP(u,m);case Qt:return new _;case Ri:case lu:return new _(u);case Ol:return cde(u);case _i:return new _;case od:return dde(u)}}function Sde(u,d){var m=d.length;if(!m)return u;var _=m-1;return d[_]=(m>1?"& ":"")+d[_],d=d.join(m>2?", ":" "),u.replace(Tue,`{
10
10
  /* [wrapped with `+d+`] */
11
11
  `)}function Ide(u){return pt(u)||Hl(u)||!!(D8&&u&&u[D8])}function us(u,d){var m=typeof u;return d=d??Be,!!d&&(m=="number"||m!="symbol"&&Uue.test(u))&&u>-1&&u%1==0&&u<d}function ri(u,d,m){if(!zn(m))return!1;var _=typeof d;return(_=="number"?ki(m)&&us(d,m.length):_=="string"&&d in m)?Xo(m[d],u):!1}function g3(u,d){if(pt(u))return!1;var m=typeof u;return m=="number"||m=="symbol"||m=="boolean"||u==null||ji(u)?!0:Due.test(u)||!Eue.test(u)||d!=null&&u in sn(d)}function Tde(u){var d=typeof u;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?u!=="__proto__":u===null}function v3(u){var d=Yv(u),m=S[d];if(typeof m!="function"||!(d in Rt.prototype))return!1;if(u===m)return!0;var _=p3(m);return!!_&&u===_[0]}function Cde(u){return!!x8&&x8 in u}var Ade=$v?ls:z3;function Jp(u){var d=u&&u.constructor,m=typeof d=="function"&&d.prototype||cd;return u===m}function xP(u){return u===u&&!zn(u)}function kP(u,d){return function(m){return m==null?!1:m[u]===d&&(d!==e||u in sn(m))}}function Nde(u){var d=ny(u,function(_){return m.size===s&&m.clear(),_}),m=d.cache;return d}function Ode(u,d){var m=u[1],_=d[1],D=m|_,I=D<(b|k|M),R=_==M&&m==x||_==M&&m==A&&u[7].length<=d[8]||_==(M|A)&&d[7].length<=d[8]&&m==x;if(!(I||R))return u;_&b&&(u[2]=d[2],D|=m&b?0:$);var B=d[3];if(B){var W=u[3];u[3]=W?iP(W,B,d[4]):B,u[4]=W?pu(u[3],l):d[4]}return B=d[5],B&&(W=u[5],u[5]=W?oP(W,B,d[6]):B,u[6]=W?pu(u[5],l):d[6]),B=d[7],B&&(u[7]=B),_&M&&(u[8]=u[8]==null?d[8]:zr(u[8],d[8])),u[9]==null&&(u[9]=d[9]),u[0]=d[0],u[1]=D,u}function zde(u){var d=[];if(u!=null)for(var m in sn(u))d.push(m);return d}function Pde(u){return Iv.call(u)}function wP(u,d,m){return d=sr(d===e?u.length-1:d,0),function(){for(var _=arguments,D=-1,I=sr(_.length-d,0),R=K(I);++D<I;)R[D]=_[d+D];D=-1;for(var B=K(d+1);++D<d;)B[D]=_[D];return B[d]=m(R),Fi(u,this,B)}}function EP(u,d){return d.length<2?u:jl(u,go(d,0,-1))}function Rde(u,d){for(var m=u.length,_=zr(d.length,m),D=xi(u);_--;){var I=d[_];u[_]=us(I,m)?D[I]:e}return u}function y3(u,d){if(!(d==="constructor"&&typeof u[d]=="function")&&d!="__proto__")return u[d]}var DP=SP(q8),Yp=Kle||function(u,d){return pr.setTimeout(u,d)},b3=SP(ode);function $P(u,d,m){var _=d+"";return b3(u,Sde(_,Lde(Ede(_),m)))}function SP(u){var d=0,m=0;return function(){var _=tce(),D=De-(_-m);if(m=_,D>0){if(++d>=F)return arguments[0]}else d=0;return u.apply(e,arguments)}}function Xv(u,d){var m=-1,_=u.length,D=_-1;for(d=d===e?_:d;++m<d;){var I=t3(m,D),R=u[I];u[I]=u[m],u[m]=R}return u.length=d,u}var IP=Nde(function(u){var d=[];return u.charCodeAt(0)===46&&d.push(""),u.replace($ue,function(m,_,D,I){d.push(D?I.replace(zue,"$1"):_||m)}),d});function Sa(u){if(typeof u=="string"||ji(u))return u;var d=u+"";return d=="0"&&1/u==-$e?"-0":d}function Zl(u){if(u!=null){try{return Sv.call(u)}catch{}try{return u+""}catch{}}return""}function Lde(u,d){return fo(Ct,function(m){var _="_."+m[0];d&m[1]&&!kv(u,_)&&u.push(_)}),u.sort()}function TP(u){if(u instanceof Rt)return u.clone();var d=new mo(u.__wrapped__,u.__chain__);return d.__actions__=xi(u.__actions__),d.__index__=u.__index__,d.__values__=u.__values__,d}function Fde(u,d,m){(m?ri(u,d,m):d===e)?d=1:d=sr(bt(d),0);var _=u==null?0:u.length;if(!_||d<1)return[];for(var D=0,I=0,R=K(zv(_/d));D<_;)R[I++]=go(u,D,D+=d);return R}function Mde(u){for(var d=-1,m=u==null?0:u.length,_=0,D=[];++d<m;){var I=u[d];I&&(D[_++]=I)}return D}function Ude(){var u=arguments.length;if(!u)return[];for(var d=K(u-1),m=arguments[0],_=u;_--;)d[_-1]=arguments[_];return fu(pt(m)?xi(m):[m],Er(d,1))}var jde=Et(function(u,d){return Vn(u)?Hp(u,Er(d,1,Vn,!0)):[]}),Bde=Et(function(u,d){var m=vo(d);return Vn(m)&&(m=e),Vn(u)?Hp(u,Er(d,1,Vn,!0),qe(m,2)):[]}),Zde=Et(function(u,d){var m=vo(d);return Vn(m)&&(m=e),Vn(u)?Hp(u,Er(d,1,Vn,!0),e,m):[]});function Hde(u,d,m){var _=u==null?0:u.length;return _?(d=m||d===e?1:bt(d),go(u,d<0?0:d,_)):[]}function Wde(u,d,m){var _=u==null?0:u.length;return _?(d=m||d===e?1:bt(d),d=_-d,go(u,0,d<0?0:d)):[]}function Vde(u,d){return u&&u.length?Hv(u,qe(d,3),!0,!0):[]}function Gde(u,d){return u&&u.length?Hv(u,qe(d,3),!0):[]}function qde(u,d,m,_){var D=u==null?0:u.length;return D?(m&&typeof m!="number"&&ri(u,d,m)&&(m=0,_=D),Uce(u,d,m,_)):[]}function CP(u,d,m){var _=u==null?0:u.length;if(!_)return-1;var D=m==null?0:bt(m);return D<0&&(D=sr(_+D,0)),wv(u,qe(d,3),D)}function AP(u,d,m){var _=u==null?0:u.length;if(!_)return-1;var D=_-1;return m!==e&&(D=bt(m),D=m<0?sr(_+D,0):zr(D,_-1)),wv(u,qe(d,3),D,!0)}function NP(u){var d=u==null?0:u.length;return d?Er(u,1):[]}function Jde(u){var d=u==null?0:u.length;return d?Er(u,$e):[]}function Yde(u,d){var m=u==null?0:u.length;return m?(d=d===e?1:bt(d),Er(u,d)):[]}function Kde(u){for(var d=-1,m=u==null?0:u.length,_={};++d<m;){var D=u[d];_[D[0]]=D[1]}return _}function OP(u){return u&&u.length?u[0]:e}function Xde(u,d,m){var _=u==null?0:u.length;if(!_)return-1;var D=m==null?0:bt(m);return D<0&&(D=sr(_+D,0)),sd(u,d,D)}function Qde(u){var d=u==null?0:u.length;return d?go(u,0,-1):[]}var efe=Et(function(u){var d=In(u,a3);return d.length&&d[0]===u[0]?Yw(d):[]}),tfe=Et(function(u){var d=vo(u),m=In(u,a3);return d===vo(m)?d=e:m.pop(),m.length&&m[0]===u[0]?Yw(m,qe(d,2)):[]}),nfe=Et(function(u){var d=vo(u),m=In(u,a3);return d=typeof d=="function"?d:e,d&&m.pop(),m.length&&m[0]===u[0]?Yw(m,e,d):[]});function rfe(u,d){return u==null?"":Qle.call(u,d)}function vo(u){var d=u==null?0:u.length;return d?u[d-1]:e}function ife(u,d,m){var _=u==null?0:u.length;if(!_)return-1;var D=_;return m!==e&&(D=bt(m),D=D<0?sr(_+D,0):zr(D,_-1)),d===d?Lle(u,d,D):wv(u,p8,D,!0)}function ofe(u,d){return u&&u.length?H8(u,bt(d)):e}var afe=Et(zP);function zP(u,d){return u&&u.length&&d&&d.length?e3(u,d):u}function sfe(u,d,m){return u&&u.length&&d&&d.length?e3(u,d,qe(m,2)):u}function ufe(u,d,m){return u&&u.length&&d&&d.length?e3(u,d,e,m):u}var lfe=ss(function(u,d){var m=u==null?0:u.length,_=Vw(u,d);return G8(u,In(d,function(D){return us(D,m)?+D:D}).sort(rP)),_});function cfe(u,d){var m=[];if(!(u&&u.length))return m;var _=-1,D=[],I=u.length;for(d=qe(d,3);++_<I;){var R=u[_];d(R,_,u)&&(m.push(R),D.push(_))}return G8(u,D),m}function _3(u){return u==null?u:rce.call(u)}function dfe(u,d,m){var _=u==null?0:u.length;return _?(m&&typeof m!="number"&&ri(u,d,m)?(d=0,m=_):(d=d==null?0:bt(d),m=m===e?_:bt(m)),go(u,d,m)):[]}function ffe(u,d){return Zv(u,d)}function pfe(u,d,m){return r3(u,d,qe(m,2))}function mfe(u,d){var m=u==null?0:u.length;if(m){var _=Zv(u,d);if(_<m&&Xo(u[_],d))return _}return-1}function hfe(u,d){return Zv(u,d,!0)}function gfe(u,d,m){return r3(u,d,qe(m,2),!0)}function vfe(u,d){var m=u==null?0:u.length;if(m){var _=Zv(u,d,!0)-1;if(Xo(u[_],d))return _}return-1}function yfe(u){return u&&u.length?J8(u):[]}function bfe(u,d){return u&&u.length?J8(u,qe(d,2)):[]}function _fe(u){var d=u==null?0:u.length;return d?go(u,1,d):[]}function xfe(u,d,m){return u&&u.length?(d=m||d===e?1:bt(d),go(u,0,d<0?0:d)):[]}function kfe(u,d,m){var _=u==null?0:u.length;return _?(d=m||d===e?1:bt(d),d=_-d,go(u,d<0?0:d,_)):[]}function wfe(u,d){return u&&u.length?Hv(u,qe(d,3),!1,!0):[]}function Efe(u,d){return u&&u.length?Hv(u,qe(d,3)):[]}var Dfe=Et(function(u){return vu(Er(u,1,Vn,!0))}),$fe=Et(function(u){var d=vo(u);return Vn(d)&&(d=e),vu(Er(u,1,Vn,!0),qe(d,2))}),Sfe=Et(function(u){var d=vo(u);return d=typeof d=="function"?d:e,vu(Er(u,1,Vn,!0),e,d)});function Ife(u){return u&&u.length?vu(u):[]}function Tfe(u,d){return u&&u.length?vu(u,qe(d,2)):[]}function Cfe(u,d){return d=typeof d=="function"?d:e,u&&u.length?vu(u,e,d):[]}function x3(u){if(!(u&&u.length))return[];var d=0;return u=du(u,function(m){if(Vn(m))return d=sr(m.length,d),!0}),Fw(d,function(m){return In(u,Pw(m))})}function PP(u,d){if(!(u&&u.length))return[];var m=x3(u);return d==null?m:In(m,function(_){return Fi(d,e,_)})}var Afe=Et(function(u,d){return Vn(u)?Hp(u,d):[]}),Nfe=Et(function(u){return o3(du(u,Vn))}),Ofe=Et(function(u){var d=vo(u);return Vn(d)&&(d=e),o3(du(u,Vn),qe(d,2))}),zfe=Et(function(u){var d=vo(u);return d=typeof d=="function"?d:e,o3(du(u,Vn),e,d)}),Pfe=Et(x3);function Rfe(u,d){return Q8(u||[],d||[],Zp)}function Lfe(u,d){return Q8(u||[],d||[],Gp)}var Ffe=Et(function(u){var d=u.length,m=d>1?u[d-1]:e;return m=typeof m=="function"?(u.pop(),m):e,PP(u,m)});function RP(u){var d=S(u);return d.__chain__=!0,d}function Mfe(u,d){return d(u),u}function Qv(u,d){return d(u)}var Ufe=ss(function(u){var d=u.length,m=d?u[0]:0,_=this.__wrapped__,D=function(I){return Vw(I,u)};return d>1||this.__actions__.length||!(_ instanceof Rt)||!us(m)?this.thru(D):(_=_.slice(m,+m+(d?1:0)),_.__actions__.push({func:Qv,args:[D],thisArg:e}),new mo(_,this.__chain__).thru(function(I){return d&&!I.length&&I.push(e),I}))});function jfe(){return RP(this)}function Bfe(){return new mo(this.value(),this.__chain__)}function Zfe(){this.__values__===e&&(this.__values__=YP(this.value()));var u=this.__index__>=this.__values__.length,d=u?e:this.__values__[this.__index__++];return{done:u,value:d}}function Hfe(){return this}function Wfe(u){for(var d,m=this;m instanceof Fv;){var _=TP(m);_.__index__=0,_.__values__=e,d?D.__wrapped__=_:d=_;var D=_;m=m.__wrapped__}return D.__wrapped__=u,d}function Vfe(){var u=this.__wrapped__;if(u instanceof Rt){var d=u;return this.__actions__.length&&(d=new Rt(this)),d=d.reverse(),d.__actions__.push({func:Qv,args:[_3],thisArg:e}),new mo(d,this.__chain__)}return this.thru(_3)}function Gfe(){return X8(this.__wrapped__,this.__actions__)}var qfe=Wv(function(u,d,m){Gt.call(u,m)?++u[m]:os(u,m,1)});function Jfe(u,d,m){var _=pt(u)?d8:Mce;return m&&ri(u,d,m)&&(d=e),_(u,qe(d,3))}function Yfe(u,d){var m=pt(u)?du:P8;return m(u,qe(d,3))}var Kfe=lP(CP),Xfe=lP(AP);function Qfe(u,d){return Er(ey(u,d),1)}function epe(u,d){return Er(ey(u,d),$e)}function tpe(u,d,m){return m=m===e?1:bt(m),Er(ey(u,d),m)}function LP(u,d){var m=pt(u)?fo:gu;return m(u,qe(d,3))}function FP(u,d){var m=pt(u)?_le:z8;return m(u,qe(d,3))}var npe=Wv(function(u,d,m){Gt.call(u,m)?u[m].push(d):os(u,m,[d])});function rpe(u,d,m,_){u=ki(u)?u:yd(u),m=m&&!_?bt(m):0;var D=u.length;return m<0&&(m=sr(D+m,0)),oy(u)?m<=D&&u.indexOf(d,m)>-1:!!D&&sd(u,d,m)>-1}var ipe=Et(function(u,d,m){var _=-1,D=typeof d=="function",I=ki(u)?K(u.length):[];return gu(u,function(R){I[++_]=D?Fi(d,R,m):Wp(R,d,m)}),I}),ope=Wv(function(u,d,m){os(u,m,d)});function ey(u,d){var m=pt(u)?In:j8;return m(u,qe(d,3))}function ape(u,d,m,_){return u==null?[]:(pt(d)||(d=d==null?[]:[d]),m=_?e:m,pt(m)||(m=m==null?[]:[m]),W8(u,d,m))}var spe=Wv(function(u,d,m){u[m?0:1].push(d)},function(){return[[],[]]});function upe(u,d,m){var _=pt(u)?Ow:h8,D=arguments.length<3;return _(u,qe(d,4),m,D,gu)}function lpe(u,d,m){var _=pt(u)?xle:h8,D=arguments.length<3;return _(u,qe(d,4),m,D,z8)}function cpe(u,d){var m=pt(u)?du:P8;return m(u,ry(qe(d,3)))}function dpe(u){var d=pt(u)?C8:rde;return d(u)}function fpe(u,d,m){(m?ri(u,d,m):d===e)?d=1:d=bt(d);var _=pt(u)?zce:ide;return _(u,d)}function ppe(u){var d=pt(u)?Pce:ade;return d(u)}function mpe(u){if(u==null)return 0;if(ki(u))return oy(u)?ld(u):u.length;var d=Pr(u);return d==Qt||d==_i?u.size:Xw(u).length}function hpe(u,d,m){var _=pt(u)?zw:sde;return m&&ri(u,d,m)&&(d=e),_(u,qe(d,3))}var gpe=Et(function(u,d){if(u==null)return[];var m=d.length;return m>1&&ri(u,d[0],d[1])?d=[]:m>2&&ri(d[0],d[1],d[2])&&(d=[d[0]]),W8(u,Er(d,1),[])}),ty=Yle||function(){return pr.Date.now()};function vpe(u,d){if(typeof d!="function")throw new po(r);return u=bt(u),function(){if(--u<1)return d.apply(this,arguments)}}function MP(u,d,m){return d=m?e:d,d=u&&d==null?u.length:d,as(u,M,e,e,e,e,d)}function UP(u,d){var m;if(typeof d!="function")throw new po(r);return u=bt(u),function(){return--u>0&&(m=d.apply(this,arguments)),u<=1&&(d=e),m}}var k3=Et(function(u,d,m){var _=b;if(m.length){var D=pu(m,gd(k3));_|=w}return as(u,_,d,m,D)}),jP=Et(function(u,d,m){var _=b|k;if(m.length){var D=pu(m,gd(jP));_|=w}return as(d,_,u,m,D)});function BP(u,d,m){d=m?e:d;var _=as(u,x,e,e,e,e,e,d);return _.placeholder=BP.placeholder,_}function ZP(u,d,m){d=m?e:d;var _=as(u,E,e,e,e,e,e,d);return _.placeholder=ZP.placeholder,_}function HP(u,d,m){var _,D,I,R,B,W,oe=0,ae=!1,le=!1,Se=!0;if(typeof u!="function")throw new po(r);d=yo(d)||0,zn(m)&&(ae=!!m.leading,le="maxWait"in m,I=le?sr(yo(m.maxWait)||0,d):I,Se="trailing"in m?!!m.trailing:Se);function je(Gn){var Qo=_,ds=D;return _=D=e,oe=Gn,R=u.apply(ds,Qo),R}function Ye(Gn){return oe=Gn,B=Yp(At,d),ae?je(Gn):R}function kt(Gn){var Qo=Gn-W,ds=Gn-oe,l7=d-Qo;return le?zr(l7,I-ds):l7}function Ke(Gn){var Qo=Gn-W,ds=Gn-oe;return W===e||Qo>=d||Qo<0||le&&ds>=I}function At(){var Gn=ty();if(Ke(Gn))return Mt(Gn);B=Yp(At,kt(Gn))}function Mt(Gn){return B=e,Se&&_?je(Gn):(_=D=e,R)}function Bi(){B!==e&&eP(B),oe=0,_=W=D=B=e}function ii(){return B===e?R:Mt(ty())}function Zi(){var Gn=ty(),Qo=Ke(Gn);if(_=arguments,D=this,W=Gn,Qo){if(B===e)return Ye(W);if(le)return eP(B),B=Yp(At,d),je(W)}return B===e&&(B=Yp(At,d)),R}return Zi.cancel=Bi,Zi.flush=ii,Zi}var ype=Et(function(u,d){return O8(u,1,d)}),bpe=Et(function(u,d,m){return O8(u,yo(d)||0,m)});function _pe(u){return as(u,j)}function ny(u,d){if(typeof u!="function"||d!=null&&typeof d!="function")throw new po(r);var m=function(){var _=arguments,D=d?d.apply(this,_):_[0],I=m.cache;if(I.has(D))return I.get(D);var R=u.apply(this,_);return m.cache=I.set(D,R)||I,R};return m.cache=new(ny.Cache||is),m}ny.Cache=is;function ry(u){if(typeof u!="function")throw new po(r);return function(){var d=arguments;switch(d.length){case 0:return!u.call(this);case 1:return!u.call(this,d[0]);case 2:return!u.call(this,d[0],d[1]);case 3:return!u.call(this,d[0],d[1],d[2])}return!u.apply(this,d)}}function xpe(u){return UP(2,u)}var kpe=ude(function(u,d){d=d.length==1&&pt(d[0])?In(d[0],Mi(qe())):In(Er(d,1),Mi(qe()));var m=d.length;return Et(function(_){for(var D=-1,I=zr(_.length,m);++D<I;)_[D]=d[D].call(this,_[D]);return Fi(u,this,_)})}),w3=Et(function(u,d){var m=pu(d,gd(w3));return as(u,w,e,d,m)}),WP=Et(function(u,d){var m=pu(d,gd(WP));return as(u,T,e,d,m)}),wpe=ss(function(u,d){return as(u,A,e,e,e,d)});function Epe(u,d){if(typeof u!="function")throw new po(r);return d=d===e?d:bt(d),Et(u,d)}function Dpe(u,d){if(typeof u!="function")throw new po(r);return d=d==null?0:sr(bt(d),0),Et(function(m){var _=m[d],D=bu(m,0,d);return _&&fu(D,_),Fi(u,this,D)})}function $pe(u,d,m){var _=!0,D=!0;if(typeof u!="function")throw new po(r);return zn(m)&&(_="leading"in m?!!m.leading:_,D="trailing"in m?!!m.trailing:D),HP(u,d,{leading:_,maxWait:d,trailing:D})}function Spe(u){return MP(u,1)}function Ipe(u,d){return w3(s3(d),u)}function Tpe(){if(!arguments.length)return[];var u=arguments[0];return pt(u)?u:[u]}function Cpe(u){return ho(u,p)}function Ape(u,d){return d=typeof d=="function"?d:e,ho(u,p,d)}function Npe(u){return ho(u,c|p)}function Ope(u,d){return d=typeof d=="function"?d:e,ho(u,c|p,d)}function zpe(u,d){return d==null||N8(u,d,mr(d))}function Xo(u,d){return u===d||u!==u&&d!==d}var Ppe=Jv(Jw),Rpe=Jv(function(u,d){return u>=d}),Hl=F8(function(){return arguments}())?F8:function(u){return Un(u)&&Gt.call(u,"callee")&&!E8.call(u,"callee")},pt=K.isArray,Lpe=o8?Mi(o8):Wce;function ki(u){return u!=null&&iy(u.length)&&!ls(u)}function Vn(u){return Un(u)&&ki(u)}function Fpe(u){return u===!0||u===!1||Un(u)&&ni(u)==wr}var _u=Xle||z3,Mpe=a8?Mi(a8):Vce;function Upe(u){return Un(u)&&u.nodeType===1&&!Kp(u)}function jpe(u){if(u==null)return!0;if(ki(u)&&(pt(u)||typeof u=="string"||typeof u.splice=="function"||_u(u)||vd(u)||Hl(u)))return!u.length;var d=Pr(u);if(d==Qt||d==_i)return!u.size;if(Jp(u))return!Xw(u).length;for(var m in u)if(Gt.call(u,m))return!1;return!0}function Bpe(u,d){return Vp(u,d)}function Zpe(u,d,m){m=typeof m=="function"?m:e;var _=m?m(u,d):e;return _===e?Vp(u,d,e,m):!!_}function E3(u){if(!Un(u))return!1;var d=ni(u);return d==Wn||d==gn||typeof u.message=="string"&&typeof u.name=="string"&&!Kp(u)}function Hpe(u){return typeof u=="number"&&$8(u)}function ls(u){if(!zn(u))return!1;var d=ni(u);return d==ir||d==Or||d==Qr||d==yv}function VP(u){return typeof u=="number"&&u==bt(u)}function iy(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=Be}function zn(u){var d=typeof u;return u!=null&&(d=="object"||d=="function")}function Un(u){return u!=null&&typeof u=="object"}var GP=s8?Mi(s8):qce;function Wpe(u,d){return u===d||Kw(u,d,m3(d))}function Vpe(u,d,m){return m=typeof m=="function"?m:e,Kw(u,d,m3(d),m)}function Gpe(u){return qP(u)&&u!=+u}function qpe(u){if(Ade(u))throw new ct(i);return M8(u)}function Jpe(u){return u===null}function Ype(u){return u==null}function qP(u){return typeof u=="number"||Un(u)&&ni(u)==Ri}function Kp(u){if(!Un(u)||ni(u)!=or)return!1;var d=Av(u);if(d===null)return!0;var m=Gt.call(d,"constructor")&&d.constructor;return typeof m=="function"&&m instanceof m&&Sv.call(m)==Vle}var D3=u8?Mi(u8):Jce;function Kpe(u){return VP(u)&&u>=-Be&&u<=Be}var JP=l8?Mi(l8):Yce;function oy(u){return typeof u=="string"||!pt(u)&&Un(u)&&ni(u)==lu}function ji(u){return typeof u=="symbol"||Un(u)&&ni(u)==od}var vd=c8?Mi(c8):Kce;function Xpe(u){return u===e}function Qpe(u){return Un(u)&&Pr(u)==zl}function eme(u){return Un(u)&&ni(u)==kw}var tme=Jv(Qw),nme=Jv(function(u,d){return u<=d});function YP(u){if(!u)return[];if(ki(u))return oy(u)?Yo(u):xi(u);if(Fp&&u[Fp])return zle(u[Fp]());var d=Pr(u),m=d==Qt?Uw:d==_i?Ev:yd;return m(u)}function cs(u){if(!u)return u===0?u:0;if(u=yo(u),u===$e||u===-$e){var d=u<0?-1:1;return d*Oe}return u===u?u:0}function bt(u){var d=cs(u),m=d%1;return d===d?m?d-m:d:0}function KP(u){return u?Ul(bt(u),0,Re):0}function yo(u){if(typeof u=="number")return u;if(ji(u))return xe;if(zn(u)){var d=typeof u.valueOf=="function"?u.valueOf():u;u=zn(d)?d+"":d}if(typeof u!="string")return u===0?u:+u;u=g8(u);var m=Lue.test(u);return m||Mue.test(u)?vle(u.slice(2),m?2:8):Rue.test(u)?xe:+u}function XP(u){return $a(u,wi(u))}function rme(u){return u?Ul(bt(u),-Be,Be):u===0?u:0}function qt(u){return u==null?"":Ui(u)}var ime=md(function(u,d){if(Jp(d)||ki(d)){$a(d,mr(d),u);return}for(var m in d)Gt.call(d,m)&&Zp(u,m,d[m])}),QP=md(function(u,d){$a(d,wi(d),u)}),ay=md(function(u,d,m,_){$a(d,wi(d),u,_)}),ome=md(function(u,d,m,_){$a(d,mr(d),u,_)}),ame=ss(Vw);function sme(u,d){var m=pd(u);return d==null?m:A8(m,d)}var ume=Et(function(u,d){u=sn(u);var m=-1,_=d.length,D=_>2?d[2]:e;for(D&&ri(d[0],d[1],D)&&(_=1);++m<_;)for(var I=d[m],R=wi(I),B=-1,W=R.length;++B<W;){var oe=R[B],ae=u[oe];(ae===e||Xo(ae,cd[oe])&&!Gt.call(u,oe))&&(u[oe]=I[oe])}return u}),lme=Et(function(u){return u.push(e,gP),Fi(e7,e,u)});function cme(u,d){return f8(u,qe(d,3),Da)}function dme(u,d){return f8(u,qe(d,3),qw)}function fme(u,d){return u==null?u:Gw(u,qe(d,3),wi)}function pme(u,d){return u==null?u:R8(u,qe(d,3),wi)}function mme(u,d){return u&&Da(u,qe(d,3))}function hme(u,d){return u&&qw(u,qe(d,3))}function gme(u){return u==null?[]:jv(u,mr(u))}function vme(u){return u==null?[]:jv(u,wi(u))}function $3(u,d,m){var _=u==null?e:jl(u,d);return _===e?m:_}function yme(u,d){return u!=null&&bP(u,d,jce)}function S3(u,d){return u!=null&&bP(u,d,Bce)}var bme=dP(function(u,d,m){d!=null&&typeof d.toString!="function"&&(d=Iv.call(d)),u[d]=m},T3(Ei)),_me=dP(function(u,d,m){d!=null&&typeof d.toString!="function"&&(d=Iv.call(d)),Gt.call(u,d)?u[d].push(m):u[d]=[m]},qe),xme=Et(Wp);function mr(u){return ki(u)?T8(u):Xw(u)}function wi(u){return ki(u)?T8(u,!0):Xce(u)}function kme(u,d){var m={};return d=qe(d,3),Da(u,function(_,D,I){os(m,d(_,D,I),_)}),m}function wme(u,d){var m={};return d=qe(d,3),Da(u,function(_,D,I){os(m,D,d(_,D,I))}),m}var Eme=md(function(u,d,m){Bv(u,d,m)}),e7=md(function(u,d,m,_){Bv(u,d,m,_)}),Dme=ss(function(u,d){var m={};if(u==null)return m;var _=!1;d=In(d,function(I){return I=yu(I,u),_||(_=I.length>1),I}),$a(u,f3(u),m),_&&(m=ho(m,c|f|p,bde));for(var D=d.length;D--;)i3(m,d[D]);return m});function $me(u,d){return t7(u,ry(qe(d)))}var Sme=ss(function(u,d){return u==null?{}:ede(u,d)});function t7(u,d){if(u==null)return{};var m=In(f3(u),function(_){return[_]});return d=qe(d),V8(u,m,function(_,D){return d(_,D[0])})}function Ime(u,d,m){d=yu(d,u);var _=-1,D=d.length;for(D||(D=1,u=e);++_<D;){var I=u==null?e:u[Sa(d[_])];I===e&&(_=D,I=m),u=ls(I)?I.call(u):I}return u}function Tme(u,d,m){return u==null?u:Gp(u,d,m)}function Cme(u,d,m,_){return _=typeof _=="function"?_:e,u==null?u:Gp(u,d,m,_)}var n7=mP(mr),r7=mP(wi);function Ame(u,d,m){var _=pt(u),D=_||_u(u)||vd(u);if(d=qe(d,4),m==null){var I=u&&u.constructor;D?m=_?new I:[]:zn(u)?m=ls(I)?pd(Av(u)):{}:m={}}return(D?fo:Da)(u,function(R,B,W){return d(m,R,B,W)}),m}function Nme(u,d){return u==null?!0:i3(u,d)}function Ome(u,d,m){return u==null?u:K8(u,d,s3(m))}function zme(u,d,m,_){return _=typeof _=="function"?_:e,u==null?u:K8(u,d,s3(m),_)}function yd(u){return u==null?[]:Mw(u,mr(u))}function Pme(u){return u==null?[]:Mw(u,wi(u))}function Rme(u,d,m){return m===e&&(m=d,d=e),m!==e&&(m=yo(m),m=m===m?m:0),d!==e&&(d=yo(d),d=d===d?d:0),Ul(yo(u),d,m)}function Lme(u,d,m){return d=cs(d),m===e?(m=d,d=0):m=cs(m),u=yo(u),Zce(u,d,m)}function Fme(u,d,m){if(m&&typeof m!="boolean"&&ri(u,d,m)&&(d=m=e),m===e&&(typeof d=="boolean"?(m=d,d=e):typeof u=="boolean"&&(m=u,u=e)),u===e&&d===e?(u=0,d=1):(u=cs(u),d===e?(d=u,u=0):d=cs(d)),u>d){var _=u;u=d,d=_}if(m||u%1||d%1){var D=S8();return zr(u+D*(d-u+gle("1e-"+((D+"").length-1))),d)}return t3(u,d)}var Mme=hd(function(u,d,m){return d=d.toLowerCase(),u+(m?i7(d):d)});function i7(u){return I3(qt(u).toLowerCase())}function o7(u){return u=qt(u),u&&u.replace(jue,Tle).replace(ale,"")}function Ume(u,d,m){u=qt(u),d=Ui(d);var _=u.length;m=m===e?_:Ul(bt(m),0,_);var D=m;return m-=d.length,m>=0&&u.slice(m,D)==d}function jme(u){return u=qt(u),u&&xue.test(u)?u.replace(Rz,Cle):u}function Bme(u){return u=qt(u),u&&Sue.test(u)?u.replace(ww,"\\$&"):u}var Zme=hd(function(u,d,m){return u+(m?"-":"")+d.toLowerCase()}),Hme=hd(function(u,d,m){return u+(m?" ":"")+d.toLowerCase()}),Wme=uP("toLowerCase");function Vme(u,d,m){u=qt(u),d=bt(d);var _=d?ld(u):0;if(!d||_>=d)return u;var D=(d-_)/2;return qv(Pv(D),m)+u+qv(zv(D),m)}function Gme(u,d,m){u=qt(u),d=bt(d);var _=d?ld(u):0;return d&&_<d?u+qv(d-_,m):u}function qme(u,d,m){u=qt(u),d=bt(d);var _=d?ld(u):0;return d&&_<d?qv(d-_,m)+u:u}function Jme(u,d,m){return m||d==null?d=0:d&&(d=+d),nce(qt(u).replace(Ew,""),d||0)}function Yme(u,d,m){return(m?ri(u,d,m):d===e)?d=1:d=bt(d),n3(qt(u),d)}function Kme(){var u=arguments,d=qt(u[0]);return u.length<3?d:d.replace(u[1],u[2])}var Xme=hd(function(u,d,m){return u+(m?"_":"")+d.toLowerCase()});function Qme(u,d,m){return m&&typeof m!="number"&&ri(u,d,m)&&(d=m=e),m=m===e?Re:m>>>0,m?(u=qt(u),u&&(typeof d=="string"||d!=null&&!D3(d))&&(d=Ui(d),!d&&ud(u))?bu(Yo(u),0,m):u.split(d,m)):[]}var ehe=hd(function(u,d,m){return u+(m?" ":"")+I3(d)});function the(u,d,m){return u=qt(u),m=m==null?0:Ul(bt(m),0,u.length),d=Ui(d),u.slice(m,m+d.length)==d}function nhe(u,d,m){var _=S.templateSettings;m&&ri(u,d,m)&&(d=e),u=qt(u),d=ay({},d,_,hP);var D=ay({},d.imports,_.imports,hP),I=mr(D),R=Mw(D,I),B,W,oe=0,ae=d.interpolate||bv,le="__p += '",Se=jw((d.escape||bv).source+"|"+ae.source+"|"+(ae===Lz?Pue:bv).source+"|"+(d.evaluate||bv).source+"|$","g"),je="//# sourceURL="+(Gt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++dle+"]")+`
12
12
  `;u.replace(Se,function(Ke,At,Mt,Bi,ii,Zi){return Mt||(Mt=Bi),le+=u.slice(oe,Zi).replace(Bue,Ale),At&&(B=!0,le+=`' +
@@ -25,7 +25,7 @@ __p += '`),Mt&&(le+=`' +
25
25
  function print() { __p += __j.call(arguments, '') }
26
26
  `:`;
27
27
  `)+le+`return __p
28
- }`;var kt=s7(function(){return Wt(I,je+"return "+le).apply(e,R)});if(kt.source=le,E3(kt))throw kt;return kt}function rhe(u){return qt(u).toLowerCase()}function ihe(u){return qt(u).toUpperCase()}function ohe(u,d,m){if(u=qt(u),u&&(m||d===e))return g8(u);if(!u||!(d=Ui(d)))return u;var _=Yo(u),D=Yo(d),I=v8(_,D),R=y8(_,D)+1;return bu(_,I,R).join("")}function ahe(u,d,m){if(u=qt(u),u&&(m||d===e))return u.slice(0,_8(u)+1);if(!u||!(d=Ui(d)))return u;var _=Yo(u),D=y8(_,Yo(d))+1;return bu(_,0,D).join("")}function she(u,d,m){if(u=qt(u),u&&(m||d===e))return u.replace(Ew,"");if(!u||!(d=Ui(d)))return u;var _=Yo(u),D=v8(_,Yo(d));return bu(_,D).join("")}function uhe(u,d){var m=X,_=se;if(zn(d)){var D="separator"in d?d.separator:D;m="length"in d?bt(d.length):m,_="omission"in d?Ui(d.omission):_}u=qt(u);var I=u.length;if(ud(u)){var R=Yo(u);I=R.length}if(m>=I)return u;var B=m-ld(_);if(B<1)return _;var W=R?bu(R,0,B).join(""):u.slice(0,B);if(D===e)return W+_;if(R&&(B+=W.length-B),D3(D)){if(u.slice(B).search(D)){var oe,ae=W;for(D.global||(D=jw(D.source,qt(Fz.exec(D))+"g")),D.lastIndex=0;oe=D.exec(ae);)var le=oe.index;W=W.slice(0,le===e?B:le)}}else if(u.indexOf(Ui(D),B)!=B){var Se=W.lastIndexOf(D);Se>-1&&(W=W.slice(0,Se))}return W+_}function lhe(u){return u=qt(u),u&&_ue.test(u)?u.replace(Pz,Fle):u}var che=hd(function(u,d,m){return u+(m?" ":"")+d.toUpperCase()}),I3=uP("toUpperCase");function a7(u,d,m){return u=qt(u),d=m?e:d,d===e?Ole(u)?jle(u):Ele(u):u.match(d)||[]}var s7=Et(function(u,d){try{return Fi(u,e,d)}catch(m){return E3(m)?m:new ct(m)}}),dhe=ss(function(u,d){return fo(d,function(m){m=Sa(m),os(u,m,k3(u[m],u))}),u});function fhe(u){var d=u==null?0:u.length,m=qe();return u=d?In(u,function(_){if(typeof _[1]!="function")throw new po(r);return[m(_[0]),_[1]]}):[],Et(function(_){for(var D=-1;++D<d;){var I=u[D];if(Fi(I[0],this,_))return Fi(I[1],this,_)}})}function phe(u){return Fce(ho(u,c))}function T3(u){return function(){return u}}function mhe(u,d){return u==null||u!==u?d:u}var hhe=cP(),ghe=cP(!0);function Ei(u){return u}function C3(u){return U8(typeof u=="function"?u:ho(u,c))}function vhe(u){return B8(ho(u,c))}function yhe(u,d){return Z8(u,ho(d,c))}var bhe=Et(function(u,d){return function(m){return Wp(m,u,d)}}),_he=Et(function(u,d){return function(m){return Wp(u,m,d)}});function A3(u,d,m){var _=mr(d),D=jv(d,_);m==null&&!(zn(d)&&(D.length||!_.length))&&(m=d,d=u,u=this,D=jv(d,mr(d)));var I=!(zn(m)&&"chain"in m)||!!m.chain,R=ls(u);return fo(D,function(B){var W=d[B];u[B]=W,R&&(u.prototype[B]=function(){var oe=this.__chain__;if(I||oe){var ae=u(this.__wrapped__),le=ae.__actions__=xi(this.__actions__);return le.push({func:W,args:arguments,thisArg:u}),ae.__chain__=oe,ae}return W.apply(u,fu([this.value()],arguments))})}),u}function xhe(){return pr._===this&&(pr._=Gle),this}function N3(){}function khe(u){return u=bt(u),Et(function(d){return H8(d,u)})}var whe=l3(In),Ehe=l3(d8),Dhe=l3(zw);function u7(u){return g3(u)?Pw(Sa(u)):tde(u)}function $he(u){return function(d){return u==null?e:jl(u,d)}}var She=fP(),Ihe=fP(!0);function O3(){return[]}function z3(){return!1}function The(){return{}}function Che(){return""}function Ahe(){return!0}function Nhe(u,d){if(u=bt(u),u<1||u>Be)return[];var m=Re,_=zr(u,Re);d=qe(d),u-=Re;for(var D=Fw(_,d);++m<u;)d(m);return D}function Ohe(u){return pt(u)?In(u,Sa):ji(u)?[u]:xi(IP(qt(u)))}function zhe(u){var d=++Wle;return qt(u)+d}var Phe=Gv(function(u,d){return u+d},0),Rhe=c3("ceil"),Lhe=Gv(function(u,d){return u/d},1),Fhe=c3("floor");function Mhe(u){return u&&u.length?Uv(u,Ei,Jw):e}function Uhe(u,d){return u&&u.length?Uv(u,qe(d,2),Jw):e}function jhe(u){return m8(u,Ei)}function Bhe(u,d){return m8(u,qe(d,2))}function Zhe(u){return u&&u.length?Uv(u,Ei,Qw):e}function Hhe(u,d){return u&&u.length?Uv(u,qe(d,2),Qw):e}var Whe=Gv(function(u,d){return u*d},1),Vhe=c3("round"),Ghe=Gv(function(u,d){return u-d},0);function qhe(u){return u&&u.length?Lw(u,Ei):0}function Jhe(u,d){return u&&u.length?Lw(u,qe(d,2)):0}return S.after=vpe,S.ary=MP,S.assign=ime,S.assignIn=QP,S.assignInWith=ay,S.assignWith=ome,S.at=ame,S.before=UP,S.bind=k3,S.bindAll=dhe,S.bindKey=jP,S.castArray=Tpe,S.chain=RP,S.chunk=Fde,S.compact=Mde,S.concat=Ude,S.cond=fhe,S.conforms=phe,S.constant=T3,S.countBy=qfe,S.create=sme,S.curry=BP,S.curryRight=ZP,S.debounce=HP,S.defaults=ume,S.defaultsDeep=lme,S.defer=ype,S.delay=bpe,S.difference=jde,S.differenceBy=Bde,S.differenceWith=Zde,S.drop=Hde,S.dropRight=Wde,S.dropRightWhile=Vde,S.dropWhile=Gde,S.fill=qde,S.filter=Yfe,S.flatMap=Qfe,S.flatMapDeep=epe,S.flatMapDepth=tpe,S.flatten=NP,S.flattenDeep=Jde,S.flattenDepth=Yde,S.flip=_pe,S.flow=hhe,S.flowRight=ghe,S.fromPairs=Kde,S.functions=gme,S.functionsIn=vme,S.groupBy=npe,S.initial=Qde,S.intersection=efe,S.intersectionBy=tfe,S.intersectionWith=nfe,S.invert=bme,S.invertBy=_me,S.invokeMap=ipe,S.iteratee=C3,S.keyBy=ope,S.keys=mr,S.keysIn=wi,S.map=ey,S.mapKeys=kme,S.mapValues=wme,S.matches=vhe,S.matchesProperty=yhe,S.memoize=ny,S.merge=Eme,S.mergeWith=e7,S.method=bhe,S.methodOf=_he,S.mixin=A3,S.negate=ry,S.nthArg=khe,S.omit=Dme,S.omitBy=$me,S.once=xpe,S.orderBy=ape,S.over=whe,S.overArgs=kpe,S.overEvery=Ehe,S.overSome=Dhe,S.partial=w3,S.partialRight=WP,S.partition=spe,S.pick=Sme,S.pickBy=t7,S.property=u7,S.propertyOf=$he,S.pull=afe,S.pullAll=zP,S.pullAllBy=sfe,S.pullAllWith=ufe,S.pullAt=lfe,S.range=She,S.rangeRight=Ihe,S.rearg=wpe,S.reject=cpe,S.remove=cfe,S.rest=Epe,S.reverse=_3,S.sampleSize=fpe,S.set=Tme,S.setWith=Cme,S.shuffle=ppe,S.slice=dfe,S.sortBy=gpe,S.sortedUniq=yfe,S.sortedUniqBy=bfe,S.split=Qme,S.spread=Dpe,S.tail=_fe,S.take=xfe,S.takeRight=kfe,S.takeRightWhile=wfe,S.takeWhile=Efe,S.tap=Mfe,S.throttle=$pe,S.thru=Qv,S.toArray=YP,S.toPairs=n7,S.toPairsIn=r7,S.toPath=Ohe,S.toPlainObject=XP,S.transform=Ame,S.unary=Spe,S.union=Dfe,S.unionBy=$fe,S.unionWith=Sfe,S.uniq=Ife,S.uniqBy=Tfe,S.uniqWith=Cfe,S.unset=Nme,S.unzip=x3,S.unzipWith=PP,S.update=Ome,S.updateWith=zme,S.values=yd,S.valuesIn=Pme,S.without=Afe,S.words=a7,S.wrap=Ipe,S.xor=Nfe,S.xorBy=Ofe,S.xorWith=zfe,S.zip=Pfe,S.zipObject=Rfe,S.zipObjectDeep=Lfe,S.zipWith=Ffe,S.entries=n7,S.entriesIn=r7,S.extend=QP,S.extendWith=ay,A3(S,S),S.add=Phe,S.attempt=s7,S.camelCase=Mme,S.capitalize=i7,S.ceil=Rhe,S.clamp=Rme,S.clone=Cpe,S.cloneDeep=Npe,S.cloneDeepWith=Ope,S.cloneWith=Ape,S.conformsTo=zpe,S.deburr=o7,S.defaultTo=mhe,S.divide=Lhe,S.endsWith=Ume,S.eq=Xo,S.escape=jme,S.escapeRegExp=Bme,S.every=Jfe,S.find=Kfe,S.findIndex=CP,S.findKey=cme,S.findLast=Xfe,S.findLastIndex=AP,S.findLastKey=dme,S.floor=Fhe,S.forEach=LP,S.forEachRight=FP,S.forIn=fme,S.forInRight=pme,S.forOwn=mme,S.forOwnRight=hme,S.get=$3,S.gt=Ppe,S.gte=Rpe,S.has=yme,S.hasIn=S3,S.head=OP,S.identity=Ei,S.includes=rpe,S.indexOf=Xde,S.inRange=Lme,S.invoke=xme,S.isArguments=Hl,S.isArray=pt,S.isArrayBuffer=Lpe,S.isArrayLike=ki,S.isArrayLikeObject=Vn,S.isBoolean=Fpe,S.isBuffer=_u,S.isDate=Mpe,S.isElement=Upe,S.isEmpty=jpe,S.isEqual=Bpe,S.isEqualWith=Zpe,S.isError=E3,S.isFinite=Hpe,S.isFunction=ls,S.isInteger=VP,S.isLength=iy,S.isMap=GP,S.isMatch=Wpe,S.isMatchWith=Vpe,S.isNaN=Gpe,S.isNative=qpe,S.isNil=Ype,S.isNull=Jpe,S.isNumber=qP,S.isObject=zn,S.isObjectLike=Un,S.isPlainObject=Kp,S.isRegExp=D3,S.isSafeInteger=Kpe,S.isSet=JP,S.isString=oy,S.isSymbol=ji,S.isTypedArray=vd,S.isUndefined=Xpe,S.isWeakMap=Qpe,S.isWeakSet=eme,S.join=rfe,S.kebabCase=Zme,S.last=vo,S.lastIndexOf=ife,S.lowerCase=Hme,S.lowerFirst=Wme,S.lt=tme,S.lte=nme,S.max=Mhe,S.maxBy=Uhe,S.mean=jhe,S.meanBy=Bhe,S.min=Zhe,S.minBy=Hhe,S.stubArray=O3,S.stubFalse=z3,S.stubObject=The,S.stubString=Che,S.stubTrue=Ahe,S.multiply=Whe,S.nth=ofe,S.noConflict=xhe,S.noop=N3,S.now=ty,S.pad=Vme,S.padEnd=Gme,S.padStart=qme,S.parseInt=Jme,S.random=Fme,S.reduce=upe,S.reduceRight=lpe,S.repeat=Yme,S.replace=Kme,S.result=Ime,S.round=Vhe,S.runInContext=Z,S.sample=dpe,S.size=mpe,S.snakeCase=Xme,S.some=hpe,S.sortedIndex=ffe,S.sortedIndexBy=pfe,S.sortedIndexOf=mfe,S.sortedLastIndex=hfe,S.sortedLastIndexBy=gfe,S.sortedLastIndexOf=vfe,S.startCase=ehe,S.startsWith=the,S.subtract=Ghe,S.sum=qhe,S.sumBy=Jhe,S.template=nhe,S.times=Nhe,S.toFinite=cs,S.toInteger=bt,S.toLength=KP,S.toLower=rhe,S.toNumber=yo,S.toSafeInteger=rme,S.toString=qt,S.toUpper=ihe,S.trim=ohe,S.trimEnd=ahe,S.trimStart=she,S.truncate=uhe,S.unescape=lhe,S.uniqueId=zhe,S.upperCase=che,S.upperFirst=I3,S.each=LP,S.eachRight=FP,S.first=OP,A3(S,function(){var u={};return Da(S,function(d,m){Gt.call(S.prototype,m)||(u[m]=d)}),u}(),{chain:!1}),S.VERSION=t,fo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){S[u].placeholder=S}),fo(["drop","take"],function(u,d){Rt.prototype[u]=function(m){m=m===e?1:sr(bt(m),0);var _=this.__filtered__&&!d?new Rt(this):this.clone();return _.__filtered__?_.__takeCount__=zr(m,_.__takeCount__):_.__views__.push({size:zr(m,Re),type:u+(_.__dir__<0?"Right":"")}),_},Rt.prototype[u+"Right"]=function(m){return this.reverse()[u](m).reverse()}}),fo(["filter","map","takeWhile"],function(u,d){var m=d+1,_=m==Ee||m==ye;Rt.prototype[u]=function(D){var I=this.clone();return I.__iteratees__.push({iteratee:qe(D,3),type:m}),I.__filtered__=I.__filtered__||_,I}}),fo(["head","last"],function(u,d){var m="take"+(d?"Right":"");Rt.prototype[u]=function(){return this[m](1).value()[0]}}),fo(["initial","tail"],function(u,d){var m="drop"+(d?"":"Right");Rt.prototype[u]=function(){return this.__filtered__?new Rt(this):this[m](1)}}),Rt.prototype.compact=function(){return this.filter(Ei)},Rt.prototype.find=function(u){return this.filter(u).head()},Rt.prototype.findLast=function(u){return this.reverse().find(u)},Rt.prototype.invokeMap=Et(function(u,d){return typeof u=="function"?new Rt(this):this.map(function(m){return Wp(m,u,d)})}),Rt.prototype.reject=function(u){return this.filter(ry(qe(u)))},Rt.prototype.slice=function(u,d){u=bt(u);var m=this;return m.__filtered__&&(u>0||d<0)?new Rt(m):(u<0?m=m.takeRight(-u):u&&(m=m.drop(u)),d!==e&&(d=bt(d),m=d<0?m.dropRight(-d):m.take(d-u)),m)},Rt.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},Rt.prototype.toArray=function(){return this.take(Re)},Da(Rt.prototype,function(u,d){var m=/^(?:filter|find|map|reject)|While$/.test(d),_=/^(?:head|last)$/.test(d),D=S[_?"take"+(d=="last"?"Right":""):d],I=_||/^find/.test(d);D&&(S.prototype[d]=function(){var R=this.__wrapped__,B=_?[1]:arguments,W=R instanceof Rt,oe=B[0],ae=W||pt(R),le=function(At){var Mt=D.apply(S,fu([At],B));return _&&Se?Mt[0]:Mt};ae&&m&&typeof oe=="function"&&oe.length!=1&&(W=ae=!1);var Se=this.__chain__,je=!!this.__actions__.length,Ye=I&&!Se,kt=W&&!je;if(!I&&ae){R=kt?R:new Rt(this);var Ke=u.apply(R,B);return Ke.__actions__.push({func:Qv,args:[le],thisArg:e}),new mo(Ke,Se)}return Ye&&kt?u.apply(this,B):(Ke=this.thru(le),Ye?_?Ke.value()[0]:Ke.value():Ke)})}),fo(["pop","push","shift","sort","splice","unshift"],function(u){var d=Dv[u],m=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",_=/^(?:pop|shift)$/.test(u);S.prototype[u]=function(){var D=arguments;if(_&&!this.__chain__){var I=this.value();return d.apply(pt(I)?I:[],D)}return this[m](function(R){return d.apply(pt(R)?R:[],D)})}}),Da(Rt.prototype,function(u,d){var m=S[d];if(m){var _=m.name+"";Gt.call(fd,_)||(fd[_]=[]),fd[_].push({name:d,func:m})}}),fd[Vv(e,k).name]=[{name:"wrapper",func:e}],Rt.prototype.clone=lce,Rt.prototype.reverse=cce,Rt.prototype.value=dce,S.prototype.at=Ufe,S.prototype.chain=jfe,S.prototype.commit=Bfe,S.prototype.next=Zfe,S.prototype.plant=Wfe,S.prototype.reverse=Vfe,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=Gfe,S.prototype.first=S.prototype.head,Fp&&(S.prototype[Fp]=Hfe),S},mu=Ble();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(pr._=mu,define(function(){return mu})):Rl?((Rl.exports=mu)._=mu,Cw._=mu):pr._=mu}).call(Nf)});var g4=en(()=>{(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=i.variable[1].inside,a=0;a<r.length;a++)o[r[a]]=e.languages.bash[r[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism)});var IW=en(()=>{(function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(Prism)});var TW=en(()=>{(function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,r=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return i}),o={pattern:RegExp(i),greedy:!0},a={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(l,c){return l=l.replace(/<OPT>/g,function(){return r}).replace(/<SP>/g,function(){return n}),RegExp(l,c)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[o,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:a,string:o,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:a},e.languages.dockerfile=e.languages.docker})(Prism)});var CW=en(()=>{(function(e){function t(c){return RegExp("(^(?:"+c+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n=e.languages,i={"application/javascript":n.javascript,"application/json":n.json||n.javascript,"application/xml":n.xml,"text/xml":n.xml,"text/html":n.html,"text/css":n.css,"text/plain":n.plain},r={"application/json":!0,"application/xml":!0};function o(c){var f=c.replace(/^[a-z]+\//,""),p="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+c+"|"+p+")"}var a;for(var s in i)if(i[s]){a=a||{};var l=r[s]?o(s):s;a[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[s]}}a&&e.languages.insertBefore("http","header",a)})(Prism)});var AW=en(()=>{Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript});var NW=en(()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json});var OW=en(()=>{Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,n){var i={};i["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[n]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};r["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml});var zW=en(()=>{(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism)});var PW=en(()=>{(function(e){function t(o,a){e.languages[o]&&e.languages.insertBefore(o,"comment",{"doc-comment":a})}var n=e.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},r={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",i),t("fsharp",i),t("vbnet",r)})(Prism)});var RW=en(()=>{(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(s,l){l=(l||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return s});return RegExp(c,l)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+r+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism)});var LDe={};var LW=nge(()=>{"use strict";Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python});var Yte=en((kN,wN)=>{(function(e,t){typeof c7=="function"&&typeof kN=="object"&&typeof wN=="object"?wN.exports=t():typeof define=="function"&&define.amd?define(function(){return t()}):e.pluralize=t()})(kN,function(){var e=[],t=[],n={},i={},r={};function o(v){return typeof v=="string"?new RegExp("^"+v+"$","i"):v}function a(v,b){return v===b?b:v===v.toLowerCase()?b.toLowerCase():v===v.toUpperCase()?b.toUpperCase():v[0]===v[0].toUpperCase()?b.charAt(0).toUpperCase()+b.substr(1).toLowerCase():b.toLowerCase()}function s(v,b){return v.replace(/\$(\d{1,2})/g,function(k,$){return b[$]||""})}function l(v,b){return v.replace(b[0],function(k,$){var x=s(b[1],arguments);return a(k===""?v[$-1]:k,x)})}function c(v,b,k){if(!v.length||n.hasOwnProperty(v))return b;for(var $=k.length;$--;){var x=k[$];if(x[0].test(b))return l(b,x)}return b}function f(v,b,k){return function($){var x=$.toLowerCase();return b.hasOwnProperty(x)?a($,x):v.hasOwnProperty(x)?a($,v[x]):c(x,$,k)}}function p(v,b,k,$){return function(x){var E=x.toLowerCase();return b.hasOwnProperty(E)?!0:v.hasOwnProperty(E)?!1:c(E,E,k)===E}}function h(v,b,k){var $=b===1?h.singular(v):h.plural(v);return(k?b+" ":"")+$}return h.plural=f(r,i,e),h.isPlural=p(r,i,e),h.singular=f(i,r,t),h.isSingular=p(i,r,t),h.addPluralRule=function(v,b){e.push([o(v),b])},h.addSingularRule=function(v,b){t.push([o(v),b])},h.addUncountableRule=function(v){if(typeof v=="string"){n[v.toLowerCase()]=!0;return}h.addPluralRule(v,"$0"),h.addSingularRule(v,"$0")},h.addIrregularRule=function(v,b){b=b.toLowerCase(),v=v.toLowerCase(),r[v]=b,i[b]=v},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(v){return h.addIrregularRule(v[0],v[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(v){return h.addPluralRule(v[0],v[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(v){return h.addSingularRule(v[0],v[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(h.addUncountableRule),h})});var gue=en(zz=>{"use strict";var hue=cb();zz.createRoot=hue.createRoot,zz.hydrateRoot=hue.hydrateRoot;var Cgt});var Kc=Y(He(),1);var hr=function(){return hr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},hr.apply(this,arguments)};function _d(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}var Tn=Y(He());var un="-ms-",Wl="-moz-",jt="-webkit-",dy="comm",xu="rule",xd="decl";var E7="@import";var D7="@namespace",fy="@keyframes";var $7="@layer";var U3=Math.abs,Qp=String.fromCharCode,em=Object.assign;function S7(e,t){return Pn(e,0)^45?(((t<<2^Pn(e,0))<<2^Pn(e,1))<<2^Pn(e,2))<<2^Pn(e,3):0}function py(e){return e.trim()}function ea(e,t){return(e=t.exec(e))?e[0]:e}function mt(e,t,n){return e.replace(t,n)}function kd(e,t,n){return e.indexOf(t,n)}function Pn(e,t){return e.charCodeAt(t)|0}function ta(e,t,n){return e.slice(t,n)}function Rr(e){return e.length}function my(e){return e.length}function Vl(e,t){return t.push(e),e}function I7(e,t){return e.map(t).join("")}function j3(e,t){return e.filter(function(n){return!ea(n,t)})}var hy=1,wd=1,T7=0,bo=0,Kn=0,Dd="";function tm(e,t,n,i,r,o,a,s){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:hy,column:wd,length:a,return:"",siblings:s}}function fs(e,t){return em(tm("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Gl(e){for(;e.root;)e=fs(e.root,{children:[e]});Vl(e,e.siblings)}function C7(){return Kn}function A7(){return Kn=bo>0?Pn(Dd,--bo):0,wd--,Kn===10&&(wd=1,hy--),Kn}function _o(){return Kn=bo<T7?Pn(Dd,bo++):0,wd++,Kn===10&&(wd=1,hy++),Kn}function ps(){return Pn(Dd,bo)}function nm(){return bo}function gy(e,t){return ta(Dd,e,t)}function Ed(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N7(e){return hy=wd=1,T7=Rr(Dd=e),bo=0,[]}function O7(e){return Dd="",e}function vy(e){return py(gy(bo-1,B3(e===91?e+2:e===40?e+1:e)))}function z7(e){for(;(Kn=ps())&&Kn<33;)_o();return Ed(e)>2||Ed(Kn)>3?"":" "}function P7(e,t){for(;--t&&_o()&&!(Kn<48||Kn>102||Kn>57&&Kn<65||Kn>70&&Kn<97););return gy(e,nm()+(t<6&&ps()==32&&_o()==32))}function B3(e){for(;_o();)switch(Kn){case e:return bo;case 34:case 39:e!==34&&e!==39&&B3(Kn);break;case 40:e===41&&B3(e);break;case 92:_o();break}return bo}function R7(e,t){for(;_o()&&e+Kn!==57;)if(e+Kn===84&&ps()===47)break;return"/*"+gy(t,bo-1)+"*"+Qp(e===47?e:_o())}function L7(e){for(;!Ed(ps());)_o();return gy(e,bo)}function U7(e){return O7(yy("",null,null,null,[""],e=N7(e),0,[0],e))}function yy(e,t,n,i,r,o,a,s,l){for(var c=0,f=0,p=a,h=0,v=0,b=0,k=1,$=1,x=1,E=0,w="",T=r,M=o,A=i,j=w;$;)switch(b=E,E=_o()){case 40:if(b!=108&&Pn(j,p-1)==58){kd(j+=mt(vy(E),"&","&\f"),"&\f",U3(c?s[c-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:j+=vy(E);break;case 9:case 10:case 13:case 32:j+=z7(b);break;case 92:j+=P7(nm()-1,7);continue;case 47:switch(ps()){case 42:case 47:Vl(bge(R7(_o(),nm()),t,n,l),l),(Ed(b||1)==5||Ed(ps()||1)==5)&&Rr(j)&&ta(j,-1,void 0)!==" "&&(j+=" ");break;default:j+="/"}break;case 123*k:s[c++]=Rr(j)*x;case 125*k:case 59:case 0:switch(E){case 0:case 125:$=0;case 59+f:x==-1&&(j=mt(j,/\f/g,"")),v>0&&(Rr(j)-p||k===0&&b===47)&&Vl(v>32?M7(j+";",i,n,p-1,l):M7(mt(j," ","")+";",i,n,p-2,l),l);break;case 59:j+=";";default:if(Vl(A=F7(j,t,n,c,f,r,s,w,T=[],M=[],p,o),o),E===123)if(f===0)yy(j,t,A,A,T,o,p,s,M);else{switch(h){case 99:if(Pn(j,3)===110)break;case 108:if(Pn(j,2)===97)break;default:f=0;case 100:case 109:case 115:}f?yy(e,A,A,i&&Vl(F7(e,A,A,0,0,r,s,w,r,T=[],p,M),M),r,M,p,s,i?T:M):yy(j,A,A,A,[""],M,0,s,M)}}c=f=v=0,k=x=1,w=j="",p=a;break;case 58:p=1+Rr(j),v=b;default:if(k<1){if(E==123)--k;else if(E==125&&k++==0&&A7()==125)continue}switch(j+=Qp(E),E*k){case 38:x=f>0?1:(j+="\f",-1);break;case 44:s[c++]=(Rr(j)-1)*x,x=1;break;case 64:ps()===45&&(j+=vy(_o())),h=ps(),f=p=Rr(w=j+=L7(nm())),E++;break;case 45:b===45&&Rr(j)==2&&(k=0)}}return o}function F7(e,t,n,i,r,o,a,s,l,c,f,p){for(var h=r-1,v=r===0?o:[""],b=my(v),k=0,$=0,x=0;k<i;++k)for(var E=0,w=ta(e,h+1,h=U3($=a[k])),T=e;E<b;++E)(T=py($>0?v[E]+" "+w:mt(w,/&\f/g,v[E])))&&(l[x++]=T);return tm(e,t,n,r===0?xu:s,l,c,f,p)}function bge(e,t,n,i){return tm(e,t,n,dy,Qp(C7()),ta(e,2,-2),0,i)}function M7(e,t,n,i,r){return tm(e,t,n,xd,ta(e,0,i),ta(e,i+1,-1),i,r)}function Z3(e,t,n){switch(S7(e,t)){case 5103:return jt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return jt+e+e;case 4855:return jt+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return Wl+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return jt+e+Wl+e+un+e+e;case 5936:switch(Pn(e,t+11)){case 114:return jt+e+un+mt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jt+e+un+mt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jt+e+un+mt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return jt+e+un+e+e;case 6165:return jt+e+un+"flex-"+e+e;case 5187:return jt+e+mt(e,/(\w+).+(:[^]+)/,jt+"box-$1$2"+un+"flex-$1$2")+e;case 5443:return jt+e+un+"flex-item-"+mt(e,/flex-|-self/g,"")+(ea(e,/flex-|baseline/)?"":un+"grid-row-"+mt(e,/flex-|-self/g,""))+e;case 4675:return jt+e+un+"flex-line-pack"+mt(e,/align-content|flex-|-self/g,"")+e;case 5548:return jt+e+un+mt(e,"shrink","negative")+e;case 5292:return jt+e+un+mt(e,"basis","preferred-size")+e;case 6060:return jt+"box-"+mt(e,"-grow","")+jt+e+un+mt(e,"grow","positive")+e;case 4554:return jt+mt(e,/([^-])(transform)/g,"$1"+jt+"$2")+e;case 6187:return mt(mt(mt(e,/(zoom-|grab)/,jt+"$1"),/(image-set)/,jt+"$1"),e,"")+e;case 5495:case 3959:return mt(e,/(image-set\([^]*)/,jt+"$1$`$1");case 4968:return mt(mt(e,/(.+:)(flex-)?(.*)/,jt+"box-pack:$3"+un+"flex-pack:$3"),/space-between/,"justify")+jt+e+e;case 4200:if(!ea(e,/flex-|baseline/))return un+"grid-column-align"+ta(e,t)+e;break;case 2592:case 3360:return un+mt(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(i,r){return t=r,ea(i.props,/grid-\w+-end/)})?~kd(e+(n=n[t].value),"span",0)?e:un+mt(e,"-start","")+e+un+"grid-row-span:"+(~kd(n,"span",0)?ea(n,/\d+/):+ea(n,/\d+/)-+ea(e,/\d+/))+";":un+mt(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(i){return ea(i.props,/grid-\w+-start/)})?e:un+mt(mt(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return mt(e,/(.+)-inline(.+)/,jt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Rr(e)-1-t>6)switch(Pn(e,t+1)){case 109:if(Pn(e,t+4)!==45)break;case 102:return mt(e,/(.+:)(.+)-([^]+)/,"$1"+jt+"$2-$3$1"+Wl+(Pn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~kd(e,"stretch",0)?Z3(mt(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return mt(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(i,r,o,a,s,l,c){return un+r+":"+o+c+(a?un+r+"-span:"+(s?l:+l-+o)+c:"")+e});case 4949:if(Pn(e,t+6)===121)return mt(e,":",":"+jt)+e;break;case 6444:switch(Pn(e,Pn(e,14)===45?18:11)){case 120:return mt(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+jt+(Pn(e,14)===45?"inline-":"")+"box$3$1"+jt+"$2$3$1"+un+"$2box$3")+e;case 100:return mt(e,":",":"+un)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return mt(e,"scroll-","scroll-snap-")+e}return e}function $d(e,t){for(var n="",i=0;i<e.length;i++)n+=t(e[i],i,e,t)||"";return n}function j7(e,t,n,i){switch(e.type){case $7:if(e.children.length)break;case E7:case D7:case xd:return e.return=e.return||e.value;case dy:return"";case fy:return e.return=e.value+"{"+$d(e.children,i)+"}";case xu:if(!Rr(e.value=e.props.join(",")))return""}return Rr(n=$d(e.children,i))?e.return=e.value+"{"+n+"}":""}function B7(e){var t=my(e);return function(n,i,r,o){for(var a="",s=0;s<t;s++)a+=e[s](n,i,r,o)||"";return a}}function Z7(e){return function(t){t.root||(t=t.return)&&e(t)}}function H7(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case xd:e.return=Z3(e.value,e.length,n);return;case fy:return $d([fs(e,{value:mt(e.value,"@","@"+jt)})],i);case xu:if(e.length)return I7(n=e.props,function(r){switch(ea(r,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Gl(fs(e,{props:[mt(r,/:(read-\w+)/,":"+Wl+"$1")]})),Gl(fs(e,{props:[r]})),em(e,{props:j3(n,i)});break;case"::placeholder":Gl(fs(e,{props:[mt(r,/:(plac\w+)/,":"+jt+"input-$1")]})),Gl(fs(e,{props:[mt(r,/:(plac\w+)/,":"+Wl+"$1")]})),Gl(fs(e,{props:[mt(r,/:(plac\w+)/,un+"input-$1")]})),Gl(fs(e,{props:[r]})),em(e,{props:j3(n,i)});break}return""})}}var W7={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ms=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",rR="active",xy="data-styled-version",Td="6.3.8",e2=`/*!sc*/
28
+ }`;var kt=s7(function(){return Wt(I,je+"return "+le).apply(e,R)});if(kt.source=le,E3(kt))throw kt;return kt}function rhe(u){return qt(u).toLowerCase()}function ihe(u){return qt(u).toUpperCase()}function ohe(u,d,m){if(u=qt(u),u&&(m||d===e))return g8(u);if(!u||!(d=Ui(d)))return u;var _=Yo(u),D=Yo(d),I=v8(_,D),R=y8(_,D)+1;return bu(_,I,R).join("")}function ahe(u,d,m){if(u=qt(u),u&&(m||d===e))return u.slice(0,_8(u)+1);if(!u||!(d=Ui(d)))return u;var _=Yo(u),D=y8(_,Yo(d))+1;return bu(_,0,D).join("")}function she(u,d,m){if(u=qt(u),u&&(m||d===e))return u.replace(Ew,"");if(!u||!(d=Ui(d)))return u;var _=Yo(u),D=v8(_,Yo(d));return bu(_,D).join("")}function uhe(u,d){var m=X,_=se;if(zn(d)){var D="separator"in d?d.separator:D;m="length"in d?bt(d.length):m,_="omission"in d?Ui(d.omission):_}u=qt(u);var I=u.length;if(ud(u)){var R=Yo(u);I=R.length}if(m>=I)return u;var B=m-ld(_);if(B<1)return _;var W=R?bu(R,0,B).join(""):u.slice(0,B);if(D===e)return W+_;if(R&&(B+=W.length-B),D3(D)){if(u.slice(B).search(D)){var oe,ae=W;for(D.global||(D=jw(D.source,qt(Fz.exec(D))+"g")),D.lastIndex=0;oe=D.exec(ae);)var le=oe.index;W=W.slice(0,le===e?B:le)}}else if(u.indexOf(Ui(D),B)!=B){var Se=W.lastIndexOf(D);Se>-1&&(W=W.slice(0,Se))}return W+_}function lhe(u){return u=qt(u),u&&_ue.test(u)?u.replace(Pz,Fle):u}var che=hd(function(u,d,m){return u+(m?" ":"")+d.toUpperCase()}),I3=uP("toUpperCase");function a7(u,d,m){return u=qt(u),d=m?e:d,d===e?Ole(u)?jle(u):Ele(u):u.match(d)||[]}var s7=Et(function(u,d){try{return Fi(u,e,d)}catch(m){return E3(m)?m:new ct(m)}}),dhe=ss(function(u,d){return fo(d,function(m){m=Sa(m),os(u,m,k3(u[m],u))}),u});function fhe(u){var d=u==null?0:u.length,m=qe();return u=d?In(u,function(_){if(typeof _[1]!="function")throw new po(r);return[m(_[0]),_[1]]}):[],Et(function(_){for(var D=-1;++D<d;){var I=u[D];if(Fi(I[0],this,_))return Fi(I[1],this,_)}})}function phe(u){return Fce(ho(u,c))}function T3(u){return function(){return u}}function mhe(u,d){return u==null||u!==u?d:u}var hhe=cP(),ghe=cP(!0);function Ei(u){return u}function C3(u){return U8(typeof u=="function"?u:ho(u,c))}function vhe(u){return B8(ho(u,c))}function yhe(u,d){return Z8(u,ho(d,c))}var bhe=Et(function(u,d){return function(m){return Wp(m,u,d)}}),_he=Et(function(u,d){return function(m){return Wp(u,m,d)}});function A3(u,d,m){var _=mr(d),D=jv(d,_);m==null&&!(zn(d)&&(D.length||!_.length))&&(m=d,d=u,u=this,D=jv(d,mr(d)));var I=!(zn(m)&&"chain"in m)||!!m.chain,R=ls(u);return fo(D,function(B){var W=d[B];u[B]=W,R&&(u.prototype[B]=function(){var oe=this.__chain__;if(I||oe){var ae=u(this.__wrapped__),le=ae.__actions__=xi(this.__actions__);return le.push({func:W,args:arguments,thisArg:u}),ae.__chain__=oe,ae}return W.apply(u,fu([this.value()],arguments))})}),u}function xhe(){return pr._===this&&(pr._=Gle),this}function N3(){}function khe(u){return u=bt(u),Et(function(d){return H8(d,u)})}var whe=l3(In),Ehe=l3(d8),Dhe=l3(zw);function u7(u){return g3(u)?Pw(Sa(u)):tde(u)}function $he(u){return function(d){return u==null?e:jl(u,d)}}var She=fP(),Ihe=fP(!0);function O3(){return[]}function z3(){return!1}function The(){return{}}function Che(){return""}function Ahe(){return!0}function Nhe(u,d){if(u=bt(u),u<1||u>Be)return[];var m=Re,_=zr(u,Re);d=qe(d),u-=Re;for(var D=Fw(_,d);++m<u;)d(m);return D}function Ohe(u){return pt(u)?In(u,Sa):ji(u)?[u]:xi(IP(qt(u)))}function zhe(u){var d=++Wle;return qt(u)+d}var Phe=Gv(function(u,d){return u+d},0),Rhe=c3("ceil"),Lhe=Gv(function(u,d){return u/d},1),Fhe=c3("floor");function Mhe(u){return u&&u.length?Uv(u,Ei,Jw):e}function Uhe(u,d){return u&&u.length?Uv(u,qe(d,2),Jw):e}function jhe(u){return m8(u,Ei)}function Bhe(u,d){return m8(u,qe(d,2))}function Zhe(u){return u&&u.length?Uv(u,Ei,Qw):e}function Hhe(u,d){return u&&u.length?Uv(u,qe(d,2),Qw):e}var Whe=Gv(function(u,d){return u*d},1),Vhe=c3("round"),Ghe=Gv(function(u,d){return u-d},0);function qhe(u){return u&&u.length?Lw(u,Ei):0}function Jhe(u,d){return u&&u.length?Lw(u,qe(d,2)):0}return S.after=vpe,S.ary=MP,S.assign=ime,S.assignIn=QP,S.assignInWith=ay,S.assignWith=ome,S.at=ame,S.before=UP,S.bind=k3,S.bindAll=dhe,S.bindKey=jP,S.castArray=Tpe,S.chain=RP,S.chunk=Fde,S.compact=Mde,S.concat=Ude,S.cond=fhe,S.conforms=phe,S.constant=T3,S.countBy=qfe,S.create=sme,S.curry=BP,S.curryRight=ZP,S.debounce=HP,S.defaults=ume,S.defaultsDeep=lme,S.defer=ype,S.delay=bpe,S.difference=jde,S.differenceBy=Bde,S.differenceWith=Zde,S.drop=Hde,S.dropRight=Wde,S.dropRightWhile=Vde,S.dropWhile=Gde,S.fill=qde,S.filter=Yfe,S.flatMap=Qfe,S.flatMapDeep=epe,S.flatMapDepth=tpe,S.flatten=NP,S.flattenDeep=Jde,S.flattenDepth=Yde,S.flip=_pe,S.flow=hhe,S.flowRight=ghe,S.fromPairs=Kde,S.functions=gme,S.functionsIn=vme,S.groupBy=npe,S.initial=Qde,S.intersection=efe,S.intersectionBy=tfe,S.intersectionWith=nfe,S.invert=bme,S.invertBy=_me,S.invokeMap=ipe,S.iteratee=C3,S.keyBy=ope,S.keys=mr,S.keysIn=wi,S.map=ey,S.mapKeys=kme,S.mapValues=wme,S.matches=vhe,S.matchesProperty=yhe,S.memoize=ny,S.merge=Eme,S.mergeWith=e7,S.method=bhe,S.methodOf=_he,S.mixin=A3,S.negate=ry,S.nthArg=khe,S.omit=Dme,S.omitBy=$me,S.once=xpe,S.orderBy=ape,S.over=whe,S.overArgs=kpe,S.overEvery=Ehe,S.overSome=Dhe,S.partial=w3,S.partialRight=WP,S.partition=spe,S.pick=Sme,S.pickBy=t7,S.property=u7,S.propertyOf=$he,S.pull=afe,S.pullAll=zP,S.pullAllBy=sfe,S.pullAllWith=ufe,S.pullAt=lfe,S.range=She,S.rangeRight=Ihe,S.rearg=wpe,S.reject=cpe,S.remove=cfe,S.rest=Epe,S.reverse=_3,S.sampleSize=fpe,S.set=Tme,S.setWith=Cme,S.shuffle=ppe,S.slice=dfe,S.sortBy=gpe,S.sortedUniq=yfe,S.sortedUniqBy=bfe,S.split=Qme,S.spread=Dpe,S.tail=_fe,S.take=xfe,S.takeRight=kfe,S.takeRightWhile=wfe,S.takeWhile=Efe,S.tap=Mfe,S.throttle=$pe,S.thru=Qv,S.toArray=YP,S.toPairs=n7,S.toPairsIn=r7,S.toPath=Ohe,S.toPlainObject=XP,S.transform=Ame,S.unary=Spe,S.union=Dfe,S.unionBy=$fe,S.unionWith=Sfe,S.uniq=Ife,S.uniqBy=Tfe,S.uniqWith=Cfe,S.unset=Nme,S.unzip=x3,S.unzipWith=PP,S.update=Ome,S.updateWith=zme,S.values=yd,S.valuesIn=Pme,S.without=Afe,S.words=a7,S.wrap=Ipe,S.xor=Nfe,S.xorBy=Ofe,S.xorWith=zfe,S.zip=Pfe,S.zipObject=Rfe,S.zipObjectDeep=Lfe,S.zipWith=Ffe,S.entries=n7,S.entriesIn=r7,S.extend=QP,S.extendWith=ay,A3(S,S),S.add=Phe,S.attempt=s7,S.camelCase=Mme,S.capitalize=i7,S.ceil=Rhe,S.clamp=Rme,S.clone=Cpe,S.cloneDeep=Npe,S.cloneDeepWith=Ope,S.cloneWith=Ape,S.conformsTo=zpe,S.deburr=o7,S.defaultTo=mhe,S.divide=Lhe,S.endsWith=Ume,S.eq=Xo,S.escape=jme,S.escapeRegExp=Bme,S.every=Jfe,S.find=Kfe,S.findIndex=CP,S.findKey=cme,S.findLast=Xfe,S.findLastIndex=AP,S.findLastKey=dme,S.floor=Fhe,S.forEach=LP,S.forEachRight=FP,S.forIn=fme,S.forInRight=pme,S.forOwn=mme,S.forOwnRight=hme,S.get=$3,S.gt=Ppe,S.gte=Rpe,S.has=yme,S.hasIn=S3,S.head=OP,S.identity=Ei,S.includes=rpe,S.indexOf=Xde,S.inRange=Lme,S.invoke=xme,S.isArguments=Hl,S.isArray=pt,S.isArrayBuffer=Lpe,S.isArrayLike=ki,S.isArrayLikeObject=Vn,S.isBoolean=Fpe,S.isBuffer=_u,S.isDate=Mpe,S.isElement=Upe,S.isEmpty=jpe,S.isEqual=Bpe,S.isEqualWith=Zpe,S.isError=E3,S.isFinite=Hpe,S.isFunction=ls,S.isInteger=VP,S.isLength=iy,S.isMap=GP,S.isMatch=Wpe,S.isMatchWith=Vpe,S.isNaN=Gpe,S.isNative=qpe,S.isNil=Ype,S.isNull=Jpe,S.isNumber=qP,S.isObject=zn,S.isObjectLike=Un,S.isPlainObject=Kp,S.isRegExp=D3,S.isSafeInteger=Kpe,S.isSet=JP,S.isString=oy,S.isSymbol=ji,S.isTypedArray=vd,S.isUndefined=Xpe,S.isWeakMap=Qpe,S.isWeakSet=eme,S.join=rfe,S.kebabCase=Zme,S.last=vo,S.lastIndexOf=ife,S.lowerCase=Hme,S.lowerFirst=Wme,S.lt=tme,S.lte=nme,S.max=Mhe,S.maxBy=Uhe,S.mean=jhe,S.meanBy=Bhe,S.min=Zhe,S.minBy=Hhe,S.stubArray=O3,S.stubFalse=z3,S.stubObject=The,S.stubString=Che,S.stubTrue=Ahe,S.multiply=Whe,S.nth=ofe,S.noConflict=xhe,S.noop=N3,S.now=ty,S.pad=Vme,S.padEnd=Gme,S.padStart=qme,S.parseInt=Jme,S.random=Fme,S.reduce=upe,S.reduceRight=lpe,S.repeat=Yme,S.replace=Kme,S.result=Ime,S.round=Vhe,S.runInContext=Z,S.sample=dpe,S.size=mpe,S.snakeCase=Xme,S.some=hpe,S.sortedIndex=ffe,S.sortedIndexBy=pfe,S.sortedIndexOf=mfe,S.sortedLastIndex=hfe,S.sortedLastIndexBy=gfe,S.sortedLastIndexOf=vfe,S.startCase=ehe,S.startsWith=the,S.subtract=Ghe,S.sum=qhe,S.sumBy=Jhe,S.template=nhe,S.times=Nhe,S.toFinite=cs,S.toInteger=bt,S.toLength=KP,S.toLower=rhe,S.toNumber=yo,S.toSafeInteger=rme,S.toString=qt,S.toUpper=ihe,S.trim=ohe,S.trimEnd=ahe,S.trimStart=she,S.truncate=uhe,S.unescape=lhe,S.uniqueId=zhe,S.upperCase=che,S.upperFirst=I3,S.each=LP,S.eachRight=FP,S.first=OP,A3(S,function(){var u={};return Da(S,function(d,m){Gt.call(S.prototype,m)||(u[m]=d)}),u}(),{chain:!1}),S.VERSION=t,fo(["bind","bindKey","curry","curryRight","partial","partialRight"],function(u){S[u].placeholder=S}),fo(["drop","take"],function(u,d){Rt.prototype[u]=function(m){m=m===e?1:sr(bt(m),0);var _=this.__filtered__&&!d?new Rt(this):this.clone();return _.__filtered__?_.__takeCount__=zr(m,_.__takeCount__):_.__views__.push({size:zr(m,Re),type:u+(_.__dir__<0?"Right":"")}),_},Rt.prototype[u+"Right"]=function(m){return this.reverse()[u](m).reverse()}}),fo(["filter","map","takeWhile"],function(u,d){var m=d+1,_=m==Ee||m==ye;Rt.prototype[u]=function(D){var I=this.clone();return I.__iteratees__.push({iteratee:qe(D,3),type:m}),I.__filtered__=I.__filtered__||_,I}}),fo(["head","last"],function(u,d){var m="take"+(d?"Right":"");Rt.prototype[u]=function(){return this[m](1).value()[0]}}),fo(["initial","tail"],function(u,d){var m="drop"+(d?"":"Right");Rt.prototype[u]=function(){return this.__filtered__?new Rt(this):this[m](1)}}),Rt.prototype.compact=function(){return this.filter(Ei)},Rt.prototype.find=function(u){return this.filter(u).head()},Rt.prototype.findLast=function(u){return this.reverse().find(u)},Rt.prototype.invokeMap=Et(function(u,d){return typeof u=="function"?new Rt(this):this.map(function(m){return Wp(m,u,d)})}),Rt.prototype.reject=function(u){return this.filter(ry(qe(u)))},Rt.prototype.slice=function(u,d){u=bt(u);var m=this;return m.__filtered__&&(u>0||d<0)?new Rt(m):(u<0?m=m.takeRight(-u):u&&(m=m.drop(u)),d!==e&&(d=bt(d),m=d<0?m.dropRight(-d):m.take(d-u)),m)},Rt.prototype.takeRightWhile=function(u){return this.reverse().takeWhile(u).reverse()},Rt.prototype.toArray=function(){return this.take(Re)},Da(Rt.prototype,function(u,d){var m=/^(?:filter|find|map|reject)|While$/.test(d),_=/^(?:head|last)$/.test(d),D=S[_?"take"+(d=="last"?"Right":""):d],I=_||/^find/.test(d);D&&(S.prototype[d]=function(){var R=this.__wrapped__,B=_?[1]:arguments,W=R instanceof Rt,oe=B[0],ae=W||pt(R),le=function(At){var Mt=D.apply(S,fu([At],B));return _&&Se?Mt[0]:Mt};ae&&m&&typeof oe=="function"&&oe.length!=1&&(W=ae=!1);var Se=this.__chain__,je=!!this.__actions__.length,Ye=I&&!Se,kt=W&&!je;if(!I&&ae){R=kt?R:new Rt(this);var Ke=u.apply(R,B);return Ke.__actions__.push({func:Qv,args:[le],thisArg:e}),new mo(Ke,Se)}return Ye&&kt?u.apply(this,B):(Ke=this.thru(le),Ye?_?Ke.value()[0]:Ke.value():Ke)})}),fo(["pop","push","shift","sort","splice","unshift"],function(u){var d=Dv[u],m=/^(?:push|sort|unshift)$/.test(u)?"tap":"thru",_=/^(?:pop|shift)$/.test(u);S.prototype[u]=function(){var D=arguments;if(_&&!this.__chain__){var I=this.value();return d.apply(pt(I)?I:[],D)}return this[m](function(R){return d.apply(pt(R)?R:[],D)})}}),Da(Rt.prototype,function(u,d){var m=S[d];if(m){var _=m.name+"";Gt.call(fd,_)||(fd[_]=[]),fd[_].push({name:d,func:m})}}),fd[Vv(e,k).name]=[{name:"wrapper",func:e}],Rt.prototype.clone=lce,Rt.prototype.reverse=cce,Rt.prototype.value=dce,S.prototype.at=Ufe,S.prototype.chain=jfe,S.prototype.commit=Bfe,S.prototype.next=Zfe,S.prototype.plant=Wfe,S.prototype.reverse=Vfe,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=Gfe,S.prototype.first=S.prototype.head,Fp&&(S.prototype[Fp]=Hfe),S},mu=Ble();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(pr._=mu,define(function(){return mu})):Rl?((Rl.exports=mu)._=mu,Cw._=mu):pr._=mu}).call(Nf)});var gI=en(()=>{(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=i.variable[1].inside,a=0;a<r.length;a++)o[r[a]]=e.languages.bash[r[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(Prism)});var IW=en(()=>{(function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(Prism)});var TW=en(()=>{(function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,r=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return i}),o={pattern:RegExp(i),greedy:!0},a={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(l,c){return l=l.replace(/<OPT>/g,function(){return r}).replace(/<SP>/g,function(){return n}),RegExp(l,c)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[o,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:a,string:o,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:a},e.languages.dockerfile=e.languages.docker})(Prism)});var CW=en(()=>{(function(e){function t(c){return RegExp("(^(?:"+c+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n=e.languages,i={"application/javascript":n.javascript,"application/json":n.json||n.javascript,"application/xml":n.xml,"text/xml":n.xml,"text/html":n.html,"text/css":n.css,"text/plain":n.plain},r={"application/json":!0,"application/xml":!0};function o(c){var f=c.replace(/^[a-z]+\//,""),p="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+c+"|"+p+")"}var a;for(var s in i)if(i[s]){a=a||{};var l=r[s]?o(s):s;a[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[s]}}a&&e.languages.insertBefore("http","header",a)})(Prism)});var AW=en(()=>{Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript});var NW=en(()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json});var OW=en(()=>{Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]};Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity;Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup;Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))});Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,n){var i={};i["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[n]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};r["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}});Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}});Prism.languages.html=Prism.languages.markup;Prism.languages.mathml=Prism.languages.markup;Prism.languages.svg=Prism.languages.markup;Prism.languages.xml=Prism.languages.extend("markup",{});Prism.languages.ssml=Prism.languages.xml;Prism.languages.atom=Prism.languages.xml;Prism.languages.rss=Prism.languages.xml});var zW=en(()=>{(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism)});var PW=en(()=>{(function(e){function t(o,a){e.languages[o]&&e.languages.insertBefore(o,"comment",{"doc-comment":a})}var n=e.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},r={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",i),t("fsharp",i),t("vbnet",r)})(Prism)});var RW=en(()=>{(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(s,l){l=(l||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return s});return RegExp(c,l)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+r+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism)});var LDe={};var LW=nge(()=>{"use strict";Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python});var Yte=en((kN,wN)=>{(function(e,t){typeof c7=="function"&&typeof kN=="object"&&typeof wN=="object"?wN.exports=t():typeof define=="function"&&define.amd?define(function(){return t()}):e.pluralize=t()})(kN,function(){var e=[],t=[],n={},i={},r={};function o(v){return typeof v=="string"?new RegExp("^"+v+"$","i"):v}function a(v,b){return v===b?b:v===v.toLowerCase()?b.toLowerCase():v===v.toUpperCase()?b.toUpperCase():v[0]===v[0].toUpperCase()?b.charAt(0).toUpperCase()+b.substr(1).toLowerCase():b.toLowerCase()}function s(v,b){return v.replace(/\$(\d{1,2})/g,function(k,$){return b[$]||""})}function l(v,b){return v.replace(b[0],function(k,$){var x=s(b[1],arguments);return a(k===""?v[$-1]:k,x)})}function c(v,b,k){if(!v.length||n.hasOwnProperty(v))return b;for(var $=k.length;$--;){var x=k[$];if(x[0].test(b))return l(b,x)}return b}function f(v,b,k){return function($){var x=$.toLowerCase();return b.hasOwnProperty(x)?a($,x):v.hasOwnProperty(x)?a($,v[x]):c(x,$,k)}}function p(v,b,k,$){return function(x){var E=x.toLowerCase();return b.hasOwnProperty(E)?!0:v.hasOwnProperty(E)?!1:c(E,E,k)===E}}function h(v,b,k){var $=b===1?h.singular(v):h.plural(v);return(k?b+" ":"")+$}return h.plural=f(r,i,e),h.isPlural=p(r,i,e),h.singular=f(i,r,t),h.isSingular=p(i,r,t),h.addPluralRule=function(v,b){e.push([o(v),b])},h.addSingularRule=function(v,b){t.push([o(v),b])},h.addUncountableRule=function(v){if(typeof v=="string"){n[v.toLowerCase()]=!0;return}h.addPluralRule(v,"$0"),h.addSingularRule(v,"$0")},h.addIrregularRule=function(v,b){b=b.toLowerCase(),v=v.toLowerCase(),r[v]=b,i[b]=v},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(v){return h.addIrregularRule(v[0],v[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(v){return h.addPluralRule(v[0],v[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(v){return h.addSingularRule(v[0],v[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(h.addUncountableRule),h})});var gue=en(zz=>{"use strict";var hue=cb();zz.createRoot=hue.createRoot,zz.hydrateRoot=hue.hydrateRoot;var Cgt});var Kc=Y(He(),1);var hr=function(){return hr=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},hr.apply(this,arguments)};function _d(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}var Tn=Y(He());var un="-ms-",Wl="-moz-",jt="-webkit-",dy="comm",xu="rule",xd="decl";var E7="@import";var D7="@namespace",fy="@keyframes";var $7="@layer";var U3=Math.abs,Qp=String.fromCharCode,em=Object.assign;function S7(e,t){return Pn(e,0)^45?(((t<<2^Pn(e,0))<<2^Pn(e,1))<<2^Pn(e,2))<<2^Pn(e,3):0}function py(e){return e.trim()}function ea(e,t){return(e=t.exec(e))?e[0]:e}function mt(e,t,n){return e.replace(t,n)}function kd(e,t,n){return e.indexOf(t,n)}function Pn(e,t){return e.charCodeAt(t)|0}function ta(e,t,n){return e.slice(t,n)}function Rr(e){return e.length}function my(e){return e.length}function Vl(e,t){return t.push(e),e}function I7(e,t){return e.map(t).join("")}function j3(e,t){return e.filter(function(n){return!ea(n,t)})}var hy=1,wd=1,T7=0,bo=0,Kn=0,Dd="";function tm(e,t,n,i,r,o,a,s){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:hy,column:wd,length:a,return:"",siblings:s}}function fs(e,t){return em(tm("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Gl(e){for(;e.root;)e=fs(e.root,{children:[e]});Vl(e,e.siblings)}function C7(){return Kn}function A7(){return Kn=bo>0?Pn(Dd,--bo):0,wd--,Kn===10&&(wd=1,hy--),Kn}function _o(){return Kn=bo<T7?Pn(Dd,bo++):0,wd++,Kn===10&&(wd=1,hy++),Kn}function ps(){return Pn(Dd,bo)}function nm(){return bo}function gy(e,t){return ta(Dd,e,t)}function Ed(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N7(e){return hy=wd=1,T7=Rr(Dd=e),bo=0,[]}function O7(e){return Dd="",e}function vy(e){return py(gy(bo-1,B3(e===91?e+2:e===40?e+1:e)))}function z7(e){for(;(Kn=ps())&&Kn<33;)_o();return Ed(e)>2||Ed(Kn)>3?"":" "}function P7(e,t){for(;--t&&_o()&&!(Kn<48||Kn>102||Kn>57&&Kn<65||Kn>70&&Kn<97););return gy(e,nm()+(t<6&&ps()==32&&_o()==32))}function B3(e){for(;_o();)switch(Kn){case e:return bo;case 34:case 39:e!==34&&e!==39&&B3(Kn);break;case 40:e===41&&B3(e);break;case 92:_o();break}return bo}function R7(e,t){for(;_o()&&e+Kn!==57;)if(e+Kn===84&&ps()===47)break;return"/*"+gy(t,bo-1)+"*"+Qp(e===47?e:_o())}function L7(e){for(;!Ed(ps());)_o();return gy(e,bo)}function U7(e){return O7(yy("",null,null,null,[""],e=N7(e),0,[0],e))}function yy(e,t,n,i,r,o,a,s,l){for(var c=0,f=0,p=a,h=0,v=0,b=0,k=1,$=1,x=1,E=0,w="",T=r,M=o,A=i,j=w;$;)switch(b=E,E=_o()){case 40:if(b!=108&&Pn(j,p-1)==58){kd(j+=mt(vy(E),"&","&\f"),"&\f",U3(c?s[c-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:j+=vy(E);break;case 9:case 10:case 13:case 32:j+=z7(b);break;case 92:j+=P7(nm()-1,7);continue;case 47:switch(ps()){case 42:case 47:Vl(bge(R7(_o(),nm()),t,n,l),l),(Ed(b||1)==5||Ed(ps()||1)==5)&&Rr(j)&&ta(j,-1,void 0)!==" "&&(j+=" ");break;default:j+="/"}break;case 123*k:s[c++]=Rr(j)*x;case 125*k:case 59:case 0:switch(E){case 0:case 125:$=0;case 59+f:x==-1&&(j=mt(j,/\f/g,"")),v>0&&(Rr(j)-p||k===0&&b===47)&&Vl(v>32?M7(j+";",i,n,p-1,l):M7(mt(j," ","")+";",i,n,p-2,l),l);break;case 59:j+=";";default:if(Vl(A=F7(j,t,n,c,f,r,s,w,T=[],M=[],p,o),o),E===123)if(f===0)yy(j,t,A,A,T,o,p,s,M);else{switch(h){case 99:if(Pn(j,3)===110)break;case 108:if(Pn(j,2)===97)break;default:f=0;case 100:case 109:case 115:}f?yy(e,A,A,i&&Vl(F7(e,A,A,0,0,r,s,w,r,T=[],p,M),M),r,M,p,s,i?T:M):yy(j,A,A,A,[""],M,0,s,M)}}c=f=v=0,k=x=1,w=j="",p=a;break;case 58:p=1+Rr(j),v=b;default:if(k<1){if(E==123)--k;else if(E==125&&k++==0&&A7()==125)continue}switch(j+=Qp(E),E*k){case 38:x=f>0?1:(j+="\f",-1);break;case 44:s[c++]=(Rr(j)-1)*x,x=1;break;case 64:ps()===45&&(j+=vy(_o())),h=ps(),f=p=Rr(w=j+=L7(nm())),E++;break;case 45:b===45&&Rr(j)==2&&(k=0)}}return o}function F7(e,t,n,i,r,o,a,s,l,c,f,p){for(var h=r-1,v=r===0?o:[""],b=my(v),k=0,$=0,x=0;k<i;++k)for(var E=0,w=ta(e,h+1,h=U3($=a[k])),T=e;E<b;++E)(T=py($>0?v[E]+" "+w:mt(w,/&\f/g,v[E])))&&(l[x++]=T);return tm(e,t,n,r===0?xu:s,l,c,f,p)}function bge(e,t,n,i){return tm(e,t,n,dy,Qp(C7()),ta(e,2,-2),0,i)}function M7(e,t,n,i,r){return tm(e,t,n,xd,ta(e,0,i),ta(e,i+1,-1),i,r)}function Z3(e,t,n){switch(S7(e,t)){case 5103:return jt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return jt+e+e;case 4855:return jt+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return Wl+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return jt+e+Wl+e+un+e+e;case 5936:switch(Pn(e,t+11)){case 114:return jt+e+un+mt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jt+e+un+mt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jt+e+un+mt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return jt+e+un+e+e;case 6165:return jt+e+un+"flex-"+e+e;case 5187:return jt+e+mt(e,/(\w+).+(:[^]+)/,jt+"box-$1$2"+un+"flex-$1$2")+e;case 5443:return jt+e+un+"flex-item-"+mt(e,/flex-|-self/g,"")+(ea(e,/flex-|baseline/)?"":un+"grid-row-"+mt(e,/flex-|-self/g,""))+e;case 4675:return jt+e+un+"flex-line-pack"+mt(e,/align-content|flex-|-self/g,"")+e;case 5548:return jt+e+un+mt(e,"shrink","negative")+e;case 5292:return jt+e+un+mt(e,"basis","preferred-size")+e;case 6060:return jt+"box-"+mt(e,"-grow","")+jt+e+un+mt(e,"grow","positive")+e;case 4554:return jt+mt(e,/([^-])(transform)/g,"$1"+jt+"$2")+e;case 6187:return mt(mt(mt(e,/(zoom-|grab)/,jt+"$1"),/(image-set)/,jt+"$1"),e,"")+e;case 5495:case 3959:return mt(e,/(image-set\([^]*)/,jt+"$1$`$1");case 4968:return mt(mt(e,/(.+:)(flex-)?(.*)/,jt+"box-pack:$3"+un+"flex-pack:$3"),/space-between/,"justify")+jt+e+e;case 4200:if(!ea(e,/flex-|baseline/))return un+"grid-column-align"+ta(e,t)+e;break;case 2592:case 3360:return un+mt(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(i,r){return t=r,ea(i.props,/grid-\w+-end/)})?~kd(e+(n=n[t].value),"span",0)?e:un+mt(e,"-start","")+e+un+"grid-row-span:"+(~kd(n,"span",0)?ea(n,/\d+/):+ea(n,/\d+/)-+ea(e,/\d+/))+";":un+mt(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(i){return ea(i.props,/grid-\w+-start/)})?e:un+mt(mt(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return mt(e,/(.+)-inline(.+)/,jt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Rr(e)-1-t>6)switch(Pn(e,t+1)){case 109:if(Pn(e,t+4)!==45)break;case 102:return mt(e,/(.+:)(.+)-([^]+)/,"$1"+jt+"$2-$3$1"+Wl+(Pn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~kd(e,"stretch",0)?Z3(mt(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return mt(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(i,r,o,a,s,l,c){return un+r+":"+o+c+(a?un+r+"-span:"+(s?l:+l-+o)+c:"")+e});case 4949:if(Pn(e,t+6)===121)return mt(e,":",":"+jt)+e;break;case 6444:switch(Pn(e,Pn(e,14)===45?18:11)){case 120:return mt(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+jt+(Pn(e,14)===45?"inline-":"")+"box$3$1"+jt+"$2$3$1"+un+"$2box$3")+e;case 100:return mt(e,":",":"+un)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return mt(e,"scroll-","scroll-snap-")+e}return e}function $d(e,t){for(var n="",i=0;i<e.length;i++)n+=t(e[i],i,e,t)||"";return n}function j7(e,t,n,i){switch(e.type){case $7:if(e.children.length)break;case E7:case D7:case xd:return e.return=e.return||e.value;case dy:return"";case fy:return e.return=e.value+"{"+$d(e.children,i)+"}";case xu:if(!Rr(e.value=e.props.join(",")))return""}return Rr(n=$d(e.children,i))?e.return=e.value+"{"+n+"}":""}function B7(e){var t=my(e);return function(n,i,r,o){for(var a="",s=0;s<t;s++)a+=e[s](n,i,r,o)||"";return a}}function Z7(e){return function(t){t.root||(t=t.return)&&e(t)}}function H7(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case xd:e.return=Z3(e.value,e.length,n);return;case fy:return $d([fs(e,{value:mt(e.value,"@","@"+jt)})],i);case xu:if(e.length)return I7(n=e.props,function(r){switch(ea(r,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Gl(fs(e,{props:[mt(r,/:(read-\w+)/,":"+Wl+"$1")]})),Gl(fs(e,{props:[r]})),em(e,{props:j3(n,i)});break;case"::placeholder":Gl(fs(e,{props:[mt(r,/:(plac\w+)/,":"+jt+"input-$1")]})),Gl(fs(e,{props:[mt(r,/:(plac\w+)/,":"+Wl+"$1")]})),Gl(fs(e,{props:[mt(r,/:(plac\w+)/,un+"input-$1")]})),Gl(fs(e,{props:[r]})),em(e,{props:j3(n,i)});break}return""})}}var W7={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ms=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",rR="active",xy="data-styled-version",Td="6.3.8",e2=`/*!sc*/
29
29
  `,ky=typeof window<"u"&&typeof document<"u",wu=Tn.default.createContext===void 0,_ge=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY);var Dy=Object.freeze([]),Cd=Object.freeze({});function xge(e,t,n){return n===void 0&&(n=Cd),e.theme!==n.theme&&e.theme||t||n.theme}var iR=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),kge=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,wge=/(^-|-$)/g;function V7(e){return e.replace(kge,"-").replace(wge,"")}var Ege=/(a)(d)/gi,G7=function(e){return String.fromCharCode(e+(e>25?39:97))};function G3(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=G7(t%52)+n;return(G7(t%52)+n).replace(Ege,"$1-$2")}var H3,Sd=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},oR=function(e){return Sd(5381,e)};function aR(e){return G3(oR(e)>>>0)}function Dge(e){return e.displayName||e.name||"Component"}function W3(e){return typeof e=="string"&&!0}var sR=typeof Symbol=="function"&&Symbol.for,uR=sR?Symbol.for("react.memo"):60115,$ge=sR?Symbol.for("react.forward_ref"):60112,Sge={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ige={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},lR={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Tge=((H3={})[$ge]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},H3[uR]=lR,H3);function q7(e){return("type"in(t=e)&&t.type.$$typeof)===uR?lR:"$$typeof"in e?Tge[e.$$typeof]:Sge;var t}var Cge=Object.defineProperty,Age=Object.getOwnPropertyNames,J7=Object.getOwnPropertySymbols,Nge=Object.getOwnPropertyDescriptor,Oge=Object.getPrototypeOf,Y7=Object.prototype;function cR(e,t,n){if(typeof t!="string"){if(Y7){var i=Oge(t);i&&i!==Y7&&cR(e,i,n)}var r=Age(t);J7&&(r=r.concat(J7(t)));for(var o=q7(e),a=q7(t),s=0;s<r.length;++s){var l=r[s];if(!(l in Ige||n&&n[l]||a&&l in a||o&&l in o)){var c=Nge(t,l);try{Cge(e,l,c)}catch{}}}}return e}function Jl(e){return typeof e=="function"}function t2(e){return typeof e=="object"&&"styledComponentId"in e}function ql(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function im(e,t){if(e.length===0)return"";for(var n=e[0],i=1;i<e.length;i++)n+=t?t+e[i]:e[i];return n}function om(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function q3(e,t,n){if(n===void 0&&(n=!1),!n&&!om(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var i=0;i<t.length;i++)e[i]=q3(e[i],t[i]);else if(om(t))for(var i in t)e[i]=q3(e[i],t[i]);return e}function n2(e,t){Object.defineProperty(e,"toString",{value:t})}function na(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var zge=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,i=0;i<t;i++)n+=this.groupSizes[i];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var i=this.groupSizes,r=i.length,o=r;t>=o;)if((o<<=1)<0)throw na(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(i),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(t+1),l=(a=0,n.length);a<l;a++)this.tag.insertRule(s,n[a])&&(this.groupSizes[t]++,s++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],i=this.indexOfGroup(t),r=i+n;this.groupSizes[t]=0;for(var o=i;o<r;o++)this.tag.deleteRule(i)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var i=this.groupSizes[t],r=this.indexOfGroup(t),o=r+i,a=r;a<o;a++)n+="".concat(this.tag.getRule(a)).concat(e2);return n},e}(),FRe=1<<30,by=new Map,wy=new Map,_y=1,rm=function(e){if(by.has(e))return by.get(e);for(;wy.has(_y);)_y++;var t=_y++;return by.set(e,t),wy.set(t,e),t},Pge=function(e,t){_y=t+1,by.set(e,t),wy.set(t,e)},Rge="style[".concat(ms,"][").concat(xy,'="').concat(Td,'"]'),Lge=new RegExp("^".concat(ms,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Fge=function(e,t,n){for(var i,r=n.split(","),o=0,a=r.length;o<a;o++)(i=r[o])&&e.registerName(t,i)},Mge=function(e,t){for(var n,i=((n=t.textContent)!==null&&n!==void 0?n:"").split(e2),r=[],o=0,a=i.length;o<a;o++){var s=i[o].trim();if(s){var l=s.match(Lge);if(l){var c=0|parseInt(l[1],10),f=l[2];c!==0&&(Pge(f,c),Fge(e,f,l[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(s)}}},K7=function(e){for(var t=document.querySelectorAll(Rge),n=0,i=t.length;n<i;n++){var r=t[n];r&&r.getAttribute(ms)!==rR&&(Mge(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function J3(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var dR=function(e){var t=document.head,n=e||t,i=document.createElement("style"),r=function(s){var l=Array.from(s.querySelectorAll("style[".concat(ms,"]")));return l[l.length-1]}(n),o=r!==void 0?r.nextSibling:null;i.setAttribute(ms,rR),i.setAttribute(xy,Td);var a=J3();return a&&i.setAttribute("nonce",a),n.insertBefore(i,o),i},Uge=function(){function e(t){this.element=dR(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var i=document.styleSheets,r=0,o=i.length;r<o;r++){var a=i[r];if(a.ownerNode===n)return a}throw na(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),jge=function(){function e(t){this.element=dR(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var i=document.createTextNode(n);return this.element.insertBefore(i,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Bge=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),X7=ky,Zge={isServer:!ky,useCSSOMInjection:!_ge},am=function(){function e(t,n,i){t===void 0&&(t=Cd),n===void 0&&(n={});var r=this;this.options=hr(hr({},Zge),t),this.gs=n,this.names=new Map(i),this.server=!!t.isServer,!this.server&&ky&&X7&&(X7=!1,K7(this)),n2(this,function(){return function(o){for(var a=o.getTag(),s=a.length,l="",c=function(p){var h=function(x){return wy.get(x)}(p);if(h===void 0)return"continue";var v=o.names.get(h),b=a.getGroup(p);if(v===void 0||!v.size||b.length===0)return"continue";var k="".concat(ms,".g").concat(p,'[id="').concat(h,'"]'),$="";v!==void 0&&v.forEach(function(x){x.length>0&&($+="".concat(x,","))}),l+="".concat(b).concat(k,'{content:"').concat($,'"}').concat(e2)},f=0;f<s;f++)c(f);return l}(r)})}return e.registerId=function(t){return rm(t)},e.prototype.rehydrate=function(){!this.server&&ky&&K7(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(hr(hr({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var i=n.useCSSOMInjection,r=n.target;return n.isServer?new Bge(r):i?new Uge(r):new jge(r)}(this.options),new zge(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(rm(t),this.names.has(t))this.names.get(t).add(n);else{var i=new Set;i.add(n),this.names.set(t,i)}},e.prototype.insertRules=function(t,n,i){this.registerName(t,n),this.getTag().insertRules(rm(t),i)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(rm(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Hge=/&/g,Id=47;function Q7(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,n=0,i=0,r=!1,o=0;o<t;o++){var a=e.charCodeAt(o);if(i!==0||r||a!==Id||e.charCodeAt(o+1)!==42)if(r)a===42&&e.charCodeAt(o+1)===Id&&(r=!1,o++);else if(a!==34&&a!==39||o!==0&&e.charCodeAt(o-1)===92){if(i===0){if(a===123)n++;else if(a===125&&--n<0)return!0}}else i===0?i=a:i===a&&(i=0);else r=!0,o++}return n!==0||i!==0}function fR(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(i){return"".concat(t," ").concat(i)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=fR(n.children,t)),n})}function pR(e){var t,n,i,r=e===void 0?Cd:e,o=r.options,a=o===void 0?Cd:o,s=r.plugins,l=s===void 0?Dy:s,c=function(h,v,b){return b.startsWith(n)&&b.endsWith(n)&&b.replaceAll(n,"").length>0?".".concat(t):h},f=l.slice();f.push(function(h){h.type===xu&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(Hge,n).replace(i,c))}),a.prefix&&f.push(H7),f.push(j7);var p=function(h,v,b,k){v===void 0&&(v=""),b===void 0&&(b=""),k===void 0&&(k="&"),t=k,n=v,i=new RegExp("\\".concat(n,"\\b"),"g");var $=function(w){if(!Q7(w))return w;for(var T=w.length,M="",A=0,j=0,X=0,se=!1,F=0;F<T;F++){var De=w.charCodeAt(F);if(X!==0||se||De!==Id||w.charCodeAt(F+1)!==42)if(se)De===42&&w.charCodeAt(F+1)===Id&&(se=!1,F++);else if(De!==34&&De!==39||F!==0&&w.charCodeAt(F-1)===92){if(X===0)if(De===123)j++;else if(De===125){if(--j<0){for(var Ee=F+1;Ee<T;){var ve=w.charCodeAt(Ee);if(ve===59||ve===10)break;Ee++}Ee<T&&w.charCodeAt(Ee)===59&&Ee++,j=0,F=Ee-1,A=Ee;continue}j===0&&(M+=w.substring(A,F+1),A=F+1)}else De===59&&j===0&&(M+=w.substring(A,F+1),A=F+1)}else X===0?X=De:X===De&&(X=0);else se=!0,F++}if(A<T){var ye=w.substring(A);Q7(ye)||(M+=ye)}return M}(function(w){if(w.indexOf("//")===-1)return w;for(var T=w.length,M=[],A=0,j=0,X=0,se=0;j<T;){var F=w.charCodeAt(j);if(F!==34&&F!==39||j!==0&&w.charCodeAt(j-1)===92)if(X===0)if(F===40&&j>=3&&(32|w.charCodeAt(j-1))==108&&(32|w.charCodeAt(j-2))==114&&(32|w.charCodeAt(j-3))==117)se=1,j++;else if(se>0)F===41?se--:F===40&&se++,j++;else if(F===Id&&j+1<T&&w.charCodeAt(j+1)===Id){for(j>A&&M.push(w.substring(A,j));j<T&&w.charCodeAt(j)!==10;)j++;A=j}else j++;else j++;else X===0?X=F:X===F&&(X=0),j++}return A===0?w:(A<T&&M.push(w.substring(A)),M.join(""))}(h)),x=U7(b||v?"".concat(b," ").concat(v," { ").concat($," }"):$);a.namespace&&(x=fR(x,a.namespace));var E=[];return $d(x,B7(f.concat(Z7(function(w){return E.push(w)})))),E};return p.hash=l.length?l.reduce(function(h,v){return v.name||na(15),Sd(h,v.name)},5381).toString():"",p}var Wge=new am,Y3=pR(),K3={shouldForwardProp:void 0,styleSheet:Wge,stylis:Y3},r2=wu?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(K3)}}:Tn.default.createContext(K3),MRe=r2.Consumer,Vge=wu?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:Tn.default.createContext(void 0);function X3(){return wu?K3:Tn.default.useContext(r2)}function Gge(e){if(wu||!Tn.default.useMemo)return e.children;var t=X3().styleSheet,n=Tn.default.useMemo(function(){var o=t;return e.sheet?o=e.sheet:e.target&&(o=o.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(o=o.reconstructWithOptions({useCSSOMInjection:!1})),o},[e.disableCSSOMInjection,e.sheet,e.target,t]),i=Tn.default.useMemo(function(){return pR({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:e.stylisPlugins})},[e.enableVendorPrefixes,e.namespace,e.stylisPlugins]),r=Tn.default.useMemo(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:n,stylis:i}},[e.shouldForwardProp,n,i]);return Tn.default.createElement(r2.Provider,{value:r},Tn.default.createElement(Vge.Provider,{value:i},e.children))}var mR=function(){function e(t,n){var i=this;this.inject=function(r,o){o===void 0&&(o=Y3);var a=i.name+o.hash;r.hasNameForId(i.id,a)||r.insertRules(i.id,a,o(i.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,n2(this,function(){throw na(12,String(i.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Y3),this.name+t.hash},e}();function qge(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in W7||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var Jge=function(e){return e>="A"&&e<="Z"};function eR(e){for(var t="",n=0;n<e.length;n++){var i=e[n];if(n===1&&i==="-"&&e[0]==="-")return e;Jge(i)?t+="-"+i.toLowerCase():t+=i}return t.startsWith("ms-")?"-"+t:t}var hR=function(e){return e==null||e===!1||e===""},gR=function(e){var t=[];for(var n in e){var i=e[n];e.hasOwnProperty(n)&&!hR(i)&&(Array.isArray(i)&&i.isCss||Jl(i)?t.push("".concat(eR(n),":"),i,";"):om(i)?t.push.apply(t,_d(_d(["".concat(n," {")],gR(i),!1),["}"],!1)):t.push("".concat(eR(n),": ").concat(qge(n,i),";")))}return t};function ku(e,t,n,i){if(hR(e))return[];if(t2(e))return[".".concat(e.styledComponentId)];if(Jl(e)){if(!Jl(o=e)||o.prototype&&o.prototype.isReactComponent||!t)return[e];var r=e(t);return ku(r,t,n,i)}var o;return e instanceof mR?n?(e.inject(n,i),[e.getName(i)]):[e]:om(e)?gR(e):Array.isArray(e)?Array.prototype.concat.apply(Dy,e.map(function(a){return ku(a,t,n,i)})):[e.toString()]}function vR(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Jl(n)&&!t2(n))return!1}return!0}var Yge=oR(Td),Kge=function(){function e(t,n,i){this.rules=t,this.staticRulesId="",this.isStatic=(i===void 0||i.isStatic)&&vR(t),this.componentId=n,this.baseHash=Sd(Yge,n),this.baseStyle=i,am.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,i){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,i).className:"";if(this.isStatic&&!i.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))r=ql(r,this.staticRulesId);else{var o=im(ku(this.rules,t,n,i)),a=G3(Sd(this.baseHash,o)>>>0);if(!n.hasNameForId(this.componentId,a)){var s=i(o,".".concat(a),void 0,this.componentId);n.insertRules(this.componentId,a,s)}r=ql(r,a),this.staticRulesId=a}else{for(var l=Sd(this.baseHash,i.hash),c="",f=0;f<this.rules.length;f++){var p=this.rules[f];if(typeof p=="string")c+=p;else if(p){var h=im(ku(p,t,n,i));l=Sd(l,h+f),c+=h}}if(c){var v=G3(l>>>0);if(!n.hasNameForId(this.componentId,v)){var b=i(c,".".concat(v),void 0,this.componentId);n.insertRules(this.componentId,v,b)}r=ql(r,v)}}return{className:r,css:typeof window>"u"?n.getTag().getGroup(rm(this.componentId)):""}},e}(),Ey=wu?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:Tn.default.createContext(void 0),URe=Ey.Consumer;function yR(e){if(wu)return e.children;var t=Tn.default.useContext(Ey),n=Tn.default.useMemo(function(){return function(i,r){if(!i)throw na(14);if(Jl(i)){var o=i(r);return o}if(Array.isArray(i)||typeof i!="object")throw na(8);return r?hr(hr({},r),i):i}(e.theme,t)},[e.theme,t]);return e.children?Tn.default.createElement(Ey.Provider,{value:n},e.children):null}var V3={};function Xge(e,t,n){var i=t2(e),r=e,o=!W3(e),a=t.attrs,s=a===void 0?Dy:a,l=t.componentId,c=l===void 0?function(T,M){var A=typeof T!="string"?"sc":V7(T);V3[A]=(V3[A]||0)+1;var j="".concat(A,"-").concat(aR(Td+A+V3[A]));return M?"".concat(M,"-").concat(j):j}(t.displayName,t.parentComponentId):l,f=t.displayName,p=f===void 0?function(T){return W3(T)?"styled.".concat(T):"Styled(".concat(Dge(T),")")}(e):f,h=t.displayName&&t.componentId?"".concat(V7(t.displayName),"-").concat(t.componentId):t.componentId||c,v=i&&r.attrs?r.attrs.concat(s).filter(Boolean):s,b=t.shouldForwardProp;if(i&&r.shouldForwardProp){var k=r.shouldForwardProp;if(t.shouldForwardProp){var $=t.shouldForwardProp;b=function(T,M){return k(T,M)&&$(T,M)}}else b=k}var x=new Kge(n,h,i?r.componentStyle:void 0);function E(T,M){return function(A,j,X){var se=A.attrs,F=A.componentStyle,De=A.defaultProps,Ee=A.foldedComponentIds,ve=A.styledComponentId,ye=A.target,$e=wu?void 0:Tn.default.useContext(Ey),Be=X3(),Oe=A.shouldForwardProp||Be.shouldForwardProp,xe=xge(j,$e,De)||Cd,Re=function(gn,Wn,ir){for(var Or,Qt=hr(hr({},Wn),{className:void 0,theme:ir}),Ri=0;Ri<gn.length;Ri+=1){var uu=Jl(Or=gn[Ri])?Or(Qt):Or;for(var or in uu)or==="className"?Qt.className=ql(Qt.className,uu[or]):or==="style"?Qt.style=hr(hr({},Qt.style),uu[or]):Qt[or]=uu[or]}return"className"in Wn&&typeof Wn.className=="string"&&(Qt.className=ql(Qt.className,Wn.className)),Qt}(se,j,xe),P=Re.as||ye,We={};for(var Ct in Re)Re[Ct]===void 0||Ct[0]==="$"||Ct==="as"||Ct==="theme"&&Re.theme===xe||(Ct==="forwardedAs"?We.as=Re.forwardedAs:Oe&&!Oe(Ct,P)||(We[Ct]=Re[Ct]));var U=function(gn,Wn){var ir=X3(),Or=gn.generateAndInjectStyles(Wn,ir.styleSheet,ir.stylis);return Or}(F,Re),Yt=U.className,Qr=U.css,wr=ql(Ee,ve);Yt&&(wr+=" "+Yt),Re.className&&(wr+=" "+Re.className),We[W3(P)&&!iR.has(P)?"class":"className"]=wr,X&&(We.ref=X);var fr=(0,Tn.createElement)(P,We);return wu&&Qr?Tn.default.createElement(Tn.default.Fragment,null,Tn.default.createElement("style",{precedence:"styled-components",href:"sc-".concat(ve,"-").concat(Yt),children:Qr}),fr):fr}(w,T,M)}E.displayName=p;var w=Tn.default.forwardRef(E);return w.attrs=v,w.componentStyle=x,w.displayName=p,w.shouldForwardProp=b,w.foldedComponentIds=i?ql(r.foldedComponentIds,r.styledComponentId):"",w.styledComponentId=h,w.target=i?r.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(T){this._foldedDefaultProps=i?function(M){for(var A=[],j=1;j<arguments.length;j++)A[j-1]=arguments[j];for(var X=0,se=A;X<se.length;X++)q3(M,se[X],!0);return M}({},r.defaultProps,T):T}}),n2(w,function(){return".".concat(w.styledComponentId)}),o&&cR(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function tR(e,t){for(var n=[e[0]],i=0,r=t.length;i<r;i+=1)n.push(t[i],e[i+1]);return n}var nR=function(e){return Object.assign(e,{isCss:!0})};function te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Jl(e)||om(e))return nR(ku(tR(Dy,_d([e],t,!0))));var i=e;return t.length===0&&i.length===1&&typeof i[0]=="string"?ku(i):nR(ku(tR(i,t)))}function Q3(e,t,n){if(n===void 0&&(n=Cd),!t)throw na(1,t);var i=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,te.apply(void 0,_d([r],o,!1)))};return i.attrs=function(r){return Q3(e,t,hr(hr({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},i.withConfig=function(r){return Q3(e,t,hr(hr({},n),r))},i}var bR=function(e){return Q3(Xge,e)},J=bR;iR.forEach(function(e){J[e]=bR(e)});var jRe=function(){function e(t,n){this.rules=t,this.componentId=n,this.isStatic=vR(t),am.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,n,i,r){var o=r(im(ku(this.rules,n,i,r)),""),a=this.componentId+t;i.insertRules(a,a,o)},e.prototype.removeStyles=function(t,n){n.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,n,i,r){t>2&&am.registerId(this.componentId+t);var o=this.componentId+t;this.isStatic?i.hasNameForId(o,o)||this.createStyles(t,n,i,r):(this.removeStyles(t,i),this.createStyles(t,n,i,r))},e}();function sm(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=im(te.apply(void 0,_d([e],t,!1))),r=aR(i);return new mR(r,i)}var BRe=function(){function e(){var t=this;this._emitSheetCSS=function(){var n=t.instance.toString();if(!n)return"";var i=J3(),r=im([i&&'nonce="'.concat(i,'"'),"".concat(ms,'="true"'),"".concat(xy,'="').concat(Td,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(n,"</style>")},this.getStyleTags=function(){if(t.sealed)throw na(2);return t._emitSheetCSS()},this.getStyleElement=function(){var n;if(t.sealed)throw na(2);var i=t.instance.toString();if(!i)return[];var r=((n={})[ms]="",n[xy]=Td,n.dangerouslySetInnerHTML={__html:i},n),o=J3();return o&&(r.nonce=o),[Tn.default.createElement("style",hr({},r,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new am({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(t){if(this.sealed)throw na(2);return Tn.default.createElement(Gge,{sheet:this.instance},t)},e.prototype.interleaveWithNodeStream=function(t){throw na(3)},e}();var ZRe="__sc-".concat(ms,"__");var s0e=Y(Fe(),1);var i2=`
30
30
  --color-neutral-text: #1f2123;
31
31
  --color-neutral-text-muted: #3d3f43;
@@ -958,7 +958,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
958
958
  transform: translate(${({$isBackLink:e})=>e?-3:3}px, 0);
959
959
  }
960
960
  }
961
- `;var e$e=Y(Fe(),1),w4=Y(He(),1);function o$(e){let t=[],n=String(e||""),i=n.indexOf(","),r=0,o=!1;for(;!o;){i===-1&&(i=n.length,o=!0);let a=n.slice(r,i).trim();(a||!o)&&t.push(a),r=i+1,i=n.indexOf(",",r)}return t}function xb(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var r_e=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,i_e=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o_e={};function kb(e,t){return((t||o_e).jsx?i_e:r_e).test(e)}var a_e=/[ \t\n\f\r]/g;function a$(e){return typeof e=="object"?e.type==="text"?fj(e.value):!1:fj(e)}function fj(e){return e.replace(a_e,"")===""}var Cs=class{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}};Cs.prototype.normal={};Cs.prototype.property={};Cs.prototype.space=void 0;function s$(e,t){let n={},i={};for(let r of e)Object.assign(n,r.property),Object.assign(i,r.normal);return new Cs(n,i,t)}function As(e){return e.toLowerCase()}var _r=class{constructor(t,n){this.attribute=n,this.property=t}};_r.prototype.attribute="";_r.prototype.booleanish=!1;_r.prototype.boolean=!1;_r.prototype.commaOrSpaceSeparated=!1;_r.prototype.commaSeparated=!1;_r.prototype.defined=!1;_r.prototype.mustUseProperty=!1;_r.prototype.number=!1;_r.prototype.overloadedBoolean=!1;_r.prototype.property="";_r.prototype.spaceSeparated=!1;_r.prototype.space=void 0;var ph={};Ia(ph,{boolean:()=>ht,booleanish:()=>Bn,commaOrSpaceSeparated:()=>Ci,commaSeparated:()=>Ku,number:()=>fe,overloadedBoolean:()=>wb,spaceSeparated:()=>Xt});var s_e=0,ht=gc(),Bn=gc(),wb=gc(),fe=gc(),Xt=gc(),Ku=gc(),Ci=gc();function gc(){return 2**++s_e}var u$=Object.keys(ph),vc=class extends _r{constructor(t,n,i,r){let o=-1;if(super(t,n),pj(this,"space",r),typeof i=="number")for(;++o<u$.length;){let a=u$[o];pj(this,u$[o],(i&ph[a])===ph[a])}}};vc.prototype.defined=!0;function pj(e,t,n){n&&(e[t]=n)}function Co(e){let t={},n={};for(let[i,r]of Object.entries(e.properties)){let o=new vc(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[As(i)]=i,n[As(o.attribute)]=i}return new Cs(t,n,e.space)}var l$=Co({properties:{ariaActiveDescendant:null,ariaAtomic:Bn,ariaAutoComplete:null,ariaBusy:Bn,ariaChecked:Bn,ariaColCount:fe,ariaColIndex:fe,ariaColSpan:fe,ariaControls:Xt,ariaCurrent:null,ariaDescribedBy:Xt,ariaDetails:null,ariaDisabled:Bn,ariaDropEffect:Xt,ariaErrorMessage:null,ariaExpanded:Bn,ariaFlowTo:Xt,ariaGrabbed:Bn,ariaHasPopup:null,ariaHidden:Bn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xt,ariaLevel:fe,ariaLive:null,ariaModal:Bn,ariaMultiLine:Bn,ariaMultiSelectable:Bn,ariaOrientation:null,ariaOwns:Xt,ariaPlaceholder:null,ariaPosInSet:fe,ariaPressed:Bn,ariaReadOnly:Bn,ariaRelevant:null,ariaRequired:Bn,ariaRoleDescription:Xt,ariaRowCount:fe,ariaRowIndex:fe,ariaRowSpan:fe,ariaSelected:Bn,ariaSetSize:fe,ariaSort:null,ariaValueMax:fe,ariaValueMin:fe,ariaValueNow:fe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Eb(e,t){return t in e?e[t]:t}function Db(e,t){return Eb(e,t.toLowerCase())}var mj=Co({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ku,acceptCharset:Xt,accessKey:Xt,action:null,allow:null,allowFullScreen:ht,allowPaymentRequest:ht,allowUserMedia:ht,alt:null,as:null,async:ht,autoCapitalize:null,autoComplete:Xt,autoFocus:ht,autoPlay:ht,blocking:Xt,capture:null,charSet:null,checked:ht,cite:null,className:Xt,cols:fe,colSpan:null,content:null,contentEditable:Bn,controls:ht,controlsList:Xt,coords:fe|Ku,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ht,defer:ht,dir:null,dirName:null,disabled:ht,download:wb,draggable:Bn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ht,formTarget:null,headers:Xt,height:fe,hidden:wb,high:fe,href:null,hrefLang:null,htmlFor:Xt,httpEquiv:Xt,id:null,imageSizes:null,imageSrcSet:null,inert:ht,inputMode:null,integrity:null,is:null,isMap:ht,itemId:null,itemProp:Xt,itemRef:Xt,itemScope:ht,itemType:Xt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ht,low:fe,manifest:null,max:null,maxLength:fe,media:null,method:null,min:null,minLength:fe,multiple:ht,muted:ht,name:null,nonce:null,noModule:ht,noValidate:ht,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ht,optimum:fe,pattern:null,ping:Xt,placeholder:null,playsInline:ht,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ht,referrerPolicy:null,rel:Xt,required:ht,reversed:ht,rows:fe,rowSpan:fe,sandbox:Xt,scope:null,scoped:ht,seamless:ht,selected:ht,shadowRootClonable:ht,shadowRootDelegatesFocus:ht,shadowRootMode:null,shape:null,size:fe,sizes:null,slot:null,span:fe,spellCheck:Bn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fe,step:null,style:null,tabIndex:fe,target:null,title:null,translate:null,type:null,typeMustMatch:ht,useMap:null,value:Bn,width:fe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xt,axis:null,background:null,bgColor:null,border:fe,borderColor:null,bottomMargin:fe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ht,declare:ht,event:null,face:null,frame:null,frameBorder:null,hSpace:fe,leftMargin:fe,link:null,longDesc:null,lowSrc:null,marginHeight:fe,marginWidth:fe,noResize:ht,noHref:ht,noShade:ht,noWrap:ht,object:null,profile:null,prompt:null,rev:null,rightMargin:fe,rules:null,scheme:null,scrolling:Bn,standby:null,summary:null,text:null,topMargin:fe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ht,disableRemotePlayback:ht,prefix:null,property:null,results:fe,security:null,unselectable:null},space:"html",transform:Db});var hj=Co({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ci,accentHeight:fe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fe,amplitude:fe,arabicForm:null,ascent:fe,attributeName:null,attributeType:null,azimuth:fe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fe,by:null,calcMode:null,capHeight:fe,className:Xt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fe,diffuseConstant:fe,direction:null,display:null,dur:null,divisor:fe,dominantBaseline:null,download:ht,dx:null,dy:null,edgeMode:null,editable:null,elevation:fe,enableBackground:null,end:null,event:null,exponent:fe,externalResourcesRequired:null,fill:null,fillOpacity:fe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ku,g2:Ku,glyphName:Ku,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fe,horizOriginX:fe,horizOriginY:fe,id:null,ideographic:fe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fe,k:fe,k1:fe,k2:fe,k3:fe,k4:fe,kernelMatrix:Ci,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fe,overlineThickness:fe,paintOrder:null,panose1:null,path:null,pathLength:fe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fe,pointsAtY:fe,pointsAtZ:fe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ci,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ci,rev:Ci,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ci,requiredFeatures:Ci,requiredFonts:Ci,requiredFormats:Ci,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fe,specularExponent:fe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fe,strikethroughThickness:fe,string:null,stroke:null,strokeDashArray:Ci,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fe,strokeOpacity:fe,strokeWidth:null,style:null,surfaceScale:fe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ci,tabIndex:fe,tableValues:null,target:null,targetX:fe,targetY:fe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ci,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:fe,underlineThickness:fe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fe,values:null,vAlphabetic:fe,vMathematical:fe,vectorEffect:null,vHanging:fe,vIdeographic:fe,version:null,vertAdvY:fe,vertOriginX:fe,vertOriginY:fe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Eb});var c$=Co({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}});var d$=Co({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Db});var f$=Co({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var p$={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var u_e=/[A-Z]/g,gj=/-[a-z]/g,l_e=/^data[-\w.:]+$/i;function Ns(e,t){let n=As(t),i=t,r=_r;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&l_e.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(gj,d_e);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!gj.test(o)){let a=o.replace(u_e,c_e);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}r=vc}return new r(i,t)}function c_e(e){return"-"+e.toLowerCase()}function d_e(e){return e.charAt(1).toUpperCase()}var Os=s$([l$,mj,c$,d$,f$],"html"),Ao=s$([l$,hj,c$,d$,f$],"svg");function m$(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function $b(e){return e.join(" ").trim()}var Aj=Y(Sj(),1);var bc=Ij("end"),Ai=Ij("start");function Ij(e){return t;function t(n){let i=n&&n.position&&n.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function v$(e){let t=Ai(e),n=bc(e);if(t&&n)return{start:t,end:n}}function Xu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Tj(e.position):"start"in e||"end"in e?Tj(e):"line"in e||"column"in e?y$(e):""}function y$(e){return Cj(e&&e.line)+":"+Cj(e&&e.column)}function Tj(e){return y$(e&&e.start)+"-"+y$(e&&e.end)}function Cj(e){return e&&typeof e=="number"?e:1}var Jn=class extends Error{constructor(t,n,i){super(),typeof n=="string"&&(i=n,n=void 0);let r="",o={},a=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?r=t:!o.cause&&t&&(a=!0,r=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=Xu(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Jn.prototype.file="";Jn.prototype.name="";Jn.prototype.reason="";Jn.prototype.message="";Jn.prototype.stack="";Jn.prototype.column=void 0;Jn.prototype.line=void 0;Jn.prototype.ancestors=void 0;Jn.prototype.cause=void 0;Jn.prototype.fatal=void 0;Jn.prototype.place=void 0;Jn.prototype.ruleId=void 0;Jn.prototype.source=void 0;var b$={}.hasOwnProperty,L_e=new Map,F_e=/[A-Z]/g,M_e=new Set(["table","tbody","thead","tfoot","tr"]),U_e=new Set(["td","th"]),Nj="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function _$(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,i;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=q_e(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=G_e(n,t.jsx,t.jsxs)}let r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ao:Os,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=Oj(r,e,void 0);return o&&typeof o!="string"?o:r.create(e,r.Fragment,{children:o||void 0},void 0)}function Oj(e,t,n){if(t.type==="element")return j_e(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return B_e(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return H_e(e,t,n);if(t.type==="mdxjsEsm")return Z_e(e,t);if(t.type==="root")return W_e(e,t,n);if(t.type==="text")return V_e(e,t)}function j_e(e,t,n){let i=e.schema,r=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=Ao,e.schema=r),e.ancestors.push(t);let o=Pj(e,t.tagName,!1),a=J_e(e,t),s=k$(e,t);return M_e.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!a$(l):!0})),zj(e,a,o,t),x$(a,s),e.ancestors.pop(),e.schema=i,e.create(t,o,a,n)}function B_e(e,t){if(t.data&&t.data.estree&&e.evaluater){let i=t.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}hh(e,t.position)}function Z_e(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);hh(e,t.position)}function H_e(e,t,n){let i=e.schema,r=i;t.name==="svg"&&i.space==="html"&&(r=Ao,e.schema=r),e.ancestors.push(t);let o=t.name===null?e.Fragment:Pj(e,t.name,!0),a=Y_e(e,t),s=k$(e,t);return zj(e,a,o,t),x$(a,s),e.ancestors.pop(),e.schema=i,e.create(t,o,a,n)}function W_e(e,t,n){let i={};return x$(i,k$(e,t)),e.create(t,e.Fragment,i,n)}function V_e(e,t){return t.value}function zj(e,t,n,i){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=i)}function x$(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function G_e(e,t,n){return i;function i(r,o,a,s){let c=Array.isArray(a.children)?n:t;return s?c(o,a,s):c(o,a)}}function q_e(e,t){return n;function n(i,r,o,a){let s=Array.isArray(o.children),l=Ai(i);return t(r,o,a,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function J_e(e,t){let n={},i,r;for(r in t.properties)if(r!=="children"&&b$.call(t.properties,r)){let o=K_e(e,r,t.properties[r]);if(o){let[a,s]=o;e.tableCellAlignToStyle&&a==="align"&&typeof s=="string"&&U_e.has(t.tagName)?i=s:n[a]=s}}if(i){let o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return n}function Y_e(e,t){let n={};for(let i of t.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let o=i.data.estree.body[0];o.type;let a=o.expression;a.type;let s=a.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else hh(e,t.position);else{let r=i.name,o;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let s=i.value.data.estree.body[0];s.type,o=e.evaluater.evaluateExpression(s.expression)}else hh(e,t.position);else o=i.value===null?!0:i.value;n[r]=o}return n}function k$(e,t){let n=[],i=-1,r=e.passKeys?new Map:L_e;for(;++i<t.children.length;){let o=t.children[i],a;if(e.passKeys){let l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){let c=r.get(l)||0;a=l+"-"+c,r.set(l,c+1)}}let s=Oj(e,o,a);s!==void 0&&n.push(s)}return n}function K_e(e,t,n){let i=Ns(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?xb(n):$b(n)),i.property==="style"){let r=typeof n=="object"?n:X_e(e,String(n));return e.stylePropertyNameCase==="css"&&(r=Q_e(r)),["style",r]}return[e.elementAttributeNameCase==="react"&&i.space?p$[i.property]||i.property:i.attribute,n]}}function X_e(e,t){try{return(0,Aj.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let i=n,r=new Jn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Nj+"#cannot-parse-style-attribute",r}}function Pj(e,t,n){let i;if(!n)i={type:"Literal",value:t};else if(t.includes(".")){let r=t.split("."),o=-1,a;for(;++o<r.length;){let s=kb(r[o])?{type:"Identifier",name:r[o]}:{type:"Literal",value:r[o]};a=a?{type:"MemberExpression",object:a,property:s,computed:!!(o&&s.type==="Literal"),optional:!1}:s}i=a}else i=kb(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){let r=i.value;return b$.call(e.components,r)?e.components[r]:r}if(e.evaluater)return e.evaluater.evaluateExpression(i);hh(e)}function hh(e,t){let n=new Jn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Nj+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Q_e(e){let t={},n;for(n in e)b$.call(e,n)&&(t[exe(n)]=e[n]);return t}function exe(e){let t=e.replace(F_e,txe);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function txe(e){return"-"+e.toLowerCase()}var gh={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var yf=Y(Fe(),1),sZ=Y(He(),1);var nxe={};function zs(e,t){let n=t||nxe,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,r=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Lj(e,i,r)}function Lj(e,t,n){if(rxe(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Rj(e.children,t,n)}return Array.isArray(e)?Rj(e,t,n):""}function Rj(e,t,n){let i=[],r=-1;for(;++r<e.length;)i[r]=Lj(e[r],t,n);return i.join("")}function rxe(e){return!!(e&&typeof e=="object")}var Fj=document.createElement("i");function hf(e){let t="&"+e+";";Fj.innerHTML=t;let n=Fj.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Yn(e,t,n,i){let r=e.length,o=0,a;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,n=n>0?n:0,i.length<1e4)a=Array.from(i),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<i.length;)a=i.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function di(e,t){return e.length>0?(Yn(e,e.length,0,t),e):t}var Mj={}.hasOwnProperty;function Ib(e){let t={},n=-1;for(;++n<e.length;)ixe(t,e[n]);return t}function ixe(e,t){let n;for(n in t){let r=(Mj.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n],a;if(o)for(a in o){Mj.call(r,a)||(r[a]=[]);let s=o[a];oxe(r[a],Array.isArray(s)?s:s?[s]:[])}}}function oxe(e,t){let n=-1,i=[];for(;++n<t.length;)(t[n].add==="after"?e:i).push(t[n]);Yn(e,0,0,i)}function Tb(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function Br(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var cr=Qu(/[A-Za-z]/),Zn=Qu(/[\dA-Za-z]/),Uj=Qu(/[#-'*+\--9=?A-Z^-~]/);function _c(e){return e!==null&&(e<32||e===127)}var vh=Qu(/\d/),jj=Qu(/[\dA-Fa-f]/),Bj=Qu(/[!-/:-@[-`{-~]/);function Ne(e){return e!==null&&e<-2}function It(e){return e!==null&&(e<0||e===32)}function Ge(e){return e===-2||e===-1||e===32}var xc=Qu(/\p{P}|\p{S}/u),ja=Qu(/\s/);function Qu(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function No(e){let t=[],n=-1,i=0,r=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(o===37&&Zn(e.charCodeAt(n+1))&&Zn(e.charCodeAt(n+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),r=1):a="\uFFFD"}else a=String.fromCharCode(o);a&&(t.push(e.slice(i,n),encodeURIComponent(a)),i=n+r+1,a=""),r&&(n+=r,r=0)}return t.join("")+e.slice(i)}function Ve(e,t,n,i){let r=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Ge(l)?(e.enter(n),s(l)):t(l)}function s(l){return Ge(l)&&o++<r?(e.consume(l),s):(e.exit(n),t(l))}}var Zj={tokenize:axe};function axe(e){let t=e.attempt(this.parser.constructs.contentInitial,i,r),n;return t;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ve(e,t,"linePrefix")}function r(s){return e.enter("paragraph"),o(s)}function o(s){let l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(s)}function a(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Ne(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),a)}}var Wj={tokenize:sxe},Hj={tokenize:uxe};function sxe(e){let t=this,n=[],i=0,r,o,a;return s;function s(w){if(i<n.length){let T=n[i];return t.containerState=T[1],e.attempt(T[0].continuation,l,c)(w)}return c(w)}function l(w){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&E();let T=t.events.length,M=T,A;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){A=t.events[M][1].end;break}x(i);let j=T;for(;j<t.events.length;)t.events[j][1].end={...A},j++;return Yn(t.events,M+1,0,t.events.slice(T)),t.events.length=j,c(w)}return s(w)}function c(w){if(i===n.length){if(!r)return h(w);if(r.currentConstruct&&r.currentConstruct.concrete)return b(w);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Hj,f,p)(w)}function f(w){return r&&E(),x(i),h(w)}function p(w){return t.parser.lazy[t.now().line]=i!==n.length,a=t.now().offset,b(w)}function h(w){return t.containerState={},e.attempt(Hj,v,b)(w)}function v(w){return i++,n.push([t.currentConstruct,t.containerState]),h(w)}function b(w){if(w===null){r&&E(),x(0),e.consume(w);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),k(w)}function k(w){if(w===null){$(e.exit("chunkFlow"),!0),x(0),e.consume(w);return}return Ne(w)?(e.consume(w),$(e.exit("chunkFlow")),i=0,t.interrupt=void 0,s):(e.consume(w),k)}function $(w,T){let M=t.sliceStream(w);if(T&&M.push(null),w.previous=o,o&&(o.next=w),o=w,r.defineSkip(w.start),r.write(M),t.parser.lazy[w.start.line]){let A=r.events.length;for(;A--;)if(r.events[A][1].start.offset<a&&(!r.events[A][1].end||r.events[A][1].end.offset>a))return;let j=t.events.length,X=j,se,F;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){if(se){F=t.events[X][1].end;break}se=!0}for(x(i),A=j;A<t.events.length;)t.events[A][1].end={...F},A++;Yn(t.events,X+1,0,t.events.slice(j)),t.events.length=A}}function x(w){let T=n.length;for(;T-- >w;){let M=n[T];t.containerState=M[1],M[0].exit.call(t,e)}n.length=w}function E(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}function uxe(e,t,n){return Ve(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ps(e){if(e===null||It(e)||ja(e))return 1;if(xc(e))return 2}function el(e,t,n){let i=[],r=-1;for(;++r<e.length;){let o=e[r].resolveAll;o&&!i.includes(o)&&(t=o(t,n),i.push(o))}return t}var yh={name:"attention",resolveAll:lxe,tokenize:cxe};function lxe(e,t){let n=-1,i,r,o,a,s,l,c,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(i=n;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let p={...e[i][1].end},h={...e[n][1].start};Vj(p,-l),Vj(h,l),a={type:l>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},o={type:l>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},r={type:l>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[i][1].end={...a.start},e[n][1].start={...s.end},c=[],e[i][1].end.offset-e[i][1].start.offset&&(c=di(c,[["enter",e[i][1],t],["exit",e[i][1],t]])),c=di(c,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),c=di(c,el(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),c=di(c,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=di(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Yn(e,i-1,n-i+3,c),n=i+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function cxe(e,t){let n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=Ps(i),o;return a;function a(l){return o=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===o)return e.consume(l),s;let c=e.exit("attentionSequence"),f=Ps(l),p=!f||f===2&&r||n.includes(l),h=!r||r===2&&f||n.includes(i);return c._open=!!(o===42?p:p&&(r||!h)),c._close=!!(o===42?h:h&&(f||!p)),t(l)}}function Vj(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var w$={name:"autolink",tokenize:dxe};function dxe(e,t,n){let i=0;return r;function r(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(v){return cr(v)?(e.consume(v),a):v===64?n(v):c(v)}function a(v){return v===43||v===45||v===46||Zn(v)?(i=1,s(v)):c(v)}function s(v){return v===58?(e.consume(v),i=0,l):(v===43||v===45||v===46||Zn(v))&&i++<32?(e.consume(v),s):(i=0,c(v))}function l(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||_c(v)?n(v):(e.consume(v),l)}function c(v){return v===64?(e.consume(v),f):Uj(v)?(e.consume(v),c):n(v)}function f(v){return Zn(v)?p(v):n(v)}function p(v){return v===46?(e.consume(v),i=0,f):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):h(v)}function h(v){if((v===45||Zn(v))&&i++<63){let b=v===45?h:p;return e.consume(v),b}return n(v)}}var Ba={partial:!0,tokenize:fxe};function fxe(e,t,n){return i;function i(o){return Ge(o)?Ve(e,r,"linePrefix")(o):r(o)}function r(o){return o===null||Ne(o)?t(o):n(o)}}var Cb={continuation:{tokenize:mxe},exit:hxe,name:"blockQuote",tokenize:pxe};function pxe(e,t,n){let i=this;return r;function r(a){if(a===62){let s=i.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return n(a)}function o(a){return Ge(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function mxe(e,t,n){let i=this;return r;function r(a){return Ge(a)?Ve(e,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return e.attempt(Cb,t,n)(a)}}function hxe(e){e.exit("blockQuote")}var Ab={name:"characterEscape",tokenize:gxe};function gxe(e,t,n){return i;function i(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),r}function r(o){return Bj(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}var Nb={name:"characterReference",tokenize:vxe};function vxe(e,t,n){let i=this,r=0,o,a;return s;function s(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),l}function l(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),o=31,a=Zn,f(p))}function c(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=jj,f):(e.enter("characterReferenceValue"),o=7,a=vh,f(p))}function f(p){if(p===59&&r){let h=e.exit("characterReferenceValue");return a===Zn&&!hf(i.sliceSerialize(h))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(p)&&r++<o?(e.consume(p),f):n(p)}}var Gj={partial:!0,tokenize:bxe},Ob={concrete:!0,name:"codeFenced",tokenize:yxe};function yxe(e,t,n){let i=this,r={partial:!0,tokenize:M},o=0,a=0,s;return l;function l(A){return c(A)}function c(A){let j=i.events[i.events.length-1];return o=j&&j[1].type==="linePrefix"?j[2].sliceSerialize(j[1],!0).length:0,s=A,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(A)}function f(A){return A===s?(a++,e.consume(A),f):a<3?n(A):(e.exit("codeFencedFenceSequence"),Ge(A)?Ve(e,p,"whitespace")(A):p(A))}function p(A){return A===null||Ne(A)?(e.exit("codeFencedFence"),i.interrupt?t(A):e.check(Gj,k,T)(A)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(A))}function h(A){return A===null||Ne(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(A)):Ge(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ve(e,v,"whitespace")(A)):A===96&&A===s?n(A):(e.consume(A),h)}function v(A){return A===null||Ne(A)?p(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(A))}function b(A){return A===null||Ne(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(A)):A===96&&A===s?n(A):(e.consume(A),b)}function k(A){return e.attempt(r,T,$)(A)}function $(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),x}function x(A){return o>0&&Ge(A)?Ve(e,E,"linePrefix",o+1)(A):E(A)}function E(A){return A===null||Ne(A)?e.check(Gj,k,T)(A):(e.enter("codeFlowValue"),w(A))}function w(A){return A===null||Ne(A)?(e.exit("codeFlowValue"),E(A)):(e.consume(A),w)}function T(A){return e.exit("codeFenced"),t(A)}function M(A,j,X){let se=0;return F;function F($e){return A.enter("lineEnding"),A.consume($e),A.exit("lineEnding"),De}function De($e){return A.enter("codeFencedFence"),Ge($e)?Ve(A,Ee,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($e):Ee($e)}function Ee($e){return $e===s?(A.enter("codeFencedFenceSequence"),ve($e)):X($e)}function ve($e){return $e===s?(se++,A.consume($e),ve):se>=a?(A.exit("codeFencedFenceSequence"),Ge($e)?Ve(A,ye,"whitespace")($e):ye($e)):X($e)}function ye($e){return $e===null||Ne($e)?(A.exit("codeFencedFence"),j($e)):X($e)}}}function bxe(e,t,n){let i=this;return r;function r(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?n(a):t(a)}}var bh={name:"codeIndented",tokenize:xxe},_xe={partial:!0,tokenize:kxe};function xxe(e,t,n){let i=this;return r;function r(c){return e.enter("codeIndented"),Ve(e,o,"linePrefix",5)(c)}function o(c){let f=i.events[i.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Ne(c)?e.attempt(_xe,a,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||Ne(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function kxe(e,t,n){let i=this;return r;function r(a){return i.parser.lazy[i.now().line]?n(a):Ne(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r):Ve(e,o,"linePrefix",5)(a)}function o(a){let s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):Ne(a)?r(a):n(a)}}var E$={name:"codeText",previous:Exe,resolve:wxe,tokenize:Dxe};function wxe(e){let t=e.length-4,n=3,i,r;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=n;++i<t;)if(e[i][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)r===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(r=i):(i===t||e[i][1].type==="lineEnding")&&(e[r][1].type="codeTextData",i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),t-=i-r-2,i=r+2),r=void 0);return e}function Exe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Dxe(e,t,n){let i=this,r=0,o,a;return s;function s(h){return e.enter("codeText"),e.enter("codeTextSequence"),l(h)}function l(h){return h===96?(e.consume(h),r++,l):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(a=e.enter("codeTextSequence"),o=0,p(h)):Ne(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),f(h))}function f(h){return h===null||h===32||h===96||Ne(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),f)}function p(h){return h===96?(e.consume(h),o++,p):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",f(h))}}var zb=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){let i=n??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(t,i):t>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(t,n,i){let r=n||0;this.setCursor(Math.trunc(t));let o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return i&&_h(this.left,i),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),_h(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),_h(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let n=this.left.splice(t,Number.POSITIVE_INFINITY);_h(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);_h(this.left,n.reverse())}}};function _h(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Pb(e){let t={},n=-1,i,r,o,a,s,l,c,f=new zb(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(i=f.get(n),n&&i[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(l=i[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(i[0]==="enter")i[1].contentType&&(Object.assign(t,$xe(f,n)),n=t[n],c=!0);else if(i[1]._container){for(o=n,r=void 0;o--;)if(a=f.get(o),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(r&&(f.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=o);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;r&&(i[1].end={...f.get(r)[1].start},s=f.slice(r,n),s.unshift(i),f.splice(r,n-r+1,s))}}return Yn(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function $xe(e,t){let n=e.get(t)[1],i=e.get(t)[2],r=t-1,o=[],a=n._tokenizer;a||(a=i.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let s=a.events,l=[],c={},f,p,h=-1,v=n,b=0,k=0,$=[k];for(;v;){for(;e.get(++r)[1]!==v;);o.push(r),v._tokenizer||(f=i.sliceStream(v),v.next||f.push(null),p&&a.defineSkip(v.start),v._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),v._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),p=v,v=v.next}for(v=n;++h<s.length;)s[h][0]==="exit"&&s[h-1][0]==="enter"&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line&&(k=h+1,$.push(k),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(a.events=[],v?(v._tokenizer=void 0,v.previous=void 0):$.pop(),h=$.length;h--;){let x=s.slice($[h],$[h+1]),E=o.pop();l.push([E,E+x.length-1]),e.splice(E,2,x)}for(l.reverse(),h=-1;++h<l.length;)c[b+l[h][0]]=b+l[h][1],b+=l[h][1]-l[h][0]-1;return c}var D$={resolve:Ixe,tokenize:Txe},Sxe={partial:!0,tokenize:Cxe};function Ixe(e){return Pb(e),e}function Txe(e,t){let n;return i;function i(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(s)}function r(s){return s===null?o(s):Ne(s)?e.check(Sxe,a,o)(s):(e.consume(s),r)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function a(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}function Cxe(e,t,n){let i=this;return r;function r(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Ve(e,o,"linePrefix")}function o(a){if(a===null||Ne(a))return n(a);let s=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):e.interrupt(i.parser.constructs.flow,n,t)(a)}}function Rb(e,t,n,i,r,o,a,s,l){let c=l||Number.POSITIVE_INFINITY,f=0;return p;function p(x){return x===60?(e.enter(i),e.enter(r),e.enter(o),e.consume(x),e.exit(o),h):x===null||x===32||x===41||_c(x)?n(x):(e.enter(i),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),k(x))}function h(x){return x===62?(e.enter(o),e.consume(x),e.exit(o),e.exit(r),e.exit(i),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),v(x))}function v(x){return x===62?(e.exit("chunkString"),e.exit(s),h(x)):x===null||x===60||Ne(x)?n(x):(e.consume(x),x===92?b:v)}function b(x){return x===60||x===62||x===92?(e.consume(x),v):v(x)}function k(x){return!f&&(x===null||x===41||It(x))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(i),t(x)):f<c&&x===40?(e.consume(x),f++,k):x===41?(e.consume(x),f--,k):x===null||x===32||x===40||_c(x)?n(x):(e.consume(x),x===92?$:k)}function $(x){return x===40||x===41||x===92?(e.consume(x),k):k(x)}}function Lb(e,t,n,i,r,o){let a=this,s=0,l;return c;function c(v){return e.enter(i),e.enter(r),e.consume(v),e.exit(r),e.enter(o),f}function f(v){return s>999||v===null||v===91||v===93&&!l||v===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(v):v===93?(e.exit(o),e.enter(r),e.consume(v),e.exit(r),e.exit(i),t):Ne(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===null||v===91||v===93||Ne(v)||s++>999?(e.exit("chunkString"),f(v)):(e.consume(v),l||(l=!Ge(v)),v===92?h:p)}function h(v){return v===91||v===92||v===93?(e.consume(v),s++,p):p(v)}}function Fb(e,t,n,i,r,o){let a;return s;function s(h){return h===34||h===39||h===40?(e.enter(i),e.enter(r),e.consume(h),e.exit(r),a=h===40?41:h,l):n(h)}function l(h){return h===a?(e.enter(r),e.consume(h),e.exit(r),e.exit(i),t):(e.enter(o),c(h))}function c(h){return h===a?(e.exit(o),l(a)):h===null?n(h):Ne(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Ve(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===a||h===null||Ne(h)?(e.exit("chunkString"),c(h)):(e.consume(h),h===92?p:f)}function p(h){return h===a||h===92?(e.consume(h),f):f(h)}}function kc(e,t){let n;return i;function i(r){return Ne(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,i):Ge(r)?Ve(e,i,n?"linePrefix":"lineSuffix")(r):t(r)}}var $$={name:"definition",tokenize:Nxe},Axe={partial:!0,tokenize:Oxe};function Nxe(e,t,n){let i=this,r;return o;function o(v){return e.enter("definition"),a(v)}function a(v){return Lb.call(i,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function s(v){return r=Br(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),l):n(v)}function l(v){return It(v)?kc(e,c)(v):c(v)}function c(v){return Rb(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function f(v){return e.attempt(Axe,p,p)(v)}function p(v){return Ge(v)?Ve(e,h,"whitespace")(v):h(v)}function h(v){return v===null||Ne(v)?(e.exit("definition"),i.parser.defined.push(r),t(v)):n(v)}}function Oxe(e,t,n){return i;function i(s){return It(s)?kc(e,r)(s):n(s)}function r(s){return Fb(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return Ge(s)?Ve(e,a,"whitespace")(s):a(s)}function a(s){return s===null||Ne(s)?t(s):n(s)}}var S$={name:"hardBreakEscape",tokenize:zxe};function zxe(e,t,n){return i;function i(o){return e.enter("hardBreakEscape"),e.consume(o),r}function r(o){return Ne(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}var I$={name:"headingAtx",resolve:Pxe,tokenize:Rxe};function Pxe(e,t){let n=e.length-2,i=3,r,o;return e[i][1].type==="whitespace"&&(i+=2),n-2>i&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(i===n-1||n-4>i&&e[n-2][1].type==="whitespace")&&(n-=i+1===n?2:4),n>i&&(r={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},o={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},Yn(e,i,n-i+1,[["enter",r,t],["enter",o,t],["exit",o,t],["exit",r,t]])),e}function Rxe(e,t,n){let i=0;return r;function r(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&i++<6?(e.consume(f),a):f===null||It(f)?(e.exit("atxHeadingSequence"),s(f)):n(f)}function s(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||Ne(f)?(e.exit("atxHeading"),t(f)):Ge(f)?Ve(e,s,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),s(f))}function c(f){return f===null||f===35||It(f)?(e.exit("atxHeadingText"),s(f)):(e.consume(f),c)}}var qj=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],T$=["pre","script","style","textarea"];var C$={concrete:!0,name:"htmlFlow",resolveTo:Mxe,tokenize:Uxe},Lxe={partial:!0,tokenize:Bxe},Fxe={partial:!0,tokenize:jxe};function Mxe(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Uxe(e,t,n){let i=this,r,o,a,s,l;return c;function c(U){return f(U)}function f(U){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(U),p}function p(U){return U===33?(e.consume(U),h):U===47?(e.consume(U),o=!0,k):U===63?(e.consume(U),r=3,i.interrupt?t:P):cr(U)?(e.consume(U),a=String.fromCharCode(U),$):n(U)}function h(U){return U===45?(e.consume(U),r=2,v):U===91?(e.consume(U),r=5,s=0,b):cr(U)?(e.consume(U),r=4,i.interrupt?t:P):n(U)}function v(U){return U===45?(e.consume(U),i.interrupt?t:P):n(U)}function b(U){let Yt="CDATA[";return U===Yt.charCodeAt(s++)?(e.consume(U),s===Yt.length?i.interrupt?t:Ee:b):n(U)}function k(U){return cr(U)?(e.consume(U),a=String.fromCharCode(U),$):n(U)}function $(U){if(U===null||U===47||U===62||It(U)){let Yt=U===47,Qr=a.toLowerCase();return!Yt&&!o&&T$.includes(Qr)?(r=1,i.interrupt?t(U):Ee(U)):qj.includes(a.toLowerCase())?(r=6,Yt?(e.consume(U),x):i.interrupt?t(U):Ee(U)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(U):o?E(U):w(U))}return U===45||Zn(U)?(e.consume(U),a+=String.fromCharCode(U),$):n(U)}function x(U){return U===62?(e.consume(U),i.interrupt?t:Ee):n(U)}function E(U){return Ge(U)?(e.consume(U),E):F(U)}function w(U){return U===47?(e.consume(U),F):U===58||U===95||cr(U)?(e.consume(U),T):Ge(U)?(e.consume(U),w):F(U)}function T(U){return U===45||U===46||U===58||U===95||Zn(U)?(e.consume(U),T):M(U)}function M(U){return U===61?(e.consume(U),A):Ge(U)?(e.consume(U),M):w(U)}function A(U){return U===null||U===60||U===61||U===62||U===96?n(U):U===34||U===39?(e.consume(U),l=U,j):Ge(U)?(e.consume(U),A):X(U)}function j(U){return U===l?(e.consume(U),l=null,se):U===null||Ne(U)?n(U):(e.consume(U),j)}function X(U){return U===null||U===34||U===39||U===47||U===60||U===61||U===62||U===96||It(U)?M(U):(e.consume(U),X)}function se(U){return U===47||U===62||Ge(U)?w(U):n(U)}function F(U){return U===62?(e.consume(U),De):n(U)}function De(U){return U===null||Ne(U)?Ee(U):Ge(U)?(e.consume(U),De):n(U)}function Ee(U){return U===45&&r===2?(e.consume(U),Be):U===60&&r===1?(e.consume(U),Oe):U===62&&r===4?(e.consume(U),We):U===63&&r===3?(e.consume(U),P):U===93&&r===5?(e.consume(U),Re):Ne(U)&&(r===6||r===7)?(e.exit("htmlFlowData"),e.check(Lxe,Ct,ve)(U)):U===null||Ne(U)?(e.exit("htmlFlowData"),ve(U)):(e.consume(U),Ee)}function ve(U){return e.check(Fxe,ye,Ct)(U)}function ye(U){return e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),$e}function $e(U){return U===null||Ne(U)?ve(U):(e.enter("htmlFlowData"),Ee(U))}function Be(U){return U===45?(e.consume(U),P):Ee(U)}function Oe(U){return U===47?(e.consume(U),a="",xe):Ee(U)}function xe(U){if(U===62){let Yt=a.toLowerCase();return T$.includes(Yt)?(e.consume(U),We):Ee(U)}return cr(U)&&a.length<8?(e.consume(U),a+=String.fromCharCode(U),xe):Ee(U)}function Re(U){return U===93?(e.consume(U),P):Ee(U)}function P(U){return U===62?(e.consume(U),We):U===45&&r===2?(e.consume(U),P):Ee(U)}function We(U){return U===null||Ne(U)?(e.exit("htmlFlowData"),Ct(U)):(e.consume(U),We)}function Ct(U){return e.exit("htmlFlow"),t(U)}}function jxe(e,t,n){let i=this;return r;function r(a){return Ne(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return i.parser.lazy[i.now().line]?n(a):t(a)}}function Bxe(e,t,n){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Ba,t,n)}}var A$={name:"htmlText",tokenize:Zxe};function Zxe(e,t,n){let i=this,r,o,a;return s;function s(P){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(P),l}function l(P){return P===33?(e.consume(P),c):P===47?(e.consume(P),M):P===63?(e.consume(P),w):cr(P)?(e.consume(P),X):n(P)}function c(P){return P===45?(e.consume(P),f):P===91?(e.consume(P),o=0,b):cr(P)?(e.consume(P),E):n(P)}function f(P){return P===45?(e.consume(P),v):n(P)}function p(P){return P===null?n(P):P===45?(e.consume(P),h):Ne(P)?(a=p,Oe(P)):(e.consume(P),p)}function h(P){return P===45?(e.consume(P),v):p(P)}function v(P){return P===62?Be(P):P===45?h(P):p(P)}function b(P){let We="CDATA[";return P===We.charCodeAt(o++)?(e.consume(P),o===We.length?k:b):n(P)}function k(P){return P===null?n(P):P===93?(e.consume(P),$):Ne(P)?(a=k,Oe(P)):(e.consume(P),k)}function $(P){return P===93?(e.consume(P),x):k(P)}function x(P){return P===62?Be(P):P===93?(e.consume(P),x):k(P)}function E(P){return P===null||P===62?Be(P):Ne(P)?(a=E,Oe(P)):(e.consume(P),E)}function w(P){return P===null?n(P):P===63?(e.consume(P),T):Ne(P)?(a=w,Oe(P)):(e.consume(P),w)}function T(P){return P===62?Be(P):w(P)}function M(P){return cr(P)?(e.consume(P),A):n(P)}function A(P){return P===45||Zn(P)?(e.consume(P),A):j(P)}function j(P){return Ne(P)?(a=j,Oe(P)):Ge(P)?(e.consume(P),j):Be(P)}function X(P){return P===45||Zn(P)?(e.consume(P),X):P===47||P===62||It(P)?se(P):n(P)}function se(P){return P===47?(e.consume(P),Be):P===58||P===95||cr(P)?(e.consume(P),F):Ne(P)?(a=se,Oe(P)):Ge(P)?(e.consume(P),se):Be(P)}function F(P){return P===45||P===46||P===58||P===95||Zn(P)?(e.consume(P),F):De(P)}function De(P){return P===61?(e.consume(P),Ee):Ne(P)?(a=De,Oe(P)):Ge(P)?(e.consume(P),De):se(P)}function Ee(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),r=P,ve):Ne(P)?(a=Ee,Oe(P)):Ge(P)?(e.consume(P),Ee):(e.consume(P),ye)}function ve(P){return P===r?(e.consume(P),r=void 0,$e):P===null?n(P):Ne(P)?(a=ve,Oe(P)):(e.consume(P),ve)}function ye(P){return P===null||P===34||P===39||P===60||P===61||P===96?n(P):P===47||P===62||It(P)?se(P):(e.consume(P),ye)}function $e(P){return P===47||P===62||It(P)?se(P):n(P)}function Be(P){return P===62?(e.consume(P),e.exit("htmlTextData"),e.exit("htmlText"),t):n(P)}function Oe(P){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),xe}function xe(P){return Ge(P)?Ve(e,Re,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):Re(P)}function Re(P){return e.enter("htmlTextData"),a(P)}}var wc={name:"labelEnd",resolveAll:Gxe,resolveTo:qxe,tokenize:Jxe},Hxe={tokenize:Yxe},Wxe={tokenize:Kxe},Vxe={tokenize:Xxe};function Gxe(e){let t=-1,n=[];for(;++t<e.length;){let i=e[t][1];if(n.push(e[t]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let r=i.type==="labelImage"?4:2;i.type="data",t+=r}}return e.length!==n.length&&Yn(e,0,e.length,n),e}function qxe(e,t){let n=e.length,i=0,r,o,a,s;for(;n--;)if(r=e[n][1],o){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[n][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(o=n,r.type!=="labelLink")){i=2;break}}else r.type==="labelEnd"&&(a=n);let l={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[o][1].start},end:{...e[a][1].end}},f={type:"labelText",start:{...e[o+i+2][1].end},end:{...e[a-2][1].start}};return s=[["enter",l,t],["enter",c,t]],s=di(s,e.slice(o+1,o+i+3)),s=di(s,[["enter",f,t]]),s=di(s,el(t.parser.constructs.insideSpan.null,e.slice(o+i+4,a-3),t)),s=di(s,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),s=di(s,e.slice(a+1)),s=di(s,[["exit",l,t]]),Yn(e,o,e.length,s),e}function Jxe(e,t,n){let i=this,r=i.events.length,o,a;for(;r--;)if((i.events[r][1].type==="labelImage"||i.events[r][1].type==="labelLink")&&!i.events[r][1]._balanced){o=i.events[r][1];break}return s;function s(h){return o?o._inactive?p(h):(a=i.parser.defined.includes(Br(i.sliceSerialize({start:o.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),l):n(h)}function l(h){return h===40?e.attempt(Hxe,f,a?f:p)(h):h===91?e.attempt(Wxe,f,a?c:p)(h):a?f(h):p(h)}function c(h){return e.attempt(Vxe,f,p)(h)}function f(h){return t(h)}function p(h){return o._balanced=!0,n(h)}}function Yxe(e,t,n){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),r}function r(p){return It(p)?kc(e,o)(p):o(p)}function o(p){return p===41?f(p):Rb(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function a(p){return It(p)?kc(e,l)(p):f(p)}function s(p){return n(p)}function l(p){return p===34||p===39||p===40?Fb(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):f(p)}function c(p){return It(p)?kc(e,f)(p):f(p)}function f(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function Kxe(e,t,n){let i=this;return r;function r(s){return Lb.call(i,e,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return i.parser.defined.includes(Br(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function a(s){return n(s)}}function Xxe(e,t,n){return i;function i(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),r}function r(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}var N$={name:"labelStartImage",resolveAll:wc.resolveAll,tokenize:Qxe};function Qxe(e,t,n){let i=this;return r;function r(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),a):n(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(s):t(s)}}var O$={name:"labelStartLink",resolveAll:wc.resolveAll,tokenize:eke};function eke(e,t,n){let i=this;return r;function r(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(a):t(a)}}var xh={name:"lineEnding",tokenize:tke};function tke(e,t){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),Ve(e,t,"linePrefix")}}var Ec={name:"thematicBreak",tokenize:nke};function nke(e,t,n){let i=0,r;return o;function o(c){return e.enter("thematicBreak"),a(c)}function a(c){return r=c,s(c)}function s(c){return c===r?(e.enter("thematicBreakSequence"),l(c)):i>=3&&(c===null||Ne(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===r?(e.consume(c),i++,l):(e.exit("thematicBreakSequence"),Ge(c)?Ve(e,s,"whitespace")(c):s(c))}}var Zr={continuation:{tokenize:ake},exit:uke,name:"list",tokenize:oke},rke={partial:!0,tokenize:lke},ike={partial:!0,tokenize:ske};function oke(e,t,n){let i=this,r=i.events[i.events.length-1],o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,a=0;return s;function s(v){let b=i.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!i.containerState.marker||v===i.containerState.marker:vh(v)){if(i.containerState.type||(i.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Ec,n,c)(v):c(v);if(!i.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(v)}return n(v)}function l(v){return vh(v)&&++a<10?(e.consume(v),l):(!i.interrupt||a<2)&&(i.containerState.marker?v===i.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),c(v)):n(v)}function c(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||v,e.check(Ba,i.interrupt?n:f,e.attempt(rke,h,p))}function f(v){return i.containerState.initialBlankLine=!0,o++,h(v)}function p(v){return Ge(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),h):n(v)}function h(v){return i.containerState.size=o+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function ake(e,t,n){let i=this;return i.containerState._closeFlow=void 0,e.check(Ba,r,o);function r(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Ve(e,t,"listItemIndent",i.containerState.size+1)(s)}function o(s){return i.containerState.furtherBlankLines||!Ge(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(ike,t,a)(s))}function a(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,Ve(e,e.attempt(Zr,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function ske(e,t,n){let i=this;return Ve(e,r,"listItemIndent",i.containerState.size+1);function r(o){let a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?t(o):n(o)}}function uke(e){e.exit(this.containerState.type)}function lke(e,t,n){let i=this;return Ve(e,r,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(o){let a=i.events[i.events.length-1];return!Ge(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}var Mb={name:"setextUnderline",resolveTo:cke,tokenize:dke};function cke(e,t){let n=e.length,i,r,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){i=n;break}e[n][1].type==="paragraph"&&(r=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);let a={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[i][1],t]),e[i][1].end={...e[o][1].end}):e[i][1]=a,e.push(["exit",a,t]),e}function dke(e,t,n){let i=this,r;return o;function o(c){let f=i.events.length,p;for(;f--;)if(i.events[f][1].type!=="lineEnding"&&i.events[f][1].type!=="linePrefix"&&i.events[f][1].type!=="content"){p=i.events[f][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),r=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===r?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Ge(c)?Ve(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Ne(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}var Jj={tokenize:fke};function fke(e){let t=this,n=e.attempt(Ba,i,e.attempt(this.parser.constructs.flowInitial,r,Ve(e,e.attempt(this.parser.constructs.flow,r,e.attempt(D$,r)),"linePrefix")));return n;function i(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var Yj={resolveAll:eB()},Kj=Qj("string"),Xj=Qj("text");function Qj(e){return{resolveAll:eB(e==="text"?pke:void 0),tokenize:t};function t(n){let i=this,r=this.parser.constructs[e],o=n.attempt(r,a,s);return a;function a(f){return c(f)?o(f):s(f)}function s(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),o(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;let p=r[f],h=-1;if(p)for(;++h<p.length;){let v=p[h];if(!v.previous||v.previous.call(i,i.previous))return!0}return!1}}}function eB(e){return t;function t(n,i){let r=-1,o;for(;++r<=n.length;)o===void 0?n[r]&&n[r][1].type==="data"&&(o=r,r++):(!n[r]||n[r][1].type!=="data")&&(r!==o+2&&(n[o][1].end=n[r-1][1].end,n.splice(o+2,r-o-2),r=o+2),o=void 0);return e?e(n,i):n}}function pke(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){let i=e[n-1][1],r=t.sliceStream(i),o=r.length,a=-1,s=0,l;for(;o--;){let c=r[o];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(c===-2)l=!0,s++;else if(c!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:i.start._bufferIndex+a,_index:i.start._index+o,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...c.start},i.start.offset===i.end.offset?Object.assign(i,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}var z$={};Ia(z$,{attentionMarkers:()=>xke,contentInitial:()=>hke,disable:()=>kke,document:()=>mke,flow:()=>vke,flowInitial:()=>gke,insideSpan:()=>_ke,string:()=>yke,text:()=>bke});var mke={42:Zr,43:Zr,45:Zr,48:Zr,49:Zr,50:Zr,51:Zr,52:Zr,53:Zr,54:Zr,55:Zr,56:Zr,57:Zr,62:Cb},hke={91:$$},gke={[-2]:bh,[-1]:bh,32:bh},vke={35:I$,42:Ec,45:[Mb,Ec],60:C$,61:Mb,95:Ec,96:Ob,126:Ob},yke={38:Nb,92:Ab},bke={[-5]:xh,[-4]:xh,[-3]:xh,33:N$,38:Nb,42:yh,60:[w$,A$],91:O$,92:[S$,Ab],93:wc,95:yh,96:E$},_ke={null:[yh,Yj]},xke={null:[42,95]},kke={null:[]};function tB(e,t,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},r={},o=[],a=[],s=[],l=!0,c={attempt:se(j),check:se(X),consume:T,enter:M,exit:A,interrupt:se(X,{interrupt:!0})},f={code:null,containerState:{},defineSkip:x,events:[],now:$,parser:e,previous:null,sliceSerialize:b,sliceStream:k,write:v},p=t.tokenize.call(f,c),h;return t.resolveAll&&o.push(t),f;function v(ve){return a=di(a,ve),E(),a[a.length-1]!==null?[]:(F(t,0),f.events=el(o,f.events,f),f.events)}function b(ve,ye){return Eke(k(ve),ye)}function k(ve){return wke(a,ve)}function $(){let{_bufferIndex:ve,_index:ye,line:$e,column:Be,offset:Oe}=i;return{_bufferIndex:ve,_index:ye,line:$e,column:Be,offset:Oe}}function x(ve){r[ve.line]=ve.column,Ee()}function E(){let ve;for(;i._index<a.length;){let ye=a[i._index];if(typeof ye=="string")for(ve=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===ve&&i._bufferIndex<ye.length;)w(ye.charCodeAt(i._bufferIndex));else w(ye)}}function w(ve){l=void 0,h=ve,p=p(ve)}function T(ve){Ne(ve)?(i.line++,i.column=1,i.offset+=ve===-3?2:1,Ee()):ve!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===a[i._index].length&&(i._bufferIndex=-1,i._index++)),f.previous=ve,l=!0}function M(ve,ye){let $e=ye||{};return $e.type=ve,$e.start=$(),f.events.push(["enter",$e,f]),s.push($e),$e}function A(ve){let ye=s.pop();return ye.end=$(),f.events.push(["exit",ye,f]),ye}function j(ve,ye){F(ve,ye.from)}function X(ve,ye){ye.restore()}function se(ve,ye){return $e;function $e(Be,Oe,xe){let Re,P,We,Ct;return Array.isArray(Be)?Yt(Be):"tokenize"in Be?Yt([Be]):U(Be);function U(gn){return Wn;function Wn(ir){let Or=ir!==null&&gn[ir],Qt=ir!==null&&gn.null,Ri=[...Array.isArray(Or)?Or:Or?[Or]:[],...Array.isArray(Qt)?Qt:Qt?[Qt]:[]];return Yt(Ri)(ir)}}function Yt(gn){return Re=gn,P=0,gn.length===0?xe:Qr(gn[P])}function Qr(gn){return Wn;function Wn(ir){return Ct=De(),We=gn,gn.partial||(f.currentConstruct=gn),gn.name&&f.parser.constructs.disable.null.includes(gn.name)?fr(ir):gn.tokenize.call(ye?Object.assign(Object.create(f),ye):f,c,wr,fr)(ir)}}function wr(gn){return l=!0,ve(We,Ct),Oe}function fr(gn){return l=!0,Ct.restore(),++P<Re.length?Qr(Re[P]):xe}}}function F(ve,ye){ve.resolveAll&&!o.includes(ve)&&o.push(ve),ve.resolve&&Yn(f.events,ye,f.events.length-ye,ve.resolve(f.events.slice(ye),f)),ve.resolveTo&&(f.events=ve.resolveTo(f.events,f))}function De(){let ve=$(),ye=f.previous,$e=f.currentConstruct,Be=f.events.length,Oe=Array.from(s);return{from:Be,restore:xe};function xe(){i=ve,f.previous=ye,f.currentConstruct=$e,f.events.length=Be,s=Oe,Ee()}}function Ee(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}function wke(e,t){let n=t.start._index,i=t.start._bufferIndex,r=t.end._index,o=t.end._bufferIndex,a;if(n===r)a=[e[n].slice(i,o)];else{if(a=e.slice(n,r),i>-1){let s=a[0];typeof s=="string"?a[0]=s.slice(i):a.shift()}o>0&&a.push(e[r].slice(0,o))}return a}function Eke(e,t){let n=-1,i=[],r;for(;++n<e.length;){let o=e[n],a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=`
961
+ `;var e$e=Y(Fe(),1),wI=Y(He(),1);function o$(e){let t=[],n=String(e||""),i=n.indexOf(","),r=0,o=!1;for(;!o;){i===-1&&(i=n.length,o=!0);let a=n.slice(r,i).trim();(a||!o)&&t.push(a),r=i+1,i=n.indexOf(",",r)}return t}function xb(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var r_e=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,i_e=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o_e={};function kb(e,t){return((t||o_e).jsx?i_e:r_e).test(e)}var a_e=/[ \t\n\f\r]/g;function a$(e){return typeof e=="object"?e.type==="text"?fj(e.value):!1:fj(e)}function fj(e){return e.replace(a_e,"")===""}var Cs=class{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}};Cs.prototype.normal={};Cs.prototype.property={};Cs.prototype.space=void 0;function s$(e,t){let n={},i={};for(let r of e)Object.assign(n,r.property),Object.assign(i,r.normal);return new Cs(n,i,t)}function As(e){return e.toLowerCase()}var _r=class{constructor(t,n){this.attribute=n,this.property=t}};_r.prototype.attribute="";_r.prototype.booleanish=!1;_r.prototype.boolean=!1;_r.prototype.commaOrSpaceSeparated=!1;_r.prototype.commaSeparated=!1;_r.prototype.defined=!1;_r.prototype.mustUseProperty=!1;_r.prototype.number=!1;_r.prototype.overloadedBoolean=!1;_r.prototype.property="";_r.prototype.spaceSeparated=!1;_r.prototype.space=void 0;var ph={};Ia(ph,{boolean:()=>ht,booleanish:()=>Bn,commaOrSpaceSeparated:()=>Ci,commaSeparated:()=>Ku,number:()=>fe,overloadedBoolean:()=>wb,spaceSeparated:()=>Xt});var s_e=0,ht=gc(),Bn=gc(),wb=gc(),fe=gc(),Xt=gc(),Ku=gc(),Ci=gc();function gc(){return 2**++s_e}var u$=Object.keys(ph),vc=class extends _r{constructor(t,n,i,r){let o=-1;if(super(t,n),pj(this,"space",r),typeof i=="number")for(;++o<u$.length;){let a=u$[o];pj(this,u$[o],(i&ph[a])===ph[a])}}};vc.prototype.defined=!0;function pj(e,t,n){n&&(e[t]=n)}function Co(e){let t={},n={};for(let[i,r]of Object.entries(e.properties)){let o=new vc(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(o.mustUseProperty=!0),t[i]=o,n[As(i)]=i,n[As(o.attribute)]=i}return new Cs(t,n,e.space)}var l$=Co({properties:{ariaActiveDescendant:null,ariaAtomic:Bn,ariaAutoComplete:null,ariaBusy:Bn,ariaChecked:Bn,ariaColCount:fe,ariaColIndex:fe,ariaColSpan:fe,ariaControls:Xt,ariaCurrent:null,ariaDescribedBy:Xt,ariaDetails:null,ariaDisabled:Bn,ariaDropEffect:Xt,ariaErrorMessage:null,ariaExpanded:Bn,ariaFlowTo:Xt,ariaGrabbed:Bn,ariaHasPopup:null,ariaHidden:Bn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xt,ariaLevel:fe,ariaLive:null,ariaModal:Bn,ariaMultiLine:Bn,ariaMultiSelectable:Bn,ariaOrientation:null,ariaOwns:Xt,ariaPlaceholder:null,ariaPosInSet:fe,ariaPressed:Bn,ariaReadOnly:Bn,ariaRelevant:null,ariaRequired:Bn,ariaRoleDescription:Xt,ariaRowCount:fe,ariaRowIndex:fe,ariaRowSpan:fe,ariaSelected:Bn,ariaSetSize:fe,ariaSort:null,ariaValueMax:fe,ariaValueMin:fe,ariaValueNow:fe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Eb(e,t){return t in e?e[t]:t}function Db(e,t){return Eb(e,t.toLowerCase())}var mj=Co({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ku,acceptCharset:Xt,accessKey:Xt,action:null,allow:null,allowFullScreen:ht,allowPaymentRequest:ht,allowUserMedia:ht,alt:null,as:null,async:ht,autoCapitalize:null,autoComplete:Xt,autoFocus:ht,autoPlay:ht,blocking:Xt,capture:null,charSet:null,checked:ht,cite:null,className:Xt,cols:fe,colSpan:null,content:null,contentEditable:Bn,controls:ht,controlsList:Xt,coords:fe|Ku,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ht,defer:ht,dir:null,dirName:null,disabled:ht,download:wb,draggable:Bn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ht,formTarget:null,headers:Xt,height:fe,hidden:wb,high:fe,href:null,hrefLang:null,htmlFor:Xt,httpEquiv:Xt,id:null,imageSizes:null,imageSrcSet:null,inert:ht,inputMode:null,integrity:null,is:null,isMap:ht,itemId:null,itemProp:Xt,itemRef:Xt,itemScope:ht,itemType:Xt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ht,low:fe,manifest:null,max:null,maxLength:fe,media:null,method:null,min:null,minLength:fe,multiple:ht,muted:ht,name:null,nonce:null,noModule:ht,noValidate:ht,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ht,optimum:fe,pattern:null,ping:Xt,placeholder:null,playsInline:ht,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ht,referrerPolicy:null,rel:Xt,required:ht,reversed:ht,rows:fe,rowSpan:fe,sandbox:Xt,scope:null,scoped:ht,seamless:ht,selected:ht,shadowRootClonable:ht,shadowRootDelegatesFocus:ht,shadowRootMode:null,shape:null,size:fe,sizes:null,slot:null,span:fe,spellCheck:Bn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:fe,step:null,style:null,tabIndex:fe,target:null,title:null,translate:null,type:null,typeMustMatch:ht,useMap:null,value:Bn,width:fe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xt,axis:null,background:null,bgColor:null,border:fe,borderColor:null,bottomMargin:fe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ht,declare:ht,event:null,face:null,frame:null,frameBorder:null,hSpace:fe,leftMargin:fe,link:null,longDesc:null,lowSrc:null,marginHeight:fe,marginWidth:fe,noResize:ht,noHref:ht,noShade:ht,noWrap:ht,object:null,profile:null,prompt:null,rev:null,rightMargin:fe,rules:null,scheme:null,scrolling:Bn,standby:null,summary:null,text:null,topMargin:fe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:fe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ht,disableRemotePlayback:ht,prefix:null,property:null,results:fe,security:null,unselectable:null},space:"html",transform:Db});var hj=Co({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ci,accentHeight:fe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:fe,amplitude:fe,arabicForm:null,ascent:fe,attributeName:null,attributeType:null,azimuth:fe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:fe,by:null,calcMode:null,capHeight:fe,className:Xt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:fe,diffuseConstant:fe,direction:null,display:null,dur:null,divisor:fe,dominantBaseline:null,download:ht,dx:null,dy:null,edgeMode:null,editable:null,elevation:fe,enableBackground:null,end:null,event:null,exponent:fe,externalResourcesRequired:null,fill:null,fillOpacity:fe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ku,g2:Ku,glyphName:Ku,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:fe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:fe,horizOriginX:fe,horizOriginY:fe,id:null,ideographic:fe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:fe,k:fe,k1:fe,k2:fe,k3:fe,k4:fe,kernelMatrix:Ci,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:fe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:fe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:fe,overlineThickness:fe,paintOrder:null,panose1:null,path:null,pathLength:fe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:fe,pointsAtY:fe,pointsAtZ:fe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ci,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ci,rev:Ci,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ci,requiredFeatures:Ci,requiredFonts:Ci,requiredFormats:Ci,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:fe,specularExponent:fe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:fe,strikethroughThickness:fe,string:null,stroke:null,strokeDashArray:Ci,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:fe,strokeOpacity:fe,strokeWidth:null,style:null,surfaceScale:fe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ci,tabIndex:fe,tableValues:null,target:null,targetX:fe,targetY:fe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ci,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:fe,underlineThickness:fe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:fe,values:null,vAlphabetic:fe,vMathematical:fe,vectorEffect:null,vHanging:fe,vIdeographic:fe,version:null,vertAdvY:fe,vertOriginX:fe,vertOriginY:fe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:fe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Eb});var c$=Co({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}});var d$=Co({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Db});var f$=Co({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var p$={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var u_e=/[A-Z]/g,gj=/-[a-z]/g,l_e=/^data[-\w.:]+$/i;function Ns(e,t){let n=As(t),i=t,r=_r;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&l_e.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(gj,d_e);i="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!gj.test(o)){let a=o.replace(u_e,c_e);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}r=vc}return new r(i,t)}function c_e(e){return"-"+e.toLowerCase()}function d_e(e){return e.charAt(1).toUpperCase()}var Os=s$([l$,mj,c$,d$,f$],"html"),Ao=s$([l$,hj,c$,d$,f$],"svg");function m$(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function $b(e){return e.join(" ").trim()}var Aj=Y(Sj(),1);var bc=Ij("end"),Ai=Ij("start");function Ij(e){return t;function t(n){let i=n&&n.position&&n.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function v$(e){let t=Ai(e),n=bc(e);if(t&&n)return{start:t,end:n}}function Xu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Tj(e.position):"start"in e||"end"in e?Tj(e):"line"in e||"column"in e?y$(e):""}function y$(e){return Cj(e&&e.line)+":"+Cj(e&&e.column)}function Tj(e){return y$(e&&e.start)+"-"+y$(e&&e.end)}function Cj(e){return e&&typeof e=="number"?e:1}var Jn=class extends Error{constructor(t,n,i){super(),typeof n=="string"&&(i=n,n=void 0);let r="",o={},a=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?r=t:!o.cause&&t&&(a=!0,r=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof i=="string"){let l=i.indexOf(":");l===-1?o.ruleId=i:(o.source=i.slice(0,l),o.ruleId=i.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=Xu(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Jn.prototype.file="";Jn.prototype.name="";Jn.prototype.reason="";Jn.prototype.message="";Jn.prototype.stack="";Jn.prototype.column=void 0;Jn.prototype.line=void 0;Jn.prototype.ancestors=void 0;Jn.prototype.cause=void 0;Jn.prototype.fatal=void 0;Jn.prototype.place=void 0;Jn.prototype.ruleId=void 0;Jn.prototype.source=void 0;var b$={}.hasOwnProperty,L_e=new Map,F_e=/[A-Z]/g,M_e=new Set(["table","tbody","thead","tfoot","tr"]),U_e=new Set(["td","th"]),Nj="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function _$(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let n=t.filePath||void 0,i;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=q_e(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");i=G_e(n,t.jsx,t.jsxs)}let r={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Ao:Os,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=Oj(r,e,void 0);return o&&typeof o!="string"?o:r.create(e,r.Fragment,{children:o||void 0},void 0)}function Oj(e,t,n){if(t.type==="element")return j_e(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return B_e(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return H_e(e,t,n);if(t.type==="mdxjsEsm")return Z_e(e,t);if(t.type==="root")return W_e(e,t,n);if(t.type==="text")return V_e(e,t)}function j_e(e,t,n){let i=e.schema,r=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(r=Ao,e.schema=r),e.ancestors.push(t);let o=Pj(e,t.tagName,!1),a=J_e(e,t),s=k$(e,t);return M_e.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!a$(l):!0})),zj(e,a,o,t),x$(a,s),e.ancestors.pop(),e.schema=i,e.create(t,o,a,n)}function B_e(e,t){if(t.data&&t.data.estree&&e.evaluater){let i=t.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}hh(e,t.position)}function Z_e(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);hh(e,t.position)}function H_e(e,t,n){let i=e.schema,r=i;t.name==="svg"&&i.space==="html"&&(r=Ao,e.schema=r),e.ancestors.push(t);let o=t.name===null?e.Fragment:Pj(e,t.name,!0),a=Y_e(e,t),s=k$(e,t);return zj(e,a,o,t),x$(a,s),e.ancestors.pop(),e.schema=i,e.create(t,o,a,n)}function W_e(e,t,n){let i={};return x$(i,k$(e,t)),e.create(t,e.Fragment,i,n)}function V_e(e,t){return t.value}function zj(e,t,n,i){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=i)}function x$(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function G_e(e,t,n){return i;function i(r,o,a,s){let c=Array.isArray(a.children)?n:t;return s?c(o,a,s):c(o,a)}}function q_e(e,t){return n;function n(i,r,o,a){let s=Array.isArray(o.children),l=Ai(i);return t(r,o,a,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function J_e(e,t){let n={},i,r;for(r in t.properties)if(r!=="children"&&b$.call(t.properties,r)){let o=K_e(e,r,t.properties[r]);if(o){let[a,s]=o;e.tableCellAlignToStyle&&a==="align"&&typeof s=="string"&&U_e.has(t.tagName)?i=s:n[a]=s}}if(i){let o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return n}function Y_e(e,t){let n={};for(let i of t.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){let o=i.data.estree.body[0];o.type;let a=o.expression;a.type;let s=a.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else hh(e,t.position);else{let r=i.name,o;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){let s=i.value.data.estree.body[0];s.type,o=e.evaluater.evaluateExpression(s.expression)}else hh(e,t.position);else o=i.value===null?!0:i.value;n[r]=o}return n}function k$(e,t){let n=[],i=-1,r=e.passKeys?new Map:L_e;for(;++i<t.children.length;){let o=t.children[i],a;if(e.passKeys){let l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){let c=r.get(l)||0;a=l+"-"+c,r.set(l,c+1)}}let s=Oj(e,o,a);s!==void 0&&n.push(s)}return n}function K_e(e,t,n){let i=Ns(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?xb(n):$b(n)),i.property==="style"){let r=typeof n=="object"?n:X_e(e,String(n));return e.stylePropertyNameCase==="css"&&(r=Q_e(r)),["style",r]}return[e.elementAttributeNameCase==="react"&&i.space?p$[i.property]||i.property:i.attribute,n]}}function X_e(e,t){try{return(0,Aj.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let i=n,r=new Jn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Nj+"#cannot-parse-style-attribute",r}}function Pj(e,t,n){let i;if(!n)i={type:"Literal",value:t};else if(t.includes(".")){let r=t.split("."),o=-1,a;for(;++o<r.length;){let s=kb(r[o])?{type:"Identifier",name:r[o]}:{type:"Literal",value:r[o]};a=a?{type:"MemberExpression",object:a,property:s,computed:!!(o&&s.type==="Literal"),optional:!1}:s}i=a}else i=kb(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){let r=i.value;return b$.call(e.components,r)?e.components[r]:r}if(e.evaluater)return e.evaluater.evaluateExpression(i);hh(e)}function hh(e,t){let n=new Jn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Nj+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Q_e(e){let t={},n;for(n in e)b$.call(e,n)&&(t[exe(n)]=e[n]);return t}function exe(e){let t=e.replace(F_e,txe);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function txe(e){return"-"+e.toLowerCase()}var gh={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var yf=Y(Fe(),1),sZ=Y(He(),1);var nxe={};function zs(e,t){let n=t||nxe,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,r=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Lj(e,i,r)}function Lj(e,t,n){if(rxe(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Rj(e.children,t,n)}return Array.isArray(e)?Rj(e,t,n):""}function Rj(e,t,n){let i=[],r=-1;for(;++r<e.length;)i[r]=Lj(e[r],t,n);return i.join("")}function rxe(e){return!!(e&&typeof e=="object")}var Fj=document.createElement("i");function hf(e){let t="&"+e+";";Fj.innerHTML=t;let n=Fj.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Yn(e,t,n,i){let r=e.length,o=0,a;if(t<0?t=-t>r?0:r+t:t=t>r?r:t,n=n>0?n:0,i.length<1e4)a=Array.from(i),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<i.length;)a=i.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function di(e,t){return e.length>0?(Yn(e,e.length,0,t),e):t}var Mj={}.hasOwnProperty;function Ib(e){let t={},n=-1;for(;++n<e.length;)ixe(t,e[n]);return t}function ixe(e,t){let n;for(n in t){let r=(Mj.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n],a;if(o)for(a in o){Mj.call(r,a)||(r[a]=[]);let s=o[a];oxe(r[a],Array.isArray(s)?s:s?[s]:[])}}}function oxe(e,t){let n=-1,i=[];for(;++n<t.length;)(t[n].add==="after"?e:i).push(t[n]);Yn(e,0,0,i)}function Tb(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function Br(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var cr=Qu(/[A-Za-z]/),Zn=Qu(/[\dA-Za-z]/),Uj=Qu(/[#-'*+\--9=?A-Z^-~]/);function _c(e){return e!==null&&(e<32||e===127)}var vh=Qu(/\d/),jj=Qu(/[\dA-Fa-f]/),Bj=Qu(/[!-/:-@[-`{-~]/);function Ne(e){return e!==null&&e<-2}function It(e){return e!==null&&(e<0||e===32)}function Ge(e){return e===-2||e===-1||e===32}var xc=Qu(/\p{P}|\p{S}/u),ja=Qu(/\s/);function Qu(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function No(e){let t=[],n=-1,i=0,r=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(o===37&&Zn(e.charCodeAt(n+1))&&Zn(e.charCodeAt(n+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),r=1):a="\uFFFD"}else a=String.fromCharCode(o);a&&(t.push(e.slice(i,n),encodeURIComponent(a)),i=n+r+1,a=""),r&&(n+=r,r=0)}return t.join("")+e.slice(i)}function Ve(e,t,n,i){let r=i?i-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return Ge(l)?(e.enter(n),s(l)):t(l)}function s(l){return Ge(l)&&o++<r?(e.consume(l),s):(e.exit(n),t(l))}}var Zj={tokenize:axe};function axe(e){let t=e.attempt(this.parser.constructs.contentInitial,i,r),n;return t;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Ve(e,t,"linePrefix")}function r(s){return e.enter("paragraph"),o(s)}function o(s){let l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(s)}function a(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Ne(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),a)}}var Wj={tokenize:sxe},Hj={tokenize:uxe};function sxe(e){let t=this,n=[],i=0,r,o,a;return s;function s(w){if(i<n.length){let T=n[i];return t.containerState=T[1],e.attempt(T[0].continuation,l,c)(w)}return c(w)}function l(w){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&E();let T=t.events.length,M=T,A;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){A=t.events[M][1].end;break}x(i);let j=T;for(;j<t.events.length;)t.events[j][1].end={...A},j++;return Yn(t.events,M+1,0,t.events.slice(T)),t.events.length=j,c(w)}return s(w)}function c(w){if(i===n.length){if(!r)return h(w);if(r.currentConstruct&&r.currentConstruct.concrete)return b(w);t.interrupt=!!(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Hj,f,p)(w)}function f(w){return r&&E(),x(i),h(w)}function p(w){return t.parser.lazy[t.now().line]=i!==n.length,a=t.now().offset,b(w)}function h(w){return t.containerState={},e.attempt(Hj,v,b)(w)}function v(w){return i++,n.push([t.currentConstruct,t.containerState]),h(w)}function b(w){if(w===null){r&&E(),x(0),e.consume(w);return}return r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),k(w)}function k(w){if(w===null){$(e.exit("chunkFlow"),!0),x(0),e.consume(w);return}return Ne(w)?(e.consume(w),$(e.exit("chunkFlow")),i=0,t.interrupt=void 0,s):(e.consume(w),k)}function $(w,T){let M=t.sliceStream(w);if(T&&M.push(null),w.previous=o,o&&(o.next=w),o=w,r.defineSkip(w.start),r.write(M),t.parser.lazy[w.start.line]){let A=r.events.length;for(;A--;)if(r.events[A][1].start.offset<a&&(!r.events[A][1].end||r.events[A][1].end.offset>a))return;let j=t.events.length,X=j,se,F;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){if(se){F=t.events[X][1].end;break}se=!0}for(x(i),A=j;A<t.events.length;)t.events[A][1].end={...F},A++;Yn(t.events,X+1,0,t.events.slice(j)),t.events.length=A}}function x(w){let T=n.length;for(;T-- >w;){let M=n[T];t.containerState=M[1],M[0].exit.call(t,e)}n.length=w}function E(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}function uxe(e,t,n){return Ve(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ps(e){if(e===null||It(e)||ja(e))return 1;if(xc(e))return 2}function el(e,t,n){let i=[],r=-1;for(;++r<e.length;){let o=e[r].resolveAll;o&&!i.includes(o)&&(t=o(t,n),i.push(o))}return t}var yh={name:"attention",resolveAll:lxe,tokenize:cxe};function lxe(e,t){let n=-1,i,r,o,a,s,l,c,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(i=n;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let p={...e[i][1].end},h={...e[n][1].start};Vj(p,-l),Vj(h,l),a={type:l>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},o={type:l>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},r={type:l>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[i][1].end={...a.start},e[n][1].start={...s.end},c=[],e[i][1].end.offset-e[i][1].start.offset&&(c=di(c,[["enter",e[i][1],t],["exit",e[i][1],t]])),c=di(c,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),c=di(c,el(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),c=di(c,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=di(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Yn(e,i-1,n-i+3,c),n=i+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function cxe(e,t){let n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=Ps(i),o;return a;function a(l){return o=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===o)return e.consume(l),s;let c=e.exit("attentionSequence"),f=Ps(l),p=!f||f===2&&r||n.includes(l),h=!r||r===2&&f||n.includes(i);return c._open=!!(o===42?p:p&&(r||!h)),c._close=!!(o===42?h:h&&(f||!p)),t(l)}}function Vj(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var w$={name:"autolink",tokenize:dxe};function dxe(e,t,n){let i=0;return r;function r(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(v){return cr(v)?(e.consume(v),a):v===64?n(v):c(v)}function a(v){return v===43||v===45||v===46||Zn(v)?(i=1,s(v)):c(v)}function s(v){return v===58?(e.consume(v),i=0,l):(v===43||v===45||v===46||Zn(v))&&i++<32?(e.consume(v),s):(i=0,c(v))}function l(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||_c(v)?n(v):(e.consume(v),l)}function c(v){return v===64?(e.consume(v),f):Uj(v)?(e.consume(v),c):n(v)}function f(v){return Zn(v)?p(v):n(v)}function p(v){return v===46?(e.consume(v),i=0,f):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):h(v)}function h(v){if((v===45||Zn(v))&&i++<63){let b=v===45?h:p;return e.consume(v),b}return n(v)}}var Ba={partial:!0,tokenize:fxe};function fxe(e,t,n){return i;function i(o){return Ge(o)?Ve(e,r,"linePrefix")(o):r(o)}function r(o){return o===null||Ne(o)?t(o):n(o)}}var Cb={continuation:{tokenize:mxe},exit:hxe,name:"blockQuote",tokenize:pxe};function pxe(e,t,n){let i=this;return r;function r(a){if(a===62){let s=i.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return n(a)}function o(a){return Ge(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function mxe(e,t,n){let i=this;return r;function r(a){return Ge(a)?Ve(e,o,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return e.attempt(Cb,t,n)(a)}}function hxe(e){e.exit("blockQuote")}var Ab={name:"characterEscape",tokenize:gxe};function gxe(e,t,n){return i;function i(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),r}function r(o){return Bj(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}var Nb={name:"characterReference",tokenize:vxe};function vxe(e,t,n){let i=this,r=0,o,a;return s;function s(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),l}function l(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),o=31,a=Zn,f(p))}function c(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=jj,f):(e.enter("characterReferenceValue"),o=7,a=vh,f(p))}function f(p){if(p===59&&r){let h=e.exit("characterReferenceValue");return a===Zn&&!hf(i.sliceSerialize(h))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(p)&&r++<o?(e.consume(p),f):n(p)}}var Gj={partial:!0,tokenize:bxe},Ob={concrete:!0,name:"codeFenced",tokenize:yxe};function yxe(e,t,n){let i=this,r={partial:!0,tokenize:M},o=0,a=0,s;return l;function l(A){return c(A)}function c(A){let j=i.events[i.events.length-1];return o=j&&j[1].type==="linePrefix"?j[2].sliceSerialize(j[1],!0).length:0,s=A,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(A)}function f(A){return A===s?(a++,e.consume(A),f):a<3?n(A):(e.exit("codeFencedFenceSequence"),Ge(A)?Ve(e,p,"whitespace")(A):p(A))}function p(A){return A===null||Ne(A)?(e.exit("codeFencedFence"),i.interrupt?t(A):e.check(Gj,k,T)(A)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(A))}function h(A){return A===null||Ne(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(A)):Ge(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ve(e,v,"whitespace")(A)):A===96&&A===s?n(A):(e.consume(A),h)}function v(A){return A===null||Ne(A)?p(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(A))}function b(A){return A===null||Ne(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(A)):A===96&&A===s?n(A):(e.consume(A),b)}function k(A){return e.attempt(r,T,$)(A)}function $(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),x}function x(A){return o>0&&Ge(A)?Ve(e,E,"linePrefix",o+1)(A):E(A)}function E(A){return A===null||Ne(A)?e.check(Gj,k,T)(A):(e.enter("codeFlowValue"),w(A))}function w(A){return A===null||Ne(A)?(e.exit("codeFlowValue"),E(A)):(e.consume(A),w)}function T(A){return e.exit("codeFenced"),t(A)}function M(A,j,X){let se=0;return F;function F($e){return A.enter("lineEnding"),A.consume($e),A.exit("lineEnding"),De}function De($e){return A.enter("codeFencedFence"),Ge($e)?Ve(A,Ee,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($e):Ee($e)}function Ee($e){return $e===s?(A.enter("codeFencedFenceSequence"),ve($e)):X($e)}function ve($e){return $e===s?(se++,A.consume($e),ve):se>=a?(A.exit("codeFencedFenceSequence"),Ge($e)?Ve(A,ye,"whitespace")($e):ye($e)):X($e)}function ye($e){return $e===null||Ne($e)?(A.exit("codeFencedFence"),j($e)):X($e)}}}function bxe(e,t,n){let i=this;return r;function r(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return i.parser.lazy[i.now().line]?n(a):t(a)}}var bh={name:"codeIndented",tokenize:xxe},_xe={partial:!0,tokenize:kxe};function xxe(e,t,n){let i=this;return r;function r(c){return e.enter("codeIndented"),Ve(e,o,"linePrefix",5)(c)}function o(c){let f=i.events[i.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Ne(c)?e.attempt(_xe,a,l)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||Ne(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),s)}function l(c){return e.exit("codeIndented"),t(c)}}function kxe(e,t,n){let i=this;return r;function r(a){return i.parser.lazy[i.now().line]?n(a):Ne(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r):Ve(e,o,"linePrefix",5)(a)}function o(a){let s=i.events[i.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):Ne(a)?r(a):n(a)}}var E$={name:"codeText",previous:Exe,resolve:wxe,tokenize:Dxe};function wxe(e){let t=e.length-4,n=3,i,r;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=n;++i<t;)if(e[i][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)r===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(r=i):(i===t||e[i][1].type==="lineEnding")&&(e[r][1].type="codeTextData",i!==r+2&&(e[r][1].end=e[i-1][1].end,e.splice(r+2,i-r-2),t-=i-r-2,i=r+2),r=void 0);return e}function Exe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Dxe(e,t,n){let i=this,r=0,o,a;return s;function s(h){return e.enter("codeText"),e.enter("codeTextSequence"),l(h)}function l(h){return h===96?(e.consume(h),r++,l):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(a=e.enter("codeTextSequence"),o=0,p(h)):Ne(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),f(h))}function f(h){return h===null||h===32||h===96||Ne(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),f)}function p(h){return h===96?(e.consume(h),o++,p):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",f(h))}}var zb=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){let i=n??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(t,i):t>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(t,n,i){let r=n||0;this.setCursor(Math.trunc(t));let o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return i&&_h(this.left,i),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),_h(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),_h(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let n=this.left.splice(t,Number.POSITIVE_INFINITY);_h(this.right,n.reverse())}else{let n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);_h(this.left,n.reverse())}}};function _h(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Pb(e){let t={},n=-1,i,r,o,a,s,l,c,f=new zb(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(i=f.get(n),n&&i[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(l=i[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(i[0]==="enter")i[1].contentType&&(Object.assign(t,$xe(f,n)),n=t[n],c=!0);else if(i[1]._container){for(o=n,r=void 0;o--;)if(a=f.get(o),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(r&&(f.get(r)[1].type="lineEndingBlank"),a[1].type="lineEnding",r=o);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;r&&(i[1].end={...f.get(r)[1].start},s=f.slice(r,n),s.unshift(i),f.splice(r,n-r+1,s))}}return Yn(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function $xe(e,t){let n=e.get(t)[1],i=e.get(t)[2],r=t-1,o=[],a=n._tokenizer;a||(a=i.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));let s=a.events,l=[],c={},f,p,h=-1,v=n,b=0,k=0,$=[k];for(;v;){for(;e.get(++r)[1]!==v;);o.push(r),v._tokenizer||(f=i.sliceStream(v),v.next||f.push(null),p&&a.defineSkip(v.start),v._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),v._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),p=v,v=v.next}for(v=n;++h<s.length;)s[h][0]==="exit"&&s[h-1][0]==="enter"&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line&&(k=h+1,$.push(k),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(a.events=[],v?(v._tokenizer=void 0,v.previous=void 0):$.pop(),h=$.length;h--;){let x=s.slice($[h],$[h+1]),E=o.pop();l.push([E,E+x.length-1]),e.splice(E,2,x)}for(l.reverse(),h=-1;++h<l.length;)c[b+l[h][0]]=b+l[h][1],b+=l[h][1]-l[h][0]-1;return c}var D$={resolve:Ixe,tokenize:Txe},Sxe={partial:!0,tokenize:Cxe};function Ixe(e){return Pb(e),e}function Txe(e,t){let n;return i;function i(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(s)}function r(s){return s===null?o(s):Ne(s)?e.check(Sxe,a,o)(s):(e.consume(s),r)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function a(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}function Cxe(e,t,n){let i=this;return r;function r(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Ve(e,o,"linePrefix")}function o(a){if(a===null||Ne(a))return n(a);let s=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):e.interrupt(i.parser.constructs.flow,n,t)(a)}}function Rb(e,t,n,i,r,o,a,s,l){let c=l||Number.POSITIVE_INFINITY,f=0;return p;function p(x){return x===60?(e.enter(i),e.enter(r),e.enter(o),e.consume(x),e.exit(o),h):x===null||x===32||x===41||_c(x)?n(x):(e.enter(i),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),k(x))}function h(x){return x===62?(e.enter(o),e.consume(x),e.exit(o),e.exit(r),e.exit(i),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),v(x))}function v(x){return x===62?(e.exit("chunkString"),e.exit(s),h(x)):x===null||x===60||Ne(x)?n(x):(e.consume(x),x===92?b:v)}function b(x){return x===60||x===62||x===92?(e.consume(x),v):v(x)}function k(x){return!f&&(x===null||x===41||It(x))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(i),t(x)):f<c&&x===40?(e.consume(x),f++,k):x===41?(e.consume(x),f--,k):x===null||x===32||x===40||_c(x)?n(x):(e.consume(x),x===92?$:k)}function $(x){return x===40||x===41||x===92?(e.consume(x),k):k(x)}}function Lb(e,t,n,i,r,o){let a=this,s=0,l;return c;function c(v){return e.enter(i),e.enter(r),e.consume(v),e.exit(r),e.enter(o),f}function f(v){return s>999||v===null||v===91||v===93&&!l||v===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(v):v===93?(e.exit(o),e.enter(r),e.consume(v),e.exit(r),e.exit(i),t):Ne(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===null||v===91||v===93||Ne(v)||s++>999?(e.exit("chunkString"),f(v)):(e.consume(v),l||(l=!Ge(v)),v===92?h:p)}function h(v){return v===91||v===92||v===93?(e.consume(v),s++,p):p(v)}}function Fb(e,t,n,i,r,o){let a;return s;function s(h){return h===34||h===39||h===40?(e.enter(i),e.enter(r),e.consume(h),e.exit(r),a=h===40?41:h,l):n(h)}function l(h){return h===a?(e.enter(r),e.consume(h),e.exit(r),e.exit(i),t):(e.enter(o),c(h))}function c(h){return h===a?(e.exit(o),l(a)):h===null?n(h):Ne(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Ve(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===a||h===null||Ne(h)?(e.exit("chunkString"),c(h)):(e.consume(h),h===92?p:f)}function p(h){return h===a||h===92?(e.consume(h),f):f(h)}}function kc(e,t){let n;return i;function i(r){return Ne(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,i):Ge(r)?Ve(e,i,n?"linePrefix":"lineSuffix")(r):t(r)}}var $$={name:"definition",tokenize:Nxe},Axe={partial:!0,tokenize:Oxe};function Nxe(e,t,n){let i=this,r;return o;function o(v){return e.enter("definition"),a(v)}function a(v){return Lb.call(i,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function s(v){return r=Br(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),l):n(v)}function l(v){return It(v)?kc(e,c)(v):c(v)}function c(v){return Rb(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function f(v){return e.attempt(Axe,p,p)(v)}function p(v){return Ge(v)?Ve(e,h,"whitespace")(v):h(v)}function h(v){return v===null||Ne(v)?(e.exit("definition"),i.parser.defined.push(r),t(v)):n(v)}}function Oxe(e,t,n){return i;function i(s){return It(s)?kc(e,r)(s):n(s)}function r(s){return Fb(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return Ge(s)?Ve(e,a,"whitespace")(s):a(s)}function a(s){return s===null||Ne(s)?t(s):n(s)}}var S$={name:"hardBreakEscape",tokenize:zxe};function zxe(e,t,n){return i;function i(o){return e.enter("hardBreakEscape"),e.consume(o),r}function r(o){return Ne(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}var I$={name:"headingAtx",resolve:Pxe,tokenize:Rxe};function Pxe(e,t){let n=e.length-2,i=3,r,o;return e[i][1].type==="whitespace"&&(i+=2),n-2>i&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(i===n-1||n-4>i&&e[n-2][1].type==="whitespace")&&(n-=i+1===n?2:4),n>i&&(r={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},o={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},Yn(e,i,n-i+1,[["enter",r,t],["enter",o,t],["exit",o,t],["exit",r,t]])),e}function Rxe(e,t,n){let i=0;return r;function r(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&i++<6?(e.consume(f),a):f===null||It(f)?(e.exit("atxHeadingSequence"),s(f)):n(f)}function s(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||Ne(f)?(e.exit("atxHeading"),t(f)):Ge(f)?Ve(e,s,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),s(f))}function c(f){return f===null||f===35||It(f)?(e.exit("atxHeadingText"),s(f)):(e.consume(f),c)}}var qj=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],T$=["pre","script","style","textarea"];var C$={concrete:!0,name:"htmlFlow",resolveTo:Mxe,tokenize:Uxe},Lxe={partial:!0,tokenize:Bxe},Fxe={partial:!0,tokenize:jxe};function Mxe(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Uxe(e,t,n){let i=this,r,o,a,s,l;return c;function c(U){return f(U)}function f(U){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(U),p}function p(U){return U===33?(e.consume(U),h):U===47?(e.consume(U),o=!0,k):U===63?(e.consume(U),r=3,i.interrupt?t:P):cr(U)?(e.consume(U),a=String.fromCharCode(U),$):n(U)}function h(U){return U===45?(e.consume(U),r=2,v):U===91?(e.consume(U),r=5,s=0,b):cr(U)?(e.consume(U),r=4,i.interrupt?t:P):n(U)}function v(U){return U===45?(e.consume(U),i.interrupt?t:P):n(U)}function b(U){let Yt="CDATA[";return U===Yt.charCodeAt(s++)?(e.consume(U),s===Yt.length?i.interrupt?t:Ee:b):n(U)}function k(U){return cr(U)?(e.consume(U),a=String.fromCharCode(U),$):n(U)}function $(U){if(U===null||U===47||U===62||It(U)){let Yt=U===47,Qr=a.toLowerCase();return!Yt&&!o&&T$.includes(Qr)?(r=1,i.interrupt?t(U):Ee(U)):qj.includes(a.toLowerCase())?(r=6,Yt?(e.consume(U),x):i.interrupt?t(U):Ee(U)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(U):o?E(U):w(U))}return U===45||Zn(U)?(e.consume(U),a+=String.fromCharCode(U),$):n(U)}function x(U){return U===62?(e.consume(U),i.interrupt?t:Ee):n(U)}function E(U){return Ge(U)?(e.consume(U),E):F(U)}function w(U){return U===47?(e.consume(U),F):U===58||U===95||cr(U)?(e.consume(U),T):Ge(U)?(e.consume(U),w):F(U)}function T(U){return U===45||U===46||U===58||U===95||Zn(U)?(e.consume(U),T):M(U)}function M(U){return U===61?(e.consume(U),A):Ge(U)?(e.consume(U),M):w(U)}function A(U){return U===null||U===60||U===61||U===62||U===96?n(U):U===34||U===39?(e.consume(U),l=U,j):Ge(U)?(e.consume(U),A):X(U)}function j(U){return U===l?(e.consume(U),l=null,se):U===null||Ne(U)?n(U):(e.consume(U),j)}function X(U){return U===null||U===34||U===39||U===47||U===60||U===61||U===62||U===96||It(U)?M(U):(e.consume(U),X)}function se(U){return U===47||U===62||Ge(U)?w(U):n(U)}function F(U){return U===62?(e.consume(U),De):n(U)}function De(U){return U===null||Ne(U)?Ee(U):Ge(U)?(e.consume(U),De):n(U)}function Ee(U){return U===45&&r===2?(e.consume(U),Be):U===60&&r===1?(e.consume(U),Oe):U===62&&r===4?(e.consume(U),We):U===63&&r===3?(e.consume(U),P):U===93&&r===5?(e.consume(U),Re):Ne(U)&&(r===6||r===7)?(e.exit("htmlFlowData"),e.check(Lxe,Ct,ve)(U)):U===null||Ne(U)?(e.exit("htmlFlowData"),ve(U)):(e.consume(U),Ee)}function ve(U){return e.check(Fxe,ye,Ct)(U)}function ye(U){return e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),$e}function $e(U){return U===null||Ne(U)?ve(U):(e.enter("htmlFlowData"),Ee(U))}function Be(U){return U===45?(e.consume(U),P):Ee(U)}function Oe(U){return U===47?(e.consume(U),a="",xe):Ee(U)}function xe(U){if(U===62){let Yt=a.toLowerCase();return T$.includes(Yt)?(e.consume(U),We):Ee(U)}return cr(U)&&a.length<8?(e.consume(U),a+=String.fromCharCode(U),xe):Ee(U)}function Re(U){return U===93?(e.consume(U),P):Ee(U)}function P(U){return U===62?(e.consume(U),We):U===45&&r===2?(e.consume(U),P):Ee(U)}function We(U){return U===null||Ne(U)?(e.exit("htmlFlowData"),Ct(U)):(e.consume(U),We)}function Ct(U){return e.exit("htmlFlow"),t(U)}}function jxe(e,t,n){let i=this;return r;function r(a){return Ne(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return i.parser.lazy[i.now().line]?n(a):t(a)}}function Bxe(e,t,n){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Ba,t,n)}}var A$={name:"htmlText",tokenize:Zxe};function Zxe(e,t,n){let i=this,r,o,a;return s;function s(P){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(P),l}function l(P){return P===33?(e.consume(P),c):P===47?(e.consume(P),M):P===63?(e.consume(P),w):cr(P)?(e.consume(P),X):n(P)}function c(P){return P===45?(e.consume(P),f):P===91?(e.consume(P),o=0,b):cr(P)?(e.consume(P),E):n(P)}function f(P){return P===45?(e.consume(P),v):n(P)}function p(P){return P===null?n(P):P===45?(e.consume(P),h):Ne(P)?(a=p,Oe(P)):(e.consume(P),p)}function h(P){return P===45?(e.consume(P),v):p(P)}function v(P){return P===62?Be(P):P===45?h(P):p(P)}function b(P){let We="CDATA[";return P===We.charCodeAt(o++)?(e.consume(P),o===We.length?k:b):n(P)}function k(P){return P===null?n(P):P===93?(e.consume(P),$):Ne(P)?(a=k,Oe(P)):(e.consume(P),k)}function $(P){return P===93?(e.consume(P),x):k(P)}function x(P){return P===62?Be(P):P===93?(e.consume(P),x):k(P)}function E(P){return P===null||P===62?Be(P):Ne(P)?(a=E,Oe(P)):(e.consume(P),E)}function w(P){return P===null?n(P):P===63?(e.consume(P),T):Ne(P)?(a=w,Oe(P)):(e.consume(P),w)}function T(P){return P===62?Be(P):w(P)}function M(P){return cr(P)?(e.consume(P),A):n(P)}function A(P){return P===45||Zn(P)?(e.consume(P),A):j(P)}function j(P){return Ne(P)?(a=j,Oe(P)):Ge(P)?(e.consume(P),j):Be(P)}function X(P){return P===45||Zn(P)?(e.consume(P),X):P===47||P===62||It(P)?se(P):n(P)}function se(P){return P===47?(e.consume(P),Be):P===58||P===95||cr(P)?(e.consume(P),F):Ne(P)?(a=se,Oe(P)):Ge(P)?(e.consume(P),se):Be(P)}function F(P){return P===45||P===46||P===58||P===95||Zn(P)?(e.consume(P),F):De(P)}function De(P){return P===61?(e.consume(P),Ee):Ne(P)?(a=De,Oe(P)):Ge(P)?(e.consume(P),De):se(P)}function Ee(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),r=P,ve):Ne(P)?(a=Ee,Oe(P)):Ge(P)?(e.consume(P),Ee):(e.consume(P),ye)}function ve(P){return P===r?(e.consume(P),r=void 0,$e):P===null?n(P):Ne(P)?(a=ve,Oe(P)):(e.consume(P),ve)}function ye(P){return P===null||P===34||P===39||P===60||P===61||P===96?n(P):P===47||P===62||It(P)?se(P):(e.consume(P),ye)}function $e(P){return P===47||P===62||It(P)?se(P):n(P)}function Be(P){return P===62?(e.consume(P),e.exit("htmlTextData"),e.exit("htmlText"),t):n(P)}function Oe(P){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),xe}function xe(P){return Ge(P)?Ve(e,Re,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):Re(P)}function Re(P){return e.enter("htmlTextData"),a(P)}}var wc={name:"labelEnd",resolveAll:Gxe,resolveTo:qxe,tokenize:Jxe},Hxe={tokenize:Yxe},Wxe={tokenize:Kxe},Vxe={tokenize:Xxe};function Gxe(e){let t=-1,n=[];for(;++t<e.length;){let i=e[t][1];if(n.push(e[t]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){let r=i.type==="labelImage"?4:2;i.type="data",t+=r}}return e.length!==n.length&&Yn(e,0,e.length,n),e}function qxe(e,t){let n=e.length,i=0,r,o,a,s;for(;n--;)if(r=e[n][1],o){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[n][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(o=n,r.type!=="labelLink")){i=2;break}}else r.type==="labelEnd"&&(a=n);let l={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[o][1].start},end:{...e[a][1].end}},f={type:"labelText",start:{...e[o+i+2][1].end},end:{...e[a-2][1].start}};return s=[["enter",l,t],["enter",c,t]],s=di(s,e.slice(o+1,o+i+3)),s=di(s,[["enter",f,t]]),s=di(s,el(t.parser.constructs.insideSpan.null,e.slice(o+i+4,a-3),t)),s=di(s,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),s=di(s,e.slice(a+1)),s=di(s,[["exit",l,t]]),Yn(e,o,e.length,s),e}function Jxe(e,t,n){let i=this,r=i.events.length,o,a;for(;r--;)if((i.events[r][1].type==="labelImage"||i.events[r][1].type==="labelLink")&&!i.events[r][1]._balanced){o=i.events[r][1];break}return s;function s(h){return o?o._inactive?p(h):(a=i.parser.defined.includes(Br(i.sliceSerialize({start:o.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),l):n(h)}function l(h){return h===40?e.attempt(Hxe,f,a?f:p)(h):h===91?e.attempt(Wxe,f,a?c:p)(h):a?f(h):p(h)}function c(h){return e.attempt(Vxe,f,p)(h)}function f(h){return t(h)}function p(h){return o._balanced=!0,n(h)}}function Yxe(e,t,n){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),r}function r(p){return It(p)?kc(e,o)(p):o(p)}function o(p){return p===41?f(p):Rb(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function a(p){return It(p)?kc(e,l)(p):f(p)}function s(p){return n(p)}function l(p){return p===34||p===39||p===40?Fb(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):f(p)}function c(p){return It(p)?kc(e,f)(p):f(p)}function f(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function Kxe(e,t,n){let i=this;return r;function r(s){return Lb.call(i,e,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return i.parser.defined.includes(Br(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function a(s){return n(s)}}function Xxe(e,t,n){return i;function i(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),r}function r(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}var N$={name:"labelStartImage",resolveAll:wc.resolveAll,tokenize:Qxe};function Qxe(e,t,n){let i=this;return r;function r(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),a):n(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(s):t(s)}}var O$={name:"labelStartLink",resolveAll:wc.resolveAll,tokenize:eke};function eke(e,t,n){let i=this;return r;function r(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(a):t(a)}}var xh={name:"lineEnding",tokenize:tke};function tke(e,t){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),Ve(e,t,"linePrefix")}}var Ec={name:"thematicBreak",tokenize:nke};function nke(e,t,n){let i=0,r;return o;function o(c){return e.enter("thematicBreak"),a(c)}function a(c){return r=c,s(c)}function s(c){return c===r?(e.enter("thematicBreakSequence"),l(c)):i>=3&&(c===null||Ne(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===r?(e.consume(c),i++,l):(e.exit("thematicBreakSequence"),Ge(c)?Ve(e,s,"whitespace")(c):s(c))}}var Zr={continuation:{tokenize:ake},exit:uke,name:"list",tokenize:oke},rke={partial:!0,tokenize:lke},ike={partial:!0,tokenize:ske};function oke(e,t,n){let i=this,r=i.events[i.events.length-1],o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,a=0;return s;function s(v){let b=i.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!i.containerState.marker||v===i.containerState.marker:vh(v)){if(i.containerState.type||(i.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Ec,n,c)(v):c(v);if(!i.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(v)}return n(v)}function l(v){return vh(v)&&++a<10?(e.consume(v),l):(!i.interrupt||a<2)&&(i.containerState.marker?v===i.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),c(v)):n(v)}function c(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||v,e.check(Ba,i.interrupt?n:f,e.attempt(rke,h,p))}function f(v){return i.containerState.initialBlankLine=!0,o++,h(v)}function p(v){return Ge(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),h):n(v)}function h(v){return i.containerState.size=o+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function ake(e,t,n){let i=this;return i.containerState._closeFlow=void 0,e.check(Ba,r,o);function r(s){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,Ve(e,t,"listItemIndent",i.containerState.size+1)(s)}function o(s){return i.containerState.furtherBlankLines||!Ge(s)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,a(s)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(ike,t,a)(s))}function a(s){return i.containerState._closeFlow=!0,i.interrupt=void 0,Ve(e,e.attempt(Zr,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function ske(e,t,n){let i=this;return Ve(e,r,"listItemIndent",i.containerState.size+1);function r(o){let a=i.events[i.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===i.containerState.size?t(o):n(o)}}function uke(e){e.exit(this.containerState.type)}function lke(e,t,n){let i=this;return Ve(e,r,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function r(o){let a=i.events[i.events.length-1];return!Ge(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}var Mb={name:"setextUnderline",resolveTo:cke,tokenize:dke};function cke(e,t){let n=e.length,i,r,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){i=n;break}e[n][1].type==="paragraph"&&(r=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);let a={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[i][1],t]),e[i][1].end={...e[o][1].end}):e[i][1]=a,e.push(["exit",a,t]),e}function dke(e,t,n){let i=this,r;return o;function o(c){let f=i.events.length,p;for(;f--;)if(i.events[f][1].type!=="lineEnding"&&i.events[f][1].type!=="linePrefix"&&i.events[f][1].type!=="content"){p=i.events[f][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),r=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===r?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Ge(c)?Ve(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Ne(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}var Jj={tokenize:fke};function fke(e){let t=this,n=e.attempt(Ba,i,e.attempt(this.parser.constructs.flowInitial,r,Ve(e,e.attempt(this.parser.constructs.flow,r,e.attempt(D$,r)),"linePrefix")));return n;function i(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}var Yj={resolveAll:eB()},Kj=Qj("string"),Xj=Qj("text");function Qj(e){return{resolveAll:eB(e==="text"?pke:void 0),tokenize:t};function t(n){let i=this,r=this.parser.constructs[e],o=n.attempt(r,a,s);return a;function a(f){return c(f)?o(f):s(f)}function s(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),o(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;let p=r[f],h=-1;if(p)for(;++h<p.length;){let v=p[h];if(!v.previous||v.previous.call(i,i.previous))return!0}return!1}}}function eB(e){return t;function t(n,i){let r=-1,o;for(;++r<=n.length;)o===void 0?n[r]&&n[r][1].type==="data"&&(o=r,r++):(!n[r]||n[r][1].type!=="data")&&(r!==o+2&&(n[o][1].end=n[r-1][1].end,n.splice(o+2,r-o-2),r=o+2),o=void 0);return e?e(n,i):n}}function pke(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){let i=e[n-1][1],r=t.sliceStream(i),o=r.length,a=-1,s=0,l;for(;o--;){let c=r[o];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(c===-2)l=!0,s++;else if(c!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let c={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:i.start._bufferIndex+a,_index:i.start._index+o,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...c.start},i.start.offset===i.end.offset?Object.assign(i,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}var z$={};Ia(z$,{attentionMarkers:()=>xke,contentInitial:()=>hke,disable:()=>kke,document:()=>mke,flow:()=>vke,flowInitial:()=>gke,insideSpan:()=>_ke,string:()=>yke,text:()=>bke});var mke={42:Zr,43:Zr,45:Zr,48:Zr,49:Zr,50:Zr,51:Zr,52:Zr,53:Zr,54:Zr,55:Zr,56:Zr,57:Zr,62:Cb},hke={91:$$},gke={[-2]:bh,[-1]:bh,32:bh},vke={35:I$,42:Ec,45:[Mb,Ec],60:C$,61:Mb,95:Ec,96:Ob,126:Ob},yke={38:Nb,92:Ab},bke={[-5]:xh,[-4]:xh,[-3]:xh,33:N$,38:Nb,42:yh,60:[w$,A$],91:O$,92:[S$,Ab],93:wc,95:yh,96:E$},_ke={null:[yh,Yj]},xke={null:[42,95]},kke={null:[]};function tB(e,t,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},r={},o=[],a=[],s=[],l=!0,c={attempt:se(j),check:se(X),consume:T,enter:M,exit:A,interrupt:se(X,{interrupt:!0})},f={code:null,containerState:{},defineSkip:x,events:[],now:$,parser:e,previous:null,sliceSerialize:b,sliceStream:k,write:v},p=t.tokenize.call(f,c),h;return t.resolveAll&&o.push(t),f;function v(ve){return a=di(a,ve),E(),a[a.length-1]!==null?[]:(F(t,0),f.events=el(o,f.events,f),f.events)}function b(ve,ye){return Eke(k(ve),ye)}function k(ve){return wke(a,ve)}function $(){let{_bufferIndex:ve,_index:ye,line:$e,column:Be,offset:Oe}=i;return{_bufferIndex:ve,_index:ye,line:$e,column:Be,offset:Oe}}function x(ve){r[ve.line]=ve.column,Ee()}function E(){let ve;for(;i._index<a.length;){let ye=a[i._index];if(typeof ye=="string")for(ve=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===ve&&i._bufferIndex<ye.length;)w(ye.charCodeAt(i._bufferIndex));else w(ye)}}function w(ve){l=void 0,h=ve,p=p(ve)}function T(ve){Ne(ve)?(i.line++,i.column=1,i.offset+=ve===-3?2:1,Ee()):ve!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===a[i._index].length&&(i._bufferIndex=-1,i._index++)),f.previous=ve,l=!0}function M(ve,ye){let $e=ye||{};return $e.type=ve,$e.start=$(),f.events.push(["enter",$e,f]),s.push($e),$e}function A(ve){let ye=s.pop();return ye.end=$(),f.events.push(["exit",ye,f]),ye}function j(ve,ye){F(ve,ye.from)}function X(ve,ye){ye.restore()}function se(ve,ye){return $e;function $e(Be,Oe,xe){let Re,P,We,Ct;return Array.isArray(Be)?Yt(Be):"tokenize"in Be?Yt([Be]):U(Be);function U(gn){return Wn;function Wn(ir){let Or=ir!==null&&gn[ir],Qt=ir!==null&&gn.null,Ri=[...Array.isArray(Or)?Or:Or?[Or]:[],...Array.isArray(Qt)?Qt:Qt?[Qt]:[]];return Yt(Ri)(ir)}}function Yt(gn){return Re=gn,P=0,gn.length===0?xe:Qr(gn[P])}function Qr(gn){return Wn;function Wn(ir){return Ct=De(),We=gn,gn.partial||(f.currentConstruct=gn),gn.name&&f.parser.constructs.disable.null.includes(gn.name)?fr(ir):gn.tokenize.call(ye?Object.assign(Object.create(f),ye):f,c,wr,fr)(ir)}}function wr(gn){return l=!0,ve(We,Ct),Oe}function fr(gn){return l=!0,Ct.restore(),++P<Re.length?Qr(Re[P]):xe}}}function F(ve,ye){ve.resolveAll&&!o.includes(ve)&&o.push(ve),ve.resolve&&Yn(f.events,ye,f.events.length-ye,ve.resolve(f.events.slice(ye),f)),ve.resolveTo&&(f.events=ve.resolveTo(f.events,f))}function De(){let ve=$(),ye=f.previous,$e=f.currentConstruct,Be=f.events.length,Oe=Array.from(s);return{from:Be,restore:xe};function xe(){i=ve,f.previous=ye,f.currentConstruct=$e,f.events.length=Be,s=Oe,Ee()}}function Ee(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}function wke(e,t){let n=t.start._index,i=t.start._bufferIndex,r=t.end._index,o=t.end._bufferIndex,a;if(n===r)a=[e[n].slice(i,o)];else{if(a=e.slice(n,r),i>-1){let s=a[0];typeof s=="string"?a[0]=s.slice(i):a.shift()}o>0&&a.push(e[r].slice(0,o))}return a}function Eke(e,t){let n=-1,i=[],r;for(;++n<e.length;){let o=e[n],a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=`
962
962
  `;break}case-3:{a=`\r
963
963
  `;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&r)continue;a=" ";break}default:a=String.fromCharCode(o)}r=o===-2,i.push(a)}return i.join("")}function P$(e){let i={constructs:Ib([z$,...(e||{}).extensions||[]]),content:r(Zj),defined:[],document:r(Wj),flow:r(Jj),lazy:{},string:r(Kj),text:r(Xj)};return i;function r(o){return a;function a(s){return tB(i,o,s)}}}function R$(e){for(;!Pb(e););return e}var nB=/[\0\t\n\r]/g;function L$(){let e=1,t="",n=!0,i;return r;function r(o,a,s){let l=[],c,f,p,h,v;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(a||void 0).decode(o)),p=0,t="",n&&(o.charCodeAt(0)===65279&&p++,n=void 0);p<o.length;){if(nB.lastIndex=p,c=nB.exec(o),h=c&&c.index!==void 0?c.index:o.length,v=o.charCodeAt(h),!c){t=o.slice(p);break}if(v===10&&p===h&&i)l.push(-3),i=void 0;else switch(i&&(l.push(-5),i=void 0),p<h&&(l.push(o.slice(p,h)),e+=h-p),v){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:i=!0,e=1}p=h+1}return s&&(i&&l.push(-5),t&&l.push(t),l.push(null)),l}}var Dke=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rB(e){return e.replace(Dke,$ke)}function $ke(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let r=n.charCodeAt(1),o=r===120||r===88;return Tb(n.slice(o?2:1),o?16:10)}return hf(n)||e}var oB={}.hasOwnProperty;function F$(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Ske(n)(R$(P$(n).document().write(L$()(e,t,!0))))}function Ske(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(_i),autolinkProtocol:se,autolinkEmail:se,atxHeading:o(or),blockQuote:o(ir),characterEscape:se,characterReference:se,codeFenced:o(Or),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(Or,a),codeText:o(Qt,a),codeTextData:se,data:se,codeFlowValue:se,definition:o(Ri),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(uu),hardBreakEscape:o(Rp),hardBreakTrailing:o(Rp),htmlFlow:o(yv,a),htmlFlowData:se,htmlText:o(yv,a),htmlTextData:se,image:o(Ol),label:a,link:o(_i),listItem:o(od),listItemValue:h,listOrdered:o(lu,p),listUnordered:o(lu),paragraph:o(xw),reference:U,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(or),strong:o(zl),thematicBreak:o(Pl)},exit:{atxHeading:l(),atxHeadingSequence:M,autolink:l(),autolinkEmail:Wn,autolinkProtocol:gn,blockQuote:l(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:Qr,characterReferenceMarkerNumeric:Qr,characterReferenceValue:wr,characterReference:fr,codeFenced:l($),codeFencedFence:k,codeFencedFenceInfo:v,codeFencedFenceMeta:b,codeFlowValue:F,codeIndented:l(x),codeText:l($e),codeTextData:F,data:F,definition:l(),definitionDestinationString:T,definitionLabelString:E,definitionTitleString:w,emphasis:l(),hardBreakEscape:l(Ee),hardBreakTrailing:l(Ee),htmlFlow:l(ve),htmlFlowData:F,htmlText:l(ye),htmlTextData:F,image:l(Oe),label:Re,labelText:xe,lineEnding:De,link:l(Be),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Yt,resourceDestinationString:P,resourceTitleString:We,resource:Ct,setextHeading:l(X),setextHeadingLineSequence:j,setextHeadingText:A,strong:l(),thematicBreak:l()}};aB(t,(e||{}).mdastExtensions||[]);let n={};return i;function i(ne){let ke={type:"root",children:[]},st={stack:[ke],tokenStack:[],config:t,enter:s,exit:c,buffer:a,resume:f,data:n},wt=[],Ht=-1;for(;++Ht<ne.length;)if(ne[Ht][1].type==="listOrdered"||ne[Ht][1].type==="listUnordered")if(ne[Ht][0]==="enter")wt.push(Ht);else{let ei=wt.pop();Ht=r(ne,ei,Ht)}for(Ht=-1;++Ht<ne.length;){let ei=t[ne[Ht][0]];oB.call(ei,ne[Ht][1].type)&&ei[ne[Ht][1].type].call(Object.assign({sliceSerialize:ne[Ht][2].sliceSerialize},st),ne[Ht][1])}if(st.tokenStack.length>0){let ei=st.tokenStack[st.tokenStack.length-1];(ei[1]||iB).call(st,void 0,ei[0])}for(ke.position={start:tl(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:tl(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},Ht=-1;++Ht<t.transforms.length;)ke=t.transforms[Ht](ke)||ke;return ke}function r(ne,ke,st){let wt=ke-1,Ht=-1,ei=!1,qo,Li,ts,ns;for(;++wt<=st;){let ti=ne[wt];switch(ti[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ti[0]==="enter"?Ht++:Ht--,ns=void 0;break}case"lineEndingBlank":{ti[0]==="enter"&&(qo&&!ns&&!Ht&&!ts&&(ts=wt),ns=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ns=void 0}if(!Ht&&ti[0]==="enter"&&ti[1].type==="listItemPrefix"||Ht===-1&&ti[0]==="exit"&&(ti[1].type==="listUnordered"||ti[1].type==="listOrdered")){if(qo){let cu=wt;for(Li=void 0;cu--;){let Jo=ne[cu];if(Jo[1].type==="lineEnding"||Jo[1].type==="lineEndingBlank"){if(Jo[0]==="exit")continue;Li&&(ne[Li][1].type="lineEndingBlank",ei=!0),Jo[1].type="lineEnding",Li=cu}else if(!(Jo[1].type==="linePrefix"||Jo[1].type==="blockQuotePrefix"||Jo[1].type==="blockQuotePrefixWhitespace"||Jo[1].type==="blockQuoteMarker"||Jo[1].type==="listItemIndent"))break}ts&&(!Li||ts<Li)&&(qo._spread=!0),qo.end=Object.assign({},Li?ne[Li][1].start:ti[1].end),ne.splice(Li||wt,0,["exit",qo,ti[2]]),wt++,st++}if(ti[1].type==="listItemPrefix"){let cu={type:"listItem",_spread:!1,start:Object.assign({},ti[1].start),end:void 0};qo=cu,ne.splice(wt,0,["enter",cu,ti[2]]),wt++,st++,ts=void 0,ns=!0}}}return ne[ke][1]._spread=ei,st}function o(ne,ke){return st;function st(wt){s.call(this,ne(wt),wt),ke&&ke.call(this,wt)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(ne,ke,st){this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([ke,st||void 0]),ne.position={start:tl(ke.start),end:void 0}}function l(ne){return ke;function ke(st){ne&&ne.call(this,st),c.call(this,st)}}function c(ne,ke){let st=this.stack.pop(),wt=this.tokenStack.pop();if(wt)wt[0].type!==ne.type&&(ke?ke.call(this,ne,wt[0]):(wt[1]||iB).call(this,ne,wt[0]));else throw new Error("Cannot close `"+ne.type+"` ("+Xu({start:ne.start,end:ne.end})+"): it\u2019s not open");st.position.end=tl(ne.end)}function f(){return zs(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function h(ne){if(this.data.expectingFirstListItemValue){let ke=this.stack[this.stack.length-2];ke.start=Number.parseInt(this.sliceSerialize(ne),10),this.data.expectingFirstListItemValue=void 0}}function v(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.lang=ne}function b(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.meta=ne}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function $(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.value=ne.replace(/(\r?\n|\r)$/g,"")}function E(ne){let ke=this.resume(),st=this.stack[this.stack.length-1];st.label=ke,st.identifier=Br(this.sliceSerialize(ne)).toLowerCase()}function w(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.title=ne}function T(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.url=ne}function M(ne){let ke=this.stack[this.stack.length-1];if(!ke.depth){let st=this.sliceSerialize(ne).length;ke.depth=st}}function A(){this.data.setextHeadingSlurpLineEnding=!0}function j(ne){let ke=this.stack[this.stack.length-1];ke.depth=this.sliceSerialize(ne).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function se(ne){let st=this.stack[this.stack.length-1].children,wt=st[st.length-1];(!wt||wt.type!=="text")&&(wt=kw(),wt.position={start:tl(ne.start),end:void 0},st.push(wt)),this.stack.push(wt)}function F(ne){let ke=this.stack.pop();ke.value+=this.sliceSerialize(ne),ke.position.end=tl(ne.end)}function De(ne){let ke=this.stack[this.stack.length-1];if(this.data.atHardBreak){let st=ke.children[ke.children.length-1];st.position.end=tl(ne.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ke.type)&&(se.call(this,ne),F.call(this,ne))}function Ee(){this.data.atHardBreak=!0}function ve(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.value=ne}function ye(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.value=ne}function $e(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.value=ne}function Be(){let ne=this.stack[this.stack.length-1];if(this.data.inReference){let ke=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ke,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function Oe(){let ne=this.stack[this.stack.length-1];if(this.data.inReference){let ke=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=ke,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function xe(ne){let ke=this.sliceSerialize(ne),st=this.stack[this.stack.length-2];st.label=rB(ke),st.identifier=Br(ke).toLowerCase()}function Re(){let ne=this.stack[this.stack.length-1],ke=this.resume(),st=this.stack[this.stack.length-1];if(this.data.inReference=!0,st.type==="link"){let wt=ne.children;st.children=wt}else st.alt=ke}function P(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.url=ne}function We(){let ne=this.resume(),ke=this.stack[this.stack.length-1];ke.title=ne}function Ct(){this.data.inReference=void 0}function U(){this.data.referenceType="collapsed"}function Yt(ne){let ke=this.resume(),st=this.stack[this.stack.length-1];st.label=ke,st.identifier=Br(this.sliceSerialize(ne)).toLowerCase(),this.data.referenceType="full"}function Qr(ne){this.data.characterReferenceType=ne.type}function wr(ne){let ke=this.sliceSerialize(ne),st=this.data.characterReferenceType,wt;st?(wt=Tb(ke,st==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):wt=hf(ke);let Ht=this.stack[this.stack.length-1];Ht.value+=wt}function fr(ne){let ke=this.stack.pop();ke.position.end=tl(ne.end)}function gn(ne){F.call(this,ne);let ke=this.stack[this.stack.length-1];ke.url=this.sliceSerialize(ne)}function Wn(ne){F.call(this,ne);let ke=this.stack[this.stack.length-1];ke.url="mailto:"+this.sliceSerialize(ne)}function ir(){return{type:"blockquote",children:[]}}function Or(){return{type:"code",lang:null,meta:null,value:""}}function Qt(){return{type:"inlineCode",value:""}}function Ri(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function uu(){return{type:"emphasis",children:[]}}function or(){return{type:"heading",depth:0,children:[]}}function Rp(){return{type:"break"}}function yv(){return{type:"html",value:""}}function Ol(){return{type:"image",title:null,url:"",alt:null}}function _i(){return{type:"link",title:null,url:"",children:[]}}function lu(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function od(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function xw(){return{type:"paragraph",children:[]}}function zl(){return{type:"strong",children:[]}}function kw(){return{type:"text",value:""}}function Pl(){return{type:"thematicBreak"}}}function tl(e){return{line:e.line,column:e.column,offset:e.offset}}function aB(e,t){let n=-1;for(;++n<t.length;){let i=t[n];Array.isArray(i)?aB(e,i):Ike(e,i)}}function Ike(e,t){let n;for(n in t)if(oB.call(t,n))switch(n){case"canContainEols":{let i=t[n];i&&e[n].push(...i);break}case"transforms":{let i=t[n];i&&e[n].push(...i);break}case"enter":case"exit":{let i=t[n];i&&Object.assign(e[n],i);break}}}function iB(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Xu({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Xu({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Xu({start:t.start,end:t.end})+") is still open")}function Ub(e){let t=this;t.parser=n;function n(i){return F$(i,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function sB(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function uB(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
964
964
  `}]}function lB(e,t){let n=t.value?t.value+`
@@ -986,7 +986,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
986
986
  `))+1))}let a="#".repeat(r),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
987
987
  `,...o.current()});return/^[\t ]/.test(c)&&(c=al(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c}RS.peek=M2e;function RS(e){return e.value||""}function M2e(){return"<"}LS.peek=U2e;function LS(e,t,n,i){let r=Ef(n),o=r==='"'?"Quote":"Apostrophe",a=n.enter("image"),s=n.enter("label"),l=n.createTracker(i),c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+r),c+=l.move(n.safe(e.title,{before:c,after:r,...l.current()})),c+=l.move(r),s()),c+=l.move(")"),a(),c}function U2e(){return"!"}FS.peek=j2e;function FS(e,t,n,i){let r=e.referenceType,o=n.enter("imageReference"),a=n.enter("label"),s=n.createTracker(i),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();let f=n.stack;n.stack=[],a=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=f,o(),r==="full"||!c||c!==p?l+=s.move(p+"]"):r==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function j2e(){return"!"}MS.peek=B2e;function MS(e,t,n){let i=e.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(i);)r+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++o<n.unsafe.length;){let a=n.unsafe[o],s=n.compilePattern(a),l;if(a.atBreak)for(;l=s.exec(i);){let c=l.index;i.charCodeAt(c)===10&&i.charCodeAt(c-1)===13&&c--,i=i.slice(0,c)+" "+i.slice(l.index+1)}}return r+i+r}function B2e(){return"`"}function US(e,t){let n=zs(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}jS.peek=Z2e;function jS(e,t,n,i){let r=Ef(n),o=r==='"'?"Quote":"Apostrophe",a=n.createTracker(i),s,l;if(US(e,n)){let f=n.stack;n.stack=[],s=n.enter("autolink");let p=a.move("<");return p+=a.move(n.containerPhrasing(e,{before:p,after:">",...a.current()})),p+=a.move(">"),s(),n.stack=f,p}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${o}`),c+=a.move(" "+r),c+=a.move(n.safe(e.title,{before:c,after:r,...a.current()})),c+=a.move(r),l()),c+=a.move(")"),s(),c}function Z2e(e,t,n){return US(e,n)?"<":"["}BS.peek=H2e;function BS(e,t,n,i){let r=e.referenceType,o=n.enter("linkReference"),a=n.enter("label"),s=n.createTracker(i),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),a();let f=n.stack;n.stack=[],a=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=f,o(),r==="full"||!c||c!==p?l+=s.move(p+"]"):r==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function H2e(){return"["}function $f(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function SH(e){let t=$f(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function IH(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function x_(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function TH(e,t,n,i){let r=n.enter("list"),o=n.bulletCurrent,a=e.ordered?IH(n):$f(n),s=e.ordered?a==="."?")":".":SH(n),l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){let f=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),x_(n)===a&&f){let p=-1;for(;++p<e.children.length;){let h=e.children[p];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;let c=n.containerFlow(e,i);return n.bulletLastUsed=a,n.bulletCurrent=o,r(),c}function CH(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function AH(e,t,n,i){let r=CH(n),o=n.bulletCurrent||$f(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(r==="tab"||r==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);let s=n.createTracker(i);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),f);return l(),c;function f(p,h,v){return h?(v?"":" ".repeat(a))+p:(v?o:o+" ".repeat(a-o.length))+p}}function NH(e,t,n,i){let r=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(e,i);return o(),r(),a}var ZS=Za(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function OH(e,t,n,i){return(e.children.some(function(a){return ZS(a)})?n.containerPhrasing:n.containerFlow).call(n,e,i)}function zH(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}HS.peek=W2e;function HS(e,t,n,i){let r=zH(n),o=n.enter("strong"),a=n.createTracker(i),s=a.move(r+r),l=a.move(n.containerPhrasing(e,{after:r,before:s,...a.current()})),c=l.charCodeAt(0),f=Df(i.before.charCodeAt(i.before.length-1),c,r);f.inside&&(l=al(c)+l.slice(1));let p=l.charCodeAt(l.length-1),h=Df(i.after.charCodeAt(0),p,r);h.inside&&(l=l.slice(0,-1)+al(p));let v=a.move(r+r);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},s+l+v}function W2e(e,t,n){return n.options.strong||"*"}function PH(e,t,n,i){return n.safe(e.value,i)}function RH(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function LH(e,t,n){let i=(x_(n)+(n.options.ruleSpaces?" ":"")).repeat(RH(n));return n.options.ruleSpaces?i.slice(0,-1):i}var Bh={blockquote:gH,break:zS,code:kH,definition:wH,emphasis:PS,hardBreak:zS,heading:$H,html:RS,image:LS,imageReference:FS,inlineCode:MS,link:jS,linkReference:BS,list:TH,listItem:AH,paragraph:NH,root:OH,strong:HS,text:PH,thematicBreak:LH};function VS(){return{enter:{table:V2e,tableData:FH,tableHeader:FH,tableRow:q2e},exit:{codeText:J2e,table:G2e,tableData:WS,tableHeader:WS,tableRow:WS}}}function V2e(e){let t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function G2e(e){this.exit(e),this.data.inTable=void 0}function q2e(e){this.enter({type:"tableRow",children:[]},e)}function WS(e){this.exit(e)}function FH(e){this.enter({type:"tableCell",children:[]},e)}function J2e(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Y2e));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Y2e(e,t){return t==="|"?t:e}function GS(e){let t=e||{},n=t.tableCellPadding,i=t.tablePipeAlign,r=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
988
988
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:a,tableCell:l,tableRow:s}};function a(v,b,k,$){return c(f(v,k,$),v.align)}function s(v,b,k,$){let x=p(v,k,$),E=c([x]);return E.slice(0,E.indexOf(`
989
- `))}function l(v,b,k,$){let x=k.enter("tableCell"),E=k.enter("phrasing"),w=k.containerPhrasing(v,{...$,before:o,after:o});return E(),x(),w}function c(v,b){return hH(v,{align:b,alignDelimiters:i,padding:n,stringLength:r})}function f(v,b,k){let $=v.children,x=-1,E=[],w=b.enter("table");for(;++x<$.length;)E[x]=p($[x],b,k);return w(),E}function p(v,b,k){let $=v.children,x=-1,E=[],w=b.enter("tableRow");for(;++x<$.length;)E[x]=l($[x],v,b,k);return w(),E}function h(v,b,k){let $=Bh.inlineCode(v,b,k);return k.stack.includes("tableCell")&&($=$.replace(/\|/g,"\\$&")),$}}function qS(){return{exit:{taskListCheckValueChecked:MH,taskListCheckValueUnchecked:MH,paragraph:K2e}}}function JS(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:X2e}}}function MH(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function K2e(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let i=n.children[0];if(i&&i.type==="text"){let r=t.children,o=-1,a;for(;++o<r.length;){let s=r[o];if(s.type==="paragraph"){a=s;break}}a===n&&(i.value=i.value.slice(1),i.value.length===0?n.children.shift():n.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,n.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function X2e(e,t,n,i){let r=e.children[0],o=typeof e.checked=="boolean"&&r&&r.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(i);o&&s.move(a);let l=Bh.listItem(e,t,n,{...i,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+a}}function YS(){return[IS(),CS(),NS(),VS(),qS()]}function KS(e){return{extensions:[TS(),AS(e),OS(),GS(e),JS()]}}var Q2e={tokenize:iEe,partial:!0},UH={tokenize:oEe,partial:!0},jH={tokenize:aEe,partial:!0},BH={tokenize:sEe,partial:!0},eEe={tokenize:uEe,partial:!0},ZH={name:"wwwAutolink",tokenize:nEe,previous:WH},HH={name:"protocolAutolink",tokenize:rEe,previous:VH},Rs={name:"emailAutolink",tokenize:tEe,previous:GH},Ga={};function QS(){return{text:Ga}}var Tc=48;for(;Tc<123;)Ga[Tc]=Rs,Tc++,Tc===58?Tc=65:Tc===91&&(Tc=97);Ga[43]=Rs;Ga[45]=Rs;Ga[46]=Rs;Ga[95]=Rs;Ga[72]=[Rs,HH];Ga[104]=[Rs,HH];Ga[87]=[Rs,ZH];Ga[119]=[Rs,ZH];function tEe(e,t,n){let i=this,r,o;return a;function a(p){return!XS(p)||!GH.call(i,i.previous)||e4(i.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(p))}function s(p){return XS(p)?(e.consume(p),s):p===64?(e.consume(p),l):n(p)}function l(p){return p===46?e.check(eEe,f,c)(p):p===45||p===95||Zn(p)?(o=!0,e.consume(p),l):f(p)}function c(p){return e.consume(p),r=!0,l}function f(p){return o&&r&&cr(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function nEe(e,t,n){let i=this;return r;function r(a){return a!==87&&a!==119||!WH.call(i,i.previous)||e4(i.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Q2e,e.attempt(UH,e.attempt(jH,o),n),n)(a))}function o(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function rEe(e,t,n){let i=this,r="",o=!1;return a;function a(p){return(p===72||p===104)&&VH.call(i,i.previous)&&!e4(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),r+=String.fromCodePoint(p),e.consume(p),s):n(p)}function s(p){if(cr(p)&&r.length<5)return r+=String.fromCodePoint(p),e.consume(p),s;if(p===58){let h=r.toLowerCase();if(h==="http"||h==="https")return e.consume(p),l}return n(p)}function l(p){return p===47?(e.consume(p),o?c:(o=!0,l)):n(p)}function c(p){return p===null||_c(p)||It(p)||ja(p)||xc(p)?n(p):e.attempt(UH,e.attempt(jH,f),n)(p)}function f(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function iEe(e,t,n){let i=0;return r;function r(a){return(a===87||a===119)&&i<3?(i++,e.consume(a),r):a===46&&i===3?(e.consume(a),o):n(a)}function o(a){return a===null?n(a):t(a)}}function oEe(e,t,n){let i,r,o;return a;function a(c){return c===46||c===95?e.check(BH,l,s)(c):c===null||It(c)||ja(c)||c!==45&&xc(c)?l(c):(o=!0,e.consume(c),a)}function s(c){return c===95?i=!0:(r=i,i=void 0),e.consume(c),a}function l(c){return r||i||!o?n(c):t(c)}}function aEe(e,t){let n=0,i=0;return r;function r(a){return a===40?(n++,e.consume(a),r):a===41&&i<n?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(BH,t,o)(a):a===null||It(a)||ja(a)?t(a):(e.consume(a),r)}function o(a){return a===41&&i++,e.consume(a),r}}function sEe(e,t,n){return i;function i(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),i):s===38?(e.consume(s),o):s===93?(e.consume(s),r):s===60||s===null||It(s)||ja(s)?t(s):n(s)}function r(s){return s===null||s===40||s===91||It(s)||ja(s)?t(s):i(s)}function o(s){return cr(s)?a(s):n(s)}function a(s){return s===59?(e.consume(s),i):cr(s)?(e.consume(s),a):n(s)}}function uEe(e,t,n){return i;function i(o){return e.consume(o),r}function r(o){return Zn(o)?n(o):t(o)}}function WH(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||It(e)}function VH(e){return!cr(e)}function GH(e){return!(e===47||XS(e))}function XS(e){return e===43||e===45||e===46||e===95||Zn(e)}function e4(e){let t=e.length,n=!1;for(;t--;){let i=e[t][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){n=!0;break}if(i._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var lEe={tokenize:gEe,partial:!0};function t4(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:pEe,continuation:{tokenize:mEe},exit:hEe}},text:{91:{name:"gfmFootnoteCall",tokenize:fEe},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:cEe,resolveTo:dEe}}}}function cEe(e,t,n){let i=this,r=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a;for(;r--;){let l=i.events[r][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!a||!a._balanced)return n(l);let c=Br(i.sliceSerialize({start:a.end,end:i.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function dEe(e,t){let n=e.length,i;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){i=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function fEe(e,t,n){let i=this,r=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0,a;return s;function s(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),l}function l(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(p){if(o>999||p===93&&!a||p===null||p===91||It(p))return n(p);if(p===93){e.exit("chunkString");let h=e.exit("gfmFootnoteCallString");return r.includes(Br(i.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return It(p)||(a=!0),o++,e.consume(p),p===92?f:c}function f(p){return p===91||p===92||p===93?(e.consume(p),o++,c):c(p)}}function pEe(e,t,n){let i=this,r=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,a=0,s;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(b)}function f(b){if(a>999||b===93&&!s||b===null||b===91||It(b))return n(b);if(b===93){e.exit("chunkString");let k=e.exit("gfmFootnoteDefinitionLabelString");return o=Br(i.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return It(b)||(s=!0),a++,e.consume(b),b===92?p:f}function p(b){return b===91||b===92||b===93?(e.consume(b),a++,f):f(b)}function h(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),r.includes(o)||r.push(o),Ve(e,v,"gfmFootnoteDefinitionWhitespace")):n(b)}function v(b){return t(b)}}function mEe(e,t,n){return e.check(Ba,t,e.attempt(lEe,t,n))}function hEe(e){e.exit("gfmFootnoteDefinition")}function gEe(e,t,n){let i=this;return Ve(e,r,"gfmFootnoteDefinitionIndent",5);function r(o){let a=i.events[i.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):n(o)}}function n4(e){let n=(e||{}).singleTilde,i={name:"strikethrough",tokenize:o,resolveAll:r};return n==null&&(n=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function r(a,s){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let f={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},p={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},h=[["enter",f,s],["enter",a[c][1],s],["exit",a[c][1],s],["enter",p,s]],v=s.parser.constructs.insideSpan.null;v&&Yn(h,h.length,0,el(v,a.slice(c+1,l),s)),Yn(h,h.length,0,[["exit",p,s],["enter",a[l][1],s],["exit",a[l][1],s],["exit",f,s]]),Yn(a,c-1,l-c+3,h),l=c+h.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function o(a,s,l){let c=this.previous,f=this.events,p=0;return h;function h(b){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(b):(a.enter("strikethroughSequenceTemporary"),v(b))}function v(b){let k=Ps(c);if(b===126)return p>1?l(b):(a.consume(b),p++,v);if(p<2&&!n)return l(b);let $=a.exit("strikethroughSequenceTemporary"),x=Ps(b);return $._open=!x||x===2&&!!k,$._close=!k||k===2&&!!x,s(b)}}}var k_=class{constructor(){this.map=[]}add(t,n,i){vEe(this,t,n,i)}consume(t){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let n=this.map.length,i=[];for(;n>0;)n-=1,i.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];i.push(t.slice()),t.length=0;let r=i.pop();for(;r;){for(let o of r)t.push(o);r=i.pop()}this.map.length=0}};function vEe(e,t,n,i){let r=0;if(!(n===0&&i.length===0)){for(;r<e.map.length;){if(e.map[r][0]===t){e.map[r][1]+=n,e.map[r][2].push(...i);return}r+=1}e.map.push([t,n,i])}}function qH(e,t){let n=!1,i=[];for(;t<e.length;){let r=e[t];if(n){if(r[0]==="enter")r[1].type==="tableContent"&&i.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let o=i.length-1;i[o]=i[o]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return i}function r4(){return{flow:{null:{name:"table",tokenize:yEe,resolveAll:bEe}}}}function yEe(e,t,n){let i=this,r=0,o=0,a;return s;function s(F){let De=i.events.length-1;for(;De>-1;){let ye=i.events[De][1].type;if(ye==="lineEnding"||ye==="linePrefix")De--;else break}let Ee=De>-1?i.events[De][1].type:null,ve=Ee==="tableHead"||Ee==="tableRow"?A:l;return ve===A&&i.parser.lazy[i.now().line]?n(F):ve(F)}function l(F){return e.enter("tableHead"),e.enter("tableRow"),c(F)}function c(F){return F===124||(a=!0,o+=1),f(F)}function f(F){return F===null?n(F):Ne(F)?o>1?(o=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),v):n(F):Ge(F)?Ve(e,f,"whitespace")(F):(o+=1,a&&(a=!1,r+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),p(F)))}function p(F){return F===null||F===124||It(F)?(e.exit("data"),f(F)):(e.consume(F),F===92?h:p)}function h(F){return F===92||F===124?(e.consume(F),p):p(F)}function v(F){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(F):(e.enter("tableDelimiterRow"),a=!1,Ge(F)?Ve(e,b,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):b(F))}function b(F){return F===45||F===58?$(F):F===124?(a=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),k):M(F)}function k(F){return Ge(F)?Ve(e,$,"whitespace")(F):$(F)}function $(F){return F===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),x):F===45?(o+=1,x(F)):F===null||Ne(F)?T(F):M(F)}function x(F){return F===45?(e.enter("tableDelimiterFiller"),E(F)):M(F)}function E(F){return F===45?(e.consume(F),E):F===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(F))}function w(F){return Ge(F)?Ve(e,T,"whitespace")(F):T(F)}function T(F){return F===124?b(F):F===null||Ne(F)?!a||r!==o?M(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):M(F)}function M(F){return n(F)}function A(F){return e.enter("tableRow"),j(F)}function j(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),j):F===null||Ne(F)?(e.exit("tableRow"),t(F)):Ge(F)?Ve(e,j,"whitespace")(F):(e.enter("data"),X(F))}function X(F){return F===null||F===124||It(F)?(e.exit("data"),j(F)):(e.consume(F),F===92?se:X)}function se(F){return F===92||F===124?(e.consume(F),X):X(F)}}function bEe(e,t){let n=-1,i=!0,r=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,f,p,h=new k_;for(;++n<e.length;){let v=e[n],b=v[1];v[0]==="enter"?b.type==="tableHead"?(s=!1,l!==0&&(JH(h,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},h.add(n,0,[["enter",c,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(i=!0,p=void 0,o=[0,0,0,0],a=[0,n+1,0,0],s&&(s=!1,f={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},h.add(n,0,[["enter",f,t]])),r=b.type==="tableDelimiterRow"?2:f?3:1):r&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(i=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],p=w_(h,t,o,r,void 0,p),o=[0,0,0,0]),a[2]=n)):b.type==="tableCellDivider"&&(i?i=!1:(o[1]!==0&&(a[0]=a[1],p=w_(h,t,o,r,void 0,p)),o=a,a=[o[1],n,0,0])):b.type==="tableHead"?(s=!0,l=n):b.type==="tableRow"||b.type==="tableDelimiterRow"?(l=n,o[1]!==0?(a[0]=a[1],p=w_(h,t,o,r,n,p)):a[1]!==0&&(p=w_(h,t,a,r,n,p)),r=0):r&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&JH(h,t,l,c,f),h.consume(t.events),n=-1;++n<t.events.length;){let v=t.events[n];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=qH(t.events,n))}return e}function w_(e,t,n,i,r,o){let a=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(o.end=Object.assign({},Sf(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let l=Sf(t.events,n[1]);if(o={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){let c=Sf(t.events,n[2]),f=Sf(t.events,n[3]),p={type:s,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",p,t]]),i!==2){let h=t.events[n[2]],v=t.events[n[3]];if(h[1].end=Object.assign({},v[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){let b=n[2]+1,k=n[3]-n[2]-1;e.add(b,k,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return r!==void 0&&(o.end=Object.assign({},Sf(t.events,r)),e.add(r,0,[["exit",o,t]]),o=void 0),o}function JH(e,t,n,i,r){let o=[],a=Sf(t.events,n);r&&(r.end=Object.assign({},a),o.push(["exit",r,t])),i.end=Object.assign({},a),o.push(["exit",i,t]),e.add(n+1,0,o)}function Sf(e,t){let n=e[t],i=n[0]==="enter"?"start":"end";return n[1][i]}var _Ee={name:"tasklistCheck",tokenize:xEe};function i4(){return{text:{91:_Ee}}}function xEe(e,t,n){let i=this;return r;function r(l){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),o)}function o(l){return It(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Ne(l)?t(l):Ge(l)?e.check({tokenize:kEe},t,n)(l):n(l)}}function kEe(e,t,n){return Ve(e,i,"whitespace");function i(r){return r===null?n(r):t(r)}}function YH(e){return Ib([QS(),t4(),n4(e),r4(),i4()])}var wEe={};function E_(e){let t=this,n=e||wEe,i=t.data(),r=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),a=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);r.push(YH(n)),o.push(YS()),a.push(KS(n))}var KH=Y(Fe(),1),XH=Y(He(),1);var EEe=(0,XH.forwardRef)((e,t)=>{let{InternalImage:n}=gr();return(0,KH.jsx)(it,{ref:t,...e,as:n})});var D_=Y(He(),1),eW=Y(QH(),1),sl=e=>{if(!e)return;let t=[];return D_.default.Children.forEach(e,n=>{if(typeof n=="string")t.push((0,eW.default)(n,{lower:!0,strict:!0}));else if(D_.default.isValidElement(n)){let i=n;if(i.props.children){let r=sl(i.props.children);r&&t.push(r)}}}),t.join("-")},If=(e,t)=>{let n=e.replace(/<!-- toc start -->.*?<!-- toc end -->/s,"").replace(/##.*content.*?\n*<!-- toc -->(.|[\r\n])*<!-- tocstop -->\n*/,"");return t&&(n=n.replace(t?/^#\s.+$/m:"","")),n.trim()};var BW=Y(Fe(),1);var f4={};Ia(f4,{exclude:()=>NEe,extract:()=>c4,parse:()=>d4,parseUrl:()=>cW,pick:()=>fW,stringify:()=>lW,stringifyUrl:()=>dW});var rW="%[a-f0-9]{2}",tW=new RegExp("("+rW+")|([^%]+?)","gi"),nW=new RegExp("("+rW+")+","gi");function s4(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;let n=e.slice(0,t),i=e.slice(t);return Array.prototype.concat.call([],s4(n),s4(i))}function DEe(e){try{return decodeURIComponent(e)}catch{let t=e.match(tW)||[];for(let n=1;n<t.length;n++)e=s4(t,n).join(""),t=e.match(tW)||[];return e}}function $Ee(e){let t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},n=nW.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{let r=DEe(n[0]);r!==n[0]&&(t[n[0]]=r)}n=nW.exec(e)}t["%C2"]="\uFFFD";let i=Object.keys(t);for(let r of i)e=e.replace(new RegExp(r,"g"),t[r]);return e}function u4(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return $Ee(e)}}function $_(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];let n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}function iW(e,t){let n={};if(Array.isArray(t))for(let i of t){let r=Object.getOwnPropertyDescriptor(e,i);r?.enumerable&&Object.defineProperty(n,i,r)}else for(let i of Reflect.ownKeys(e)){let r=Object.getOwnPropertyDescriptor(e,i);if(r.enumerable){let o=e[i];t(i,o,e)&&Object.defineProperty(n,i,r)}}return n}var SEe=e=>e==null,IEe=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),l4=Symbol("encodeFragmentIdentifier");function TEe(e){switch(e.arrayFormat){case"index":return t=>(n,i)=>{let r=n.length;return i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,[tr(t,e),"[",r,"]"].join("")]:[...n,[tr(t,e),"[",tr(r,e),"]=",tr(i,e)].join("")]};case"bracket":return t=>(n,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,[tr(t,e),"[]"].join("")]:[...n,[tr(t,e),"[]=",tr(i,e)].join("")];case"colon-list-separator":return t=>(n,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,[tr(t,e),":list="].join("")]:[...n,[tr(t,e),":list=",tr(i,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(i,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?i:(r=r===null?"":r,i.length===0?[[tr(n,e),t,tr(r,e)].join("")]:[[i,tr(r,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,tr(t,e)]:[...n,[tr(t,e),"=",tr(i,e)].join("")]}}function CEe(e){let t;switch(e.arrayFormat){case"index":return(n,i,r)=>{if(t=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!t){r[n]=i;return}r[n]===void 0&&(r[n]={}),r[n][t[1]]=i};case"bracket":return(n,i,r)=>{if(t=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!t){r[n]=i;return}if(r[n]===void 0){r[n]=[i];return}r[n]=[...r[n],i]};case"colon-list-separator":return(n,i,r)=>{if(t=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!t){r[n]=i;return}if(r[n]===void 0){r[n]=[i];return}r[n]=[...r[n],i]};case"comma":case"separator":return(n,i,r)=>{let o=typeof i=="string"&&i.includes(e.arrayFormatSeparator),a=typeof i=="string"&&!o&&Ls(i,e).includes(e.arrayFormatSeparator);i=a?Ls(i,e):i;let s=o||a?i.split(e.arrayFormatSeparator).map(l=>Ls(l,e)):i===null?i:Ls(i,e);r[n]=s};case"bracket-separator":return(n,i,r)=>{let o=/(\[])$/.test(n);if(n=n.replace(/\[]$/,""),!o){r[n]=i&&Ls(i,e);return}let a=i===null?[]:i.split(e.arrayFormatSeparator).map(s=>Ls(s,e));if(r[n]===void 0){r[n]=a;return}r[n]=[...r[n],...a]};default:return(n,i,r)=>{if(r[n]===void 0){r[n]=i;return}r[n]=[...[r[n]].flat(),i]}}}function aW(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function tr(e,t){return t.encode?t.strict?IEe(e):encodeURIComponent(e):e}function Ls(e,t){return t.decode?u4(e):e}function sW(e){return Array.isArray(e)?e.sort():typeof e=="object"?sW(Object.keys(e)).sort((t,n)=>Number(t)-Number(n)).map(t=>e[t]):e}function uW(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function AEe(e){let t="",n=e.indexOf("#");return n!==-1&&(t=e.slice(n)),t}function oW(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function c4(e){e=uW(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function d4(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},aW(t.arrayFormatSeparator);let n=CEe(t),i=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return i;for(let r of e.split("&")){if(r==="")continue;let o=t.decode?r.replace(/\+/g," "):r,[a,s]=$_(o,"=");a===void 0&&(a=o),s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Ls(s,t),n(Ls(a,t),s,i)}for(let[r,o]of Object.entries(i))if(typeof o=="object"&&o!==null)for(let[a,s]of Object.entries(o))o[a]=oW(s,t);else i[r]=oW(o,t);return t.sort===!1?i:(t.sort===!0?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((r,o)=>{let a=i[o];return r[o]=a&&typeof a=="object"&&!Array.isArray(a)?sW(a):a,r},Object.create(null))}function lW(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},aW(t.arrayFormatSeparator);let n=a=>t.skipNull&&SEe(e[a])||t.skipEmptyString&&e[a]==="",i=TEe(t),r={};for(let[a,s]of Object.entries(e))n(a)||(r[a]=s);let o=Object.keys(r);return t.sort!==!1&&o.sort(t.sort),o.map(a=>{let s=e[a];return s===void 0?"":s===null?tr(a,t):Array.isArray(s)?s.length===0&&t.arrayFormat==="bracket-separator"?tr(a,t)+"[]":s.reduce(i(a),[]).join("&"):tr(a,t)+"="+tr(s,t)}).filter(a=>a.length>0).join("&")}function cW(e,t){t={decode:!0,...t};let[n,i]=$_(e,"#");return n===void 0&&(n=e),{url:n?.split("?")?.[0]??"",query:d4(c4(e),t),...t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:Ls(i,t)}:{}}}function dW(e,t){t={encode:!0,strict:!0,[l4]:!0,...t};let n=uW(e.url).split("?")[0]||"",i=c4(e.url),r={...d4(i,{sort:!1}),...e.query},o=lW(r,t);o&&(o=`?${o}`);let a=AEe(e.url);if(e.fragmentIdentifier){let s=new URL(n);s.hash=e.fragmentIdentifier,a=t[l4]?s.hash:`#${e.fragmentIdentifier}`}return`${n}${o}${a}`}function fW(e,t,n){n={parseFragmentIdentifier:!0,[l4]:!1,...n};let{url:i,query:r,fragmentIdentifier:o}=cW(e,n);return dW({url:i,query:iW(r,t),fragmentIdentifier:o},n)}function NEe(e,t,n){let i=Array.isArray(t)?r=>!t.includes(r):(r,o)=>!t(r,o);return fW(e,i,n)}var pW=f4;var Tf=Y(He(),1);function Cc(e=1e3){let t=(0,Tf.useRef)(null),[n,i]=(0,Tf.useState)(!1);async function r(o){await navigator.clipboard.writeText(o),i(!0),t.current&&clearTimeout(t.current),t.current=setTimeout(()=>{i(!1),t.current=null},e)}return(0,Tf.useEffect)(()=>()=>{t.current&&clearTimeout(t.current)},[]),{copyToClipboard:r,isCopied:n}}var nr=Y(Fe(),1);var Nc=Y(He(),1);var mW=J.div`${({radius:e,rotation:t=0,blurSize:n=40,translateX:i=0,translateY:r=0})=>`
989
+ `))}function l(v,b,k,$){let x=k.enter("tableCell"),E=k.enter("phrasing"),w=k.containerPhrasing(v,{...$,before:o,after:o});return E(),x(),w}function c(v,b){return hH(v,{align:b,alignDelimiters:i,padding:n,stringLength:r})}function f(v,b,k){let $=v.children,x=-1,E=[],w=b.enter("table");for(;++x<$.length;)E[x]=p($[x],b,k);return w(),E}function p(v,b,k){let $=v.children,x=-1,E=[],w=b.enter("tableRow");for(;++x<$.length;)E[x]=l($[x],v,b,k);return w(),E}function h(v,b,k){let $=Bh.inlineCode(v,b,k);return k.stack.includes("tableCell")&&($=$.replace(/\|/g,"\\$&")),$}}function qS(){return{exit:{taskListCheckValueChecked:MH,taskListCheckValueUnchecked:MH,paragraph:K2e}}}function JS(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:X2e}}}function MH(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function K2e(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let i=n.children[0];if(i&&i.type==="text"){let r=t.children,o=-1,a;for(;++o<r.length;){let s=r[o];if(s.type==="paragraph"){a=s;break}}a===n&&(i.value=i.value.slice(1),i.value.length===0?n.children.shift():n.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,n.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function X2e(e,t,n,i){let r=e.children[0],o=typeof e.checked=="boolean"&&r&&r.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(i);o&&s.move(a);let l=Bh.listItem(e,t,n,{...i,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+a}}function YS(){return[IS(),CS(),NS(),VS(),qS()]}function KS(e){return{extensions:[TS(),AS(e),OS(),GS(e),JS()]}}var Q2e={tokenize:iEe,partial:!0},UH={tokenize:oEe,partial:!0},jH={tokenize:aEe,partial:!0},BH={tokenize:sEe,partial:!0},eEe={tokenize:uEe,partial:!0},ZH={name:"wwwAutolink",tokenize:nEe,previous:WH},HH={name:"protocolAutolink",tokenize:rEe,previous:VH},Rs={name:"emailAutolink",tokenize:tEe,previous:GH},Ga={};function QS(){return{text:Ga}}var Tc=48;for(;Tc<123;)Ga[Tc]=Rs,Tc++,Tc===58?Tc=65:Tc===91&&(Tc=97);Ga[43]=Rs;Ga[45]=Rs;Ga[46]=Rs;Ga[95]=Rs;Ga[72]=[Rs,HH];Ga[104]=[Rs,HH];Ga[87]=[Rs,ZH];Ga[119]=[Rs,ZH];function tEe(e,t,n){let i=this,r,o;return a;function a(p){return!XS(p)||!GH.call(i,i.previous)||eI(i.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(p))}function s(p){return XS(p)?(e.consume(p),s):p===64?(e.consume(p),l):n(p)}function l(p){return p===46?e.check(eEe,f,c)(p):p===45||p===95||Zn(p)?(o=!0,e.consume(p),l):f(p)}function c(p){return e.consume(p),r=!0,l}function f(p){return o&&r&&cr(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function nEe(e,t,n){let i=this;return r;function r(a){return a!==87&&a!==119||!WH.call(i,i.previous)||eI(i.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Q2e,e.attempt(UH,e.attempt(jH,o),n),n)(a))}function o(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function rEe(e,t,n){let i=this,r="",o=!1;return a;function a(p){return(p===72||p===104)&&VH.call(i,i.previous)&&!eI(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),r+=String.fromCodePoint(p),e.consume(p),s):n(p)}function s(p){if(cr(p)&&r.length<5)return r+=String.fromCodePoint(p),e.consume(p),s;if(p===58){let h=r.toLowerCase();if(h==="http"||h==="https")return e.consume(p),l}return n(p)}function l(p){return p===47?(e.consume(p),o?c:(o=!0,l)):n(p)}function c(p){return p===null||_c(p)||It(p)||ja(p)||xc(p)?n(p):e.attempt(UH,e.attempt(jH,f),n)(p)}function f(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function iEe(e,t,n){let i=0;return r;function r(a){return(a===87||a===119)&&i<3?(i++,e.consume(a),r):a===46&&i===3?(e.consume(a),o):n(a)}function o(a){return a===null?n(a):t(a)}}function oEe(e,t,n){let i,r,o;return a;function a(c){return c===46||c===95?e.check(BH,l,s)(c):c===null||It(c)||ja(c)||c!==45&&xc(c)?l(c):(o=!0,e.consume(c),a)}function s(c){return c===95?i=!0:(r=i,i=void 0),e.consume(c),a}function l(c){return r||i||!o?n(c):t(c)}}function aEe(e,t){let n=0,i=0;return r;function r(a){return a===40?(n++,e.consume(a),r):a===41&&i<n?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(BH,t,o)(a):a===null||It(a)||ja(a)?t(a):(e.consume(a),r)}function o(a){return a===41&&i++,e.consume(a),r}}function sEe(e,t,n){return i;function i(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),i):s===38?(e.consume(s),o):s===93?(e.consume(s),r):s===60||s===null||It(s)||ja(s)?t(s):n(s)}function r(s){return s===null||s===40||s===91||It(s)||ja(s)?t(s):i(s)}function o(s){return cr(s)?a(s):n(s)}function a(s){return s===59?(e.consume(s),i):cr(s)?(e.consume(s),a):n(s)}}function uEe(e,t,n){return i;function i(o){return e.consume(o),r}function r(o){return Zn(o)?n(o):t(o)}}function WH(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||It(e)}function VH(e){return!cr(e)}function GH(e){return!(e===47||XS(e))}function XS(e){return e===43||e===45||e===46||e===95||Zn(e)}function eI(e){let t=e.length,n=!1;for(;t--;){let i=e[t][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){n=!0;break}if(i._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var lEe={tokenize:gEe,partial:!0};function tI(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:pEe,continuation:{tokenize:mEe},exit:hEe}},text:{91:{name:"gfmFootnoteCall",tokenize:fEe},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:cEe,resolveTo:dEe}}}}function cEe(e,t,n){let i=this,r=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),a;for(;r--;){let l=i.events[r][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!a||!a._balanced)return n(l);let c=Br(i.sliceSerialize({start:a.end,end:i.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function dEe(e,t){let n=e.length,i;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){i=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function fEe(e,t,n){let i=this,r=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0,a;return s;function s(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),l}function l(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(p){if(o>999||p===93&&!a||p===null||p===91||It(p))return n(p);if(p===93){e.exit("chunkString");let h=e.exit("gfmFootnoteCallString");return r.includes(Br(i.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return It(p)||(a=!0),o++,e.consume(p),p===92?f:c}function f(p){return p===91||p===92||p===93?(e.consume(p),o++,c):c(p)}}function pEe(e,t,n){let i=this,r=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o,a=0,s;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(b)}function f(b){if(a>999||b===93&&!s||b===null||b===91||It(b))return n(b);if(b===93){e.exit("chunkString");let k=e.exit("gfmFootnoteDefinitionLabelString");return o=Br(i.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return It(b)||(s=!0),a++,e.consume(b),b===92?p:f}function p(b){return b===91||b===92||b===93?(e.consume(b),a++,f):f(b)}function h(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),r.includes(o)||r.push(o),Ve(e,v,"gfmFootnoteDefinitionWhitespace")):n(b)}function v(b){return t(b)}}function mEe(e,t,n){return e.check(Ba,t,e.attempt(lEe,t,n))}function hEe(e){e.exit("gfmFootnoteDefinition")}function gEe(e,t,n){let i=this;return Ve(e,r,"gfmFootnoteDefinitionIndent",5);function r(o){let a=i.events[i.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(o):n(o)}}function nI(e){let n=(e||{}).singleTilde,i={name:"strikethrough",tokenize:o,resolveAll:r};return n==null&&(n=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function r(a,s){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let f={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},p={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},h=[["enter",f,s],["enter",a[c][1],s],["exit",a[c][1],s],["enter",p,s]],v=s.parser.constructs.insideSpan.null;v&&Yn(h,h.length,0,el(v,a.slice(c+1,l),s)),Yn(h,h.length,0,[["exit",p,s],["enter",a[l][1],s],["exit",a[l][1],s],["exit",f,s]]),Yn(a,c-1,l-c+3,h),l=c+h.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function o(a,s,l){let c=this.previous,f=this.events,p=0;return h;function h(b){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(b):(a.enter("strikethroughSequenceTemporary"),v(b))}function v(b){let k=Ps(c);if(b===126)return p>1?l(b):(a.consume(b),p++,v);if(p<2&&!n)return l(b);let $=a.exit("strikethroughSequenceTemporary"),x=Ps(b);return $._open=!x||x===2&&!!k,$._close=!k||k===2&&!!x,s(b)}}}var k_=class{constructor(){this.map=[]}add(t,n,i){vEe(this,t,n,i)}consume(t){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let n=this.map.length,i=[];for(;n>0;)n-=1,i.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];i.push(t.slice()),t.length=0;let r=i.pop();for(;r;){for(let o of r)t.push(o);r=i.pop()}this.map.length=0}};function vEe(e,t,n,i){let r=0;if(!(n===0&&i.length===0)){for(;r<e.map.length;){if(e.map[r][0]===t){e.map[r][1]+=n,e.map[r][2].push(...i);return}r+=1}e.map.push([t,n,i])}}function qH(e,t){let n=!1,i=[];for(;t<e.length;){let r=e[t];if(n){if(r[0]==="enter")r[1].type==="tableContent"&&i.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let o=i.length-1;i[o]=i[o]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return i}function rI(){return{flow:{null:{name:"table",tokenize:yEe,resolveAll:bEe}}}}function yEe(e,t,n){let i=this,r=0,o=0,a;return s;function s(F){let De=i.events.length-1;for(;De>-1;){let ye=i.events[De][1].type;if(ye==="lineEnding"||ye==="linePrefix")De--;else break}let Ee=De>-1?i.events[De][1].type:null,ve=Ee==="tableHead"||Ee==="tableRow"?A:l;return ve===A&&i.parser.lazy[i.now().line]?n(F):ve(F)}function l(F){return e.enter("tableHead"),e.enter("tableRow"),c(F)}function c(F){return F===124||(a=!0,o+=1),f(F)}function f(F){return F===null?n(F):Ne(F)?o>1?(o=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),v):n(F):Ge(F)?Ve(e,f,"whitespace")(F):(o+=1,a&&(a=!1,r+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),p(F)))}function p(F){return F===null||F===124||It(F)?(e.exit("data"),f(F)):(e.consume(F),F===92?h:p)}function h(F){return F===92||F===124?(e.consume(F),p):p(F)}function v(F){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(F):(e.enter("tableDelimiterRow"),a=!1,Ge(F)?Ve(e,b,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):b(F))}function b(F){return F===45||F===58?$(F):F===124?(a=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),k):M(F)}function k(F){return Ge(F)?Ve(e,$,"whitespace")(F):$(F)}function $(F){return F===58?(o+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),x):F===45?(o+=1,x(F)):F===null||Ne(F)?T(F):M(F)}function x(F){return F===45?(e.enter("tableDelimiterFiller"),E(F)):M(F)}function E(F){return F===45?(e.consume(F),E):F===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(F))}function w(F){return Ge(F)?Ve(e,T,"whitespace")(F):T(F)}function T(F){return F===124?b(F):F===null||Ne(F)?!a||r!==o?M(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):M(F)}function M(F){return n(F)}function A(F){return e.enter("tableRow"),j(F)}function j(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),j):F===null||Ne(F)?(e.exit("tableRow"),t(F)):Ge(F)?Ve(e,j,"whitespace")(F):(e.enter("data"),X(F))}function X(F){return F===null||F===124||It(F)?(e.exit("data"),j(F)):(e.consume(F),F===92?se:X)}function se(F){return F===92||F===124?(e.consume(F),X):X(F)}}function bEe(e,t){let n=-1,i=!0,r=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,f,p,h=new k_;for(;++n<e.length;){let v=e[n],b=v[1];v[0]==="enter"?b.type==="tableHead"?(s=!1,l!==0&&(JH(h,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},h.add(n,0,[["enter",c,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(i=!0,p=void 0,o=[0,0,0,0],a=[0,n+1,0,0],s&&(s=!1,f={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},h.add(n,0,[["enter",f,t]])),r=b.type==="tableDelimiterRow"?2:f?3:1):r&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(i=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],p=w_(h,t,o,r,void 0,p),o=[0,0,0,0]),a[2]=n)):b.type==="tableCellDivider"&&(i?i=!1:(o[1]!==0&&(a[0]=a[1],p=w_(h,t,o,r,void 0,p)),o=a,a=[o[1],n,0,0])):b.type==="tableHead"?(s=!0,l=n):b.type==="tableRow"||b.type==="tableDelimiterRow"?(l=n,o[1]!==0?(a[0]=a[1],p=w_(h,t,o,r,n,p)):a[1]!==0&&(p=w_(h,t,a,r,n,p)),r=0):r&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&JH(h,t,l,c,f),h.consume(t.events),n=-1;++n<t.events.length;){let v=t.events[n];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=qH(t.events,n))}return e}function w_(e,t,n,i,r,o){let a=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(o.end=Object.assign({},Sf(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let l=Sf(t.events,n[1]);if(o={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){let c=Sf(t.events,n[2]),f=Sf(t.events,n[3]),p={type:s,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",p,t]]),i!==2){let h=t.events[n[2]],v=t.events[n[3]];if(h[1].end=Object.assign({},v[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){let b=n[2]+1,k=n[3]-n[2]-1;e.add(b,k,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return r!==void 0&&(o.end=Object.assign({},Sf(t.events,r)),e.add(r,0,[["exit",o,t]]),o=void 0),o}function JH(e,t,n,i,r){let o=[],a=Sf(t.events,n);r&&(r.end=Object.assign({},a),o.push(["exit",r,t])),i.end=Object.assign({},a),o.push(["exit",i,t]),e.add(n+1,0,o)}function Sf(e,t){let n=e[t],i=n[0]==="enter"?"start":"end";return n[1][i]}var _Ee={name:"tasklistCheck",tokenize:xEe};function iI(){return{text:{91:_Ee}}}function xEe(e,t,n){let i=this;return r;function r(l){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),o)}function o(l){return It(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Ne(l)?t(l):Ge(l)?e.check({tokenize:kEe},t,n)(l):n(l)}}function kEe(e,t,n){return Ve(e,i,"whitespace");function i(r){return r===null?n(r):t(r)}}function YH(e){return Ib([QS(),tI(),nI(e),rI(),iI()])}var wEe={};function E_(e){let t=this,n=e||wEe,i=t.data(),r=i.micromarkExtensions||(i.micromarkExtensions=[]),o=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),a=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);r.push(YH(n)),o.push(YS()),a.push(KS(n))}var KH=Y(Fe(),1),XH=Y(He(),1);var EEe=(0,XH.forwardRef)((e,t)=>{let{InternalImage:n}=gr();return(0,KH.jsx)(it,{ref:t,...e,as:n})});var D_=Y(He(),1),eW=Y(QH(),1),sl=e=>{if(!e)return;let t=[];return D_.default.Children.forEach(e,n=>{if(typeof n=="string")t.push((0,eW.default)(n,{lower:!0,strict:!0}));else if(D_.default.isValidElement(n)){let i=n;if(i.props.children){let r=sl(i.props.children);r&&t.push(r)}}}),t.join("-")},If=(e,t)=>{let n=e.replace(/<!-- toc start -->.*?<!-- toc end -->/s,"").replace(/##.*content.*?\n*<!-- toc -->(.|[\r\n])*<!-- tocstop -->\n*/,"");return t&&(n=n.replace(t?/^#\s.+$/m:"","")),n.trim()};var BW=Y(Fe(),1);var fI={};Ia(fI,{exclude:()=>NEe,extract:()=>cI,parse:()=>dI,parseUrl:()=>cW,pick:()=>fW,stringify:()=>lW,stringifyUrl:()=>dW});var rW="%[a-f0-9]{2}",tW=new RegExp("("+rW+")|([^%]+?)","gi"),nW=new RegExp("("+rW+")+","gi");function sI(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;let n=e.slice(0,t),i=e.slice(t);return Array.prototype.concat.call([],sI(n),sI(i))}function DEe(e){try{return decodeURIComponent(e)}catch{let t=e.match(tW)||[];for(let n=1;n<t.length;n++)e=sI(t,n).join(""),t=e.match(tW)||[];return e}}function $Ee(e){let t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},n=nW.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{let r=DEe(n[0]);r!==n[0]&&(t[n[0]]=r)}n=nW.exec(e)}t["%C2"]="\uFFFD";let i=Object.keys(t);for(let r of i)e=e.replace(new RegExp(r,"g"),t[r]);return e}function uI(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return $Ee(e)}}function $_(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];let n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}function iW(e,t){let n={};if(Array.isArray(t))for(let i of t){let r=Object.getOwnPropertyDescriptor(e,i);r?.enumerable&&Object.defineProperty(n,i,r)}else for(let i of Reflect.ownKeys(e)){let r=Object.getOwnPropertyDescriptor(e,i);if(r.enumerable){let o=e[i];t(i,o,e)&&Object.defineProperty(n,i,r)}}return n}var SEe=e=>e==null,IEe=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),lI=Symbol("encodeFragmentIdentifier");function TEe(e){switch(e.arrayFormat){case"index":return t=>(n,i)=>{let r=n.length;return i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,[tr(t,e),"[",r,"]"].join("")]:[...n,[tr(t,e),"[",tr(r,e),"]=",tr(i,e)].join("")]};case"bracket":return t=>(n,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,[tr(t,e),"[]"].join("")]:[...n,[tr(t,e),"[]=",tr(i,e)].join("")];case"colon-list-separator":return t=>(n,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,[tr(t,e),":list="].join("")]:[...n,[tr(t,e),":list=",tr(i,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t=e.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(i,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?i:(r=r===null?"":r,i.length===0?[[tr(n,e),t,tr(r,e)].join("")]:[[i,tr(r,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?n:i===null?[...n,tr(t,e)]:[...n,[tr(t,e),"=",tr(i,e)].join("")]}}function CEe(e){let t;switch(e.arrayFormat){case"index":return(n,i,r)=>{if(t=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!t){r[n]=i;return}r[n]===void 0&&(r[n]={}),r[n][t[1]]=i};case"bracket":return(n,i,r)=>{if(t=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!t){r[n]=i;return}if(r[n]===void 0){r[n]=[i];return}r[n]=[...r[n],i]};case"colon-list-separator":return(n,i,r)=>{if(t=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!t){r[n]=i;return}if(r[n]===void 0){r[n]=[i];return}r[n]=[...r[n],i]};case"comma":case"separator":return(n,i,r)=>{let o=typeof i=="string"&&i.includes(e.arrayFormatSeparator),a=typeof i=="string"&&!o&&Ls(i,e).includes(e.arrayFormatSeparator);i=a?Ls(i,e):i;let s=o||a?i.split(e.arrayFormatSeparator).map(l=>Ls(l,e)):i===null?i:Ls(i,e);r[n]=s};case"bracket-separator":return(n,i,r)=>{let o=/(\[])$/.test(n);if(n=n.replace(/\[]$/,""),!o){r[n]=i&&Ls(i,e);return}let a=i===null?[]:i.split(e.arrayFormatSeparator).map(s=>Ls(s,e));if(r[n]===void 0){r[n]=a;return}r[n]=[...r[n],...a]};default:return(n,i,r)=>{if(r[n]===void 0){r[n]=i;return}r[n]=[...[r[n]].flat(),i]}}}function aW(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function tr(e,t){return t.encode?t.strict?IEe(e):encodeURIComponent(e):e}function Ls(e,t){return t.decode?uI(e):e}function sW(e){return Array.isArray(e)?e.sort():typeof e=="object"?sW(Object.keys(e)).sort((t,n)=>Number(t)-Number(n)).map(t=>e[t]):e}function uW(e){let t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function AEe(e){let t="",n=e.indexOf("#");return n!==-1&&(t=e.slice(n)),t}function oW(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function cI(e){e=uW(e);let t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function dI(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},aW(t.arrayFormatSeparator);let n=CEe(t),i=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return i;for(let r of e.split("&")){if(r==="")continue;let o=t.decode?r.replace(/\+/g," "):r,[a,s]=$_(o,"=");a===void 0&&(a=o),s=s===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:Ls(s,t),n(Ls(a,t),s,i)}for(let[r,o]of Object.entries(i))if(typeof o=="object"&&o!==null)for(let[a,s]of Object.entries(o))o[a]=oW(s,t);else i[r]=oW(o,t);return t.sort===!1?i:(t.sort===!0?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((r,o)=>{let a=i[o];return r[o]=a&&typeof a=="object"&&!Array.isArray(a)?sW(a):a,r},Object.create(null))}function lW(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},aW(t.arrayFormatSeparator);let n=a=>t.skipNull&&SEe(e[a])||t.skipEmptyString&&e[a]==="",i=TEe(t),r={};for(let[a,s]of Object.entries(e))n(a)||(r[a]=s);let o=Object.keys(r);return t.sort!==!1&&o.sort(t.sort),o.map(a=>{let s=e[a];return s===void 0?"":s===null?tr(a,t):Array.isArray(s)?s.length===0&&t.arrayFormat==="bracket-separator"?tr(a,t)+"[]":s.reduce(i(a),[]).join("&"):tr(a,t)+"="+tr(s,t)}).filter(a=>a.length>0).join("&")}function cW(e,t){t={decode:!0,...t};let[n,i]=$_(e,"#");return n===void 0&&(n=e),{url:n?.split("?")?.[0]??"",query:dI(cI(e),t),...t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:Ls(i,t)}:{}}}function dW(e,t){t={encode:!0,strict:!0,[lI]:!0,...t};let n=uW(e.url).split("?")[0]||"",i=cI(e.url),r={...dI(i,{sort:!1}),...e.query},o=lW(r,t);o&&(o=`?${o}`);let a=AEe(e.url);if(e.fragmentIdentifier){let s=new URL(n);s.hash=e.fragmentIdentifier,a=t[lI]?s.hash:`#${e.fragmentIdentifier}`}return`${n}${o}${a}`}function fW(e,t,n){n={parseFragmentIdentifier:!0,[lI]:!1,...n};let{url:i,query:r,fragmentIdentifier:o}=cW(e,n);return dW({url:i,query:iW(r,t),fragmentIdentifier:o},n)}function NEe(e,t,n){let i=Array.isArray(t)?r=>!t.includes(r):(r,o)=>!t(r,o);return fW(e,i,n)}var pW=fI;var Tf=Y(He(),1);function Cc(e=1e3){let t=(0,Tf.useRef)(null),[n,i]=(0,Tf.useState)(!1);async function r(o){await navigator.clipboard.writeText(o),i(!0),t.current&&clearTimeout(t.current),t.current=setTimeout(()=>{i(!1),t.current=null},e)}return(0,Tf.useEffect)(()=>()=>{t.current&&clearTimeout(t.current)},[]),{copyToClipboard:r,isCopied:n}}var nr=Y(Fe(),1);var Nc=Y(He(),1);var mW=J.div`${({radius:e,rotation:t=0,blurSize:n=40,translateX:i=0,translateY:r=0})=>`
990
990
  z-index: 1;
991
991
  position: absolute;
992
992
  width: ${e?`${e}px`:"auto"};
@@ -1050,9 +1050,9 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1050
1050
  background-color: ${g.color.success.action};
1051
1051
  }
1052
1052
  `}
1053
- `,Af=({successStyle:e,children:t,trackingId:n,trackingData:i,onClick:r,...o})=>{let a=typeof t=="string",{trackClick:s}=gr();return(0,Cf.jsx)(OEe,{$successStyle:e,$hasText:a,onClick:c=>{s&&n&&s(n,i),r&&r(c)},...o,children:a?(0,Cf.jsx)(Ot,{weight:"bold",children:t}):t})},S_=({code:e,...t})=>{let{isCopied:n,copyToClipboard:i}=Cc();return(0,Cf.jsx)(Af,{onClick:async()=>i(e),"data-test":"copy_to_clipboard","aria-label":"Copy to clipboard",...t,children:n?(0,Cf.jsx)(Du,{size:"16"}):(0,Cf.jsx)(Ny,{size:"16"})})};var ul=Y(Fe(),1);var y4=Y(Hh(),1);var wW=Y(He(),1),EW=Y(He(),1);var p4=Y(He(),1);var DW=Y(He(),1),zEe=Object.create,T_=Object.defineProperty,PEe=Object.defineProperties,REe=Object.getOwnPropertyDescriptor,LEe=Object.getOwnPropertyDescriptors,bW=Object.getOwnPropertyNames,I_=Object.getOwnPropertySymbols,FEe=Object.getPrototypeOf,m4=Object.prototype.hasOwnProperty,_W=Object.prototype.propertyIsEnumerable,hW=(e,t,n)=>t in e?T_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qa=(e,t)=>{for(var n in t||(t={}))m4.call(t,n)&&hW(e,n,t[n]);if(I_)for(var n of I_(t))_W.call(t,n)&&hW(e,n,t[n]);return e},C_=(e,t)=>PEe(e,LEe(t)),xW=(e,t)=>{var n={};for(var i in e)m4.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&I_)for(var i of I_(e))t.indexOf(i)<0&&_W.call(e,i)&&(n[i]=e[i]);return n},MEe=(e,t)=>function(){return t||(0,e[bW(e)[0]])((t={exports:{}}).exports,t),t.exports},UEe=(e,t)=>{for(var n in t)T_(e,n,{get:t[n],enumerable:!0})},jEe=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of bW(t))!m4.call(e,r)&&r!==n&&T_(e,r,{get:()=>t[r],enumerable:!(i=REe(t,r))||i.enumerable});return e},BEe=(e,t,n)=>(n=e!=null?zEe(FEe(e)):{},jEe(t||!e||!e.__esModule?T_(n,"default",{value:e,enumerable:!0}):n,e)),ZEe=MEe({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,o={},a={util:{encode:function b(k){return k instanceof s?new s(k.type,b(k.content),k.alias):Array.isArray(k)?k.map(b):k.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++r}),b.__id},clone:function b(k,$){$=$||{};var x,E;switch(a.util.type(k)){case"Object":if(E=a.util.objId(k),$[E])return $[E];x={},$[E]=x;for(var w in k)k.hasOwnProperty(w)&&(x[w]=b(k[w],$));return x;case"Array":return E=a.util.objId(k),$[E]?$[E]:(x=[],$[E]=x,k.forEach(function(T,M){x[M]=b(T,$)}),x);default:return k}},getLanguage:function(b){for(;b;){var k=i.exec(b.className);if(k)return k[1].toLowerCase();b=b.parentElement}return"none"},setLanguage:function(b,k){b.className=b.className.replace(RegExp(i,"gi"),""),b.classList.add("language-"+k)},isActive:function(b,k,$){for(var x="no-"+k;b;){var E=b.classList;if(E.contains(k))return!0;if(E.contains(x))return!1;b=b.parentElement}return!!$}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(b,k){var $=a.util.clone(a.languages[b]);for(var x in k)$[x]=k[x];return $},insertBefore:function(b,k,$,x){x=x||a.languages;var E=x[b],w={};for(var T in E)if(E.hasOwnProperty(T)){if(T==k)for(var M in $)$.hasOwnProperty(M)&&(w[M]=$[M]);$.hasOwnProperty(T)||(w[T]=E[T])}var A=x[b];return x[b]=w,a.languages.DFS(a.languages,function(j,X){X===A&&j!=b&&(this[j]=w)}),w},DFS:function b(k,$,x,E){E=E||{};var w=a.util.objId;for(var T in k)if(k.hasOwnProperty(T)){$.call(k,T,k[T],x||T);var M=k[T],A=a.util.type(M);A==="Object"&&!E[w(M)]?(E[w(M)]=!0,b(M,$,null,E)):A==="Array"&&!E[w(M)]&&(E[w(M)]=!0,b(M,$,T,E))}}},plugins:{},highlight:function(b,k,$){var x={code:b,grammar:k,language:$};if(a.hooks.run("before-tokenize",x),!x.grammar)throw new Error('The language "'+x.language+'" has no grammar.');return x.tokens=a.tokenize(x.code,x.grammar),a.hooks.run("after-tokenize",x),s.stringify(a.util.encode(x.tokens),x.language)},tokenize:function(b,k){var $=k.rest;if($){for(var x in $)k[x]=$[x];delete k.rest}var E=new f;return p(E,E.head,b),c(b,E,k,E.head,0),v(E)},hooks:{all:{},add:function(b,k){var $=a.hooks.all;$[b]=$[b]||[],$[b].push(k)},run:function(b,k){var $=a.hooks.all[b];if(!(!$||!$.length))for(var x=0,E;E=$[x++];)E(k)}},Token:s};function s(b,k,$,x){this.type=b,this.content=k,this.alias=$,this.length=(x||"").length|0}s.stringify=function b(k,$){if(typeof k=="string")return k;if(Array.isArray(k)){var x="";return k.forEach(function(A){x+=b(A,$)}),x}var E={type:k.type,content:b(k.content,$),tag:"span",classes:["token",k.type],attributes:{},language:$},w=k.alias;w&&(Array.isArray(w)?Array.prototype.push.apply(E.classes,w):E.classes.push(w)),a.hooks.run("wrap",E);var T="";for(var M in E.attributes)T+=" "+M+'="'+(E.attributes[M]||"").replace(/"/g,"&quot;")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+T+">"+E.content+"</"+E.tag+">"};function l(b,k,$,x){b.lastIndex=k;var E=b.exec($);if(E&&x&&E[1]){var w=E[1].length;E.index+=w,E[0]=E[0].slice(w)}return E}function c(b,k,$,x,E,w){for(var T in $)if(!(!$.hasOwnProperty(T)||!$[T])){var M=$[T];M=Array.isArray(M)?M:[M];for(var A=0;A<M.length;++A){if(w&&w.cause==T+","+A)return;var j=M[A],X=j.inside,se=!!j.lookbehind,F=!!j.greedy,De=j.alias;if(F&&!j.pattern.global){var Ee=j.pattern.toString().match(/[imsuy]*$/)[0];j.pattern=RegExp(j.pattern.source,Ee+"g")}for(var ve=j.pattern||j,ye=x.next,$e=E;ye!==k.tail&&!(w&&$e>=w.reach);$e+=ye.value.length,ye=ye.next){var Be=ye.value;if(k.length>b.length)return;if(!(Be instanceof s)){var Oe=1,xe;if(F){if(xe=l(ve,$e,b,se),!xe||xe.index>=b.length)break;var Ct=xe.index,Re=xe.index+xe[0].length,P=$e;for(P+=ye.value.length;Ct>=P;)ye=ye.next,P+=ye.value.length;if(P-=ye.value.length,$e=P,ye.value instanceof s)continue;for(var We=ye;We!==k.tail&&(P<Re||typeof We.value=="string");We=We.next)Oe++,P+=We.value.length;Oe--,Be=b.slice($e,P),xe.index-=$e}else if(xe=l(ve,0,Be,se),!xe)continue;var Ct=xe.index,U=xe[0],Yt=Be.slice(0,Ct),Qr=Be.slice(Ct+U.length),wr=$e+Be.length;w&&wr>w.reach&&(w.reach=wr);var fr=ye.prev;Yt&&(fr=p(k,fr,Yt),$e+=Yt.length),h(k,fr,Oe);var gn=new s(T,X?a.tokenize(U,X):U,De,U);if(ye=p(k,fr,gn),Qr&&p(k,ye,Qr),Oe>1){var Wn={cause:T+","+A,reach:wr};c(b,k,$,ye.prev,$e,Wn),w&&Wn.reach>w.reach&&(w.reach=Wn.reach)}}}}}}function f(){var b={value:null,prev:null,next:null},k={value:null,prev:b,next:null};b.next=k,this.head=b,this.tail=k,this.length=0}function p(b,k,$){var x=k.next,E={value:$,prev:k,next:x};return k.next=E,x.prev=E,b.length++,E}function h(b,k,$){for(var x=k.next,E=0;E<$&&x!==b.tail;E++)x=x.next;k.next=x,x.prev=k,b.length-=E}function v(b){for(var k=[],$=b.head.next;$!==b.tail;)k.push($.value),$=$.next;return k}return a}();t.exports=n,n.default=n}}),ie=BEe(ZEe());ie.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},ie.languages.markup.tag.inside["attr-value"].inside.entity=ie.languages.markup.entity,ie.languages.markup.doctype.inside["internal-subset"].inside=ie.languages.markup,ie.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(ie.languages.markup.tag,"addInlined",{value:function(e,i){var n={},n=(n["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:ie.languages[i]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),i=(n["language-"+i]={pattern:/[\s\S]+/,inside:ie.languages[i]},{});i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},ie.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(ie.languages.markup.tag,"addAttribute",{value:function(e,t){ie.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:ie.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),ie.languages.html=ie.languages.markup,ie.languages.mathml=ie.languages.markup,ie.languages.svg=ie.languages.markup,ie.languages.xml=ie.languages.extend("markup",{}),ie.languages.ssml=ie.languages.xml,ie.languages.atom=ie.languages.xml,ie.languages.rss=ie.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i="(?:[^\\\\-]|"+n.source+")",i=RegExp(i+"-"+i),r={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:i,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":r}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":r}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(ie),ie.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},ie.languages.javascript=ie.languages.extend("clike",{"class-name":[ie.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),ie.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,ie.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:ie.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:ie.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:ie.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:ie.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:ie.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),ie.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:ie.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),ie.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),ie.languages.markup&&(ie.languages.markup.tag.addInlined("script","javascript"),ie.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),ie.languages.js=ie.languages.javascript,ie.languages.actionscript=ie.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),ie.languages.actionscript["class-name"].alias="function",delete ie.languages.actionscript.parameter,delete ie.languages.actionscript["literal-property"],ie.languages.markup&&ie.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:ie.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(ie),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(n,i){(n=typeof n=="string"?[n]:n).forEach(function(r){var o=function(p){p.inside||(p.inside={}),p.inside.rest=i},a="doc-comment";if(s=e.languages[r]){var s,l=s[a];if((l=l||(s=e.languages.insertBefore(r,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(l=s[a]={pattern:l}),Array.isArray(l))for(var c=0,f=l.length;c<f;c++)l[c]instanceof RegExp&&(l[c]={pattern:l[c]}),o(l[c]);else o(l)}})}}),t.addSupport(["java","javascript","php"],t)}(ie),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup);t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(ie),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(ie),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(s,l){l=(l||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return s});return RegExp(c,l)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+r+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(ie),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(c){return c=c.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+c+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+o+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+o+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(c){["url","bold","italic","strike","code-snippet"].forEach(function(f){c!==f&&(e.languages.markdown[c].inside.content.inside[f]=e.languages.markdown[f])})}),e.hooks.add("after-tokenize",function(c){c.language!=="markdown"&&c.language!=="md"||function f(p){if(p&&typeof p!="string")for(var h=0,v=p.length;h<v;h++){var b,k=p[h];k.type!=="code"?f(k.content):(b=k.content[1],k=k.content[3],b&&k&&b.type==="code-language"&&k.type==="code-block"&&typeof b.content=="string"&&(b=b.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),b="language-"+(b=(/[a-z][\w-]*/i.exec(b)||[""])[0].toLowerCase()),k.alias?typeof k.alias=="string"?k.alias=[k.alias,b]:k.alias.push(b):k.alias=[b]))}}(c.tokens)}),e.hooks.add("wrap",function(c){if(c.type==="code-block"){for(var f="",p=0,h=c.classes.length;p<h;p++){var v=c.classes[p],v=/language-(.+)/.exec(v);if(v){f=v[1];break}}var b,k=e.languages[f];k?c.content=e.highlight(function($){return $=$.replace(a,""),$=$.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(x,E){var w;return(E=E.toLowerCase())[0]==="#"?(w=E[1]==="x"?parseInt(E.slice(2),16):Number(E.slice(1)),l(w)):s[E]||x})}(c.content),k,f):f&&f!=="none"&&e.plugins.autoloader&&(b="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),c.attributes.id=b,e.plugins.autoloader.loadLanguages(f,function(){var $=document.getElementById(b);$&&($.innerHTML=e.highlight($.textContent,e.languages[f],f))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(ie),ie.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:ie.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},ie.hooks.add("after-tokenize",function(e){if(e.language==="graphql")for(var t=e.tokens.filter(function(b){return typeof b!="string"&&b.type!=="comment"&&b.type!=="scalar"}),n=0;n<t.length;){var i=t[n++];if(i.type==="keyword"&&i.content==="mutation"){var r=[];if(p(["definition-mutation","punctuation"])&&f(1).content==="("){n+=2;var o=h(/^\($/,/^\)$/);if(o===-1)continue;for(;n<o;n++){var a=f(0);a.type==="variable"&&(v(a,"variable-input"),r.push(a.content))}n=o+1}if(p(["punctuation","property-query"])&&f(0).content==="{"&&(n++,v(f(0),"property-mutation"),0<r.length)){var s=h(/^\{$/,/^\}$/);if(s!==-1)for(var l=n;l<s;l++){var c=t[l];c.type==="variable"&&0<=r.indexOf(c.content)&&v(c,"variable-input")}}}}function f(b){return t[n+b]}function p(b,k){k=k||0;for(var $=0;$<b.length;$++){var x=f($+k);if(!x||x.type!==b[$])return}return 1}function h(b,k){for(var $=1,x=n;x<t.length;x++){var E=t[x],w=E.content;if(E.type==="punctuation"&&typeof w=="string"){if(b.test(w))$++;else if(k.test(w)&&--$===0)return x}}return-1}function v(b,k){var $=b.alias;$?Array.isArray($)||(b.alias=$=[$]):b.alias=$=[],$.push(k)}}),ie.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,i=t.inside.interpolation,r=i.inside["interpolation-punctuation"],o=i.pattern.source;function a(p,h){if(e.languages[p])return{pattern:RegExp("((?:"+h+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:p}}}}function s(p,h,v){return p={code:p,grammar:h,language:v},e.hooks.run("before-tokenize",p),p.tokens=e.tokenize(p.code,p.grammar),e.hooks.run("after-tokenize",p),p.tokens}function l(p,h,v){var $=e.tokenize(p,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),b=0,k={},$=s($.map(function(E){if(typeof E=="string")return E;for(var w,T,E=E.content;p.indexOf((T=b++,w="___"+v.toUpperCase()+"_"+T+"___"))!==-1;);return k[w]=E,w}).join(""),h,v),x=Object.keys(k);return b=0,function E(w){for(var T=0;T<w.length;T++){if(b>=x.length)return;var M,A,j,X,se,F,De,Ee=w[T];typeof Ee=="string"||typeof Ee.content=="string"?(M=x[b],(De=(F=typeof Ee=="string"?Ee:Ee.content).indexOf(M))!==-1&&(++b,A=F.substring(0,De),se=k[M],j=void 0,(X={})["interpolation-punctuation"]=r,(X=e.tokenize(se,X)).length===3&&((j=[1,1]).push.apply(j,s(X[1],e.languages.javascript,"javascript")),X.splice.apply(X,j)),j=new e.Token("interpolation",X,i.alias,se),X=F.substring(De+M.length),se=[],A&&se.push(A),se.push(j),X&&(E(F=[X]),se.push.apply(se,F)),typeof Ee=="string"?(w.splice.apply(w,[T,1].concat(se)),T+=se.length-1):Ee.content=se)):(De=Ee.content,Array.isArray(De)?E(De):E([De]))}}($),new e.Token(v,$,"language-"+v,p)}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(p){return typeof p=="string"?p:Array.isArray(p)?p.map(f).join(""):f(p.content)}e.hooks.add("after-tokenize",function(p){p.language in c&&function h(v){for(var b=0,k=v.length;b<k;b++){var $,x,E,w=v[b];typeof w!="string"&&($=w.content,Array.isArray($)?w.type==="template-string"?(w=$[1],$.length===3&&typeof w!="string"&&w.type==="embedded-code"&&(x=f(w),w=w.alias,w=Array.isArray(w)?w[0]:w,E=e.languages[w])&&($[1]=l(x,E,w))):h($):typeof $!="string"&&h([$]))}}(p.tokens)})}(ie),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(ie),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,i="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(ie),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(ie),ie.languages.n4js=ie.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),ie.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),ie.languages.n4jsd=ie.languages.n4js,function(e){function t(a,s){return RegExp(a.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),s)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],i=0;i<n.length;i++){var o=n[i],r=e.languages.javascript[o],o=(r=e.util.type(r)==="RegExp"?e.languages.javascript[o]={pattern:r}:r).inside||{};(r.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(ie),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(l,c){return l=l.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return i}).replace(/<SPREAD>/g,function(){return r}),RegExp(l,c)}r=o(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);function a(l){for(var c=[],f=0;f<l.length;f++){var p=l[f],h=!1;typeof p!="string"&&(p.type==="tag"&&p.content[0]&&p.content[0].type==="tag"?p.content[0].content[0].content==="</"?0<c.length&&c[c.length-1].tagName===s(p.content[0].content[1])&&c.pop():p.content[p.content.length-1].content!=="/>"&&c.push({tagName:s(p.content[0].content[1]),openedBraces:0}):0<c.length&&p.type==="punctuation"&&p.content==="{"?c[c.length-1].openedBraces++:0<c.length&&0<c[c.length-1].openedBraces&&p.type==="punctuation"&&p.content==="}"?c[c.length-1].openedBraces--:h=!0),(h||typeof p=="string")&&0<c.length&&c[c.length-1].openedBraces===0&&(h=s(p),f<l.length-1&&(typeof l[f+1]=="string"||l[f+1].type==="plain-text")&&(h+=s(l[f+1]),l.splice(f+1,1)),0<f&&(typeof l[f-1]=="string"||l[f-1].type==="plain-text")&&(h=s(l[f-1])+h,l.splice(f-1,1),f--),l[f]=new e.Token("plain-text",h,null,h)),p.content&&typeof p.content!="string"&&a(p.content)}}var s=function(l){return l?typeof l=="string"?l:typeof l.content=="string"?l.content:l.content.map(s).join(""):""};e.hooks.add("after-tokenize",function(l){l.language!=="jsx"&&l.language!=="tsx"||a(l.tokens)})}(ie),function(e){var t=e.util.clone(e.languages.typescript),t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag);t.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(ie),ie.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},ie.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=ie.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(ie),ie.languages.c=ie.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),ie.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),ie.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},ie.languages.c.string],char:ie.languages.c.char,comment:ie.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:ie.languages.c}}}}),ie.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete ie.languages.c.boolean,ie.languages.objectivec=ie.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete ie.languages.objectivec["class-name"],ie.languages.objc=ie.languages.objectivec,ie.languages.reason=ie.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),ie.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete ie.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(ie),ie.languages.go=ie.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),ie.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete ie.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(ie),ie.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},ie.languages.python["string-interpolation"].inside.interpolation.inside.rest=ie.languages.python,ie.languages.py=ie.languages.python,ie.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},ie.languages.webmanifest=ie.languages.json;var h4={};UEe(h4,{dracula:()=>WEe,duotoneDark:()=>GEe,duotoneLight:()=>JEe,github:()=>KEe,gruvboxMaterialDark:()=>$De,gruvboxMaterialLight:()=>IDe,jettwaveDark:()=>yDe,jettwaveLight:()=>_De,nightOwl:()=>QEe,nightOwlLight:()=>tDe,oceanicNext:()=>rDe,okaidia:()=>oDe,oneDark:()=>kDe,oneLight:()=>EDe,palenight:()=>sDe,shadesOfPurple:()=>lDe,synthwave84:()=>dDe,ultramin:()=>pDe,vsDark:()=>kW,vsLight:()=>gDe});var HEe={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},WEe=HEe,VEe={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},GEe=VEe,qEe={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},JEe=qEe,YEe={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},KEe=YEe,XEe={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},QEe=XEe,eDe={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},tDe=eDe,Qi={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},nDe={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Qi.keyword}},{types:["attr-value"],style:{color:Qi.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:Qi.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:Qi.primitive}},{types:["boolean"],style:{color:Qi.boolean}},{types:["tag"],style:{color:Qi.tag}},{types:["string"],style:{color:Qi.string}},{types:["punctuation"],style:{color:Qi.string}},{types:["selector","char","builtin","inserted"],style:{color:Qi.char}},{types:["function"],style:{color:Qi.function}},{types:["operator","entity","url","variable"],style:{color:Qi.variable}},{types:["keyword"],style:{color:Qi.keyword}},{types:["atrule","class-name"],style:{color:Qi.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},rDe=nDe,iDe={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},oDe=iDe,aDe={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},sDe=aDe,uDe={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},lDe=uDe,cDe={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},dDe=cDe,fDe={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},pDe=fDe,mDe={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},kW=mDe,hDe={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},gDe=hDe,vDe={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},yDe=vDe,bDe={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},_De=bDe,xDe={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},kDe=xDe,wDe={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},EDe=wDe,DDe={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},$De=DDe,SDe={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},IDe=SDe,TDe=e=>(0,EW.useCallback)(t=>{var n=t,{className:i,style:r,line:o}=n,a=xW(n,["className","style","line"]);let s=C_(qa({},a),{className:tn("token-line",i)});return typeof e=="object"&&"plain"in e&&(s.style=e.plain),typeof r=="object"&&(s.style=qa(qa({},s.style||{}),r)),s},[e]),CDe=e=>{let t=(0,p4.useCallback)(({types:n,empty:i})=>{if(e!=null){{if(n.length===1&&n[0]==="plain")return i!=null?{display:"inline-block"}:void 0;if(n.length===1&&i!=null)return e[n[0]]}return Object.assign(i!=null?{display:"inline-block"}:{},...n.map(r=>e[r]))}},[e]);return(0,p4.useCallback)(n=>{var i=n,{token:r,className:o,style:a}=i,s=xW(i,["token","className","style"]);let l=C_(qa({},s),{className:tn("token",...r.types,o),children:r.content,style:t(r)});return a!=null&&(l.style=qa(qa({},l.style||{}),a)),l},[t])},ADe=/\r\n|\r|\n/,gW=e=>{e.length===0?e.push({types:["plain"],content:`
1053
+ `,Af=({successStyle:e,children:t,trackingId:n,trackingData:i,onClick:r,...o})=>{let a=typeof t=="string",{trackClick:s}=gr();return(0,Cf.jsx)(OEe,{$successStyle:e,$hasText:a,onClick:c=>{s&&n&&s(n,i),r&&r(c)},...o,children:a?(0,Cf.jsx)(Ot,{weight:"bold",children:t}):t})},S_=({code:e,...t})=>{let{isCopied:n,copyToClipboard:i}=Cc();return(0,Cf.jsx)(Af,{onClick:async()=>i(e),"data-test":"copy_to_clipboard","aria-label":"Copy to clipboard",...t,children:n?(0,Cf.jsx)(Du,{size:"16"}):(0,Cf.jsx)(Ny,{size:"16"})})};var ul=Y(Fe(),1);var yI=Y(Hh(),1);var wW=Y(He(),1),EW=Y(He(),1);var pI=Y(He(),1);var DW=Y(He(),1),zEe=Object.create,T_=Object.defineProperty,PEe=Object.defineProperties,REe=Object.getOwnPropertyDescriptor,LEe=Object.getOwnPropertyDescriptors,bW=Object.getOwnPropertyNames,I_=Object.getOwnPropertySymbols,FEe=Object.getPrototypeOf,mI=Object.prototype.hasOwnProperty,_W=Object.prototype.propertyIsEnumerable,hW=(e,t,n)=>t in e?T_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qa=(e,t)=>{for(var n in t||(t={}))mI.call(t,n)&&hW(e,n,t[n]);if(I_)for(var n of I_(t))_W.call(t,n)&&hW(e,n,t[n]);return e},C_=(e,t)=>PEe(e,LEe(t)),xW=(e,t)=>{var n={};for(var i in e)mI.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&I_)for(var i of I_(e))t.indexOf(i)<0&&_W.call(e,i)&&(n[i]=e[i]);return n},MEe=(e,t)=>function(){return t||(0,e[bW(e)[0]])((t={exports:{}}).exports,t),t.exports},UEe=(e,t)=>{for(var n in t)T_(e,n,{get:t[n],enumerable:!0})},jEe=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of bW(t))!mI.call(e,r)&&r!==n&&T_(e,r,{get:()=>t[r],enumerable:!(i=REe(t,r))||i.enumerable});return e},BEe=(e,t,n)=>(n=e!=null?zEe(FEe(e)):{},jEe(t||!e||!e.__esModule?T_(n,"default",{value:e,enumerable:!0}):n,e)),ZEe=MEe({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,o={},a={util:{encode:function b(k){return k instanceof s?new s(k.type,b(k.content),k.alias):Array.isArray(k)?k.map(b):k.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(b){return Object.prototype.toString.call(b).slice(8,-1)},objId:function(b){return b.__id||Object.defineProperty(b,"__id",{value:++r}),b.__id},clone:function b(k,$){$=$||{};var x,E;switch(a.util.type(k)){case"Object":if(E=a.util.objId(k),$[E])return $[E];x={},$[E]=x;for(var w in k)k.hasOwnProperty(w)&&(x[w]=b(k[w],$));return x;case"Array":return E=a.util.objId(k),$[E]?$[E]:(x=[],$[E]=x,k.forEach(function(T,M){x[M]=b(T,$)}),x);default:return k}},getLanguage:function(b){for(;b;){var k=i.exec(b.className);if(k)return k[1].toLowerCase();b=b.parentElement}return"none"},setLanguage:function(b,k){b.className=b.className.replace(RegExp(i,"gi"),""),b.classList.add("language-"+k)},isActive:function(b,k,$){for(var x="no-"+k;b;){var E=b.classList;if(E.contains(k))return!0;if(E.contains(x))return!1;b=b.parentElement}return!!$}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(b,k){var $=a.util.clone(a.languages[b]);for(var x in k)$[x]=k[x];return $},insertBefore:function(b,k,$,x){x=x||a.languages;var E=x[b],w={};for(var T in E)if(E.hasOwnProperty(T)){if(T==k)for(var M in $)$.hasOwnProperty(M)&&(w[M]=$[M]);$.hasOwnProperty(T)||(w[T]=E[T])}var A=x[b];return x[b]=w,a.languages.DFS(a.languages,function(j,X){X===A&&j!=b&&(this[j]=w)}),w},DFS:function b(k,$,x,E){E=E||{};var w=a.util.objId;for(var T in k)if(k.hasOwnProperty(T)){$.call(k,T,k[T],x||T);var M=k[T],A=a.util.type(M);A==="Object"&&!E[w(M)]?(E[w(M)]=!0,b(M,$,null,E)):A==="Array"&&!E[w(M)]&&(E[w(M)]=!0,b(M,$,T,E))}}},plugins:{},highlight:function(b,k,$){var x={code:b,grammar:k,language:$};if(a.hooks.run("before-tokenize",x),!x.grammar)throw new Error('The language "'+x.language+'" has no grammar.');return x.tokens=a.tokenize(x.code,x.grammar),a.hooks.run("after-tokenize",x),s.stringify(a.util.encode(x.tokens),x.language)},tokenize:function(b,k){var $=k.rest;if($){for(var x in $)k[x]=$[x];delete k.rest}var E=new f;return p(E,E.head,b),c(b,E,k,E.head,0),v(E)},hooks:{all:{},add:function(b,k){var $=a.hooks.all;$[b]=$[b]||[],$[b].push(k)},run:function(b,k){var $=a.hooks.all[b];if(!(!$||!$.length))for(var x=0,E;E=$[x++];)E(k)}},Token:s};function s(b,k,$,x){this.type=b,this.content=k,this.alias=$,this.length=(x||"").length|0}s.stringify=function b(k,$){if(typeof k=="string")return k;if(Array.isArray(k)){var x="";return k.forEach(function(A){x+=b(A,$)}),x}var E={type:k.type,content:b(k.content,$),tag:"span",classes:["token",k.type],attributes:{},language:$},w=k.alias;w&&(Array.isArray(w)?Array.prototype.push.apply(E.classes,w):E.classes.push(w)),a.hooks.run("wrap",E);var T="";for(var M in E.attributes)T+=" "+M+'="'+(E.attributes[M]||"").replace(/"/g,"&quot;")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+T+">"+E.content+"</"+E.tag+">"};function l(b,k,$,x){b.lastIndex=k;var E=b.exec($);if(E&&x&&E[1]){var w=E[1].length;E.index+=w,E[0]=E[0].slice(w)}return E}function c(b,k,$,x,E,w){for(var T in $)if(!(!$.hasOwnProperty(T)||!$[T])){var M=$[T];M=Array.isArray(M)?M:[M];for(var A=0;A<M.length;++A){if(w&&w.cause==T+","+A)return;var j=M[A],X=j.inside,se=!!j.lookbehind,F=!!j.greedy,De=j.alias;if(F&&!j.pattern.global){var Ee=j.pattern.toString().match(/[imsuy]*$/)[0];j.pattern=RegExp(j.pattern.source,Ee+"g")}for(var ve=j.pattern||j,ye=x.next,$e=E;ye!==k.tail&&!(w&&$e>=w.reach);$e+=ye.value.length,ye=ye.next){var Be=ye.value;if(k.length>b.length)return;if(!(Be instanceof s)){var Oe=1,xe;if(F){if(xe=l(ve,$e,b,se),!xe||xe.index>=b.length)break;var Ct=xe.index,Re=xe.index+xe[0].length,P=$e;for(P+=ye.value.length;Ct>=P;)ye=ye.next,P+=ye.value.length;if(P-=ye.value.length,$e=P,ye.value instanceof s)continue;for(var We=ye;We!==k.tail&&(P<Re||typeof We.value=="string");We=We.next)Oe++,P+=We.value.length;Oe--,Be=b.slice($e,P),xe.index-=$e}else if(xe=l(ve,0,Be,se),!xe)continue;var Ct=xe.index,U=xe[0],Yt=Be.slice(0,Ct),Qr=Be.slice(Ct+U.length),wr=$e+Be.length;w&&wr>w.reach&&(w.reach=wr);var fr=ye.prev;Yt&&(fr=p(k,fr,Yt),$e+=Yt.length),h(k,fr,Oe);var gn=new s(T,X?a.tokenize(U,X):U,De,U);if(ye=p(k,fr,gn),Qr&&p(k,ye,Qr),Oe>1){var Wn={cause:T+","+A,reach:wr};c(b,k,$,ye.prev,$e,Wn),w&&Wn.reach>w.reach&&(w.reach=Wn.reach)}}}}}}function f(){var b={value:null,prev:null,next:null},k={value:null,prev:b,next:null};b.next=k,this.head=b,this.tail=k,this.length=0}function p(b,k,$){var x=k.next,E={value:$,prev:k,next:x};return k.next=E,x.prev=E,b.length++,E}function h(b,k,$){for(var x=k.next,E=0;E<$&&x!==b.tail;E++)x=x.next;k.next=x,x.prev=k,b.length-=E}function v(b){for(var k=[],$=b.head.next;$!==b.tail;)k.push($.value),$=$.next;return k}return a}();t.exports=n,n.default=n}}),ie=BEe(ZEe());ie.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},ie.languages.markup.tag.inside["attr-value"].inside.entity=ie.languages.markup.entity,ie.languages.markup.doctype.inside["internal-subset"].inside=ie.languages.markup,ie.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(ie.languages.markup.tag,"addInlined",{value:function(e,i){var n={},n=(n["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:ie.languages[i]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),i=(n["language-"+i]={pattern:/[\s\S]+/,inside:ie.languages[i]},{});i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},ie.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(ie.languages.markup.tag,"addAttribute",{value:function(e,t){ie.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:ie.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),ie.languages.html=ie.languages.markup,ie.languages.mathml=ie.languages.markup,ie.languages.svg=ie.languages.markup,ie.languages.xml=ie.languages.extend("markup",{}),ie.languages.ssml=ie.languages.xml,ie.languages.atom=ie.languages.xml,ie.languages.rss=ie.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i="(?:[^\\\\-]|"+n.source+")",i=RegExp(i+"-"+i),r={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:i,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":r}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":r}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(ie),ie.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},ie.languages.javascript=ie.languages.extend("clike",{"class-name":[ie.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),ie.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,ie.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:ie.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:ie.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:ie.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:ie.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:ie.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),ie.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:ie.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),ie.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),ie.languages.markup&&(ie.languages.markup.tag.addInlined("script","javascript"),ie.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),ie.languages.js=ie.languages.javascript,ie.languages.actionscript=ie.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),ie.languages.actionscript["class-name"].alias="function",delete ie.languages.actionscript.parameter,delete ie.languages.actionscript["literal-property"],ie.languages.markup&&ie.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:ie.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(ie),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(n,i){(n=typeof n=="string"?[n]:n).forEach(function(r){var o=function(p){p.inside||(p.inside={}),p.inside.rest=i},a="doc-comment";if(s=e.languages[r]){var s,l=s[a];if((l=l||(s=e.languages.insertBefore(r,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(l=s[a]={pattern:l}),Array.isArray(l))for(var c=0,f=l.length;c<f;c++)l[c]instanceof RegExp&&(l[c]={pattern:l[c]}),o(l[c]);else o(l)}})}}),t.addSupport(["java","javascript","php"],t)}(ie),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup);t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(ie),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(ie),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(s,l){l=(l||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return s});return RegExp(c,l)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+r+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(ie),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(c){return c=c.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+c+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+o+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+o+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(c){["url","bold","italic","strike","code-snippet"].forEach(function(f){c!==f&&(e.languages.markdown[c].inside.content.inside[f]=e.languages.markdown[f])})}),e.hooks.add("after-tokenize",function(c){c.language!=="markdown"&&c.language!=="md"||function f(p){if(p&&typeof p!="string")for(var h=0,v=p.length;h<v;h++){var b,k=p[h];k.type!=="code"?f(k.content):(b=k.content[1],k=k.content[3],b&&k&&b.type==="code-language"&&k.type==="code-block"&&typeof b.content=="string"&&(b=b.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),b="language-"+(b=(/[a-z][\w-]*/i.exec(b)||[""])[0].toLowerCase()),k.alias?typeof k.alias=="string"?k.alias=[k.alias,b]:k.alias.push(b):k.alias=[b]))}}(c.tokens)}),e.hooks.add("wrap",function(c){if(c.type==="code-block"){for(var f="",p=0,h=c.classes.length;p<h;p++){var v=c.classes[p],v=/language-(.+)/.exec(v);if(v){f=v[1];break}}var b,k=e.languages[f];k?c.content=e.highlight(function($){return $=$.replace(a,""),$=$.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(x,E){var w;return(E=E.toLowerCase())[0]==="#"?(w=E[1]==="x"?parseInt(E.slice(2),16):Number(E.slice(1)),l(w)):s[E]||x})}(c.content),k,f):f&&f!=="none"&&e.plugins.autoloader&&(b="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),c.attributes.id=b,e.plugins.autoloader.loadLanguages(f,function(){var $=document.getElementById(b);$&&($.innerHTML=e.highlight($.textContent,e.languages[f],f))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(ie),ie.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:ie.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},ie.hooks.add("after-tokenize",function(e){if(e.language==="graphql")for(var t=e.tokens.filter(function(b){return typeof b!="string"&&b.type!=="comment"&&b.type!=="scalar"}),n=0;n<t.length;){var i=t[n++];if(i.type==="keyword"&&i.content==="mutation"){var r=[];if(p(["definition-mutation","punctuation"])&&f(1).content==="("){n+=2;var o=h(/^\($/,/^\)$/);if(o===-1)continue;for(;n<o;n++){var a=f(0);a.type==="variable"&&(v(a,"variable-input"),r.push(a.content))}n=o+1}if(p(["punctuation","property-query"])&&f(0).content==="{"&&(n++,v(f(0),"property-mutation"),0<r.length)){var s=h(/^\{$/,/^\}$/);if(s!==-1)for(var l=n;l<s;l++){var c=t[l];c.type==="variable"&&0<=r.indexOf(c.content)&&v(c,"variable-input")}}}}function f(b){return t[n+b]}function p(b,k){k=k||0;for(var $=0;$<b.length;$++){var x=f($+k);if(!x||x.type!==b[$])return}return 1}function h(b,k){for(var $=1,x=n;x<t.length;x++){var E=t[x],w=E.content;if(E.type==="punctuation"&&typeof w=="string"){if(b.test(w))$++;else if(k.test(w)&&--$===0)return x}}return-1}function v(b,k){var $=b.alias;$?Array.isArray($)||(b.alias=$=[$]):b.alias=$=[],$.push(k)}}),ie.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,i=t.inside.interpolation,r=i.inside["interpolation-punctuation"],o=i.pattern.source;function a(p,h){if(e.languages[p])return{pattern:RegExp("((?:"+h+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:p}}}}function s(p,h,v){return p={code:p,grammar:h,language:v},e.hooks.run("before-tokenize",p),p.tokens=e.tokenize(p.code,p.grammar),e.hooks.run("after-tokenize",p),p.tokens}function l(p,h,v){var $=e.tokenize(p,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),b=0,k={},$=s($.map(function(E){if(typeof E=="string")return E;for(var w,T,E=E.content;p.indexOf((T=b++,w="___"+v.toUpperCase()+"_"+T+"___"))!==-1;);return k[w]=E,w}).join(""),h,v),x=Object.keys(k);return b=0,function E(w){for(var T=0;T<w.length;T++){if(b>=x.length)return;var M,A,j,X,se,F,De,Ee=w[T];typeof Ee=="string"||typeof Ee.content=="string"?(M=x[b],(De=(F=typeof Ee=="string"?Ee:Ee.content).indexOf(M))!==-1&&(++b,A=F.substring(0,De),se=k[M],j=void 0,(X={})["interpolation-punctuation"]=r,(X=e.tokenize(se,X)).length===3&&((j=[1,1]).push.apply(j,s(X[1],e.languages.javascript,"javascript")),X.splice.apply(X,j)),j=new e.Token("interpolation",X,i.alias,se),X=F.substring(De+M.length),se=[],A&&se.push(A),se.push(j),X&&(E(F=[X]),se.push.apply(se,F)),typeof Ee=="string"?(w.splice.apply(w,[T,1].concat(se)),T+=se.length-1):Ee.content=se)):(De=Ee.content,Array.isArray(De)?E(De):E([De]))}}($),new e.Token(v,$,"language-"+v,p)}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(p){return typeof p=="string"?p:Array.isArray(p)?p.map(f).join(""):f(p.content)}e.hooks.add("after-tokenize",function(p){p.language in c&&function h(v){for(var b=0,k=v.length;b<k;b++){var $,x,E,w=v[b];typeof w!="string"&&($=w.content,Array.isArray($)?w.type==="template-string"?(w=$[1],$.length===3&&typeof w!="string"&&w.type==="embedded-code"&&(x=f(w),w=w.alias,w=Array.isArray(w)?w[0]:w,E=e.languages[w])&&($[1]=l(x,E,w))):h($):typeof $!="string"&&h([$]))}}(p.tokens)})}(ie),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(ie),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,i="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(ie),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(ie),ie.languages.n4js=ie.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),ie.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),ie.languages.n4jsd=ie.languages.n4js,function(e){function t(a,s){return RegExp(a.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),s)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],i=0;i<n.length;i++){var o=n[i],r=e.languages.javascript[o],o=(r=e.util.type(r)==="RegExp"?e.languages.javascript[o]={pattern:r}:r).inside||{};(r.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(ie),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(l,c){return l=l.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return i}).replace(/<SPREAD>/g,function(){return r}),RegExp(l,c)}r=o(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);function a(l){for(var c=[],f=0;f<l.length;f++){var p=l[f],h=!1;typeof p!="string"&&(p.type==="tag"&&p.content[0]&&p.content[0].type==="tag"?p.content[0].content[0].content==="</"?0<c.length&&c[c.length-1].tagName===s(p.content[0].content[1])&&c.pop():p.content[p.content.length-1].content!=="/>"&&c.push({tagName:s(p.content[0].content[1]),openedBraces:0}):0<c.length&&p.type==="punctuation"&&p.content==="{"?c[c.length-1].openedBraces++:0<c.length&&0<c[c.length-1].openedBraces&&p.type==="punctuation"&&p.content==="}"?c[c.length-1].openedBraces--:h=!0),(h||typeof p=="string")&&0<c.length&&c[c.length-1].openedBraces===0&&(h=s(p),f<l.length-1&&(typeof l[f+1]=="string"||l[f+1].type==="plain-text")&&(h+=s(l[f+1]),l.splice(f+1,1)),0<f&&(typeof l[f-1]=="string"||l[f-1].type==="plain-text")&&(h=s(l[f-1])+h,l.splice(f-1,1),f--),l[f]=new e.Token("plain-text",h,null,h)),p.content&&typeof p.content!="string"&&a(p.content)}}var s=function(l){return l?typeof l=="string"?l:typeof l.content=="string"?l.content:l.content.map(s).join(""):""};e.hooks.add("after-tokenize",function(l){l.language!=="jsx"&&l.language!=="tsx"||a(l.tokens)})}(ie),function(e){var t=e.util.clone(e.languages.typescript),t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag);t.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(ie),ie.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},ie.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=ie.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(ie),ie.languages.c=ie.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),ie.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),ie.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},ie.languages.c.string],char:ie.languages.c.char,comment:ie.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:ie.languages.c}}}}),ie.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete ie.languages.c.boolean,ie.languages.objectivec=ie.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete ie.languages.objectivec["class-name"],ie.languages.objc=ie.languages.objectivec,ie.languages.reason=ie.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),ie.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete ie.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(ie),ie.languages.go=ie.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),ie.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete ie.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(ie),ie.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},ie.languages.python["string-interpolation"].inside.interpolation.inside.rest=ie.languages.python,ie.languages.py=ie.languages.python,ie.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},ie.languages.webmanifest=ie.languages.json;var hI={};UEe(hI,{dracula:()=>WEe,duotoneDark:()=>GEe,duotoneLight:()=>JEe,github:()=>KEe,gruvboxMaterialDark:()=>$De,gruvboxMaterialLight:()=>IDe,jettwaveDark:()=>yDe,jettwaveLight:()=>_De,nightOwl:()=>QEe,nightOwlLight:()=>tDe,oceanicNext:()=>rDe,okaidia:()=>oDe,oneDark:()=>kDe,oneLight:()=>EDe,palenight:()=>sDe,shadesOfPurple:()=>lDe,synthwave84:()=>dDe,ultramin:()=>pDe,vsDark:()=>kW,vsLight:()=>gDe});var HEe={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},WEe=HEe,VEe={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},GEe=VEe,qEe={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},JEe=qEe,YEe={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},KEe=YEe,XEe={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},QEe=XEe,eDe={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},tDe=eDe,Qi={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},nDe={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Qi.keyword}},{types:["attr-value"],style:{color:Qi.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:Qi.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:Qi.primitive}},{types:["boolean"],style:{color:Qi.boolean}},{types:["tag"],style:{color:Qi.tag}},{types:["string"],style:{color:Qi.string}},{types:["punctuation"],style:{color:Qi.string}},{types:["selector","char","builtin","inserted"],style:{color:Qi.char}},{types:["function"],style:{color:Qi.function}},{types:["operator","entity","url","variable"],style:{color:Qi.variable}},{types:["keyword"],style:{color:Qi.keyword}},{types:["atrule","class-name"],style:{color:Qi.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},rDe=nDe,iDe={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},oDe=iDe,aDe={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},sDe=aDe,uDe={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},lDe=uDe,cDe={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},dDe=cDe,fDe={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},pDe=fDe,mDe={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},kW=mDe,hDe={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},gDe=hDe,vDe={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},yDe=vDe,bDe={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},_De=bDe,xDe={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},kDe=xDe,wDe={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},EDe=wDe,DDe={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},$De=DDe,SDe={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},IDe=SDe,TDe=e=>(0,EW.useCallback)(t=>{var n=t,{className:i,style:r,line:o}=n,a=xW(n,["className","style","line"]);let s=C_(qa({},a),{className:tn("token-line",i)});return typeof e=="object"&&"plain"in e&&(s.style=e.plain),typeof r=="object"&&(s.style=qa(qa({},s.style||{}),r)),s},[e]),CDe=e=>{let t=(0,pI.useCallback)(({types:n,empty:i})=>{if(e!=null){{if(n.length===1&&n[0]==="plain")return i!=null?{display:"inline-block"}:void 0;if(n.length===1&&i!=null)return e[n[0]]}return Object.assign(i!=null?{display:"inline-block"}:{},...n.map(r=>e[r]))}},[e]);return(0,pI.useCallback)(n=>{var i=n,{token:r,className:o,style:a}=i,s=xW(i,["token","className","style"]);let l=C_(qa({},s),{className:tn("token",...r.types,o),children:r.content,style:t(r)});return a!=null&&(l.style=qa(qa({},l.style||{}),a)),l},[t])},ADe=/\r\n|\r|\n/,gW=e=>{e.length===0?e.push({types:["plain"],content:`
1054
1054
  `,empty:!0}):e.length===1&&e[0].content===""&&(e[0].content=`
1055
- `,e[0].empty=!0)},vW=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},NDe=e=>{let t=[[]],n=[e],i=[0],r=[e.length],o=0,a=0,s=[],l=[s];for(;a>-1;){for(;(o=i[a]++)<r[a];){let c,f=t[a],h=n[a][o];if(typeof h=="string"?(f=a>0?f:["plain"],c=h):(f=vW(f,h.type),h.alias&&(f=vW(f,h.alias)),c=h.content),typeof c!="string"){a++,t.push(f),n.push(c),i.push(0),r.push(c.length);continue}let v=c.split(ADe),b=v.length;s.push({types:f,content:v[0]});for(let k=1;k<b;k++)gW(s),l.push(s=[]),s.push({types:f,content:v[k]})}a--,t.pop(),n.pop(),i.pop(),r.pop()}return gW(s),l},yW=NDe,ODe=({prism:e,code:t,grammar:n,language:i})=>(0,DW.useMemo)(()=>{if(n==null)return yW([t]);let r={code:t,grammar:n,language:i,tokens:[]};return e.hooks.run("before-tokenize",r),r.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",r),yW(r.tokens)},[t,n,i,e]),zDe=(e,t)=>{let{plain:n}=e,i=e.styles.reduce((r,o)=>{let{languages:a,style:s}=o;return a&&!a.includes(t)||o.types.forEach(l=>{let c=qa(qa({},r[l]),s);r[l]=c}),r},{});return i.root=n,i.plain=C_(qa({},n),{backgroundColor:void 0}),i},PDe=zDe,RDe=({children:e,language:t,code:n,theme:i,prism:r})=>{let o=t.toLowerCase(),a=PDe(i,o),s=TDe(a),l=CDe(a),c=r.languages[o],f=ODe({prism:r,language:o,code:n,grammar:c});return e({tokens:f,className:`prism-code language-${o}`,style:a!=null?a.root:{},getLineProps:s,getTokenProps:l})},$W=e=>(0,wW.createElement)(RDe,C_(qa({},e),{prism:e.prism||ie,theme:e.theme||kW,code:e.code,language:e.language}));var Of=Y(He(),1);var SW={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["punctuation"],style:{color:"hsl(230, 6%, 44%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]};(typeof global<"u"?global:window).Prism=ie;var v4="rgba(22, 114, 235, 0.05)",FDe=async()=>{await Promise.all([Promise.resolve().then(()=>Y(g4(),1)),Promise.resolve().then(()=>Y(IW(),1)),Promise.resolve().then(()=>Y(g4(),1)),Promise.resolve().then(()=>Y(TW(),1)),Promise.resolve().then(()=>Y(CW(),1)),Promise.resolve().then(()=>Y(AW(),1)),Promise.resolve().then(()=>Y(NW(),1)),Promise.resolve().then(()=>Y(OW(),1)),Promise.resolve().then(()=>Y(zW(),1)),Promise.resolve().then(()=>Y(PW(),1)),Promise.resolve().then(()=>Y(RW(),1)),Promise.resolve().then(()=>(LW(),LDe))])};FDe();var MDe=(e,t)=>(0,Of.useMemo)(()=>{if(t)return t;let i=[{lang:"rust",keywords:["fn main()","let mut","println!","pub struct","use std::"]},{lang:"http",keywords:["GET /","POST /","HTTP/1.1","Host:","Content-Type:"]},{lang:"bash",keywords:["#!/bin/bash","echo ","cd ","ls"]},{lang:"markup",keywords:["<div","<span","<html","<!DOCTYPE","</"]},{lang:"xml-doc",keywords:["<?xml","<doc","<summary","</doc>"]},{lang:"yaml",keywords:["version:","services:","name:"]},{lang:"docker",keywords:["FROM ","RUN ","CMD ","ENTRYPOINT","EXPOSE"]},{lang:"python",keywords:["def ","import ","print(","self","None"]},{lang:"javascript",keywords:["function","const","let","=>","console.log","var"]},{lang:"typescript",keywords:["interface ","type ",": string",": number","as const"]}].map(o=>{let a=0;for(let s of o.keywords)e.includes(s)&&(a+=1);return{lang:o.lang,score:a}}),r=y4.default.maxBy(i,"score");if(r?.score&&r.score>0)return r.lang},[e,t]),UDe=J.pre`
1055
+ `,e[0].empty=!0)},vW=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},NDe=e=>{let t=[[]],n=[e],i=[0],r=[e.length],o=0,a=0,s=[],l=[s];for(;a>-1;){for(;(o=i[a]++)<r[a];){let c,f=t[a],h=n[a][o];if(typeof h=="string"?(f=a>0?f:["plain"],c=h):(f=vW(f,h.type),h.alias&&(f=vW(f,h.alias)),c=h.content),typeof c!="string"){a++,t.push(f),n.push(c),i.push(0),r.push(c.length);continue}let v=c.split(ADe),b=v.length;s.push({types:f,content:v[0]});for(let k=1;k<b;k++)gW(s),l.push(s=[]),s.push({types:f,content:v[k]})}a--,t.pop(),n.pop(),i.pop(),r.pop()}return gW(s),l},yW=NDe,ODe=({prism:e,code:t,grammar:n,language:i})=>(0,DW.useMemo)(()=>{if(n==null)return yW([t]);let r={code:t,grammar:n,language:i,tokens:[]};return e.hooks.run("before-tokenize",r),r.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",r),yW(r.tokens)},[t,n,i,e]),zDe=(e,t)=>{let{plain:n}=e,i=e.styles.reduce((r,o)=>{let{languages:a,style:s}=o;return a&&!a.includes(t)||o.types.forEach(l=>{let c=qa(qa({},r[l]),s);r[l]=c}),r},{});return i.root=n,i.plain=C_(qa({},n),{backgroundColor:void 0}),i},PDe=zDe,RDe=({children:e,language:t,code:n,theme:i,prism:r})=>{let o=t.toLowerCase(),a=PDe(i,o),s=TDe(a),l=CDe(a),c=r.languages[o],f=ODe({prism:r,language:o,code:n,grammar:c});return e({tokens:f,className:`prism-code language-${o}`,style:a!=null?a.root:{},getLineProps:s,getTokenProps:l})},$W=e=>(0,wW.createElement)(RDe,C_(qa({},e),{prism:e.prism||ie,theme:e.theme||kW,code:e.code,language:e.language}));var Of=Y(He(),1);var SW={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["punctuation"],style:{color:"hsl(230, 6%, 44%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]};(typeof global<"u"?global:window).Prism=ie;var vI="rgba(22, 114, 235, 0.05)",FDe=async()=>{await Promise.all([Promise.resolve().then(()=>Y(gI(),1)),Promise.resolve().then(()=>Y(IW(),1)),Promise.resolve().then(()=>Y(gI(),1)),Promise.resolve().then(()=>Y(TW(),1)),Promise.resolve().then(()=>Y(CW(),1)),Promise.resolve().then(()=>Y(AW(),1)),Promise.resolve().then(()=>Y(NW(),1)),Promise.resolve().then(()=>Y(OW(),1)),Promise.resolve().then(()=>Y(zW(),1)),Promise.resolve().then(()=>Y(PW(),1)),Promise.resolve().then(()=>Y(RW(),1)),Promise.resolve().then(()=>(LW(),LDe))])};FDe();var MDe=(e,t)=>(0,Of.useMemo)(()=>{if(t)return t;let i=[{lang:"rust",keywords:["fn main()","let mut","println!","pub struct","use std::"]},{lang:"http",keywords:["GET /","POST /","HTTP/1.1","Host:","Content-Type:"]},{lang:"bash",keywords:["#!/bin/bash","echo ","cd ","ls"]},{lang:"markup",keywords:["<div","<span","<html","<!DOCTYPE","</"]},{lang:"xml-doc",keywords:["<?xml","<doc","<summary","</doc>"]},{lang:"yaml",keywords:["version:","services:","name:"]},{lang:"docker",keywords:["FROM ","RUN ","CMD ","ENTRYPOINT","EXPOSE"]},{lang:"python",keywords:["def ","import ","print(","self","None"]},{lang:"javascript",keywords:["function","const","let","=>","console.log","var"]},{lang:"typescript",keywords:["interface ","type ",": string",": number","as const"]}].map(o=>{let a=0;for(let s of o.keywords)e.includes(s)&&(a+=1);return{lang:o.lang,score:a}}),r=yI.default.maxBy(i,"score");if(r?.score&&r.score>0)return r.lang},[e,t]),UDe=J.pre`
1056
1056
  width: 100%;
1057
1057
  position: relative;
1058
1058
  z-index: 2;
@@ -1090,14 +1090,14 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1090
1090
  display: block;
1091
1091
 
1092
1092
  &.highlighted {
1093
- background-color: ${v4} !important;
1093
+ background-color: ${vI} !important;
1094
1094
  border-left: 6px solid ${g.color.neutral.border} !important;
1095
1095
  padding-left: ${({$hasLinePrefixes:e})=>e?"0.2":"1"}rem;
1096
1096
  }
1097
1097
 
1098
1098
  ${({$isSingleLine:e})=>!e&&te`
1099
1099
  &:hover {
1100
- background-color: ${v4} !important;
1100
+ background-color: ${vI} !important;
1101
1101
  border-left: 6px solid ${g.color.neutral.border} !important;
1102
1102
  padding-left: ${({$hasLinePrefixes:t})=>t?"0.2":"1"}rem;
1103
1103
  }
@@ -1111,7 +1111,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1111
1111
  padding-right: ${g.space.space16};
1112
1112
 
1113
1113
  &:hover {
1114
- background-color: ${v4} !important;
1114
+ background-color: ${vI} !important;
1115
1115
  border-left: 6px solid ${g.color.neutral.border} !important;
1116
1116
  padding-left: ${({$hasLinePrefixes:t})=>t?"0.2":"1"}rem;
1117
1117
  }
@@ -1128,7 +1128,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1128
1128
  -webkit-user-select: none;
1129
1129
  `,zf=J(A_)`
1130
1130
  min-width: ${({$isOneLine:e})=>e?"unset":g.space.space16} !important;
1131
- `,N_=(0,Of.forwardRef)(({size:e="regular",linePrefixes:t={},highlightLines:n=[],language:i,className:r,isSingleLine:o,...a},s)=>{let{uiTheme:l}=gr(),c=!y4.default.isEmpty(t),f=(0,Of.useRef)(Object.fromEntries(n.map(h=>[h,!0]))),p=MDe(a.code||"",i)??"javascript";return(0,ul.jsx)($W,{theme:l==="DARK"?h4.nightOwl:SW,language:p,...a,children:({className:h,tokens:v,getLineProps:b,getTokenProps:k})=>(0,ul.jsx)(UDe,{tabIndex:0,className:tn(r,h),$hasLinePrefixes:c,$isSingleLine:o,ref:s,children:(0,ul.jsx)(Ot,{size:e,type:"code",as:"code",children:v.map(($,x)=>(0,ul.jsxs)("div",{...b({line:$,className:f.current[x+1]?"highlighted":""}),children:[c&&(t[x+1]||(0,ul.jsx)(A_,{})),$.map((E,w)=>(0,ul.jsx)("span",{...k({token:E})},w))]},x))})})})});var b4=J(it)`
1131
+ `,N_=(0,Of.forwardRef)(({size:e="regular",linePrefixes:t={},highlightLines:n=[],language:i,className:r,isSingleLine:o,...a},s)=>{let{uiTheme:l}=gr(),c=!yI.default.isEmpty(t),f=(0,Of.useRef)(Object.fromEntries(n.map(h=>[h,!0]))),p=MDe(a.code||"",i)??"javascript";return(0,ul.jsx)($W,{theme:l==="DARK"?hI.nightOwl:SW,language:p,...a,children:({className:h,tokens:v,getLineProps:b,getTokenProps:k})=>(0,ul.jsx)(UDe,{tabIndex:0,className:tn(r,h),$hasLinePrefixes:c,$isSingleLine:o,ref:s,children:(0,ul.jsx)(Ot,{size:e,type:"code",as:"code",children:v.map(($,x)=>(0,ul.jsxs)("div",{...b({line:$,className:f.current[x+1]?"highlighted":""}),children:[c&&(t[x+1]||(0,ul.jsx)(A_,{})),$.map((E,w)=>(0,ul.jsx)("span",{...k({token:E})},w))]},x))})})})});var bI=J(it)`
1132
1132
  background-color: ${g.color.neutral.backgroundMuted} !important;
1133
1133
  border: 1px solid ${g.color.neutral.border};
1134
1134
  border-radius: ${g.radius.radius12};
@@ -1140,7 +1140,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1140
1140
 
1141
1141
  background-color: transparent;
1142
1142
  position: relative;
1143
- `,FW=J(b4)`
1143
+ `,FW=J(bI)`
1144
1144
  position: relative;
1145
1145
  display: flex;
1146
1146
  flex-direction: column;
@@ -1283,8 +1283,8 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1283
1283
  }
1284
1284
  `;var Ac=Y(Fe(),1);var O_=(e,t=[],n)=>{let r=e.split(`
1285
1285
  `).map(o=>o.trim()).map((o,a)=>{let s=o.startsWith("#")||!o;return t.length===0?s?(0,Ac.jsx)(zf,{$isOneLine:n}):(0,Ac.jsx)(zf,{$isOneLine:n,color:g.color.lavender.base,children:"$"}):t.includes(a+1)?(0,Ac.jsx)(zf,{$isOneLine:n,color:g.color.lavender.base,children:"$"},`code-highlighter-line-bash-prefix-${a}`):s?(0,Ac.jsx)(zf,{$isOneLine:n},`code-highlighter-line-bash-prefix-${a}`):(0,Ac.jsx)(zf,{$isOneLine:n,color:g.color.lavender.base,children:"<"},`code-highlighter-line-bash-prefix-${a}`)});return Object.fromEntries(r.map((o,a)=>[a+1,o]))},MW=e=>{let t=e.split(`
1286
- `).length,n=Array.from({length:t},(i,r)=>r+1);return Object.fromEntries(n.map(i=>[i,(0,Ac.jsx)(A_,{children:i},`code-highlighter-line-prefix-${i}`)]))};var jDe=["json","jsonp","jsonp","rss","yaml","xml","html","bash","text","dockerfile","http"],BDe=()=>(0,nr.jsxs)("div",{className:"CodeBlock-HederDotsWrapper",children:[(0,nr.jsx)("div",{className:"CodeBlock-HeaderDot"}),(0,nr.jsx)("div",{className:"CodeBlock-HeaderDot"}),(0,nr.jsx)("div",{className:"CodeBlock-HeaderDot"})]}),ZDe=({tabs:e,currentTab:t,showBashHeader:n,onTabChange:i,title:r})=>(0,nr.jsxs)("div",{className:"CodeBlock-Header",children:[n&&(0,nr.jsx)(BDe,{}),r&&(0,nr.jsx)(Ot,{weight:"bold",className:"CodeBlock-HeaderTitle",children:r}),(0,nr.jsx)("div",{className:"CodeBlock-HeaderTabsWrapper",children:e?.map(o=>{let a=o.key===t?.key,s={className:tn("CodeBlock-Tab",{selected:a}),onClick:c=>i(o,c),title:o.label,id:o.id??o.key},l=(0,nr.jsx)(Ot,{weight:o.key===t?.key?"bold":"normal",children:o.label});return o.to?(0,nr.jsx)(vr,{to:o.to,...s,children:l},o.key):(0,nr.jsx)("div",{...s,children:l},o.key)})})]}),z_=({content:e,size:t,language:n,highlightLines:i,onTabChange:r,defaultTabKey:o,showGradient:a,hideBashHeader:s,showActionButton:l,fullWidth:c,actionButtonLabel:f,gradientRotation:p=340,hideLineNumbers:h,fullHeight:v,title:b,hideCopyButton:k,bashCommandsStart:$,hideBashPromptPrefixes:x,onActionButtonClick:E,...w})=>{let T=e instanceof Array,M=T?e.find(P=>P.key===o)??e[0]:null,[A,j]=(0,Nc.useState)(M),X=(T?A?.code:e)?.trim()??"",se=n??A?.language,F=(0,Nc.useMemo)(()=>T?A?.highlightLines??[]:i,[T,A,i]),De=se==="bash",Ee=!h&&!jDe.includes(se??""),ve=De&&!s&&!T,ye=T||!!b||ve,$e=(0,Nc.useRef)(null),Be=async(P,We)=>{await r?.(P.key,We),j(P),$e.current?.scrollTo(0,0)},Oe=De&&!x,xe=A?.bashCommandsStart??$,Re=(0,Nc.useMemo)(()=>Oe?O_(X,xe):Ee?MW(X):{},[Ee,Oe,X,xe]);return(0,nr.jsxs)(FW,{$hasHeader:ye,$gradientRotation:p,$hasActionButton:l,$hasTabs:T,$fullWidth:c,$fullHeight:v,$showLineNumbers:Ee,...w,children:[ye&&(0,nr.jsx)(ZDe,{tabs:T?e:null,currentTab:A,onTabChange:Be,showBashHeader:ve,title:b}),(0,nr.jsx)(N_,{code:X,linePrefixes:Re,highlightLines:F,language:se,size:t,ref:$e,isSingleLine:!1}),(0,nr.jsxs)("div",{className:"CodeBlock-TopRightActionsWrapper",children:[l&&(0,nr.jsx)(Af,{successStyle:!0,onClick:E,children:f??"Run on Apify"}),!k&&(0,nr.jsx)(S_,{code:X})]}),a&&(0,nr.jsx)(mW,{className:"CodeBlock-Gradient",blurSize:69})]})};var HDe=Y(He(),1),x4=Y(Fe(),1);var WDe=Y(Hh(),1);var _4={WRAPPER:"CodeBlockWithTabsWrapper",TABS:"CodeBlockWithTabsTabs",TAB:"CodeBlockWithTabsTab",CONTENT:"CodeBlockWithTabsContent"},Oet=J(it)`
1287
- .${_4.TABS} {
1286
+ `).length,n=Array.from({length:t},(i,r)=>r+1);return Object.fromEntries(n.map(i=>[i,(0,Ac.jsx)(A_,{children:i},`code-highlighter-line-prefix-${i}`)]))};var jDe=["json","jsonp","jsonp","rss","yaml","xml","html","bash","text","dockerfile","http"],BDe=()=>(0,nr.jsxs)("div",{className:"CodeBlock-HederDotsWrapper",children:[(0,nr.jsx)("div",{className:"CodeBlock-HeaderDot"}),(0,nr.jsx)("div",{className:"CodeBlock-HeaderDot"}),(0,nr.jsx)("div",{className:"CodeBlock-HeaderDot"})]}),ZDe=({tabs:e,currentTab:t,showBashHeader:n,onTabChange:i,title:r})=>(0,nr.jsxs)("div",{className:"CodeBlock-Header",children:[n&&(0,nr.jsx)(BDe,{}),r&&(0,nr.jsx)(Ot,{weight:"bold",className:"CodeBlock-HeaderTitle",children:r}),(0,nr.jsx)("div",{className:"CodeBlock-HeaderTabsWrapper",children:e?.map(o=>{let a=o.key===t?.key,s={className:tn("CodeBlock-Tab",{selected:a}),onClick:c=>i(o,c),title:o.label,id:o.id??o.key},l=(0,nr.jsx)(Ot,{weight:o.key===t?.key?"bold":"normal",children:o.label});return o.to?(0,nr.jsx)(vr,{to:o.to,...s,children:l},o.key):(0,nr.jsx)("div",{...s,children:l},o.key)})})]}),z_=({content:e,size:t,language:n,highlightLines:i,onTabChange:r,defaultTabKey:o,showGradient:a,hideBashHeader:s,showActionButton:l,fullWidth:c,actionButtonLabel:f,gradientRotation:p=340,hideLineNumbers:h,fullHeight:v,title:b,hideCopyButton:k,bashCommandsStart:$,hideBashPromptPrefixes:x,onActionButtonClick:E,...w})=>{let T=e instanceof Array,M=T?e.find(P=>P.key===o)??e[0]:null,[A,j]=(0,Nc.useState)(M),X=(T?A?.code:e)?.trim()??"",se=n??A?.language,F=(0,Nc.useMemo)(()=>T?A?.highlightLines??[]:i,[T,A,i]),De=se==="bash",Ee=!h&&!jDe.includes(se??""),ve=De&&!s&&!T,ye=T||!!b||ve,$e=(0,Nc.useRef)(null),Be=async(P,We)=>{await r?.(P.key,We),j(P),$e.current?.scrollTo(0,0)},Oe=De&&!x,xe=A?.bashCommandsStart??$,Re=(0,Nc.useMemo)(()=>Oe?O_(X,xe):Ee?MW(X):{},[Ee,Oe,X,xe]);return(0,nr.jsxs)(FW,{$hasHeader:ye,$gradientRotation:p,$hasActionButton:l,$hasTabs:T,$fullWidth:c,$fullHeight:v,$showLineNumbers:Ee,...w,children:[ye&&(0,nr.jsx)(ZDe,{tabs:T?e:null,currentTab:A,onTabChange:Be,showBashHeader:ve,title:b}),(0,nr.jsx)(N_,{code:X,linePrefixes:Re,highlightLines:F,language:se,size:t,ref:$e,isSingleLine:!1}),(0,nr.jsxs)("div",{className:"CodeBlock-TopRightActionsWrapper",children:[l&&(0,nr.jsx)(Af,{successStyle:!0,onClick:E,children:f??"Run on Apify"}),!k&&(0,nr.jsx)(S_,{code:X})]}),a&&(0,nr.jsx)(mW,{className:"CodeBlock-Gradient",blurSize:69})]})};var HDe=Y(He(),1),xI=Y(Fe(),1);var WDe=Y(Hh(),1);var _I={WRAPPER:"CodeBlockWithTabsWrapper",TABS:"CodeBlockWithTabsTabs",TAB:"CodeBlockWithTabsTab",CONTENT:"CodeBlockWithTabsContent"},Oet=J(it)`
1287
+ .${_I.TABS} {
1288
1288
  min-width: 266px;
1289
1289
  height: 72px;
1290
1290
  padding-inline: ${g.space.space8};
@@ -1334,7 +1334,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1334
1334
  }
1335
1335
  }
1336
1336
 
1337
- .${_4.TAB} {
1337
+ .${_I.TAB} {
1338
1338
  min-width: 64px;
1339
1339
  position: relative;
1340
1340
  padding: ${g.space.space12} ${g.space.space8};
@@ -1378,7 +1378,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1378
1378
  }
1379
1379
  }
1380
1380
 
1381
- .${_4.CONTENT} {
1381
+ .${_I.CONTENT} {
1382
1382
  max-width: initial;
1383
1383
  border-top-left-radius: 0;
1384
1384
  border-top-right-radius: 0;
@@ -1386,7 +1386,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1386
1386
  `;var Ni=Y(Fe(),1),Wh=Y(He(),1);var Ja={gradientWrapper:"OneLineCode-GradientWrapper",scrollableWrapper:"OneLineCode-ScrollableWrapper",methodChip:"OneLineCode-MethodChip",gradient:"OneLineCode-Gradient",buttons:"OneLineCode-Buttons"},VDe={GET:"primary",POST:"success",PUT:"warning",DELETE:"danger",HEAD:"neutral",PATCH:"neutral",OPTIONS:"neutral"};function GDe(e){let t=g.color[VDe[e]];return te`
1387
1387
  background-color: ${t.chipBackground};
1388
1388
  color: ${"chipText"in t?t.chipText:t.text};
1389
- `}var qDe=J(b4)`
1389
+ `}var qDe=J(bI)`
1390
1390
  display: flex;
1391
1391
  padding-right: ${g.space.space16} !important;
1392
1392
  ${({$fitContent:e})=>e&&te`
@@ -1468,7 +1468,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1468
1468
  }
1469
1469
  }
1470
1470
  }
1471
- `;function k4({children:e,language:t,size:n,httpMethod:i,actionButtonLabel:r,onActionButtonClick:o,fullWidth:a,secretPlaceholder:s="***",secret:l,disabled:c,hideCopyButton:f,trackingBundle:p,...h}){let v=l!==void 0,[b,k]=(0,Wh.useState)(!1),$=(0,Wh.useMemo)(()=>v?e.replace(s,l):e,[e,l,v,s]),x=b?$:e,E=t==="bash",w=(0,Wh.useMemo)(()=>E?O_(x,[1],!0):{},[E,x]);return(0,Ni.jsxs)(qDe,{$httpMethod:i,$fullWidth:a,$showBashPrefixes:E,$disabled:c,...h,children:[(0,Ni.jsxs)("div",{className:Ja.gradientWrapper,children:[(0,Ni.jsxs)("div",{className:Ja.scrollableWrapper,children:[i&&(0,Ni.jsx)(Ot,{className:Ja.methodChip,as:"div",children:i}),(0,Ni.jsx)(N_,{language:t,size:n,linePrefixes:w,code:x,isSingleLine:!0})]}),(0,Ni.jsx)("div",{className:Ja.gradient})]}),(0,Ni.jsxs)("div",{className:Ja.buttons,children:[v&&(0,Ni.jsx)(Af,{onClick:()=>k(T=>!T),trackingId:p?.secret?.trackingId,trackingData:p?.secret?.trackingData,"data-test":"toggle-visibility-button",children:b?(0,Ni.jsx)(fL,{size:"16"}):(0,Ni.jsx)(dL,{size:"16"})}),!f&&(0,Ni.jsx)(S_,{code:$,trackingId:p?.copy?.trackingId,trackingData:p?.copy?.trackingData}),!!o&&(0,Ni.jsx)(Af,{onClick:o,trackingId:p?.action?.trackingId,trackingData:p?.action?.trackingData,children:r})]})]})}var ll=Y(Fe(),1);var Vh=te`
1471
+ `;function kI({children:e,language:t,size:n,httpMethod:i,actionButtonLabel:r,onActionButtonClick:o,fullWidth:a,secretPlaceholder:s="***",secret:l,disabled:c,hideCopyButton:f,trackingBundle:p,...h}){let v=l!==void 0,[b,k]=(0,Wh.useState)(!1),$=(0,Wh.useMemo)(()=>v?e.replace(s,l):e,[e,l,v,s]),x=b?$:e,E=t==="bash",w=(0,Wh.useMemo)(()=>E?O_(x,[1],!0):{},[E,x]);return(0,Ni.jsxs)(qDe,{$httpMethod:i,$fullWidth:a,$showBashPrefixes:E,$disabled:c,...h,children:[(0,Ni.jsxs)("div",{className:Ja.gradientWrapper,children:[(0,Ni.jsxs)("div",{className:Ja.scrollableWrapper,children:[i&&(0,Ni.jsx)(Ot,{className:Ja.methodChip,as:"div",children:i}),(0,Ni.jsx)(N_,{language:t,size:n,linePrefixes:w,code:x,isSingleLine:!0})]}),(0,Ni.jsx)("div",{className:Ja.gradient})]}),(0,Ni.jsxs)("div",{className:Ja.buttons,children:[v&&(0,Ni.jsx)(Af,{onClick:()=>k(T=>!T),trackingId:p?.secret?.trackingId,trackingData:p?.secret?.trackingData,"data-test":"toggle-visibility-button",children:b?(0,Ni.jsx)(fL,{size:"16"}):(0,Ni.jsx)(dL,{size:"16"})}),!f&&(0,Ni.jsx)(S_,{code:$,trackingId:p?.copy?.trackingId,trackingData:p?.copy?.trackingData}),!!o&&(0,Ni.jsx)(Af,{onClick:o,trackingId:p?.action?.trackingId,trackingData:p?.action?.trackingData,children:r})]})]})}var ll=Y(Fe(),1);var Vh=te`
1472
1472
  width: fit-content;
1473
1473
  padding: ${g.space.space2} 0.6rem;
1474
1474
  background-color: ${g.color.neutral.backgroundMuted};
@@ -1589,7 +1589,7 @@ Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`));re
1589
1589
  hr {
1590
1590
  color: ${g.color.neutral.border};
1591
1591
  }
1592
- `;var Jh=Y(Fe(),1),qW=Y(Hh(),1),Oc=Y(He(),1);var ZW=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var t$e=Object.hasOwnProperty,Gh=class{constructor(){this.occurrences,this.reset()}slug(t,n){let i=this,r=n$e(t,n===!0),o=r;for(;t$e.call(i.occurrences,r);)i.occurrences[o]++,r=o+"-"+i.occurrences[o];return i.occurrences[r]=0,r}reset(){this.occurrences=Object.create(null)}};function n$e(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(ZW,"").replace(/ /g,"-"))}function P_(e){return new RegExp("^("+e+")$","i")}var HW=new Gh;function WW(e,t,n){let i="children"in e?e.children.length:0,r=n.skip?P_(n.skip):void 0,o=Za(n.parents||function(f){return f===e}),a=[],s,l,c;return HW.reset(),pa(e,"heading",function(f,p,h){let v=zs(f,{includeImageAlt:!1}),b=f.data&&f.data.hProperties&&f.data.hProperties.id,k=HW.slug(b||v);if(o(h)){if(p!==void 0&&t&&!s&&t.test(v)){s=p+1,c=f;return}p!==void 0&&c&&!l&&f.depth<=c.depth&&(l=p),(l||!t)&&(!n.minDepth||f.depth>=n.minDepth)&&(!n.maxDepth||f.depth<=n.maxDepth)&&(!r||!r.test(v))&&a.push({depth:f.depth,children:f.children,id:k})}}),{index:s===void 0?-1:s,endIndex:s===void 0?-1:l||i,map:a}}function VW(e,t){let{ordered:n=!1,tight:i=!1,prefix:r}=t,o={type:"list",ordered:n,spread:!1,children:[]},a=Number.POSITIVE_INFINITY,s=-1;for(;++s<e.length;)e[s].depth<a&&(a=e[s].depth);for(s=-1;++s<e.length;)e[s].depth-=a-1;for(s=-1;++s<e.length;)qh(e[s],o,{ordered:n,tight:i,prefix:r});return o}function qh(e,t,n){let i=-1,r=t.children[t.children.length-1];if(t.type==="list")if(e.depth===1)t.children.push({type:"listItem",spread:!1,children:[{type:"paragraph",children:[{type:"link",title:null,url:"#"+(n.prefix||"")+e.id,children:E4(e.children)}]}]});else if(t.children.length>0){let o=t.children[t.children.length-1];qh(e,o,n)}else{let o={type:"listItem",spread:!1,children:[]};t.children.push(o),qh(e,o,n)}else if(r&&r.type==="list")e.depth--,qh(e,r,n);else{let o={type:"list",ordered:n.ordered,spread:!1,children:[]};t.children.push(o),e.depth--,qh(e,o,n)}if(t.type==="list"&&!n.tight){for(t.spread=!1;++i<t.children.length;)if(t.children[i].children.length>1){t.spread=!0;break}}else t.spread=!n.tight}function E4(e){let t=[],n=-1;for(;++n<e.length;){let i=r$e(e[n]);Array.isArray(i)?t.push(...i):t.push(i)}return t}function r$e(e){if(e.type==="footnoteReference")return[];if(e.type==="link"||e.type==="linkReference")return E4(e.children);if("children"in e){let{children:i,position:r,...o}=e;return Object.assign(Oo(o),{children:E4(e.children)})}let{position:t,...n}=e;return Oo(n)}function D4(e,t){let n=t||{},i=n.heading?P_(n.heading):void 0,r=WW(e,i,n);return{index:i?r.index:void 0,endIndex:i?r.endIndex:void 0,map:r.map.length>0?VW(r.map,n):void 0}}function R_(e){let t={...e,heading:e&&e.heading||"(table[ -]of[ -])?contents?|toc",tight:e&&typeof e.tight=="boolean"?e.tight:!0};return function(n){let i=D4(n,t);i.endIndex===void 0||i.endIndex===-1||i.index===void 0||i.index===-1||!i.map||(n.children=[...n.children.slice(0,i.index),i.map,...n.children.slice(i.endIndex)])}}var GW="Contents",i$e=J(Ot)`
1592
+ `;var Jh=Y(Fe(),1),qW=Y(Hh(),1),Oc=Y(He(),1);var ZW=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var t$e=Object.hasOwnProperty,Gh=class{constructor(){this.occurrences,this.reset()}slug(t,n){let i=this,r=n$e(t,n===!0),o=r;for(;t$e.call(i.occurrences,r);)i.occurrences[o]++,r=o+"-"+i.occurrences[o];return i.occurrences[r]=0,r}reset(){this.occurrences=Object.create(null)}};function n$e(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(ZW,"").replace(/ /g,"-"))}function P_(e){return new RegExp("^("+e+")$","i")}var HW=new Gh;function WW(e,t,n){let i="children"in e?e.children.length:0,r=n.skip?P_(n.skip):void 0,o=Za(n.parents||function(f){return f===e}),a=[],s,l,c;return HW.reset(),pa(e,"heading",function(f,p,h){let v=zs(f,{includeImageAlt:!1}),b=f.data&&f.data.hProperties&&f.data.hProperties.id,k=HW.slug(b||v);if(o(h)){if(p!==void 0&&t&&!s&&t.test(v)){s=p+1,c=f;return}p!==void 0&&c&&!l&&f.depth<=c.depth&&(l=p),(l||!t)&&(!n.minDepth||f.depth>=n.minDepth)&&(!n.maxDepth||f.depth<=n.maxDepth)&&(!r||!r.test(v))&&a.push({depth:f.depth,children:f.children,id:k})}}),{index:s===void 0?-1:s,endIndex:s===void 0?-1:l||i,map:a}}function VW(e,t){let{ordered:n=!1,tight:i=!1,prefix:r}=t,o={type:"list",ordered:n,spread:!1,children:[]},a=Number.POSITIVE_INFINITY,s=-1;for(;++s<e.length;)e[s].depth<a&&(a=e[s].depth);for(s=-1;++s<e.length;)e[s].depth-=a-1;for(s=-1;++s<e.length;)qh(e[s],o,{ordered:n,tight:i,prefix:r});return o}function qh(e,t,n){let i=-1,r=t.children[t.children.length-1];if(t.type==="list")if(e.depth===1)t.children.push({type:"listItem",spread:!1,children:[{type:"paragraph",children:[{type:"link",title:null,url:"#"+(n.prefix||"")+e.id,children:EI(e.children)}]}]});else if(t.children.length>0){let o=t.children[t.children.length-1];qh(e,o,n)}else{let o={type:"listItem",spread:!1,children:[]};t.children.push(o),qh(e,o,n)}else if(r&&r.type==="list")e.depth--,qh(e,r,n);else{let o={type:"list",ordered:n.ordered,spread:!1,children:[]};t.children.push(o),e.depth--,qh(e,o,n)}if(t.type==="list"&&!n.tight){for(t.spread=!1;++i<t.children.length;)if(t.children[i].children.length>1){t.spread=!0;break}}else t.spread=!n.tight}function EI(e){let t=[],n=-1;for(;++n<e.length;){let i=r$e(e[n]);Array.isArray(i)?t.push(...i):t.push(i)}return t}function r$e(e){if(e.type==="footnoteReference")return[];if(e.type==="link"||e.type==="linkReference")return EI(e.children);if("children"in e){let{children:i,position:r,...o}=e;return Object.assign(Oo(o),{children:EI(e.children)})}let{position:t,...n}=e;return Oo(n)}function DI(e,t){let n=t||{},i=n.heading?P_(n.heading):void 0,r=WW(e,i,n);return{index:i?r.index:void 0,endIndex:i?r.endIndex:void 0,map:r.map.length>0?VW(r.map,n):void 0}}function R_(e){let t={...e,heading:e&&e.heading||"(table[ -]of[ -])?contents?|toc",tight:e&&typeof e.tight=="boolean"?e.tight:!0};return function(n){let i=DI(n,t);i.endIndex===void 0||i.endIndex===-1||i.index===void 0||i.index===-1||!i.map||(n.children=[...n.children.slice(0,i.index),i.map,...n.children.slice(i.endIndex)])}}var GW="Contents",i$e=J(Ot)`
1593
1593
  display: inline-block;
1594
1594
  color: ${g.color.neutral.textMuted};
1595
1595
  text-decoration: none;
@@ -2015,7 +2015,7 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2015
2015
  }
2016
2016
  }
2017
2017
  `,f$e=({node:e,children:t})=>{let n=e.tagName,i=sl(t);return(0,Hn.jsx)(n,{id:i,children:t})};function p$e({className:e,children:t,node:n}){if(n?.position?.start?.line===n?.position?.end?.line)return(0,Hn.jsx)("code",{className:tn(e,Fs.INLINE_CODE),children:t});let r=String(t).replace(/\n$/,"").trim(),a=/language-(\w+)/.exec(e||"")?.[1]?.toLowerCase();return r.split(`
2018
- `).length<=1?(0,Hn.jsx)(k4,{language:a,fullWidth:!0,children:r}):(0,Hn.jsx)(z_,{content:r,language:a,hideLineNumbers:!0,fullWidth:!0,hideBashHeader:!0,hideBashPromptPrefixes:!0})}var m$e=/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube(?:-nocookie)?\.com|youtu\.be)\/(?:watch\?v=|embed\/|v\/)?([a-zA-Z0-9\-_]+)(?:\S*)?$/,h$e=/^((?:https?:\/\/)?(?:player\.)?vimeo\.com(?:\/video)?\/(\d+))$/,QW=e=>{let t=e.match(m$e),n=e.match(h$e),i;return t&&(i=pW.stringifyUrl({url:`https://www.youtube.com/embed/${t[1]}`,query:{rel:0,enablejsapi:1}})),n&&(i=`https://player.vimeo.com/video/${n[2]}`),i},eV=({src:e})=>(0,Hn.jsx)("span",{className:Fs.VIDEO_WRAPPER,children:(0,Hn.jsx)("span",{className:"Iframe-container",children:(0,Hn.jsx)("iframe",{loading:"lazy",allowFullScreen:!0,src:e})})}),g$e=["apify.com","docs.apify.com","help.apify.com","sdk.apify.com","blog.apify.com","kb.apify.com","my.apify.com","console.apify.com","crawlee.dev"],v$e=({node:e,href:t="",...n},{hostname:i},r)=>{let o=e.properties.enableEmbeddedVideo&&t?QW(t):void 0;if(o)return(0,Hn.jsx)(eV,{src:o});if((t||"").startsWith("#"))return(0,Hn.jsx)("a",{href:t,...n});let s;try{s=new URL(t)}catch{return(0,Hn.jsx)("span",{children:t})}if(!i&&typeof window<"u"&&!window?.location?.hostname)return(0,Hn.jsx)("a",{href:t,...n});let l=i||typeof window<"u"&&window?.location?.hostname.toLowerCase(),c=s&&s.hostname.toLowerCase()!==l,f=s&&g$e.includes(s.hostname.toLowerCase())&&s.protocol==="https:",p={};return c&&(f?p={target:"_blank",rel:"noopener"}:p={rel:tn(r&&"ugc")}),(0,Hn.jsx)(vr,{...n,...p,to:t})},y$e=({node:e,...t})=>{e?.children.forEach(o=>{o.tagName==="a"&&(o.properties.enableEmbeddedVideo=e.children.length===1)});let n=e?.children[0],r=n?.type==="text"&&QW(n.value);return r?(0,Hn.jsx)(eV,{src:r}):(0,Hn.jsx)("p",{...t})},b$e=({node:e,children:t})=>{let n=e.tagName,i=sl(t),{isCopied:r,copyToClipboard:o}=Cc();async function a(){let s=new URL(window.location.href);s.hash=`#${i??""}`,await o(s.toString())}return(0,Hn.jsxs)(n,{id:i,children:[t,(0,Hn.jsx)("a",{onClick:a,href:`#${i}`,className:tn(Fs.HEADING_COPY_ICON,{isCopied:r}),"aria-label":"Copy link to clipboard",children:(0,Hn.jsx)(g2,{size:"16"})})]})},_$e=({markdown:e,transformLinkUri:t,transformImageUri:n,className:i,scrollMarginTopPx:r=10,allowElement:o,currentPathHostname:a,addHeadingAnchors:s,isUserGeneratedContent:l,LinkRenderer:c,lazyLoadImages:f})=>{let p=s?b$e:f$e,h=(0,L_.useMemo)(()=>If(e),[e]);return(0,Hn.jsx)(d$e,{$scrollMarginTopPx:r,className:i,children:(0,Hn.jsx)($h,{rehypePlugins:[__],remarkPlugins:[E_],allowedElements:["a","b","blockquote","br","center","code","del","em","h1","h2","h3","h4","h5","hr","i","img","li","ol","p","pre","span","strong","table","tbody","td","tfoot","th","thead","tr","u","ul"],allowElement:o,components:{h1:p,h2:p,h3:p,h4:p,h5:p,a:v=>c?c(v,{hostname:a},l):v$e(v,{hostname:a},l),code:v=>p$e(v),p:y$e,img:({node:v,...b})=>(0,Hn.jsx)("img",{...b,...f?{loading:"lazy"}:{}})},urlTransform:(v,b,k)=>k.tagName==="img"?n?n(v):v:k.tagName==="a"?t?Sh(t(v)):Sh(v):v,children:h})})},qnt=L_.default.memo(_$e,(e,t)=>XW.default.isEqual(e,t));var x$e=Y(Fe(),1);var Qnt=J(Ot)`
2018
+ `).length<=1?(0,Hn.jsx)(kI,{language:a,fullWidth:!0,children:r}):(0,Hn.jsx)(z_,{content:r,language:a,hideLineNumbers:!0,fullWidth:!0,hideBashHeader:!0,hideBashPromptPrefixes:!0})}var m$e=/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube(?:-nocookie)?\.com|youtu\.be)\/(?:watch\?v=|embed\/|v\/)?([a-zA-Z0-9\-_]+)(?:\S*)?$/,h$e=/^((?:https?:\/\/)?(?:player\.)?vimeo\.com(?:\/video)?\/(\d+))$/,QW=e=>{let t=e.match(m$e),n=e.match(h$e),i;return t&&(i=pW.stringifyUrl({url:`https://www.youtube.com/embed/${t[1]}`,query:{rel:0,enablejsapi:1}})),n&&(i=`https://player.vimeo.com/video/${n[2]}`),i},eV=({src:e})=>(0,Hn.jsx)("span",{className:Fs.VIDEO_WRAPPER,children:(0,Hn.jsx)("span",{className:"Iframe-container",children:(0,Hn.jsx)("iframe",{loading:"lazy",allowFullScreen:!0,src:e})})}),g$e=["apify.com","docs.apify.com","help.apify.com","sdk.apify.com","blog.apify.com","kb.apify.com","my.apify.com","console.apify.com","crawlee.dev"],v$e=({node:e,href:t="",...n},{hostname:i},r)=>{let o=e.properties.enableEmbeddedVideo&&t?QW(t):void 0;if(o)return(0,Hn.jsx)(eV,{src:o});if((t||"").startsWith("#"))return(0,Hn.jsx)("a",{href:t,...n});let s;try{s=new URL(t)}catch{return(0,Hn.jsx)("span",{children:t})}if(!i&&typeof window<"u"&&!window?.location?.hostname)return(0,Hn.jsx)("a",{href:t,...n});let l=i||typeof window<"u"&&window?.location?.hostname.toLowerCase(),c=s&&s.hostname.toLowerCase()!==l,f=s&&g$e.includes(s.hostname.toLowerCase())&&s.protocol==="https:",p={};return c&&(f?p={target:"_blank",rel:"noopener"}:p={rel:tn(r&&"ugc")}),(0,Hn.jsx)(vr,{...n,...p,to:t})},y$e=({node:e,...t})=>{e?.children.forEach(o=>{o.tagName==="a"&&(o.properties.enableEmbeddedVideo=e.children.length===1)});let n=e?.children[0],r=n?.type==="text"&&QW(n.value);return r?(0,Hn.jsx)(eV,{src:r}):(0,Hn.jsx)("p",{...t})},b$e=({node:e,children:t})=>{let n=e.tagName,i=sl(t),{isCopied:r,copyToClipboard:o}=Cc();async function a(){let s=new URL(window.location.href);s.hash=`#${i??""}`,await o(s.toString())}return(0,Hn.jsxs)(n,{id:i,children:[t,(0,Hn.jsx)("a",{onClick:a,href:`#${i}`,className:tn(Fs.HEADING_COPY_ICON,{isCopied:r}),"aria-label":"Copy link to clipboard",children:(0,Hn.jsx)(g2,{size:"16"})})]})},_$e=({markdown:e,transformLinkUri:t,transformImageUri:n,className:i,scrollMarginTopPx:r=10,allowElement:o,currentPathHostname:a,addHeadingAnchors:s,isUserGeneratedContent:l,LinkRenderer:c,lazyLoadImages:f})=>{let p=s?b$e:f$e,h=(0,L_.useMemo)(()=>If(e),[e]);return(0,Hn.jsx)(d$e,{$scrollMarginTopPx:r,className:i,children:(0,Hn.jsx)($h,{rehypePlugins:[__],remarkPlugins:[E_],allowedElements:["a","b","blockquote","br","center","code","del","em","h1","h2","h3","h4","h5","hr","i","img","li","ol","p","pre","span","strong","table","tbody","td","tfoot","th","thead","tr","u","ul"],allowElement:o,components:{h1:p,h2:p,h3:p,h4:p,h5:p,a:v=>c?c(v,{hostname:a},l):v$e(v,{hostname:a},l),code:v=>p$e(v),p:y$e,img:({node:v,...b})=>(0,Hn.jsx)("img",{...b,...f?{loading:"lazy"}:{}})},urlTransform:(v,b,k)=>k.tagName==="img"?n?n(v):v:k.tagName==="a"?t?Sh(t(v)):Sh(v):v,children:h})})},qnt=L_.default.memo(_$e,(e,t)=>XW.default.isEqual(e,t));var x$e=Y(Fe(),1);var Qnt=J(Ot)`
2019
2019
  color: ${g.color.neutral.text};
2020
2020
  background-color: ${g.color.neutral.chipBackground};
2021
2021
  line-height: 1;
@@ -2295,7 +2295,7 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2295
2295
  display: flex;
2296
2296
  gap: ${g.space.space4};
2297
2297
  }
2298
- `;var $4=Y(Fe(),1);var aV=Y(He(),1);var Yh={EXTRA_SMALL:"XS",SMALL:"S",MEDIUM:"M",LARGE:"L"},Rf={DEFAULT:"DEFAULT",PRIMARY:"PRIMARY",SUCCESS:"SUCCESS",WARNING:"WARNING",DANGER:"DANGER"},A$e={BODY:"Chip-body"},N$e={[Yh.EXTRA_SMALL]:te`
2298
+ `;var $I=Y(Fe(),1);var aV=Y(He(),1);var Yh={EXTRA_SMALL:"XS",SMALL:"S",MEDIUM:"M",LARGE:"L"},Rf={DEFAULT:"DEFAULT",PRIMARY:"PRIMARY",SUCCESS:"SUCCESS",WARNING:"WARNING",DANGER:"DANGER"},A$e={BODY:"Chip-body"},N$e={[Yh.EXTRA_SMALL]:te`
2299
2299
  font-size: 12px;
2300
2300
  line-height: 16px;
2301
2301
  padding: 0 4px;
@@ -2343,7 +2343,7 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2343
2343
  white-space: nowrap;
2344
2344
  cursor: ${({clickable:e})=>e?"pointer":"default"};
2345
2345
  gap: ${g.space.space4};
2346
- `,P$e=(0,aV.forwardRef)(({type:e=Rf.DEFAULT,size:t=Yh.MEDIUM,icon:n,children:i,className:r,...o},a)=>{let s={...o,type:e,size:t,className:tn(r,A$e.BODY)};return(0,$4.jsxs)(z$e,{ref:a,...s,children:[i,n]})});P$e.displayName="Chip";var sV=Y(Fe(),1),uV=Y(He(),1);var tit=J(it)`
2346
+ `,P$e=(0,aV.forwardRef)(({type:e=Rf.DEFAULT,size:t=Yh.MEDIUM,icon:n,children:i,className:r,...o},a)=>{let s={...o,type:e,size:t,className:tn(r,A$e.BODY)};return(0,$I.jsxs)(z$e,{ref:a,...s,children:[i,n]})});P$e.displayName="Chip";var sV=Y(Fe(),1),uV=Y(He(),1);var tit=J(it)`
2347
2347
  display: flex;
2348
2348
  align-items: center;
2349
2349
  `,nit=J(it)`
@@ -2470,7 +2470,7 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2470
2470
  svg {
2471
2471
  flex-shrink: 0;
2472
2472
  }
2473
- `;function dV({as:e,size:t="small",type:n="body",variant:i="primary",LeadingIcon:r,TrailingIcon:o,children:a,...s},l){let c=e==="a"?vr:e??"button",f=t==="regular"?"small":t;return(0,Lf.jsxs)(M$e,{as:c,ref:l,$variant:i,$size:t,...s,children:[r&&(0,Lf.jsx)(r,{size:lV[t]}),a&&(0,Lf.jsx)(Ot,{size:f,type:n,weight:"medium",children:a}),o&&(0,Lf.jsx)(o,{size:lV[t]})]})}dV.displayName="Tag";var dit=(0,cV.forwardRef)(dV);var j$e=Y(He(),1),mV=Y(Fe(),1),S4=Y(He(),1);var pV=Y(Fe(),1);var U$e={default:te`
2473
+ `;function dV({as:e,size:t="small",type:n="body",variant:i="primary",LeadingIcon:r,TrailingIcon:o,children:a,...s},l){let c=e==="a"?vr:e??"button",f=t==="regular"?"small":t;return(0,Lf.jsxs)(M$e,{as:c,ref:l,$variant:i,$size:t,...s,children:[r&&(0,Lf.jsx)(r,{size:lV[t]}),a&&(0,Lf.jsx)(Ot,{size:f,type:n,weight:"medium",children:a}),o&&(0,Lf.jsx)(o,{size:lV[t]})]})}dV.displayName="Tag";var dit=(0,cV.forwardRef)(dV);var j$e=Y(He(),1),mV=Y(Fe(),1),SI=Y(He(),1);var pV=Y(Fe(),1);var U$e={default:te`
2474
2474
  height: 3.6rem;
2475
2475
  padding: 0 ${g.space.space8};
2476
2476
  color: ${g.color.neutral.textSubtle};
@@ -2767,7 +2767,7 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2767
2767
  .${Kh.SPINNER} .path {
2768
2768
  stroke: ${g.color.neutral.icon};
2769
2769
  }
2770
- `,Y$e=(0,vV.forwardRef)(({variant:e=Ff.DEFAULT,size:t="medium",as:n="button",title:i,disabled:r=!1,isLoading:o=!1,Icon:a,tooltipProps:s,...l},c)=>{let f={...l,size:t},p=n==="a"?vr:n,{iconSize:h,spinnerSize:v}=G$e[t],b=(0,Xh.jsx)(J$e,{forwardedAs:p,ref:c,disabled:r||o,type:"button","aria-label":i,LeftIcon:o?()=>(0,Xh.jsx)(gV,{size:v}):()=>(0,Xh.jsx)(a,{size:h}),variant:"tertiary",$size:t,$variant:e,...f});return i?(0,Xh.jsx)(cj,{content:i,...s,children:b}):b});Y$e.displayName="IconButton";var yV=Y(Fe(),1);var I4={title:"ActorStoreItem-title",slug:"ActorStoreItem-slug",badge:"ActorStoreItem-badge"},Jit=J(it)`
2770
+ `,Y$e=(0,vV.forwardRef)(({variant:e=Ff.DEFAULT,size:t="medium",as:n="button",title:i,disabled:r=!1,isLoading:o=!1,Icon:a,tooltipProps:s,...l},c)=>{let f={...l,size:t},p=n==="a"?vr:n,{iconSize:h,spinnerSize:v}=G$e[t],b=(0,Xh.jsx)(J$e,{forwardedAs:p,ref:c,disabled:r||o,type:"button","aria-label":i,LeftIcon:o?()=>(0,Xh.jsx)(gV,{size:v}):()=>(0,Xh.jsx)(a,{size:h}),variant:"tertiary",$size:t,$variant:e,...f});return i?(0,Xh.jsx)(cj,{content:i,...s,children:b}):b});Y$e.displayName="IconButton";var yV=Y(Fe(),1);var II={title:"ActorStoreItem-title",slug:"ActorStoreItem-slug",badge:"ActorStoreItem-badge"},Jit=J(it)`
2771
2771
  display: flex;
2772
2772
  gap: ${({$newStyle:e})=>e?g.space.space12:g.space.space8};
2773
2773
  align-items: center;
@@ -2777,7 +2777,7 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2777
2777
  flex-shrink: 0;
2778
2778
  }
2779
2779
 
2780
- .${I4.badge} {
2780
+ .${II.badge} {
2781
2781
  position: absolute;
2782
2782
  top: -${g.space.space8};
2783
2783
  right: -${g.space.space8};
@@ -2793,7 +2793,7 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2793
2793
  flex-direction: column;
2794
2794
  justify-content: center;
2795
2795
 
2796
- .${I4.title} {
2796
+ .${II.title} {
2797
2797
  overflow: hidden;
2798
2798
  display: flex;
2799
2799
  align-items: center;
@@ -2812,14 +2812,14 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2812
2812
  }
2813
2813
  }
2814
2814
 
2815
- .${I4.slug} {
2815
+ .${II.slug} {
2816
2816
  white-space: nowrap;
2817
2817
  overflow: hidden;
2818
2818
  text-overflow: ellipsis;
2819
2819
  }
2820
- `;var wa=Y(He(),1);var fp=Y(He(),1);var Ft;(function(e){e.assertEqual=r=>{};function t(r){}e.assertIs=t;function n(r){throw new Error}e.assertNever=n,e.arrayToEnum=r=>{let o={};for(let a of r)o[a]=a;return o},e.getValidEnumValues=r=>{let o=e.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),a={};for(let s of o)a[s]=r[s];return e.objectValues(a)},e.objectValues=r=>e.objectKeys(r).map(function(o){return r[o]}),e.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{let o=[];for(let a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.push(a);return o},e.find=(r,o)=>{for(let a of r)if(o(a))return a},e.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&Number.isFinite(r)&&Math.floor(r)===r;function i(r,o=" | "){return r.map(a=>typeof a=="string"?`'${a}'`:a).join(o)}e.joinValues=i,e.jsonStringifyReplacer=(r,o)=>typeof o=="bigint"?o.toString():o})(Ft||(Ft={}));var bV;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(bV||(bV={}));var ze=Ft.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ms=e=>{switch(typeof e){case"undefined":return ze.undefined;case"string":return ze.string;case"number":return Number.isNaN(e)?ze.nan:ze.number;case"boolean":return ze.boolean;case"function":return ze.function;case"bigint":return ze.bigint;case"symbol":return ze.symbol;case"object":return Array.isArray(e)?ze.array:e===null?ze.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ze.promise:typeof Map<"u"&&e instanceof Map?ze.map:typeof Set<"u"&&e instanceof Set?ze.set:typeof Date<"u"&&e instanceof Date?ze.date:ze.object;default:return ze.unknown}};var de=Ft.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);var eo=class e extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){let n=t||function(o){return o.message},i={_errors:[]},r=o=>{for(let a of o.issues)if(a.code==="invalid_union")a.unionErrors.map(r);else if(a.code==="invalid_return_type")r(a.returnTypeError);else if(a.code==="invalid_arguments")r(a.argumentsError);else if(a.path.length===0)i._errors.push(n(a));else{let s=i,l=0;for(;l<a.path.length;){let c=a.path[l];l===a.path.length-1?(s[c]=s[c]||{_errors:[]},s[c]._errors.push(n(a))):s[c]=s[c]||{_errors:[]},s=s[c],l++}}};return r(this),i}static assert(t){if(!(t instanceof e))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ft.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){let n=Object.create(null),i=[];for(let r of this.issues)if(r.path.length>0){let o=r.path[0];n[o]=n[o]||[],n[o].push(t(r))}else i.push(t(r));return{formErrors:i,fieldErrors:n}}get formErrors(){return this.flatten()}};eo.create=e=>new eo(e);var K$e=(e,t)=>{let n;switch(e.code){case de.invalid_type:e.received===ze.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case de.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ft.jsonStringifyReplacer)}`;break;case de.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ft.joinValues(e.keys,", ")}`;break;case de.invalid_union:n="Invalid input";break;case de.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ft.joinValues(e.options)}`;break;case de.invalid_enum_value:n=`Invalid enum value. Expected ${Ft.joinValues(e.options)}, received '${e.received}'`;break;case de.invalid_arguments:n="Invalid function arguments";break;case de.invalid_return_type:n="Invalid function return type";break;case de.invalid_date:n="Invalid date";break;case de.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ft.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case de.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case de.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case de.custom:n="Invalid input";break;case de.invalid_intersection_types:n="Intersection results could not be merged";break;case de.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case de.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ft.assertNever(e)}return{message:n}},fl=K$e;var X$e=fl;function Qh(){return X$e}var Z_=e=>{let{data:t,path:n,errorMaps:i,issueData:r}=e,o=[...n,...r.path||[]],a={...r,path:o};if(r.message!==void 0)return{...r,path:o,message:r.message};let s="",l=i.filter(c=>!!c).slice().reverse();for(let c of l)s=c(a,{data:t,defaultError:s}).message;return{...r,path:o,message:s}};function Ie(e,t){let n=Qh(),i=Z_({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===fl?void 0:fl].filter(r=>!!r)});e.common.issues.push(i)}var Vr=class e{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){let i=[];for(let r of n){if(r.status==="aborted")return nt;r.status==="dirty"&&t.dirty(),i.push(r.value)}return{status:t.value,value:i}}static async mergeObjectAsync(t,n){let i=[];for(let r of n){let o=await r.key,a=await r.value;i.push({key:o,value:a})}return e.mergeObjectSync(t,i)}static mergeObjectSync(t,n){let i={};for(let r of n){let{key:o,value:a}=r;if(o.status==="aborted"||a.status==="aborted")return nt;o.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof a.value<"u"||r.alwaysSet)&&(i[o.value]=a.value)}return{status:t.value,value:i}}},nt=Object.freeze({status:"aborted"}),Mf=e=>({status:"dirty",value:e}),pi=e=>({status:"valid",value:e}),T4=e=>e.status==="aborted",C4=e=>e.status==="dirty",zc=e=>e.status==="valid",eg=e=>typeof Promise<"u"&&e instanceof Promise;var Ue;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Ue||(Ue={}));var zo=class{constructor(t,n,i,r){this._cachedPath=[],this.parent=t,this.data=n,this._path=i,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},_V=(e,t)=>{if(zc(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new eo(e.common.issues);return this._error=n,this._error}}};function gt(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:i,description:r}=e;if(t&&(n||i))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:r}:{errorMap:(a,s)=>{let{message:l}=e;return a.code==="invalid_enum_value"?{message:l??s.defaultError}:typeof s.data>"u"?{message:l??i??s.defaultError}:a.code!=="invalid_type"?{message:s.defaultError}:{message:l??n??s.defaultError}},description:r}}var Dt=class{get description(){return this._def.description}_getType(t){return Ms(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Ms(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Vr,ctx:{common:t.parent.common,data:t.data,parsedType:Ms(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let n=this._parse(t);if(eg(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){let n=this._parse(t);return Promise.resolve(n)}parse(t,n){let i=this.safeParse(t,n);if(i.success)return i.data;throw i.error}safeParse(t,n){let i={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ms(t)},r=this._parseSync({data:t,path:i.path,parent:i});return _V(i,r)}"~validate"(t){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ms(t)};if(!this["~standard"].async)try{let i=this._parseSync({data:t,path:[],parent:n});return zc(i)?{value:i.value}:{issues:n.common.issues}}catch(i){i?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(i=>zc(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(t,n){let i=await this.safeParseAsync(t,n);if(i.success)return i.data;throw i.error}async safeParseAsync(t,n){let i={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ms(t)},r=this._parse({data:t,path:i.path,parent:i}),o=await(eg(r)?r:Promise.resolve(r));return _V(i,o)}refine(t,n){let i=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,o)=>{let a=t(r),s=()=>o.addIssue({code:de.custom,...i(r)});return typeof Promise<"u"&&a instanceof Promise?a.then(l=>l?!0:(s(),!1)):a?!0:(s(),!1)})}refinement(t,n){return this._refinement((i,r)=>t(i)?!0:(r.addIssue(typeof n=="function"?n(i,r):n),!1))}_refinement(t){return new _a({schema:this,typeName:Je.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return ba.create(this,this._def)}nullable(){return Bs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ml.create(this)}promise(){return Pc.create(this,this._def)}or(t){return Hf.create([this,t],this._def)}and(t){return Wf.create(this,t,this._def)}transform(t){return new _a({...gt(this._def),schema:this,typeName:Je.ZodEffects,effect:{type:"transform",transform:t}})}default(t){let n=typeof t=="function"?t:()=>t;return new Yf({...gt(this._def),innerType:this,defaultValue:n,typeName:Je.ZodDefault})}brand(){return new H_({typeName:Je.ZodBranded,type:this,...gt(this._def)})}catch(t){let n=typeof t=="function"?t:()=>t;return new Kf({...gt(this._def),innerType:this,catchValue:n,typeName:Je.ZodCatch})}describe(t){let n=this.constructor;return new n({...this._def,description:t})}pipe(t){return W_.create(this,t)}readonly(){return Xf.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},Q$e=/^c[^\s-]{8,}$/i,eSe=/^[0-9a-z]+$/,tSe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,nSe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,rSe=/^[a-z0-9_-]{21}$/i,iSe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,oSe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,aSe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,sSe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",A4,uSe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,lSe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,cSe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,dSe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,fSe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,pSe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,xV="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",mSe=new RegExp(`^${xV}$`);function kV(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);let n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function hSe(e){return new RegExp(`^${kV(e)}$`)}function gSe(e){let t=`${xV}T${kV(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function vSe(e,t){return!!((t==="v4"||!t)&&uSe.test(e)||(t==="v6"||!t)&&cSe.test(e))}function ySe(e,t){if(!iSe.test(e))return!1;try{let[n]=e.split(".");if(!n)return!1;let i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),r=JSON.parse(atob(i));return!(typeof r!="object"||r===null||"typ"in r&&r?.typ!=="JWT"||!r.alg||t&&r.alg!==t)}catch{return!1}}function bSe(e,t){return!!((t==="v4"||!t)&&lSe.test(e)||(t==="v6"||!t)&&dSe.test(e))}var jf=class e extends Dt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ze.string){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_type,expected:ze.string,received:o.parsedType}),nt}let i=new Vr,r;for(let o of this._def.checks)if(o.kind==="min")t.data.length<o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),i.dirty());else if(o.kind==="max")t.data.length>o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),i.dirty());else if(o.kind==="length"){let a=t.data.length>o.value,s=t.data.length<o.value;(a||s)&&(r=this._getOrReturnCtx(t,r),a?Ie(r,{code:de.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):s&&Ie(r,{code:de.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),i.dirty())}else if(o.kind==="email")aSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"email",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="emoji")A4||(A4=new RegExp(sSe,"u")),A4.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"emoji",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="uuid")nSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"uuid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="nanoid")rSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"nanoid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="cuid")Q$e.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"cuid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="cuid2")eSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"cuid2",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="ulid")tSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"ulid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="url")try{new URL(t.data)}catch{r=this._getOrReturnCtx(t,r),Ie(r,{validation:"url",code:de.invalid_string,message:o.message}),i.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"regex",code:de.invalid_string,message:o.message}),i.dirty())):o.kind==="trim"?t.data=t.data.trim():o.kind==="includes"?t.data.includes(o.value,o.position)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),i.dirty()):o.kind==="toLowerCase"?t.data=t.data.toLowerCase():o.kind==="toUpperCase"?t.data=t.data.toUpperCase():o.kind==="startsWith"?t.data.startsWith(o.value)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:{startsWith:o.value},message:o.message}),i.dirty()):o.kind==="endsWith"?t.data.endsWith(o.value)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:{endsWith:o.value},message:o.message}),i.dirty()):o.kind==="datetime"?gSe(o).test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:"datetime",message:o.message}),i.dirty()):o.kind==="date"?mSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:"date",message:o.message}),i.dirty()):o.kind==="time"?hSe(o).test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:"time",message:o.message}),i.dirty()):o.kind==="duration"?oSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"duration",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="ip"?vSe(t.data,o.version)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"ip",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="jwt"?ySe(t.data,o.alg)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"jwt",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="cidr"?bSe(t.data,o.version)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"cidr",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="base64"?fSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"base64",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="base64url"?pSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"base64url",code:de.invalid_string,message:o.message}),i.dirty()):Ft.assertNever(o);return{status:i.value,value:t.data}}_regex(t,n,i){return this.refinement(r=>t.test(r),{validation:n,code:de.invalid_string,...Ue.errToObj(i)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Ue.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Ue.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Ue.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Ue.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Ue.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Ue.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Ue.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Ue.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Ue.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Ue.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Ue.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Ue.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Ue.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...Ue.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...Ue.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Ue.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Ue.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...Ue.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Ue.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Ue.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Ue.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Ue.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Ue.errToObj(n)})}nonempty(t){return this.min(1,Ue.errToObj(t))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};jf.create=e=>new jf({checks:[],typeName:Je.ZodString,coerce:e?.coerce??!1,...gt(e)});function _Se(e,t){let n=(e.toString().split(".")[1]||"").length,i=(t.toString().split(".")[1]||"").length,r=n>i?n:i,o=Number.parseInt(e.toFixed(r).replace(".","")),a=Number.parseInt(t.toFixed(r).replace(".",""));return o%a/10**r}var tg=class e extends Dt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ze.number){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_type,expected:ze.number,received:o.parsedType}),nt}let i,r=new Vr;for(let o of this._def.checks)o.kind==="int"?Ft.isInteger(t.data)||(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.invalid_type,expected:"integer",received:"float",message:o.message}),r.dirty()):o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),r.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),r.dirty()):o.kind==="multipleOf"?_Se(t.data,o.value)!==0&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.not_multiple_of,multipleOf:o.value,message:o.message}),r.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.not_finite,message:o.message}),r.dirty()):Ft.assertNever(o);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Ue.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ue.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ue.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ue.toString(n))}setLimit(t,n,i,r){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:i,message:Ue.toString(r)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Ue.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ue.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ue.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ue.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ue.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ue.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Ue.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ue.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ue.toString(t)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Ft.isInteger(t.value))}get isFinite(){let t=null,n=null;for(let i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(n===null||i.value>n)&&(n=i.value):i.kind==="max"&&(t===null||i.value<t)&&(t=i.value)}return Number.isFinite(n)&&Number.isFinite(t)}};tg.create=e=>new tg({checks:[],typeName:Je.ZodNumber,coerce:e?.coerce||!1,...gt(e)});var ng=class e extends Dt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==ze.bigint)return this._getInvalidInput(t);let i,r=new Vr;for(let o of this._def.checks)o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):o.kind==="multipleOf"?t.data%o.value!==BigInt(0)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.not_multiple_of,multipleOf:o.value,message:o.message}),r.dirty()):Ft.assertNever(o);return{status:r.value,value:t.data}}_getInvalidInput(t){let n=this._getOrReturnCtx(t);return Ie(n,{code:de.invalid_type,expected:ze.bigint,received:n.parsedType}),nt}gte(t,n){return this.setLimit("min",t,!0,Ue.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ue.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ue.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ue.toString(n))}setLimit(t,n,i,r){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:i,message:Ue.toString(r)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ue.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ue.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ue.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ue.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ue.toString(n)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};ng.create=e=>new ng({checks:[],typeName:Je.ZodBigInt,coerce:e?.coerce??!1,...gt(e)});var rg=class extends Dt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ze.boolean){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.boolean,received:i.parsedType}),nt}return pi(t.data)}};rg.create=e=>new rg({typeName:Je.ZodBoolean,coerce:e?.coerce||!1,...gt(e)});var ig=class e extends Dt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ze.date){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_type,expected:ze.date,received:o.parsedType}),nt}if(Number.isNaN(t.data.getTime())){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_date}),nt}let i=new Vr,r;for(let o of this._def.checks)o.kind==="min"?t.data.getTime()<o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),i.dirty()):o.kind==="max"?t.data.getTime()>o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),i.dirty()):Ft.assertNever(o);return{status:i.value,value:new Date(t.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Ue.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Ue.toString(n)})}get minDate(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}};ig.create=e=>new ig({checks:[],coerce:e?.coerce||!1,typeName:Je.ZodDate,...gt(e)});var og=class extends Dt{_parse(t){if(this._getType(t)!==ze.symbol){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.symbol,received:i.parsedType}),nt}return pi(t.data)}};og.create=e=>new og({typeName:Je.ZodSymbol,...gt(e)});var Bf=class extends Dt{_parse(t){if(this._getType(t)!==ze.undefined){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.undefined,received:i.parsedType}),nt}return pi(t.data)}};Bf.create=e=>new Bf({typeName:Je.ZodUndefined,...gt(e)});var Zf=class extends Dt{_parse(t){if(this._getType(t)!==ze.null){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.null,received:i.parsedType}),nt}return pi(t.data)}};Zf.create=e=>new Zf({typeName:Je.ZodNull,...gt(e)});var ag=class extends Dt{constructor(){super(...arguments),this._any=!0}_parse(t){return pi(t.data)}};ag.create=e=>new ag({typeName:Je.ZodAny,...gt(e)});var pl=class extends Dt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return pi(t.data)}};pl.create=e=>new pl({typeName:Je.ZodUnknown,...gt(e)});var Ya=class extends Dt{_parse(t){let n=this._getOrReturnCtx(t);return Ie(n,{code:de.invalid_type,expected:ze.never,received:n.parsedType}),nt}};Ya.create=e=>new Ya({typeName:Je.ZodNever,...gt(e)});var sg=class extends Dt{_parse(t){if(this._getType(t)!==ze.undefined){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.void,received:i.parsedType}),nt}return pi(t.data)}};sg.create=e=>new sg({typeName:Je.ZodVoid,...gt(e)});var ml=class e extends Dt{_parse(t){let{ctx:n,status:i}=this._processInputParams(t),r=this._def;if(n.parsedType!==ze.array)return Ie(n,{code:de.invalid_type,expected:ze.array,received:n.parsedType}),nt;if(r.exactLength!==null){let a=n.data.length>r.exactLength.value,s=n.data.length<r.exactLength.value;(a||s)&&(Ie(n,{code:a?de.too_big:de.too_small,minimum:s?r.exactLength.value:void 0,maximum:a?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),i.dirty())}if(r.minLength!==null&&n.data.length<r.minLength.value&&(Ie(n,{code:de.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),i.dirty()),r.maxLength!==null&&n.data.length>r.maxLength.value&&(Ie(n,{code:de.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),i.dirty()),n.common.async)return Promise.all([...n.data].map((a,s)=>r.type._parseAsync(new zo(n,a,n.path,s)))).then(a=>Vr.mergeArray(i,a));let o=[...n.data].map((a,s)=>r.type._parseSync(new zo(n,a,n.path,s)));return Vr.mergeArray(i,o)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:Ue.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:Ue.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:Ue.toString(n)}})}nonempty(t){return this.min(1,t)}};ml.create=(e,t)=>new ml({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Je.ZodArray,...gt(t)});function Uf(e){if(e instanceof to){let t={};for(let n in e.shape){let i=e.shape[n];t[n]=ba.create(Uf(i))}return new to({...e._def,shape:()=>t})}else return e instanceof ml?new ml({...e._def,type:Uf(e.element)}):e instanceof ba?ba.create(Uf(e.unwrap())):e instanceof Bs?Bs.create(Uf(e.unwrap())):e instanceof js?js.create(e.items.map(t=>Uf(t))):e}var to=class e extends Dt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let t=this._def.shape(),n=Ft.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==ze.object){let c=this._getOrReturnCtx(t);return Ie(c,{code:de.invalid_type,expected:ze.object,received:c.parsedType}),nt}let{status:i,ctx:r}=this._processInputParams(t),{shape:o,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof Ya&&this._def.unknownKeys==="strip"))for(let c in r.data)a.includes(c)||s.push(c);let l=[];for(let c of a){let f=o[c],p=r.data[c];l.push({key:{status:"valid",value:c},value:f._parse(new zo(r,p,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof Ya){let c=this._def.unknownKeys;if(c==="passthrough")for(let f of s)l.push({key:{status:"valid",value:f},value:{status:"valid",value:r.data[f]}});else if(c==="strict")s.length>0&&(Ie(r,{code:de.unrecognized_keys,keys:s}),i.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let f of s){let p=r.data[f];l.push({key:{status:"valid",value:f},value:c._parse(new zo(r,p,r.path,f)),alwaysSet:f in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let c=[];for(let f of l){let p=await f.key,h=await f.value;c.push({key:p,value:h,alwaysSet:f.alwaysSet})}return c}).then(c=>Vr.mergeObjectSync(i,c)):Vr.mergeObjectSync(i,l)}get shape(){return this._def.shape()}strict(t){return Ue.errToObj,new e({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,i)=>{let r=this._def.errorMap?.(n,i).message??i.defaultError;return n.code==="unrecognized_keys"?{message:Ue.errToObj(t).message??r}:{message:r}}}:{}})}strip(){return new e({...this._def,unknownKeys:"strip"})}passthrough(){return new e({...this._def,unknownKeys:"passthrough"})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Je.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let i of Ft.objectKeys(t))t[i]&&this.shape[i]&&(n[i]=this.shape[i]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let i of Ft.objectKeys(this.shape))t[i]||(n[i]=this.shape[i]);return new e({...this._def,shape:()=>n})}deepPartial(){return Uf(this)}partial(t){let n={};for(let i of Ft.objectKeys(this.shape)){let r=this.shape[i];t&&!t[i]?n[i]=r:n[i]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let i of Ft.objectKeys(this.shape))if(t&&!t[i])n[i]=this.shape[i];else{let o=this.shape[i];for(;o instanceof ba;)o=o._def.innerType;n[i]=o}return new e({...this._def,shape:()=>n})}keyof(){return wV(Ft.objectKeys(this.shape))}};to.create=(e,t)=>new to({shape:()=>e,unknownKeys:"strip",catchall:Ya.create(),typeName:Je.ZodObject,...gt(t)});to.strictCreate=(e,t)=>new to({shape:()=>e,unknownKeys:"strict",catchall:Ya.create(),typeName:Je.ZodObject,...gt(t)});to.lazycreate=(e,t)=>new to({shape:e,unknownKeys:"strip",catchall:Ya.create(),typeName:Je.ZodObject,...gt(t)});var Hf=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i=this._def.options;function r(o){for(let s of o)if(s.result.status==="valid")return s.result;for(let s of o)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;let a=o.map(s=>new eo(s.ctx.common.issues));return Ie(n,{code:de.invalid_union,unionErrors:a}),nt}if(n.common.async)return Promise.all(i.map(async o=>{let a={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(r);{let o,a=[];for(let l of i){let c={...n,common:{...n.common,issues:[]},parent:null},f=l._parseSync({data:n.data,path:n.path,parent:c});if(f.status==="valid")return f;f.status==="dirty"&&!o&&(o={result:f,ctx:c}),c.common.issues.length&&a.push(c.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;let s=a.map(l=>new eo(l));return Ie(n,{code:de.invalid_union,unionErrors:s}),nt}}get options(){return this._def.options}};Hf.create=(e,t)=>new Hf({options:e,typeName:Je.ZodUnion,...gt(t)});var Us=e=>e instanceof Vf?Us(e.schema):e instanceof _a?Us(e.innerType()):e instanceof Gf?[e.value]:e instanceof qf?e.options:e instanceof Jf?Ft.objectValues(e.enum):e instanceof Yf?Us(e._def.innerType):e instanceof Bf?[void 0]:e instanceof Zf?[null]:e instanceof ba?[void 0,...Us(e.unwrap())]:e instanceof Bs?[null,...Us(e.unwrap())]:e instanceof H_||e instanceof Xf?Us(e.unwrap()):e instanceof Kf?Us(e._def.innerType):[],N4=class e extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ze.object)return Ie(n,{code:de.invalid_type,expected:ze.object,received:n.parsedType}),nt;let i=this.discriminator,r=n.data[i],o=this.optionsMap.get(r);return o?n.common.async?o._parseAsync({data:n.data,path:n.path,parent:n}):o._parseSync({data:n.data,path:n.path,parent:n}):(Ie(n,{code:de.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),nt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,i){let r=new Map;for(let o of n){let a=Us(o.shape[t]);if(!a.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let s of a){if(r.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);r.set(s,o)}}return new e({typeName:Je.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:r,...gt(i)})}};function O4(e,t){let n=Ms(e),i=Ms(t);if(e===t)return{valid:!0,data:e};if(n===ze.object&&i===ze.object){let r=Ft.objectKeys(t),o=Ft.objectKeys(e).filter(s=>r.indexOf(s)!==-1),a={...e,...t};for(let s of o){let l=O4(e[s],t[s]);if(!l.valid)return{valid:!1};a[s]=l.data}return{valid:!0,data:a}}else if(n===ze.array&&i===ze.array){if(e.length!==t.length)return{valid:!1};let r=[];for(let o=0;o<e.length;o++){let a=e[o],s=t[o],l=O4(a,s);if(!l.valid)return{valid:!1};r.push(l.data)}return{valid:!0,data:r}}else return n===ze.date&&i===ze.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var Wf=class extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t),r=(o,a)=>{if(T4(o)||T4(a))return nt;let s=O4(o.value,a.value);return s.valid?((C4(o)||C4(a))&&n.dirty(),{status:n.value,value:s.data}):(Ie(i,{code:de.invalid_intersection_types}),nt)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([o,a])=>r(o,a)):r(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}};Wf.create=(e,t,n)=>new Wf({left:e,right:t,typeName:Je.ZodIntersection,...gt(n)});var js=class e extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.array)return Ie(i,{code:de.invalid_type,expected:ze.array,received:i.parsedType}),nt;if(i.data.length<this._def.items.length)return Ie(i,{code:de.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),nt;!this._def.rest&&i.data.length>this._def.items.length&&(Ie(i,{code:de.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let o=[...i.data].map((a,s)=>{let l=this._def.items[s]||this._def.rest;return l?l._parse(new zo(i,a,i.path,s)):null}).filter(a=>!!a);return i.common.async?Promise.all(o).then(a=>Vr.mergeArray(n,a)):Vr.mergeArray(n,o)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};js.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new js({items:e,typeName:Je.ZodTuple,rest:null,...gt(t)})};var z4=class e extends Dt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.object)return Ie(i,{code:de.invalid_type,expected:ze.object,received:i.parsedType}),nt;let r=[],o=this._def.keyType,a=this._def.valueType;for(let s in i.data)r.push({key:o._parse(new zo(i,s,i.path,s)),value:a._parse(new zo(i,i.data[s],i.path,s)),alwaysSet:s in i.data});return i.common.async?Vr.mergeObjectAsync(n,r):Vr.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(t,n,i){return n instanceof Dt?new e({keyType:t,valueType:n,typeName:Je.ZodRecord,...gt(i)}):new e({keyType:jf.create(),valueType:t,typeName:Je.ZodRecord,...gt(n)})}},ug=class extends Dt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.map)return Ie(i,{code:de.invalid_type,expected:ze.map,received:i.parsedType}),nt;let r=this._def.keyType,o=this._def.valueType,a=[...i.data.entries()].map(([s,l],c)=>({key:r._parse(new zo(i,s,i.path,[c,"key"])),value:o._parse(new zo(i,l,i.path,[c,"value"]))}));if(i.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let l of a){let c=await l.key,f=await l.value;if(c.status==="aborted"||f.status==="aborted")return nt;(c.status==="dirty"||f.status==="dirty")&&n.dirty(),s.set(c.value,f.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let l of a){let c=l.key,f=l.value;if(c.status==="aborted"||f.status==="aborted")return nt;(c.status==="dirty"||f.status==="dirty")&&n.dirty(),s.set(c.value,f.value)}return{status:n.value,value:s}}}};ug.create=(e,t,n)=>new ug({valueType:t,keyType:e,typeName:Je.ZodMap,...gt(n)});var lg=class e extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.set)return Ie(i,{code:de.invalid_type,expected:ze.set,received:i.parsedType}),nt;let r=this._def;r.minSize!==null&&i.data.size<r.minSize.value&&(Ie(i,{code:de.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),n.dirty()),r.maxSize!==null&&i.data.size>r.maxSize.value&&(Ie(i,{code:de.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());let o=this._def.valueType;function a(l){let c=new Set;for(let f of l){if(f.status==="aborted")return nt;f.status==="dirty"&&n.dirty(),c.add(f.value)}return{status:n.value,value:c}}let s=[...i.data.values()].map((l,c)=>o._parse(new zo(i,l,i.path,c)));return i.common.async?Promise.all(s).then(l=>a(l)):a(s)}min(t,n){return new e({...this._def,minSize:{value:t,message:Ue.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:Ue.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}};lg.create=(e,t)=>new lg({valueType:e,minSize:null,maxSize:null,typeName:Je.ZodSet,...gt(t)});var P4=class e extends Dt{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ze.function)return Ie(n,{code:de.invalid_type,expected:ze.function,received:n.parsedType}),nt;function i(s,l){return Z_({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Qh(),fl].filter(c=>!!c),issueData:{code:de.invalid_arguments,argumentsError:l}})}function r(s,l){return Z_({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Qh(),fl].filter(c=>!!c),issueData:{code:de.invalid_return_type,returnTypeError:l}})}let o={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof Pc){let s=this;return pi(async function(...l){let c=new eo([]),f=await s._def.args.parseAsync(l,o).catch(v=>{throw c.addIssue(i(l,v)),c}),p=await Reflect.apply(a,this,f);return await s._def.returns._def.type.parseAsync(p,o).catch(v=>{throw c.addIssue(r(p,v)),c})})}else{let s=this;return pi(function(...l){let c=s._def.args.safeParse(l,o);if(!c.success)throw new eo([i(l,c.error)]);let f=Reflect.apply(a,this,c.data),p=s._def.returns.safeParse(f,o);if(!p.success)throw new eo([r(f,p.error)]);return p.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:js.create(t).rest(pl.create())})}returns(t){return new e({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,i){return new e({args:t||js.create([]).rest(pl.create()),returns:n||pl.create(),typeName:Je.ZodFunction,...gt(i)})}},Vf=class extends Dt{get schema(){return this._def.getter()}_parse(t){let{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};Vf.create=(e,t)=>new Vf({getter:e,typeName:Je.ZodLazy,...gt(t)});var Gf=class extends Dt{_parse(t){if(t.data!==this._def.value){let n=this._getOrReturnCtx(t);return Ie(n,{received:n.data,code:de.invalid_literal,expected:this._def.value}),nt}return{status:"valid",value:t.data}}get value(){return this._def.value}};Gf.create=(e,t)=>new Gf({value:e,typeName:Je.ZodLiteral,...gt(t)});function wV(e,t){return new qf({values:e,typeName:Je.ZodEnum,...gt(t)})}var qf=class e extends Dt{_parse(t){if(typeof t.data!="string"){let n=this._getOrReturnCtx(t),i=this._def.values;return Ie(n,{expected:Ft.joinValues(i),received:n.parsedType,code:de.invalid_type}),nt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){let n=this._getOrReturnCtx(t),i=this._def.values;return Ie(n,{received:n.data,code:de.invalid_enum_value,options:i}),nt}return pi(t.data)}get options(){return this._def.values}get enum(){let t={};for(let n of this._def.values)t[n]=n;return t}get Values(){let t={};for(let n of this._def.values)t[n]=n;return t}get Enum(){let t={};for(let n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(i=>!t.includes(i)),{...this._def,...n})}};qf.create=wV;var Jf=class extends Dt{_parse(t){let n=Ft.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(t);if(i.parsedType!==ze.string&&i.parsedType!==ze.number){let r=Ft.objectValues(n);return Ie(i,{expected:Ft.joinValues(r),received:i.parsedType,code:de.invalid_type}),nt}if(this._cache||(this._cache=new Set(Ft.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){let r=Ft.objectValues(n);return Ie(i,{received:i.data,code:de.invalid_enum_value,options:r}),nt}return pi(t.data)}get enum(){return this._def.values}};Jf.create=(e,t)=>new Jf({values:e,typeName:Je.ZodNativeEnum,...gt(t)});var Pc=class extends Dt{unwrap(){return this._def.type}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ze.promise&&n.common.async===!1)return Ie(n,{code:de.invalid_type,expected:ze.promise,received:n.parsedType}),nt;let i=n.parsedType===ze.promise?n.data:Promise.resolve(n.data);return pi(i.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};Pc.create=(e,t)=>new Pc({type:e,typeName:Je.ZodPromise,...gt(t)});var _a=class extends Dt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Je.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:n,ctx:i}=this._processInputParams(t),r=this._def.effect||null,o={addIssue:a=>{Ie(i,a),a.fatal?n.abort():n.dirty()},get path(){return i.path}};if(o.addIssue=o.addIssue.bind(o),r.type==="preprocess"){let a=r.transform(i.data,o);if(i.common.async)return Promise.resolve(a).then(async s=>{if(n.value==="aborted")return nt;let l=await this._def.schema._parseAsync({data:s,path:i.path,parent:i});return l.status==="aborted"?nt:l.status==="dirty"?Mf(l.value):n.value==="dirty"?Mf(l.value):l});{if(n.value==="aborted")return nt;let s=this._def.schema._parseSync({data:a,path:i.path,parent:i});return s.status==="aborted"?nt:s.status==="dirty"?Mf(s.value):n.value==="dirty"?Mf(s.value):s}}if(r.type==="refinement"){let a=s=>{let l=r.refinement(s,o);if(i.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(i.common.async===!1){let s=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return s.status==="aborted"?nt:(s.status==="dirty"&&n.dirty(),a(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(s=>s.status==="aborted"?nt:(s.status==="dirty"&&n.dirty(),a(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(i.common.async===!1){let a=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!zc(a))return nt;let s=r.transform(a.value,o);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(a=>zc(a)?Promise.resolve(r.transform(a.value,o)).then(s=>({status:n.value,value:s})):nt);Ft.assertNever(r)}};_a.create=(e,t,n)=>new _a({schema:e,typeName:Je.ZodEffects,effect:t,...gt(n)});_a.createWithPreprocess=(e,t,n)=>new _a({schema:t,effect:{type:"preprocess",transform:e},typeName:Je.ZodEffects,...gt(n)});var ba=class extends Dt{_parse(t){return this._getType(t)===ze.undefined?pi(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};ba.create=(e,t)=>new ba({innerType:e,typeName:Je.ZodOptional,...gt(t)});var Bs=class extends Dt{_parse(t){return this._getType(t)===ze.null?pi(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};Bs.create=(e,t)=>new Bs({innerType:e,typeName:Je.ZodNullable,...gt(t)});var Yf=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i=n.data;return n.parsedType===ze.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Yf.create=(e,t)=>new Yf({innerType:e,typeName:Je.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...gt(t)});var Kf=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return eg(r)?r.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new eo(i.common.issues)},input:i.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new eo(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}};Kf.create=(e,t)=>new Kf({innerType:e,typeName:Je.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...gt(t)});var cg=class extends Dt{_parse(t){if(this._getType(t)!==ze.nan){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.nan,received:i.parsedType}),nt}return{status:"valid",value:t.data}}};cg.create=e=>new cg({typeName:Je.ZodNaN,...gt(e)});var nat=Symbol("zod_brand"),H_=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i=n.data;return this._def.type._parse({data:i,path:n.path,parent:n})}unwrap(){return this._def.type}},W_=class e extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.common.async)return(async()=>{let o=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return o.status==="aborted"?nt:o.status==="dirty"?(n.dirty(),Mf(o.value)):this._def.out._parseAsync({data:o.value,path:i.path,parent:i})})();{let r=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return r.status==="aborted"?nt:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:i.path,parent:i})}}static create(t,n){return new e({in:t,out:n,typeName:Je.ZodPipeline})}},Xf=class extends Dt{_parse(t){let n=this._def.innerType._parse(t),i=r=>(zc(r)&&(r.value=Object.freeze(r.value)),r);return eg(n)?n.then(r=>i(r)):i(n)}unwrap(){return this._def.innerType}};Xf.create=(e,t)=>new Xf({innerType:e,typeName:Je.ZodReadonly,...gt(t)});var rat={object:to.lazycreate},Je;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Je||(Je={}));var iat=jf.create,oat=tg.create,aat=cg.create,sat=ng.create,uat=rg.create,lat=ig.create,cat=og.create,dat=Bf.create,fat=Zf.create,pat=ag.create,mat=pl.create,hat=Ya.create,gat=sg.create,vat=ml.create,xSe=to.create,yat=to.strictCreate,bat=Hf.create,_at=N4.create,xat=Wf.create,kat=js.create,wat=z4.create,Eat=ug.create,Dat=lg.create,$at=P4.create,Sat=Vf.create,Iat=Gf.create,Tat=qf.create,Cat=Jf.create,Aat=Pc.create,Nat=_a.create,Oat=ba.create,zat=Bs.create,Pat=_a.createWithPreprocess,Rat=W_.create;var EV=Object.freeze({status:"aborted"});function H(e,t,n){function i(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=a.prototype,f=Object.keys(c);for(let p=0;p<f.length;p++){let h=f[p];h in s||(s[h]=c[h].bind(s))}}let r=n?.Parent??Object;class o extends r{}Object.defineProperty(o,"name",{value:e});function a(s){var l;let c=n?.Parent?new o:this;i(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let f of c._zod.deferred)f();return c}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var R4=Symbol("zod_brand"),Ka=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Rc=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},V_={};function dr(e){return e&&Object.assign(V_,e),V_}var pe={};Ia(pe,{BIGINT_FORMAT_RANGES:()=>V4,Class:()=>F4,NUMBER_FORMAT_RANGES:()=>W4,aborted:()=>yl,allowsEval:()=>j4,assert:()=>ISe,assertEqual:()=>ESe,assertIs:()=>$Se,assertNever:()=>SSe,assertNotEqual:()=>DSe,assignProp:()=>gl,base64ToUint8Array:()=>NV,base64urlToUint8Array:()=>MSe,cached:()=>ep,captureStackTrace:()=>q_,cleanEnum:()=>FSe,cleanRegex:()=>pg,clone:()=>mi,cloneDef:()=>CSe,createTransparentProxy:()=>RSe,defineLazy:()=>_t,esc:()=>G_,escapeRegex:()=>Po,extend:()=>IV,finalizeIssue:()=>Oi,floatSafeRemainder:()=>M4,getElementAtPath:()=>ASe,getEnumValues:()=>fg,getLengthableOrigin:()=>gg,getParsedType:()=>PSe,getSizableOrigin:()=>hg,hexToUint8Array:()=>jSe,isObject:()=>Lc,isPlainObject:()=>vl,issue:()=>tp,joinValues:()=>Xe,jsonStringifyReplacer:()=>Qf,merge:()=>LSe,mergeDefs:()=>Zs,normalizeParams:()=>Te,nullish:()=>hl,numKeys:()=>zSe,objectClone:()=>TSe,omit:()=>SV,optionalKeys:()=>H4,parsedType:()=>rt,partial:()=>CV,pick:()=>$V,prefixIssues:()=>no,primitiveTypes:()=>Z4,promiseAllObject:()=>NSe,propertyKeyTypes:()=>mg,randomString:()=>OSe,required:()=>AV,safeExtend:()=>TV,shallowClone:()=>B4,slugify:()=>U4,stringifyPrimitive:()=>Qe,uint8ArrayToBase64:()=>OV,uint8ArrayToBase64url:()=>USe,uint8ArrayToHex:()=>BSe,unwrapMessage:()=>dg});function ESe(e){return e}function DSe(e){return e}function $Se(e){}function SSe(e){throw new Error("Unexpected value in exhaustive check")}function ISe(e){}function fg(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,r])=>t.indexOf(+i)===-1).map(([i,r])=>r)}function Xe(e,t="|"){return e.map(n=>Qe(n)).join(t)}function Qf(e,t){return typeof t=="bigint"?t.toString():t}function ep(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function hl(e){return e==null}function pg(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function M4(e,t){let n=(e.toString().split(".")[1]||"").length,i=t.toString(),r=(i.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(i)){let l=i.match(/\d?e-(\d?)/);l?.[1]&&(r=Number.parseInt(l[1]))}let o=n>r?n:r,a=Number.parseInt(e.toFixed(o).replace(".","")),s=Number.parseInt(t.toFixed(o).replace(".",""));return a%s/10**o}var DV=Symbol("evaluating");function _t(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==DV)return i===void 0&&(i=DV,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function TSe(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function gl(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Zs(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}function CSe(e){return Zs(e._zod.def)}function ASe(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}function NSe(e){let t=Object.keys(e),n=t.map(i=>e[i]);return Promise.all(n).then(i=>{let r={};for(let o=0;o<t.length;o++)r[t[o]]=i[o];return r})}function OSe(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=t[Math.floor(Math.random()*t.length)];return n}function G_(e){return JSON.stringify(e)}function U4(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var q_="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Lc(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var j4=ep(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function vl(e){if(Lc(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(Lc(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function B4(e){return vl(e)?{...e}:Array.isArray(e)?[...e]:e}function zSe(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var PSe=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},mg=new Set(["string","number","symbol"]),Z4=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Po(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function mi(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}function Te(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function RSe(e){let t;return new Proxy({},{get(n,i,r){return t??(t=e()),Reflect.get(t,i,r)},set(n,i,r,o){return t??(t=e()),Reflect.set(t,i,r,o)},has(n,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(n,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(n,i,r){return t??(t=e()),Reflect.defineProperty(t,i,r)}})}function Qe(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function H4(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var W4={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},V4={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function $V(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let o=Zs(e._zod.def,{get shape(){let a={};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=n.shape[s])}return gl(this,"shape",a),a},checks:[]});return mi(e,o)}function SV(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let o=Zs(e._zod.def,{get shape(){let a={...e._zod.def.shape};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return gl(this,"shape",a),a},checks:[]});return mi(e,o)}function IV(e,t){if(!vl(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let o=e._zod.def.shape;for(let a in t)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=Zs(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t};return gl(this,"shape",o),o}});return mi(e,r)}function TV(e,t){if(!vl(t))throw new Error("Invalid input to safeExtend: expected a plain object");let n=Zs(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return gl(this,"shape",i),i}});return mi(e,n)}function LSe(e,t){let n=Zs(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return gl(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:[]});return mi(e,n)}function CV(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let a=Zs(t._zod.def,{get shape(){let s=t._zod.def.shape,l={...s};if(n)for(let c in n){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(l[c]=e?new e({type:"optional",innerType:s[c]}):s[c])}else for(let c in s)l[c]=e?new e({type:"optional",innerType:s[c]}):s[c];return gl(this,"shape",l),l},checks:[]});return mi(t,a)}function AV(e,t,n){let i=Zs(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let a in n){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);n[a]&&(o[a]=new e({type:"nonoptional",innerType:r[a]}))}else for(let a in r)o[a]=new e({type:"nonoptional",innerType:r[a]});return gl(this,"shape",o),o}});return mi(t,i)}function yl(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function no(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}function dg(e){return typeof e=="string"?e:e?.message}function Oi(e,t,n){let i={...e,path:e.path??[]};if(!e.message){let r=dg(e.inst?._zod.def?.error?.(e))??dg(t?.error?.(e))??dg(n.customError?.(e))??dg(n.localeError?.(e))??"Invalid input";i.message=r}return delete i.inst,delete i.continue,t?.reportInput||delete i.input,i}function hg(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function gg(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function rt(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function tp(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}function FSe(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function NV(e){let t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}function OV(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function MSe(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return NV(t+n)}function USe(e){return OV(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function jSe(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)n[i/2]=Number.parseInt(t.slice(i,i+2),16);return n}function BSe(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var F4=class{constructor(...t){}};var zV=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Qf,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},J_=H("$ZodError",zV),vg=H("$ZodError",zV,{Parent:Error});function Y_(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}function K_(e,t=n=>n.message){let n={_errors:[]},i=r=>{for(let o of r.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(a=>i({issues:a}));else if(o.code==="invalid_key")i({issues:o.issues});else if(o.code==="invalid_element")i({issues:o.issues});else if(o.path.length===0)n._errors.push(t(o));else{let a=n,s=0;for(;s<o.path.length;){let l=o.path[s];s===o.path.length-1?(a[l]=a[l]||{_errors:[]},a[l]._errors.push(t(o))):a[l]=a[l]||{_errors:[]},a=a[l],s++}}};return i(e),n}var yg=e=>(t,n,i,r)=>{let o=i?Object.assign(i,{async:!1}):{async:!1},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new Ka;if(a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>Oi(l,o,dr())));throw q_(s,r?.callee),s}return a.value},bg=yg(vg),_g=e=>async(t,n,i,r)=>{let o=i?Object.assign(i,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>Oi(l,o,dr())));throw q_(s,r?.callee),s}return a.value},xg=_g(vg),kg=e=>(t,n,i)=>{let r=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},r);if(o instanceof Promise)throw new Ka;return o.issues.length?{success:!1,error:new(e??J_)(o.issues.map(a=>Oi(a,r,dr())))}:{success:!0,data:o.value}},np=kg(vg),wg=e=>async(t,n,i)=>{let r=i?Object.assign(i,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},r);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(a=>Oi(a,r,dr())))}:{success:!0,data:o.value}},Eg=wg(vg),PV=e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return yg(e)(t,n,r)};var RV=e=>(t,n,i)=>yg(e)(t,n,i);var LV=e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return _g(e)(t,n,r)};var FV=e=>async(t,n,i)=>_g(e)(t,n,i);var MV=e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return kg(e)(t,n,r)};var UV=e=>(t,n,i)=>kg(e)(t,n,i);var jV=e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return wg(e)(t,n,r)};var BV=e=>async(t,n,i)=>wg(e)(t,n,i);var Ro={};Ia(Ro,{base64:()=>uI,base64url:()=>X_,bigint:()=>mI,boolean:()=>gI,browserEmail:()=>KSe,cidrv4:()=>aI,cidrv6:()=>sI,cuid:()=>G4,cuid2:()=>q4,date:()=>cI,datetime:()=>fI,domain:()=>e4e,duration:()=>Q4,e164:()=>lI,email:()=>tI,emoji:()=>nI,extendedDuration:()=>HSe,guid:()=>eI,hex:()=>t4e,hostname:()=>QSe,html5Email:()=>qSe,idnEmail:()=>YSe,integer:()=>hI,ipv4:()=>rI,ipv6:()=>iI,ksuid:()=>K4,lowercase:()=>bI,mac:()=>oI,md5_base64:()=>r4e,md5_base64url:()=>i4e,md5_hex:()=>n4e,nanoid:()=>X4,null:()=>vI,number:()=>Q_,rfc5322Email:()=>JSe,sha1_base64:()=>a4e,sha1_base64url:()=>s4e,sha1_hex:()=>o4e,sha256_base64:()=>l4e,sha256_base64url:()=>c4e,sha256_hex:()=>u4e,sha384_base64:()=>f4e,sha384_base64url:()=>p4e,sha384_hex:()=>d4e,sha512_base64:()=>h4e,sha512_base64url:()=>g4e,sha512_hex:()=>m4e,string:()=>pI,time:()=>dI,ulid:()=>J4,undefined:()=>yI,unicodeEmail:()=>ZV,uppercase:()=>_I,uuid:()=>Fc,uuid4:()=>WSe,uuid6:()=>VSe,uuid7:()=>GSe,xid:()=>Y4});var G4=/^[cC][^\s-]{8,}$/,q4=/^[0-9a-z]+$/,J4=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Y4=/^[0-9a-vA-V]{20}$/,K4=/^[A-Za-z0-9]{27}$/,X4=/^[a-zA-Z0-9_-]{21}$/,Q4=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,HSe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,eI=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Fc=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,WSe=Fc(4),VSe=Fc(6),GSe=Fc(7),tI=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,qSe=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,JSe=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ZV=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,YSe=ZV,KSe=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,XSe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function nI(){return new RegExp(XSe,"u")}var rI=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,iI=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,oI=e=>{let t=Po(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},aI=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,sI=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,uI=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,X_=/^[A-Za-z0-9_-]*$/,QSe=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,e4e=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,lI=/^\+[1-9]\d{6,14}$/,HV="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",cI=new RegExp(`^${HV}$`);function WV(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function dI(e){return new RegExp(`^${WV(e)}$`)}function fI(e){let t=WV({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${t}(?:${n.join("|")})`;return new RegExp(`^${HV}T(?:${i})$`)}var pI=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},mI=/^-?\d+n?$/,hI=/^-?\d+$/,Q_=/^-?\d+(?:\.\d+)?$/,gI=/^(?:true|false)$/i,vI=/^null$/i;var yI=/^undefined$/i;var bI=/^[^A-Z]*$/,_I=/^[^a-z]*$/,t4e=/^[0-9a-fA-F]*$/;function Dg(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function $g(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var n4e=/^[0-9a-fA-F]{32}$/,r4e=Dg(22,"=="),i4e=$g(22),o4e=/^[0-9a-fA-F]{40}$/,a4e=Dg(27,"="),s4e=$g(27),u4e=/^[0-9a-fA-F]{64}$/,l4e=Dg(43,"="),c4e=$g(43),d4e=/^[0-9a-fA-F]{96}$/,f4e=Dg(64,""),p4e=$g(64),m4e=/^[0-9a-fA-F]{128}$/,h4e=Dg(86,"=="),g4e=$g(86);var ln=H("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),GV={number:"number",bigint:"bigint",object:"date"},xI=H("$ZodCheckLessThan",(e,t)=>{ln.init(e,t);let n=GV[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),kI=H("$ZodCheckGreaterThan",(e,t)=>{ln.init(e,t);let n=GV[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),qV=H("$ZodCheckMultipleOf",(e,t)=>{ln.init(e,t),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):M4(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),JV=H("$ZodCheckNumberFormat",(e,t)=>{ln.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=W4[t.format];e._zod.onattach.push(a=>{let s=a._zod.bag;s.format=t.format,s.minimum=r,s.maximum=o,n&&(s.pattern=hI)}),e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),YV=H("$ZodCheckBigIntFormat",(e,t)=>{ln.init(e,t);let[n,i]=V4[t.format];e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,o.minimum=n,o.maximum=i}),e._zod.check=r=>{let o=r.value;o<n&&r.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),o>i&&r.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),KV=H("$ZodCheckMaxSize",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:hg(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),XV=H("$ZodCheckMinSize",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:hg(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),QV=H("$ZodCheckSizeEquals",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=i=>{let r=i.value,o=r.size;if(o===t.size)return;let a=o>t.size;i.issues.push({origin:hg(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),eG=H("$ZodCheckMaxLength",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;if(r.length<=t.maximum)return;let a=gg(r);i.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tG=H("$ZodCheckMinLength",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;if(r.length>=t.minimum)return;let a=gg(r);i.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),nG=H("$ZodCheckLengthEquals",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=i=>{let r=i.value,o=r.length;if(o===t.length)return;let a=gg(r),s=o>t.length;i.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Sg=H("$ZodCheckStringFormat",(e,t)=>{var n,i;ln.init(e,t),e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),rG=H("$ZodCheckRegex",(e,t)=>{Sg.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),iG=H("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=bI),Sg.init(e,t)}),oG=H("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=_I),Sg.init(e,t)}),aG=H("$ZodCheckIncludes",(e,t)=>{ln.init(e,t);let n=Po(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=i,e._zod.onattach.push(r=>{let o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),sG=H("$ZodCheckStartsWith",(e,t)=>{ln.init(e,t);let n=new RegExp(`^${Po(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),uG=H("$ZodCheckEndsWith",(e,t)=>{ln.init(e,t);let n=new RegExp(`.*${Po(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function VV(e,t,n){e.issues.length&&t.issues.push(...no(n,e.issues))}var lG=H("$ZodCheckProperty",(e,t)=>{ln.init(e,t),e._zod.check=n=>{let i=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(r=>VV(r,n,t.property));VV(i,n,t.property)}}),cG=H("$ZodCheckMimeType",(e,t)=>{ln.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),dG=H("$ZodCheckOverwrite",(e,t)=>{ln.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var ex=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`
2820
+ `;var wa=Y(He(),1);var fp=Y(He(),1);var Ft;(function(e){e.assertEqual=r=>{};function t(r){}e.assertIs=t;function n(r){throw new Error}e.assertNever=n,e.arrayToEnum=r=>{let o={};for(let a of r)o[a]=a;return o},e.getValidEnumValues=r=>{let o=e.objectKeys(r).filter(s=>typeof r[r[s]]!="number"),a={};for(let s of o)a[s]=r[s];return e.objectValues(a)},e.objectValues=r=>e.objectKeys(r).map(function(o){return r[o]}),e.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{let o=[];for(let a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.push(a);return o},e.find=(r,o)=>{for(let a of r)if(o(a))return a},e.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&Number.isFinite(r)&&Math.floor(r)===r;function i(r,o=" | "){return r.map(a=>typeof a=="string"?`'${a}'`:a).join(o)}e.joinValues=i,e.jsonStringifyReplacer=(r,o)=>typeof o=="bigint"?o.toString():o})(Ft||(Ft={}));var bV;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(bV||(bV={}));var ze=Ft.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ms=e=>{switch(typeof e){case"undefined":return ze.undefined;case"string":return ze.string;case"number":return Number.isNaN(e)?ze.nan:ze.number;case"boolean":return ze.boolean;case"function":return ze.function;case"bigint":return ze.bigint;case"symbol":return ze.symbol;case"object":return Array.isArray(e)?ze.array:e===null?ze.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ze.promise:typeof Map<"u"&&e instanceof Map?ze.map:typeof Set<"u"&&e instanceof Set?ze.set:typeof Date<"u"&&e instanceof Date?ze.date:ze.object;default:return ze.unknown}};var de=Ft.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);var eo=class e extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=i=>{this.issues=[...this.issues,i]},this.addIssues=(i=[])=>{this.issues=[...this.issues,...i]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){let n=t||function(o){return o.message},i={_errors:[]},r=o=>{for(let a of o.issues)if(a.code==="invalid_union")a.unionErrors.map(r);else if(a.code==="invalid_return_type")r(a.returnTypeError);else if(a.code==="invalid_arguments")r(a.argumentsError);else if(a.path.length===0)i._errors.push(n(a));else{let s=i,l=0;for(;l<a.path.length;){let c=a.path[l];l===a.path.length-1?(s[c]=s[c]||{_errors:[]},s[c]._errors.push(n(a))):s[c]=s[c]||{_errors:[]},s=s[c],l++}}};return r(this),i}static assert(t){if(!(t instanceof e))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Ft.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){let n=Object.create(null),i=[];for(let r of this.issues)if(r.path.length>0){let o=r.path[0];n[o]=n[o]||[],n[o].push(t(r))}else i.push(t(r));return{formErrors:i,fieldErrors:n}}get formErrors(){return this.flatten()}};eo.create=e=>new eo(e);var K$e=(e,t)=>{let n;switch(e.code){case de.invalid_type:e.received===ze.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case de.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Ft.jsonStringifyReplacer)}`;break;case de.unrecognized_keys:n=`Unrecognized key(s) in object: ${Ft.joinValues(e.keys,", ")}`;break;case de.invalid_union:n="Invalid input";break;case de.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Ft.joinValues(e.options)}`;break;case de.invalid_enum_value:n=`Invalid enum value. Expected ${Ft.joinValues(e.options)}, received '${e.received}'`;break;case de.invalid_arguments:n="Invalid function arguments";break;case de.invalid_return_type:n="Invalid function return type";break;case de.invalid_date:n="Invalid date";break;case de.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Ft.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case de.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case de.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case de.custom:n="Invalid input";break;case de.invalid_intersection_types:n="Intersection results could not be merged";break;case de.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case de.not_finite:n="Number must be finite";break;default:n=t.defaultError,Ft.assertNever(e)}return{message:n}},fl=K$e;var X$e=fl;function Qh(){return X$e}var Z_=e=>{let{data:t,path:n,errorMaps:i,issueData:r}=e,o=[...n,...r.path||[]],a={...r,path:o};if(r.message!==void 0)return{...r,path:o,message:r.message};let s="",l=i.filter(c=>!!c).slice().reverse();for(let c of l)s=c(a,{data:t,defaultError:s}).message;return{...r,path:o,message:s}};function Ie(e,t){let n=Qh(),i=Z_({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===fl?void 0:fl].filter(r=>!!r)});e.common.issues.push(i)}var Vr=class e{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){let i=[];for(let r of n){if(r.status==="aborted")return nt;r.status==="dirty"&&t.dirty(),i.push(r.value)}return{status:t.value,value:i}}static async mergeObjectAsync(t,n){let i=[];for(let r of n){let o=await r.key,a=await r.value;i.push({key:o,value:a})}return e.mergeObjectSync(t,i)}static mergeObjectSync(t,n){let i={};for(let r of n){let{key:o,value:a}=r;if(o.status==="aborted"||a.status==="aborted")return nt;o.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),o.value!=="__proto__"&&(typeof a.value<"u"||r.alwaysSet)&&(i[o.value]=a.value)}return{status:t.value,value:i}}},nt=Object.freeze({status:"aborted"}),Mf=e=>({status:"dirty",value:e}),pi=e=>({status:"valid",value:e}),TI=e=>e.status==="aborted",CI=e=>e.status==="dirty",zc=e=>e.status==="valid",eg=e=>typeof Promise<"u"&&e instanceof Promise;var Ue;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(Ue||(Ue={}));var zo=class{constructor(t,n,i,r){this._cachedPath=[],this.parent=t,this.data=n,this._path=i,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},_V=(e,t)=>{if(zc(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new eo(e.common.issues);return this._error=n,this._error}}};function gt(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:i,description:r}=e;if(t&&(n||i))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:r}:{errorMap:(a,s)=>{let{message:l}=e;return a.code==="invalid_enum_value"?{message:l??s.defaultError}:typeof s.data>"u"?{message:l??i??s.defaultError}:a.code!=="invalid_type"?{message:s.defaultError}:{message:l??n??s.defaultError}},description:r}}var Dt=class{get description(){return this._def.description}_getType(t){return Ms(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Ms(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Vr,ctx:{common:t.parent.common,data:t.data,parsedType:Ms(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let n=this._parse(t);if(eg(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){let n=this._parse(t);return Promise.resolve(n)}parse(t,n){let i=this.safeParse(t,n);if(i.success)return i.data;throw i.error}safeParse(t,n){let i={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ms(t)},r=this._parseSync({data:t,path:i.path,parent:i});return _V(i,r)}"~validate"(t){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ms(t)};if(!this["~standard"].async)try{let i=this._parseSync({data:t,path:[],parent:n});return zc(i)?{value:i.value}:{issues:n.common.issues}}catch(i){i?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(i=>zc(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(t,n){let i=await this.safeParseAsync(t,n);if(i.success)return i.data;throw i.error}async safeParseAsync(t,n){let i={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ms(t)},r=this._parse({data:t,path:i.path,parent:i}),o=await(eg(r)?r:Promise.resolve(r));return _V(i,o)}refine(t,n){let i=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,o)=>{let a=t(r),s=()=>o.addIssue({code:de.custom,...i(r)});return typeof Promise<"u"&&a instanceof Promise?a.then(l=>l?!0:(s(),!1)):a?!0:(s(),!1)})}refinement(t,n){return this._refinement((i,r)=>t(i)?!0:(r.addIssue(typeof n=="function"?n(i,r):n),!1))}_refinement(t){return new _a({schema:this,typeName:Je.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return ba.create(this,this._def)}nullable(){return Bs.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ml.create(this)}promise(){return Pc.create(this,this._def)}or(t){return Hf.create([this,t],this._def)}and(t){return Wf.create(this,t,this._def)}transform(t){return new _a({...gt(this._def),schema:this,typeName:Je.ZodEffects,effect:{type:"transform",transform:t}})}default(t){let n=typeof t=="function"?t:()=>t;return new Yf({...gt(this._def),innerType:this,defaultValue:n,typeName:Je.ZodDefault})}brand(){return new H_({typeName:Je.ZodBranded,type:this,...gt(this._def)})}catch(t){let n=typeof t=="function"?t:()=>t;return new Kf({...gt(this._def),innerType:this,catchValue:n,typeName:Je.ZodCatch})}describe(t){let n=this.constructor;return new n({...this._def,description:t})}pipe(t){return W_.create(this,t)}readonly(){return Xf.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},Q$e=/^c[^\s-]{8,}$/i,eSe=/^[0-9a-z]+$/,tSe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,nSe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,rSe=/^[a-z0-9_-]{21}$/i,iSe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,oSe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,aSe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,sSe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",AI,uSe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,lSe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,cSe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,dSe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,fSe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,pSe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,xV="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",mSe=new RegExp(`^${xV}$`);function kV(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);let n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function hSe(e){return new RegExp(`^${kV(e)}$`)}function gSe(e){let t=`${xV}T${kV(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function vSe(e,t){return!!((t==="v4"||!t)&&uSe.test(e)||(t==="v6"||!t)&&cSe.test(e))}function ySe(e,t){if(!iSe.test(e))return!1;try{let[n]=e.split(".");if(!n)return!1;let i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),r=JSON.parse(atob(i));return!(typeof r!="object"||r===null||"typ"in r&&r?.typ!=="JWT"||!r.alg||t&&r.alg!==t)}catch{return!1}}function bSe(e,t){return!!((t==="v4"||!t)&&lSe.test(e)||(t==="v6"||!t)&&dSe.test(e))}var jf=class e extends Dt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ze.string){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_type,expected:ze.string,received:o.parsedType}),nt}let i=new Vr,r;for(let o of this._def.checks)if(o.kind==="min")t.data.length<o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),i.dirty());else if(o.kind==="max")t.data.length>o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),i.dirty());else if(o.kind==="length"){let a=t.data.length>o.value,s=t.data.length<o.value;(a||s)&&(r=this._getOrReturnCtx(t,r),a?Ie(r,{code:de.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}):s&&Ie(r,{code:de.too_small,minimum:o.value,type:"string",inclusive:!0,exact:!0,message:o.message}),i.dirty())}else if(o.kind==="email")aSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"email",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="emoji")AI||(AI=new RegExp(sSe,"u")),AI.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"emoji",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="uuid")nSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"uuid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="nanoid")rSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"nanoid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="cuid")Q$e.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"cuid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="cuid2")eSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"cuid2",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="ulid")tSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"ulid",code:de.invalid_string,message:o.message}),i.dirty());else if(o.kind==="url")try{new URL(t.data)}catch{r=this._getOrReturnCtx(t,r),Ie(r,{validation:"url",code:de.invalid_string,message:o.message}),i.dirty()}else o.kind==="regex"?(o.regex.lastIndex=0,o.regex.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"regex",code:de.invalid_string,message:o.message}),i.dirty())):o.kind==="trim"?t.data=t.data.trim():o.kind==="includes"?t.data.includes(o.value,o.position)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),i.dirty()):o.kind==="toLowerCase"?t.data=t.data.toLowerCase():o.kind==="toUpperCase"?t.data=t.data.toUpperCase():o.kind==="startsWith"?t.data.startsWith(o.value)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:{startsWith:o.value},message:o.message}),i.dirty()):o.kind==="endsWith"?t.data.endsWith(o.value)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:{endsWith:o.value},message:o.message}),i.dirty()):o.kind==="datetime"?gSe(o).test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:"datetime",message:o.message}),i.dirty()):o.kind==="date"?mSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:"date",message:o.message}),i.dirty()):o.kind==="time"?hSe(o).test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.invalid_string,validation:"time",message:o.message}),i.dirty()):o.kind==="duration"?oSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"duration",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="ip"?vSe(t.data,o.version)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"ip",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="jwt"?ySe(t.data,o.alg)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"jwt",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="cidr"?bSe(t.data,o.version)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"cidr",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="base64"?fSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"base64",code:de.invalid_string,message:o.message}),i.dirty()):o.kind==="base64url"?pSe.test(t.data)||(r=this._getOrReturnCtx(t,r),Ie(r,{validation:"base64url",code:de.invalid_string,message:o.message}),i.dirty()):Ft.assertNever(o);return{status:i.value,value:t.data}}_regex(t,n,i){return this.refinement(r=>t.test(r),{validation:n,code:de.invalid_string,...Ue.errToObj(i)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Ue.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Ue.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Ue.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Ue.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Ue.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Ue.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Ue.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Ue.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Ue.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Ue.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Ue.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Ue.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Ue.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...Ue.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...Ue.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...Ue.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Ue.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...Ue.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Ue.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Ue.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Ue.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Ue.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Ue.errToObj(n)})}nonempty(t){return this.min(1,Ue.errToObj(t))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};jf.create=e=>new jf({checks:[],typeName:Je.ZodString,coerce:e?.coerce??!1,...gt(e)});function _Se(e,t){let n=(e.toString().split(".")[1]||"").length,i=(t.toString().split(".")[1]||"").length,r=n>i?n:i,o=Number.parseInt(e.toFixed(r).replace(".","")),a=Number.parseInt(t.toFixed(r).replace(".",""));return o%a/10**r}var tg=class e extends Dt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ze.number){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_type,expected:ze.number,received:o.parsedType}),nt}let i,r=new Vr;for(let o of this._def.checks)o.kind==="int"?Ft.isInteger(t.data)||(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.invalid_type,expected:"integer",received:"float",message:o.message}),r.dirty()):o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),r.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),r.dirty()):o.kind==="multipleOf"?_Se(t.data,o.value)!==0&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.not_multiple_of,multipleOf:o.value,message:o.message}),r.dirty()):o.kind==="finite"?Number.isFinite(t.data)||(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.not_finite,message:o.message}),r.dirty()):Ft.assertNever(o);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Ue.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ue.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ue.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ue.toString(n))}setLimit(t,n,i,r){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:i,message:Ue.toString(r)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Ue.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ue.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ue.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ue.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ue.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ue.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Ue.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ue.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ue.toString(t)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Ft.isInteger(t.value))}get isFinite(){let t=null,n=null;for(let i of this._def.checks){if(i.kind==="finite"||i.kind==="int"||i.kind==="multipleOf")return!0;i.kind==="min"?(n===null||i.value>n)&&(n=i.value):i.kind==="max"&&(t===null||i.value<t)&&(t=i.value)}return Number.isFinite(n)&&Number.isFinite(t)}};tg.create=e=>new tg({checks:[],typeName:Je.ZodNumber,coerce:e?.coerce||!1,...gt(e)});var ng=class e extends Dt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==ze.bigint)return this._getInvalidInput(t);let i,r=new Vr;for(let o of this._def.checks)o.kind==="min"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):o.kind==="max"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),r.dirty()):o.kind==="multipleOf"?t.data%o.value!==BigInt(0)&&(i=this._getOrReturnCtx(t,i),Ie(i,{code:de.not_multiple_of,multipleOf:o.value,message:o.message}),r.dirty()):Ft.assertNever(o);return{status:r.value,value:t.data}}_getInvalidInput(t){let n=this._getOrReturnCtx(t);return Ie(n,{code:de.invalid_type,expected:ze.bigint,received:n.parsedType}),nt}gte(t,n){return this.setLimit("min",t,!0,Ue.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Ue.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Ue.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Ue.toString(n))}setLimit(t,n,i,r){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:i,message:Ue.toString(r)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ue.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ue.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ue.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ue.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Ue.toString(n)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};ng.create=e=>new ng({checks:[],typeName:Je.ZodBigInt,coerce:e?.coerce??!1,...gt(e)});var rg=class extends Dt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ze.boolean){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.boolean,received:i.parsedType}),nt}return pi(t.data)}};rg.create=e=>new rg({typeName:Je.ZodBoolean,coerce:e?.coerce||!1,...gt(e)});var ig=class e extends Dt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ze.date){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_type,expected:ze.date,received:o.parsedType}),nt}if(Number.isNaN(t.data.getTime())){let o=this._getOrReturnCtx(t);return Ie(o,{code:de.invalid_date}),nt}let i=new Vr,r;for(let o of this._def.checks)o.kind==="min"?t.data.getTime()<o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),i.dirty()):o.kind==="max"?t.data.getTime()>o.value&&(r=this._getOrReturnCtx(t,r),Ie(r,{code:de.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),i.dirty()):Ft.assertNever(o);return{status:i.value,value:new Date(t.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Ue.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Ue.toString(n)})}get minDate(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}};ig.create=e=>new ig({checks:[],coerce:e?.coerce||!1,typeName:Je.ZodDate,...gt(e)});var og=class extends Dt{_parse(t){if(this._getType(t)!==ze.symbol){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.symbol,received:i.parsedType}),nt}return pi(t.data)}};og.create=e=>new og({typeName:Je.ZodSymbol,...gt(e)});var Bf=class extends Dt{_parse(t){if(this._getType(t)!==ze.undefined){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.undefined,received:i.parsedType}),nt}return pi(t.data)}};Bf.create=e=>new Bf({typeName:Je.ZodUndefined,...gt(e)});var Zf=class extends Dt{_parse(t){if(this._getType(t)!==ze.null){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.null,received:i.parsedType}),nt}return pi(t.data)}};Zf.create=e=>new Zf({typeName:Je.ZodNull,...gt(e)});var ag=class extends Dt{constructor(){super(...arguments),this._any=!0}_parse(t){return pi(t.data)}};ag.create=e=>new ag({typeName:Je.ZodAny,...gt(e)});var pl=class extends Dt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return pi(t.data)}};pl.create=e=>new pl({typeName:Je.ZodUnknown,...gt(e)});var Ya=class extends Dt{_parse(t){let n=this._getOrReturnCtx(t);return Ie(n,{code:de.invalid_type,expected:ze.never,received:n.parsedType}),nt}};Ya.create=e=>new Ya({typeName:Je.ZodNever,...gt(e)});var sg=class extends Dt{_parse(t){if(this._getType(t)!==ze.undefined){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.void,received:i.parsedType}),nt}return pi(t.data)}};sg.create=e=>new sg({typeName:Je.ZodVoid,...gt(e)});var ml=class e extends Dt{_parse(t){let{ctx:n,status:i}=this._processInputParams(t),r=this._def;if(n.parsedType!==ze.array)return Ie(n,{code:de.invalid_type,expected:ze.array,received:n.parsedType}),nt;if(r.exactLength!==null){let a=n.data.length>r.exactLength.value,s=n.data.length<r.exactLength.value;(a||s)&&(Ie(n,{code:a?de.too_big:de.too_small,minimum:s?r.exactLength.value:void 0,maximum:a?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),i.dirty())}if(r.minLength!==null&&n.data.length<r.minLength.value&&(Ie(n,{code:de.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),i.dirty()),r.maxLength!==null&&n.data.length>r.maxLength.value&&(Ie(n,{code:de.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),i.dirty()),n.common.async)return Promise.all([...n.data].map((a,s)=>r.type._parseAsync(new zo(n,a,n.path,s)))).then(a=>Vr.mergeArray(i,a));let o=[...n.data].map((a,s)=>r.type._parseSync(new zo(n,a,n.path,s)));return Vr.mergeArray(i,o)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:Ue.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:Ue.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:Ue.toString(n)}})}nonempty(t){return this.min(1,t)}};ml.create=(e,t)=>new ml({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Je.ZodArray,...gt(t)});function Uf(e){if(e instanceof to){let t={};for(let n in e.shape){let i=e.shape[n];t[n]=ba.create(Uf(i))}return new to({...e._def,shape:()=>t})}else return e instanceof ml?new ml({...e._def,type:Uf(e.element)}):e instanceof ba?ba.create(Uf(e.unwrap())):e instanceof Bs?Bs.create(Uf(e.unwrap())):e instanceof js?js.create(e.items.map(t=>Uf(t))):e}var to=class e extends Dt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let t=this._def.shape(),n=Ft.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==ze.object){let c=this._getOrReturnCtx(t);return Ie(c,{code:de.invalid_type,expected:ze.object,received:c.parsedType}),nt}let{status:i,ctx:r}=this._processInputParams(t),{shape:o,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof Ya&&this._def.unknownKeys==="strip"))for(let c in r.data)a.includes(c)||s.push(c);let l=[];for(let c of a){let f=o[c],p=r.data[c];l.push({key:{status:"valid",value:c},value:f._parse(new zo(r,p,r.path,c)),alwaysSet:c in r.data})}if(this._def.catchall instanceof Ya){let c=this._def.unknownKeys;if(c==="passthrough")for(let f of s)l.push({key:{status:"valid",value:f},value:{status:"valid",value:r.data[f]}});else if(c==="strict")s.length>0&&(Ie(r,{code:de.unrecognized_keys,keys:s}),i.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let c=this._def.catchall;for(let f of s){let p=r.data[f];l.push({key:{status:"valid",value:f},value:c._parse(new zo(r,p,r.path,f)),alwaysSet:f in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let c=[];for(let f of l){let p=await f.key,h=await f.value;c.push({key:p,value:h,alwaysSet:f.alwaysSet})}return c}).then(c=>Vr.mergeObjectSync(i,c)):Vr.mergeObjectSync(i,l)}get shape(){return this._def.shape()}strict(t){return Ue.errToObj,new e({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,i)=>{let r=this._def.errorMap?.(n,i).message??i.defaultError;return n.code==="unrecognized_keys"?{message:Ue.errToObj(t).message??r}:{message:r}}}:{}})}strip(){return new e({...this._def,unknownKeys:"strip"})}passthrough(){return new e({...this._def,unknownKeys:"passthrough"})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Je.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let i of Ft.objectKeys(t))t[i]&&this.shape[i]&&(n[i]=this.shape[i]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let i of Ft.objectKeys(this.shape))t[i]||(n[i]=this.shape[i]);return new e({...this._def,shape:()=>n})}deepPartial(){return Uf(this)}partial(t){let n={};for(let i of Ft.objectKeys(this.shape)){let r=this.shape[i];t&&!t[i]?n[i]=r:n[i]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let i of Ft.objectKeys(this.shape))if(t&&!t[i])n[i]=this.shape[i];else{let o=this.shape[i];for(;o instanceof ba;)o=o._def.innerType;n[i]=o}return new e({...this._def,shape:()=>n})}keyof(){return wV(Ft.objectKeys(this.shape))}};to.create=(e,t)=>new to({shape:()=>e,unknownKeys:"strip",catchall:Ya.create(),typeName:Je.ZodObject,...gt(t)});to.strictCreate=(e,t)=>new to({shape:()=>e,unknownKeys:"strict",catchall:Ya.create(),typeName:Je.ZodObject,...gt(t)});to.lazycreate=(e,t)=>new to({shape:e,unknownKeys:"strip",catchall:Ya.create(),typeName:Je.ZodObject,...gt(t)});var Hf=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i=this._def.options;function r(o){for(let s of o)if(s.result.status==="valid")return s.result;for(let s of o)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;let a=o.map(s=>new eo(s.ctx.common.issues));return Ie(n,{code:de.invalid_union,unionErrors:a}),nt}if(n.common.async)return Promise.all(i.map(async o=>{let a={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(r);{let o,a=[];for(let l of i){let c={...n,common:{...n.common,issues:[]},parent:null},f=l._parseSync({data:n.data,path:n.path,parent:c});if(f.status==="valid")return f;f.status==="dirty"&&!o&&(o={result:f,ctx:c}),c.common.issues.length&&a.push(c.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;let s=a.map(l=>new eo(l));return Ie(n,{code:de.invalid_union,unionErrors:s}),nt}}get options(){return this._def.options}};Hf.create=(e,t)=>new Hf({options:e,typeName:Je.ZodUnion,...gt(t)});var Us=e=>e instanceof Vf?Us(e.schema):e instanceof _a?Us(e.innerType()):e instanceof Gf?[e.value]:e instanceof qf?e.options:e instanceof Jf?Ft.objectValues(e.enum):e instanceof Yf?Us(e._def.innerType):e instanceof Bf?[void 0]:e instanceof Zf?[null]:e instanceof ba?[void 0,...Us(e.unwrap())]:e instanceof Bs?[null,...Us(e.unwrap())]:e instanceof H_||e instanceof Xf?Us(e.unwrap()):e instanceof Kf?Us(e._def.innerType):[],NI=class e extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ze.object)return Ie(n,{code:de.invalid_type,expected:ze.object,received:n.parsedType}),nt;let i=this.discriminator,r=n.data[i],o=this.optionsMap.get(r);return o?n.common.async?o._parseAsync({data:n.data,path:n.path,parent:n}):o._parseSync({data:n.data,path:n.path,parent:n}):(Ie(n,{code:de.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),nt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,i){let r=new Map;for(let o of n){let a=Us(o.shape[t]);if(!a.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let s of a){if(r.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);r.set(s,o)}}return new e({typeName:Je.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:r,...gt(i)})}};function OI(e,t){let n=Ms(e),i=Ms(t);if(e===t)return{valid:!0,data:e};if(n===ze.object&&i===ze.object){let r=Ft.objectKeys(t),o=Ft.objectKeys(e).filter(s=>r.indexOf(s)!==-1),a={...e,...t};for(let s of o){let l=OI(e[s],t[s]);if(!l.valid)return{valid:!1};a[s]=l.data}return{valid:!0,data:a}}else if(n===ze.array&&i===ze.array){if(e.length!==t.length)return{valid:!1};let r=[];for(let o=0;o<e.length;o++){let a=e[o],s=t[o],l=OI(a,s);if(!l.valid)return{valid:!1};r.push(l.data)}return{valid:!0,data:r}}else return n===ze.date&&i===ze.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var Wf=class extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t),r=(o,a)=>{if(TI(o)||TI(a))return nt;let s=OI(o.value,a.value);return s.valid?((CI(o)||CI(a))&&n.dirty(),{status:n.value,value:s.data}):(Ie(i,{code:de.invalid_intersection_types}),nt)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([o,a])=>r(o,a)):r(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}};Wf.create=(e,t,n)=>new Wf({left:e,right:t,typeName:Je.ZodIntersection,...gt(n)});var js=class e extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.array)return Ie(i,{code:de.invalid_type,expected:ze.array,received:i.parsedType}),nt;if(i.data.length<this._def.items.length)return Ie(i,{code:de.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),nt;!this._def.rest&&i.data.length>this._def.items.length&&(Ie(i,{code:de.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let o=[...i.data].map((a,s)=>{let l=this._def.items[s]||this._def.rest;return l?l._parse(new zo(i,a,i.path,s)):null}).filter(a=>!!a);return i.common.async?Promise.all(o).then(a=>Vr.mergeArray(n,a)):Vr.mergeArray(n,o)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};js.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new js({items:e,typeName:Je.ZodTuple,rest:null,...gt(t)})};var zI=class e extends Dt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.object)return Ie(i,{code:de.invalid_type,expected:ze.object,received:i.parsedType}),nt;let r=[],o=this._def.keyType,a=this._def.valueType;for(let s in i.data)r.push({key:o._parse(new zo(i,s,i.path,s)),value:a._parse(new zo(i,i.data[s],i.path,s)),alwaysSet:s in i.data});return i.common.async?Vr.mergeObjectAsync(n,r):Vr.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(t,n,i){return n instanceof Dt?new e({keyType:t,valueType:n,typeName:Je.ZodRecord,...gt(i)}):new e({keyType:jf.create(),valueType:t,typeName:Je.ZodRecord,...gt(n)})}},ug=class extends Dt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.map)return Ie(i,{code:de.invalid_type,expected:ze.map,received:i.parsedType}),nt;let r=this._def.keyType,o=this._def.valueType,a=[...i.data.entries()].map(([s,l],c)=>({key:r._parse(new zo(i,s,i.path,[c,"key"])),value:o._parse(new zo(i,l,i.path,[c,"value"]))}));if(i.common.async){let s=new Map;return Promise.resolve().then(async()=>{for(let l of a){let c=await l.key,f=await l.value;if(c.status==="aborted"||f.status==="aborted")return nt;(c.status==="dirty"||f.status==="dirty")&&n.dirty(),s.set(c.value,f.value)}return{status:n.value,value:s}})}else{let s=new Map;for(let l of a){let c=l.key,f=l.value;if(c.status==="aborted"||f.status==="aborted")return nt;(c.status==="dirty"||f.status==="dirty")&&n.dirty(),s.set(c.value,f.value)}return{status:n.value,value:s}}}};ug.create=(e,t,n)=>new ug({valueType:t,keyType:e,typeName:Je.ZodMap,...gt(n)});var lg=class e extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.parsedType!==ze.set)return Ie(i,{code:de.invalid_type,expected:ze.set,received:i.parsedType}),nt;let r=this._def;r.minSize!==null&&i.data.size<r.minSize.value&&(Ie(i,{code:de.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),n.dirty()),r.maxSize!==null&&i.data.size>r.maxSize.value&&(Ie(i,{code:de.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());let o=this._def.valueType;function a(l){let c=new Set;for(let f of l){if(f.status==="aborted")return nt;f.status==="dirty"&&n.dirty(),c.add(f.value)}return{status:n.value,value:c}}let s=[...i.data.values()].map((l,c)=>o._parse(new zo(i,l,i.path,c)));return i.common.async?Promise.all(s).then(l=>a(l)):a(s)}min(t,n){return new e({...this._def,minSize:{value:t,message:Ue.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:Ue.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}};lg.create=(e,t)=>new lg({valueType:e,minSize:null,maxSize:null,typeName:Je.ZodSet,...gt(t)});var PI=class e extends Dt{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ze.function)return Ie(n,{code:de.invalid_type,expected:ze.function,received:n.parsedType}),nt;function i(s,l){return Z_({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Qh(),fl].filter(c=>!!c),issueData:{code:de.invalid_arguments,argumentsError:l}})}function r(s,l){return Z_({data:s,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Qh(),fl].filter(c=>!!c),issueData:{code:de.invalid_return_type,returnTypeError:l}})}let o={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof Pc){let s=this;return pi(async function(...l){let c=new eo([]),f=await s._def.args.parseAsync(l,o).catch(v=>{throw c.addIssue(i(l,v)),c}),p=await Reflect.apply(a,this,f);return await s._def.returns._def.type.parseAsync(p,o).catch(v=>{throw c.addIssue(r(p,v)),c})})}else{let s=this;return pi(function(...l){let c=s._def.args.safeParse(l,o);if(!c.success)throw new eo([i(l,c.error)]);let f=Reflect.apply(a,this,c.data),p=s._def.returns.safeParse(f,o);if(!p.success)throw new eo([r(f,p.error)]);return p.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:js.create(t).rest(pl.create())})}returns(t){return new e({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,i){return new e({args:t||js.create([]).rest(pl.create()),returns:n||pl.create(),typeName:Je.ZodFunction,...gt(i)})}},Vf=class extends Dt{get schema(){return this._def.getter()}_parse(t){let{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};Vf.create=(e,t)=>new Vf({getter:e,typeName:Je.ZodLazy,...gt(t)});var Gf=class extends Dt{_parse(t){if(t.data!==this._def.value){let n=this._getOrReturnCtx(t);return Ie(n,{received:n.data,code:de.invalid_literal,expected:this._def.value}),nt}return{status:"valid",value:t.data}}get value(){return this._def.value}};Gf.create=(e,t)=>new Gf({value:e,typeName:Je.ZodLiteral,...gt(t)});function wV(e,t){return new qf({values:e,typeName:Je.ZodEnum,...gt(t)})}var qf=class e extends Dt{_parse(t){if(typeof t.data!="string"){let n=this._getOrReturnCtx(t),i=this._def.values;return Ie(n,{expected:Ft.joinValues(i),received:n.parsedType,code:de.invalid_type}),nt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){let n=this._getOrReturnCtx(t),i=this._def.values;return Ie(n,{received:n.data,code:de.invalid_enum_value,options:i}),nt}return pi(t.data)}get options(){return this._def.values}get enum(){let t={};for(let n of this._def.values)t[n]=n;return t}get Values(){let t={};for(let n of this._def.values)t[n]=n;return t}get Enum(){let t={};for(let n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(i=>!t.includes(i)),{...this._def,...n})}};qf.create=wV;var Jf=class extends Dt{_parse(t){let n=Ft.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(t);if(i.parsedType!==ze.string&&i.parsedType!==ze.number){let r=Ft.objectValues(n);return Ie(i,{expected:Ft.joinValues(r),received:i.parsedType,code:de.invalid_type}),nt}if(this._cache||(this._cache=new Set(Ft.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){let r=Ft.objectValues(n);return Ie(i,{received:i.data,code:de.invalid_enum_value,options:r}),nt}return pi(t.data)}get enum(){return this._def.values}};Jf.create=(e,t)=>new Jf({values:e,typeName:Je.ZodNativeEnum,...gt(t)});var Pc=class extends Dt{unwrap(){return this._def.type}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==ze.promise&&n.common.async===!1)return Ie(n,{code:de.invalid_type,expected:ze.promise,received:n.parsedType}),nt;let i=n.parsedType===ze.promise?n.data:Promise.resolve(n.data);return pi(i.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}};Pc.create=(e,t)=>new Pc({type:e,typeName:Je.ZodPromise,...gt(t)});var _a=class extends Dt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Je.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:n,ctx:i}=this._processInputParams(t),r=this._def.effect||null,o={addIssue:a=>{Ie(i,a),a.fatal?n.abort():n.dirty()},get path(){return i.path}};if(o.addIssue=o.addIssue.bind(o),r.type==="preprocess"){let a=r.transform(i.data,o);if(i.common.async)return Promise.resolve(a).then(async s=>{if(n.value==="aborted")return nt;let l=await this._def.schema._parseAsync({data:s,path:i.path,parent:i});return l.status==="aborted"?nt:l.status==="dirty"?Mf(l.value):n.value==="dirty"?Mf(l.value):l});{if(n.value==="aborted")return nt;let s=this._def.schema._parseSync({data:a,path:i.path,parent:i});return s.status==="aborted"?nt:s.status==="dirty"?Mf(s.value):n.value==="dirty"?Mf(s.value):s}}if(r.type==="refinement"){let a=s=>{let l=r.refinement(s,o);if(i.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(i.common.async===!1){let s=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return s.status==="aborted"?nt:(s.status==="dirty"&&n.dirty(),a(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(s=>s.status==="aborted"?nt:(s.status==="dirty"&&n.dirty(),a(s.value).then(()=>({status:n.value,value:s.value}))))}if(r.type==="transform")if(i.common.async===!1){let a=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if(!zc(a))return nt;let s=r.transform(a.value,o);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(a=>zc(a)?Promise.resolve(r.transform(a.value,o)).then(s=>({status:n.value,value:s})):nt);Ft.assertNever(r)}};_a.create=(e,t,n)=>new _a({schema:e,typeName:Je.ZodEffects,effect:t,...gt(n)});_a.createWithPreprocess=(e,t,n)=>new _a({schema:t,effect:{type:"preprocess",transform:e},typeName:Je.ZodEffects,...gt(n)});var ba=class extends Dt{_parse(t){return this._getType(t)===ze.undefined?pi(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};ba.create=(e,t)=>new ba({innerType:e,typeName:Je.ZodOptional,...gt(t)});var Bs=class extends Dt{_parse(t){return this._getType(t)===ze.null?pi(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};Bs.create=(e,t)=>new Bs({innerType:e,typeName:Je.ZodNullable,...gt(t)});var Yf=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i=n.data;return n.parsedType===ze.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Yf.create=(e,t)=>new Yf({innerType:e,typeName:Je.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...gt(t)});var Kf=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return eg(r)?r.then(o=>({status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new eo(i.common.issues)},input:i.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new eo(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}};Kf.create=(e,t)=>new Kf({innerType:e,typeName:Je.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...gt(t)});var cg=class extends Dt{_parse(t){if(this._getType(t)!==ze.nan){let i=this._getOrReturnCtx(t);return Ie(i,{code:de.invalid_type,expected:ze.nan,received:i.parsedType}),nt}return{status:"valid",value:t.data}}};cg.create=e=>new cg({typeName:Je.ZodNaN,...gt(e)});var nat=Symbol("zod_brand"),H_=class extends Dt{_parse(t){let{ctx:n}=this._processInputParams(t),i=n.data;return this._def.type._parse({data:i,path:n.path,parent:n})}unwrap(){return this._def.type}},W_=class e extends Dt{_parse(t){let{status:n,ctx:i}=this._processInputParams(t);if(i.common.async)return(async()=>{let o=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return o.status==="aborted"?nt:o.status==="dirty"?(n.dirty(),Mf(o.value)):this._def.out._parseAsync({data:o.value,path:i.path,parent:i})})();{let r=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return r.status==="aborted"?nt:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:i.path,parent:i})}}static create(t,n){return new e({in:t,out:n,typeName:Je.ZodPipeline})}},Xf=class extends Dt{_parse(t){let n=this._def.innerType._parse(t),i=r=>(zc(r)&&(r.value=Object.freeze(r.value)),r);return eg(n)?n.then(r=>i(r)):i(n)}unwrap(){return this._def.innerType}};Xf.create=(e,t)=>new Xf({innerType:e,typeName:Je.ZodReadonly,...gt(t)});var rat={object:to.lazycreate},Je;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Je||(Je={}));var iat=jf.create,oat=tg.create,aat=cg.create,sat=ng.create,uat=rg.create,lat=ig.create,cat=og.create,dat=Bf.create,fat=Zf.create,pat=ag.create,mat=pl.create,hat=Ya.create,gat=sg.create,vat=ml.create,xSe=to.create,yat=to.strictCreate,bat=Hf.create,_at=NI.create,xat=Wf.create,kat=js.create,wat=zI.create,Eat=ug.create,Dat=lg.create,$at=PI.create,Sat=Vf.create,Iat=Gf.create,Tat=qf.create,Cat=Jf.create,Aat=Pc.create,Nat=_a.create,Oat=ba.create,zat=Bs.create,Pat=_a.createWithPreprocess,Rat=W_.create;var EV=Object.freeze({status:"aborted"});function H(e,t,n){function i(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=a.prototype,f=Object.keys(c);for(let p=0;p<f.length;p++){let h=f[p];h in s||(s[h]=c[h].bind(s))}}let r=n?.Parent??Object;class o extends r{}Object.defineProperty(o,"name",{value:e});function a(s){var l;let c=n?.Parent?new o:this;i(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let f of c._zod.deferred)f();return c}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var RI=Symbol("zod_brand"),Ka=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Rc=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},V_={};function dr(e){return e&&Object.assign(V_,e),V_}var pe={};Ia(pe,{BIGINT_FORMAT_RANGES:()=>VI,Class:()=>FI,NUMBER_FORMAT_RANGES:()=>WI,aborted:()=>yl,allowsEval:()=>jI,assert:()=>ISe,assertEqual:()=>ESe,assertIs:()=>$Se,assertNever:()=>SSe,assertNotEqual:()=>DSe,assignProp:()=>gl,base64ToUint8Array:()=>NV,base64urlToUint8Array:()=>MSe,cached:()=>ep,captureStackTrace:()=>q_,cleanEnum:()=>FSe,cleanRegex:()=>pg,clone:()=>mi,cloneDef:()=>CSe,createTransparentProxy:()=>RSe,defineLazy:()=>_t,esc:()=>G_,escapeRegex:()=>Po,extend:()=>IV,finalizeIssue:()=>Oi,floatSafeRemainder:()=>MI,getElementAtPath:()=>ASe,getEnumValues:()=>fg,getLengthableOrigin:()=>gg,getParsedType:()=>PSe,getSizableOrigin:()=>hg,hexToUint8Array:()=>jSe,isObject:()=>Lc,isPlainObject:()=>vl,issue:()=>tp,joinValues:()=>Xe,jsonStringifyReplacer:()=>Qf,merge:()=>LSe,mergeDefs:()=>Zs,normalizeParams:()=>Te,nullish:()=>hl,numKeys:()=>zSe,objectClone:()=>TSe,omit:()=>SV,optionalKeys:()=>HI,parsedType:()=>rt,partial:()=>CV,pick:()=>$V,prefixIssues:()=>no,primitiveTypes:()=>ZI,promiseAllObject:()=>NSe,propertyKeyTypes:()=>mg,randomString:()=>OSe,required:()=>AV,safeExtend:()=>TV,shallowClone:()=>BI,slugify:()=>UI,stringifyPrimitive:()=>Qe,uint8ArrayToBase64:()=>OV,uint8ArrayToBase64url:()=>USe,uint8ArrayToHex:()=>BSe,unwrapMessage:()=>dg});function ESe(e){return e}function DSe(e){return e}function $Se(e){}function SSe(e){throw new Error("Unexpected value in exhaustive check")}function ISe(e){}function fg(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,r])=>t.indexOf(+i)===-1).map(([i,r])=>r)}function Xe(e,t="|"){return e.map(n=>Qe(n)).join(t)}function Qf(e,t){return typeof t=="bigint"?t.toString():t}function ep(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function hl(e){return e==null}function pg(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function MI(e,t){let n=(e.toString().split(".")[1]||"").length,i=t.toString(),r=(i.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(i)){let l=i.match(/\d?e-(\d?)/);l?.[1]&&(r=Number.parseInt(l[1]))}let o=n>r?n:r,a=Number.parseInt(e.toFixed(o).replace(".","")),s=Number.parseInt(t.toFixed(o).replace(".",""));return a%s/10**o}var DV=Symbol("evaluating");function _t(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==DV)return i===void 0&&(i=DV,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function TSe(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function gl(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Zs(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}function CSe(e){return Zs(e._zod.def)}function ASe(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}function NSe(e){let t=Object.keys(e),n=t.map(i=>e[i]);return Promise.all(n).then(i=>{let r={};for(let o=0;o<t.length;o++)r[t[o]]=i[o];return r})}function OSe(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=t[Math.floor(Math.random()*t.length)];return n}function G_(e){return JSON.stringify(e)}function UI(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var q_="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Lc(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var jI=ep(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function vl(e){if(Lc(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(Lc(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function BI(e){return vl(e)?{...e}:Array.isArray(e)?[...e]:e}function zSe(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var PSe=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},mg=new Set(["string","number","symbol"]),ZI=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Po(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function mi(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}function Te(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function RSe(e){let t;return new Proxy({},{get(n,i,r){return t??(t=e()),Reflect.get(t,i,r)},set(n,i,r,o){return t??(t=e()),Reflect.set(t,i,r,o)},has(n,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(n,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(n,i,r){return t??(t=e()),Reflect.defineProperty(t,i,r)}})}function Qe(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function HI(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var WI={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},VI={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function $V(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let o=Zs(e._zod.def,{get shape(){let a={};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=n.shape[s])}return gl(this,"shape",a),a},checks:[]});return mi(e,o)}function SV(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let o=Zs(e._zod.def,{get shape(){let a={...e._zod.def.shape};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return gl(this,"shape",a),a},checks:[]});return mi(e,o)}function IV(e,t){if(!vl(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let o=e._zod.def.shape;for(let a in t)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=Zs(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t};return gl(this,"shape",o),o}});return mi(e,r)}function TV(e,t){if(!vl(t))throw new Error("Invalid input to safeExtend: expected a plain object");let n=Zs(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return gl(this,"shape",i),i}});return mi(e,n)}function LSe(e,t){let n=Zs(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return gl(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:[]});return mi(e,n)}function CV(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let a=Zs(t._zod.def,{get shape(){let s=t._zod.def.shape,l={...s};if(n)for(let c in n){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(l[c]=e?new e({type:"optional",innerType:s[c]}):s[c])}else for(let c in s)l[c]=e?new e({type:"optional",innerType:s[c]}):s[c];return gl(this,"shape",l),l},checks:[]});return mi(t,a)}function AV(e,t,n){let i=Zs(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let a in n){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);n[a]&&(o[a]=new e({type:"nonoptional",innerType:r[a]}))}else for(let a in r)o[a]=new e({type:"nonoptional",innerType:r[a]});return gl(this,"shape",o),o}});return mi(t,i)}function yl(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function no(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}function dg(e){return typeof e=="string"?e:e?.message}function Oi(e,t,n){let i={...e,path:e.path??[]};if(!e.message){let r=dg(e.inst?._zod.def?.error?.(e))??dg(t?.error?.(e))??dg(n.customError?.(e))??dg(n.localeError?.(e))??"Invalid input";i.message=r}return delete i.inst,delete i.continue,t?.reportInput||delete i.input,i}function hg(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function gg(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function rt(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function tp(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}function FSe(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function NV(e){let t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}function OV(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function MSe(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return NV(t+n)}function USe(e){return OV(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function jSe(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)n[i/2]=Number.parseInt(t.slice(i,i+2),16);return n}function BSe(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var FI=class{constructor(...t){}};var zV=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Qf,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},J_=H("$ZodError",zV),vg=H("$ZodError",zV,{Parent:Error});function Y_(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}function K_(e,t=n=>n.message){let n={_errors:[]},i=r=>{for(let o of r.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(a=>i({issues:a}));else if(o.code==="invalid_key")i({issues:o.issues});else if(o.code==="invalid_element")i({issues:o.issues});else if(o.path.length===0)n._errors.push(t(o));else{let a=n,s=0;for(;s<o.path.length;){let l=o.path[s];s===o.path.length-1?(a[l]=a[l]||{_errors:[]},a[l]._errors.push(t(o))):a[l]=a[l]||{_errors:[]},a=a[l],s++}}};return i(e),n}var yg=e=>(t,n,i,r)=>{let o=i?Object.assign(i,{async:!1}):{async:!1},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new Ka;if(a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>Oi(l,o,dr())));throw q_(s,r?.callee),s}return a.value},bg=yg(vg),_g=e=>async(t,n,i,r)=>{let o=i?Object.assign(i,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>Oi(l,o,dr())));throw q_(s,r?.callee),s}return a.value},xg=_g(vg),kg=e=>(t,n,i)=>{let r=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},r);if(o instanceof Promise)throw new Ka;return o.issues.length?{success:!1,error:new(e??J_)(o.issues.map(a=>Oi(a,r,dr())))}:{success:!0,data:o.value}},np=kg(vg),wg=e=>async(t,n,i)=>{let r=i?Object.assign(i,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},r);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(a=>Oi(a,r,dr())))}:{success:!0,data:o.value}},Eg=wg(vg),PV=e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return yg(e)(t,n,r)};var RV=e=>(t,n,i)=>yg(e)(t,n,i);var LV=e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return _g(e)(t,n,r)};var FV=e=>async(t,n,i)=>_g(e)(t,n,i);var MV=e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return kg(e)(t,n,r)};var UV=e=>(t,n,i)=>kg(e)(t,n,i);var jV=e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return wg(e)(t,n,r)};var BV=e=>async(t,n,i)=>wg(e)(t,n,i);var Ro={};Ia(Ro,{base64:()=>u4,base64url:()=>X_,bigint:()=>m4,boolean:()=>g4,browserEmail:()=>KSe,cidrv4:()=>a4,cidrv6:()=>s4,cuid:()=>GI,cuid2:()=>qI,date:()=>c4,datetime:()=>f4,domain:()=>eIe,duration:()=>QI,e164:()=>l4,email:()=>t4,emoji:()=>n4,extendedDuration:()=>HSe,guid:()=>e4,hex:()=>tIe,hostname:()=>QSe,html5Email:()=>qSe,idnEmail:()=>YSe,integer:()=>h4,ipv4:()=>r4,ipv6:()=>i4,ksuid:()=>KI,lowercase:()=>b4,mac:()=>o4,md5_base64:()=>rIe,md5_base64url:()=>iIe,md5_hex:()=>nIe,nanoid:()=>XI,null:()=>v4,number:()=>Q_,rfc5322Email:()=>JSe,sha1_base64:()=>aIe,sha1_base64url:()=>sIe,sha1_hex:()=>oIe,sha256_base64:()=>lIe,sha256_base64url:()=>cIe,sha256_hex:()=>uIe,sha384_base64:()=>fIe,sha384_base64url:()=>pIe,sha384_hex:()=>dIe,sha512_base64:()=>hIe,sha512_base64url:()=>gIe,sha512_hex:()=>mIe,string:()=>p4,time:()=>d4,ulid:()=>JI,undefined:()=>y4,unicodeEmail:()=>ZV,uppercase:()=>_4,uuid:()=>Fc,uuid4:()=>WSe,uuid6:()=>VSe,uuid7:()=>GSe,xid:()=>YI});var GI=/^[cC][^\s-]{8,}$/,qI=/^[0-9a-z]+$/,JI=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,YI=/^[0-9a-vA-V]{20}$/,KI=/^[A-Za-z0-9]{27}$/,XI=/^[a-zA-Z0-9_-]{21}$/,QI=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,HSe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,e4=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Fc=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,WSe=Fc(4),VSe=Fc(6),GSe=Fc(7),t4=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,qSe=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,JSe=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ZV=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,YSe=ZV,KSe=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,XSe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function n4(){return new RegExp(XSe,"u")}var r4=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,i4=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,o4=e=>{let t=Po(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},a4=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,s4=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,u4=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,X_=/^[A-Za-z0-9_-]*$/,QSe=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,eIe=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,l4=/^\+[1-9]\d{6,14}$/,HV="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",c4=new RegExp(`^${HV}$`);function WV(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function d4(e){return new RegExp(`^${WV(e)}$`)}function f4(e){let t=WV({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${t}(?:${n.join("|")})`;return new RegExp(`^${HV}T(?:${i})$`)}var p4=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},m4=/^-?\d+n?$/,h4=/^-?\d+$/,Q_=/^-?\d+(?:\.\d+)?$/,g4=/^(?:true|false)$/i,v4=/^null$/i;var y4=/^undefined$/i;var b4=/^[^A-Z]*$/,_4=/^[^a-z]*$/,tIe=/^[0-9a-fA-F]*$/;function Dg(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function $g(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var nIe=/^[0-9a-fA-F]{32}$/,rIe=Dg(22,"=="),iIe=$g(22),oIe=/^[0-9a-fA-F]{40}$/,aIe=Dg(27,"="),sIe=$g(27),uIe=/^[0-9a-fA-F]{64}$/,lIe=Dg(43,"="),cIe=$g(43),dIe=/^[0-9a-fA-F]{96}$/,fIe=Dg(64,""),pIe=$g(64),mIe=/^[0-9a-fA-F]{128}$/,hIe=Dg(86,"=="),gIe=$g(86);var ln=H("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),GV={number:"number",bigint:"bigint",object:"date"},x4=H("$ZodCheckLessThan",(e,t)=>{ln.init(e,t);let n=GV[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),k4=H("$ZodCheckGreaterThan",(e,t)=>{ln.init(e,t);let n=GV[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),qV=H("$ZodCheckMultipleOf",(e,t)=>{ln.init(e,t),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):MI(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),JV=H("$ZodCheckNumberFormat",(e,t)=>{ln.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=WI[t.format];e._zod.onattach.push(a=>{let s=a._zod.bag;s.format=t.format,s.minimum=r,s.maximum=o,n&&(s.pattern=h4)}),e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),YV=H("$ZodCheckBigIntFormat",(e,t)=>{ln.init(e,t);let[n,i]=VI[t.format];e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,o.minimum=n,o.maximum=i}),e._zod.check=r=>{let o=r.value;o<n&&r.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),o>i&&r.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),KV=H("$ZodCheckMaxSize",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:hg(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),XV=H("$ZodCheckMinSize",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:hg(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),QV=H("$ZodCheckSizeEquals",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=i=>{let r=i.value,o=r.size;if(o===t.size)return;let a=o>t.size;i.issues.push({origin:hg(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),eG=H("$ZodCheckMaxLength",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;if(r.length<=t.maximum)return;let a=gg(r);i.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tG=H("$ZodCheckMinLength",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;if(r.length>=t.minimum)return;let a=gg(r);i.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),nG=H("$ZodCheckLengthEquals",(e,t)=>{var n;ln.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!hl(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=i=>{let r=i.value,o=r.length;if(o===t.length)return;let a=gg(r),s=o>t.length;i.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Sg=H("$ZodCheckStringFormat",(e,t)=>{var n,i;ln.init(e,t),e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),rG=H("$ZodCheckRegex",(e,t)=>{Sg.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),iG=H("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=b4),Sg.init(e,t)}),oG=H("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=_4),Sg.init(e,t)}),aG=H("$ZodCheckIncludes",(e,t)=>{ln.init(e,t);let n=Po(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=i,e._zod.onattach.push(r=>{let o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),sG=H("$ZodCheckStartsWith",(e,t)=>{ln.init(e,t);let n=new RegExp(`^${Po(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),uG=H("$ZodCheckEndsWith",(e,t)=>{ln.init(e,t);let n=new RegExp(`.*${Po(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function VV(e,t,n){e.issues.length&&t.issues.push(...no(n,e.issues))}var lG=H("$ZodCheckProperty",(e,t)=>{ln.init(e,t),e._zod.check=n=>{let i=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(r=>VV(r,n,t.property));VV(i,n,t.property)}}),cG=H("$ZodCheckMimeType",(e,t)=>{ln.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),dG=H("$ZodCheckOverwrite",(e,t)=>{ln.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var ex=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`
2821
2821
  `).filter(a=>a),r=Math.min(...i.map(a=>a.length-a.trimStart().length)),o=i.map(a=>a.slice(r)).map(a=>" ".repeat(this.indent*2)+a);for(let a of o)this.content.push(a)}compile(){let t=Function,n=this?.args,r=[...(this?.content??[""]).map(o=>` ${o}`)];return new t(...n,r.join(`
2822
- `))}};var pG={major:4,minor:3,patch:6};var lt=H("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=pG;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let r of i)for(let o of r._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(a,s,l)=>{let c=yl(a),f;for(let p of s){if(p._zod.def.when){if(!p._zod.def.when(a))continue}else if(c)continue;let h=a.issues.length,v=p._zod.check(a);if(v instanceof Promise&&l?.async===!1)throw new Ka;if(f||v instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await v,a.issues.length!==h&&(c||(c=yl(a,h)))});else{if(a.issues.length===h)continue;c||(c=yl(a,h))}}return f?f.then(()=>a):a},o=(a,s,l)=>{if(yl(a))return a.aborted=!0,a;let c=r(s,i,l);if(c instanceof Promise){if(l.async===!1)throw new Ka;return c.then(f=>e._zod.parse(f,l))}return e._zod.parse(c,l)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){let c=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(f=>o(f,a,s)):o(c,a,s)}let l=e._zod.parse(a,s);if(l instanceof Promise){if(s.async===!1)throw new Ka;return l.then(c=>r(c,i,s))}return r(l,i,s)}}_t(e,"~standard",()=>({validate:r=>{try{let o=np(e,r);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return Eg(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Mc=H("$ZodString",(e,t)=>{lt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??pI(e._zod.bag),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),nn=H("$ZodStringFormat",(e,t)=>{Sg.init(e,t),Mc.init(e,t)}),EI=H("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=eI),nn.init(e,t)}),DI=H("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Fc(i))}else t.pattern??(t.pattern=Fc());nn.init(e,t)}),$I=H("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=tI),nn.init(e,t)}),SI=H("$ZodURL",(e,t)=>{nn.init(e,t),e._zod.check=n=>{try{let i=n.value.trim(),r=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),II=H("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=nI()),nn.init(e,t)}),TI=H("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=X4),nn.init(e,t)}),CI=H("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=G4),nn.init(e,t)}),AI=H("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=q4),nn.init(e,t)}),NI=H("$ZodULID",(e,t)=>{t.pattern??(t.pattern=J4),nn.init(e,t)}),OI=H("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Y4),nn.init(e,t)}),zI=H("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=K4),nn.init(e,t)}),PI=H("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=fI(t)),nn.init(e,t)}),RI=H("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=cI),nn.init(e,t)}),LI=H("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=dI(t)),nn.init(e,t)}),FI=H("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Q4),nn.init(e,t)}),MI=H("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=rI),nn.init(e,t),e._zod.bag.format="ipv4"}),UI=H("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=iI),nn.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),jI=H("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=oI(t.delimiter)),nn.init(e,t),e._zod.bag.format="mac"}),BI=H("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=aI),nn.init(e,t)}),ZI=H("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=sI),nn.init(e,t),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[r,o]=i;if(!o)throw new Error;let a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function DG(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var HI=H("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=uI),nn.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{DG(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function v4e(e){if(!X_.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return DG(n)}var WI=H("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=X_),nn.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{v4e(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),VI=H("$ZodE164",(e,t)=>{t.pattern??(t.pattern=lI),nn.init(e,t)});function y4e(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}var GI=H("$ZodJWT",(e,t)=>{nn.init(e,t),e._zod.check=n=>{y4e(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),qI=H("$ZodCustomStringFormat",(e,t)=>{nn.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),ax=H("$ZodNumber",(e,t)=>{lt.init(e,t),e._zod.pattern=e._zod.bag.pattern??Q_,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let o=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),JI=H("$ZodNumberFormat",(e,t)=>{JV.init(e,t),ax.init(e,t)}),Ig=H("$ZodBoolean",(e,t)=>{lt.init(e,t),e._zod.pattern=gI,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),sx=H("$ZodBigInt",(e,t)=>{lt.init(e,t),e._zod.pattern=mI,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),YI=H("$ZodBigIntFormat",(e,t)=>{YV.init(e,t),sx.init(e,t)}),KI=H("$ZodSymbol",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),XI=H("$ZodUndefined",(e,t)=>{lt.init(e,t),e._zod.pattern=yI,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),QI=H("$ZodNull",(e,t)=>{lt.init(e,t),e._zod.pattern=vI,e._zod.values=new Set([null]),e._zod.parse=(n,i)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),eT=H("$ZodAny",(e,t)=>{lt.init(e,t),e._zod.parse=n=>n}),tT=H("$ZodUnknown",(e,t)=>{lt.init(e,t),e._zod.parse=n=>n}),nT=H("$ZodNever",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),rT=H("$ZodVoid",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),iT=H("$ZodDate",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,o=r instanceof Date;return o&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...o?{received:"Invalid Date"}:{},inst:e}),n}});function mG(e,t,n){e.issues.length&&t.issues.push(...no(n,e.issues)),t.value[n]=e.value}var oT=H("$ZodArray",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let o=[];for(let a=0;a<r.length;a++){let s=r[a],l=t.element._zod.run({value:s,issues:[]},i);l instanceof Promise?o.push(l.then(c=>mG(c,n,a))):mG(l,n,a)}return o.length?Promise.all(o).then(()=>n):n}});function ox(e,t,n,i,r){if(e.issues.length){if(r&&!(n in i))return;t.issues.push(...no(n,e.issues))}e.value===void 0?n in i&&(t.value[n]=void 0):t.value[n]=e.value}function $G(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=H4(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function SG(e,t,n,i,r,o){let a=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,f=l.optout==="optional";for(let p in t){if(s.has(p))continue;if(c==="never"){a.push(p);continue}let h=l.run({value:t[p],issues:[]},i);h instanceof Promise?e.push(h.then(v=>ox(v,n,p,t,f))):ox(h,n,p,t,f)}return a.length&&n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>n):n}var IG=H("$ZodObject",(e,t)=>{if(lt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let s=t.shape;Object.defineProperty(t,"shape",{get:()=>{let l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}let i=ep(()=>$G(t));_t(e._zod,"propValues",()=>{let s=t.shape,l={};for(let c in s){let f=s[c]._zod;if(f.values){l[c]??(l[c]=new Set);for(let p of f.values)l[c].add(p)}}return l});let r=Lc,o=t.catchall,a;e._zod.parse=(s,l)=>{a??(a=i.value);let c=s.value;if(!r(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),s;s.value={};let f=[],p=a.shape;for(let h of a.keys){let v=p[h],b=v._zod.optout==="optional",k=v._zod.run({value:c[h],issues:[]},l);k instanceof Promise?f.push(k.then($=>ox($,s,h,c,b))):ox(k,s,h,c,b)}return o?SG(f,c,s,l,i.value,e):f.length?Promise.all(f).then(()=>s):s}}),TG=H("$ZodObjectJIT",(e,t)=>{IG.init(e,t);let n=e._zod.parse,i=ep(()=>$G(t)),r=h=>{let v=new ex(["shape","payload","ctx"]),b=i.value,k=w=>{let T=G_(w);return`shape[${T}]._zod.run({ value: input[${T}], issues: [] }, ctx)`};v.write("const input = payload.value;");let $=Object.create(null),x=0;for(let w of b.keys)$[w]=`key_${x++}`;v.write("const newResult = {};");for(let w of b.keys){let T=$[w],M=G_(w),j=h[w]?._zod?.optout==="optional";v.write(`const ${T} = ${k(w)};`),j?v.write(`
2822
+ `))}};var pG={major:4,minor:3,patch:6};var lt=H("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=pG;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let r of i)for(let o of r._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(a,s,l)=>{let c=yl(a),f;for(let p of s){if(p._zod.def.when){if(!p._zod.def.when(a))continue}else if(c)continue;let h=a.issues.length,v=p._zod.check(a);if(v instanceof Promise&&l?.async===!1)throw new Ka;if(f||v instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await v,a.issues.length!==h&&(c||(c=yl(a,h)))});else{if(a.issues.length===h)continue;c||(c=yl(a,h))}}return f?f.then(()=>a):a},o=(a,s,l)=>{if(yl(a))return a.aborted=!0,a;let c=r(s,i,l);if(c instanceof Promise){if(l.async===!1)throw new Ka;return c.then(f=>e._zod.parse(f,l))}return e._zod.parse(c,l)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){let c=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(f=>o(f,a,s)):o(c,a,s)}let l=e._zod.parse(a,s);if(l instanceof Promise){if(s.async===!1)throw new Ka;return l.then(c=>r(c,i,s))}return r(l,i,s)}}_t(e,"~standard",()=>({validate:r=>{try{let o=np(e,r);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return Eg(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Mc=H("$ZodString",(e,t)=>{lt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??p4(e._zod.bag),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),nn=H("$ZodStringFormat",(e,t)=>{Sg.init(e,t),Mc.init(e,t)}),E4=H("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=e4),nn.init(e,t)}),D4=H("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Fc(i))}else t.pattern??(t.pattern=Fc());nn.init(e,t)}),$4=H("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=t4),nn.init(e,t)}),S4=H("$ZodURL",(e,t)=>{nn.init(e,t),e._zod.check=n=>{try{let i=n.value.trim(),r=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),I4=H("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=n4()),nn.init(e,t)}),T4=H("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=XI),nn.init(e,t)}),C4=H("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=GI),nn.init(e,t)}),A4=H("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=qI),nn.init(e,t)}),N4=H("$ZodULID",(e,t)=>{t.pattern??(t.pattern=JI),nn.init(e,t)}),O4=H("$ZodXID",(e,t)=>{t.pattern??(t.pattern=YI),nn.init(e,t)}),z4=H("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=KI),nn.init(e,t)}),P4=H("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=f4(t)),nn.init(e,t)}),R4=H("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=c4),nn.init(e,t)}),L4=H("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=d4(t)),nn.init(e,t)}),F4=H("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=QI),nn.init(e,t)}),M4=H("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=r4),nn.init(e,t),e._zod.bag.format="ipv4"}),U4=H("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=i4),nn.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),j4=H("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=o4(t.delimiter)),nn.init(e,t),e._zod.bag.format="mac"}),B4=H("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=a4),nn.init(e,t)}),Z4=H("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=s4),nn.init(e,t),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[r,o]=i;if(!o)throw new Error;let a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function DG(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var H4=H("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=u4),nn.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{DG(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function vIe(e){if(!X_.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return DG(n)}var W4=H("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=X_),nn.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{vIe(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),V4=H("$ZodE164",(e,t)=>{t.pattern??(t.pattern=l4),nn.init(e,t)});function yIe(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}var G4=H("$ZodJWT",(e,t)=>{nn.init(e,t),e._zod.check=n=>{yIe(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),q4=H("$ZodCustomStringFormat",(e,t)=>{nn.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),ax=H("$ZodNumber",(e,t)=>{lt.init(e,t),e._zod.pattern=e._zod.bag.pattern??Q_,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let o=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),J4=H("$ZodNumberFormat",(e,t)=>{JV.init(e,t),ax.init(e,t)}),Ig=H("$ZodBoolean",(e,t)=>{lt.init(e,t),e._zod.pattern=g4,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),sx=H("$ZodBigInt",(e,t)=>{lt.init(e,t),e._zod.pattern=m4,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),Y4=H("$ZodBigIntFormat",(e,t)=>{YV.init(e,t),sx.init(e,t)}),K4=H("$ZodSymbol",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),X4=H("$ZodUndefined",(e,t)=>{lt.init(e,t),e._zod.pattern=y4,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),Q4=H("$ZodNull",(e,t)=>{lt.init(e,t),e._zod.pattern=v4,e._zod.values=new Set([null]),e._zod.parse=(n,i)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),eT=H("$ZodAny",(e,t)=>{lt.init(e,t),e._zod.parse=n=>n}),tT=H("$ZodUnknown",(e,t)=>{lt.init(e,t),e._zod.parse=n=>n}),nT=H("$ZodNever",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),rT=H("$ZodVoid",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),iT=H("$ZodDate",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,o=r instanceof Date;return o&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...o?{received:"Invalid Date"}:{},inst:e}),n}});function mG(e,t,n){e.issues.length&&t.issues.push(...no(n,e.issues)),t.value[n]=e.value}var oT=H("$ZodArray",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let o=[];for(let a=0;a<r.length;a++){let s=r[a],l=t.element._zod.run({value:s,issues:[]},i);l instanceof Promise?o.push(l.then(c=>mG(c,n,a))):mG(l,n,a)}return o.length?Promise.all(o).then(()=>n):n}});function ox(e,t,n,i,r){if(e.issues.length){if(r&&!(n in i))return;t.issues.push(...no(n,e.issues))}e.value===void 0?n in i&&(t.value[n]=void 0):t.value[n]=e.value}function $G(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=HI(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function SG(e,t,n,i,r,o){let a=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,f=l.optout==="optional";for(let p in t){if(s.has(p))continue;if(c==="never"){a.push(p);continue}let h=l.run({value:t[p],issues:[]},i);h instanceof Promise?e.push(h.then(v=>ox(v,n,p,t,f))):ox(h,n,p,t,f)}return a.length&&n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>n):n}var IG=H("$ZodObject",(e,t)=>{if(lt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let s=t.shape;Object.defineProperty(t,"shape",{get:()=>{let l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}let i=ep(()=>$G(t));_t(e._zod,"propValues",()=>{let s=t.shape,l={};for(let c in s){let f=s[c]._zod;if(f.values){l[c]??(l[c]=new Set);for(let p of f.values)l[c].add(p)}}return l});let r=Lc,o=t.catchall,a;e._zod.parse=(s,l)=>{a??(a=i.value);let c=s.value;if(!r(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),s;s.value={};let f=[],p=a.shape;for(let h of a.keys){let v=p[h],b=v._zod.optout==="optional",k=v._zod.run({value:c[h],issues:[]},l);k instanceof Promise?f.push(k.then($=>ox($,s,h,c,b))):ox(k,s,h,c,b)}return o?SG(f,c,s,l,i.value,e):f.length?Promise.all(f).then(()=>s):s}}),TG=H("$ZodObjectJIT",(e,t)=>{IG.init(e,t);let n=e._zod.parse,i=ep(()=>$G(t)),r=h=>{let v=new ex(["shape","payload","ctx"]),b=i.value,k=w=>{let T=G_(w);return`shape[${T}]._zod.run({ value: input[${T}], issues: [] }, ctx)`};v.write("const input = payload.value;");let $=Object.create(null),x=0;for(let w of b.keys)$[w]=`key_${x++}`;v.write("const newResult = {};");for(let w of b.keys){let T=$[w],M=G_(w),j=h[w]?._zod?.optout==="optional";v.write(`const ${T} = ${k(w)};`),j?v.write(`
2823
2823
  if (${T}.issues.length) {
2824
2824
  if (${M} in input) {
2825
2825
  payload.issues = payload.issues.concat(${T}.issues.map(iss => ({
@@ -2853,9 +2853,9 @@ ${s}`},[e]),o=(0,Oc.useMemo)(()=>!!r.match(/^#\s.+$/m),[r]),a=(0,Oc.useCallback)
2853
2853
  newResult[${M}] = ${T}.value;
2854
2854
  }
2855
2855
 
2856
- `)}v.write("payload.value = newResult;"),v.write("return payload;");let E=v.compile();return(w,T)=>E(h,w,T)},o,a=Lc,s=!V_.jitless,c=s&&j4.value,f=t.catchall,p;e._zod.parse=(h,v)=>{p??(p=i.value);let b=h.value;return a(b)?s&&c&&v?.async===!1&&v.jitless!==!0?(o||(o=r(t.shape)),h=o(h,v),f?SG([],b,h,v,p,e):h):n(h,v):(h.issues.push({expected:"object",code:"invalid_type",input:b,inst:e}),h)}});function hG(e,t,n,i){for(let o of e)if(o.issues.length===0)return t.value=o.value,t;let r=e.filter(o=>!yl(o));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(a=>Oi(a,i,dr())))}),t)}var Tg=H("$ZodUnion",(e,t)=>{lt.init(e,t),_t(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),_t(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),_t(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),_t(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>pg(o.source)).join("|")})$`)}});let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let a=!1,s=[];for(let l of t.options){let c=l._zod.run({value:r.value,issues:[]},o);if(c instanceof Promise)s.push(c),a=!0;else{if(c.issues.length===0)return c;s.push(c)}}return a?Promise.all(s).then(l=>hG(l,r,e,o)):hG(s,r,e,o)}});function gG(e,t,n,i){let r=e.filter(o=>o.issues.length===0);return r.length===1?(t.value=r[0].value,t):(r.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(a=>Oi(a,i,dr())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}var aT=H("$ZodXor",(e,t)=>{Tg.init(e,t),t.inclusive=!1;let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let a=!1,s=[];for(let l of t.options){let c=l._zod.run({value:r.value,issues:[]},o);c instanceof Promise?(s.push(c),a=!0):s.push(c)}return a?Promise.all(s).then(l=>gG(l,r,e,o)):gG(s,r,e,o)}}),sT=H("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Tg.init(e,t);let n=e._zod.parse;_t(e._zod,"propValues",()=>{let r={};for(let o of t.options){let a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let[s,l]of Object.entries(a)){r[s]||(r[s]=new Set);for(let c of l)r[s].add(c)}}return r});let i=ep(()=>{let r=t.options,o=new Map;for(let a of r){let s=a._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let l of s){if(o.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);o.set(l,a)}}return o});e._zod.parse=(r,o)=>{let a=r.value;if(!Lc(a))return r.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),r;let s=i.value.get(a?.[t.discriminator]);return s?s._zod.run(r,o):t.unionFallback?n(r,o):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:a,path:[t.discriminator],inst:e}),r)}}),uT=H("$ZodIntersection",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value,o=t.left._zod.run({value:r,issues:[]},i),a=t.right._zod.run({value:r,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([l,c])=>vG(n,l,c)):vG(n,o,a)}});function wI(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(vl(e)&&vl(t)){let n=Object.keys(t),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),r={...e,...t};for(let o of i){let a=wI(e[o],t[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};r[o]=a.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<e.length;i++){let r=e[i],o=t[i],a=wI(r,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function vG(e,t,n){let i=new Map,r;for(let s of t.issues)if(s.code==="unrecognized_keys"){r??(r=s);for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).l=!0}else e.issues.push(s);for(let s of n.issues)if(s.code==="unrecognized_keys")for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).r=!0;else e.issues.push(s);let o=[...i].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(o.length&&r&&e.issues.push({...r,keys:o}),yl(e))return e;let a=wI(t.value,n.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}var ux=H("$ZodTuple",(e,t)=>{lt.init(e,t);let n=t.items;e._zod.parse=(i,r)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let a=[],s=[...n].reverse().findIndex(f=>f._zod.optin!=="optional"),l=s===-1?0:n.length-s;if(!t.rest){let f=o.length>n.length,p=o.length<l-1;if(f||p)return i.issues.push({...f?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:o,inst:e,origin:"array"}),i}let c=-1;for(let f of n){if(c++,c>=o.length&&c>=l)continue;let p=f._zod.run({value:o[c],issues:[]},r);p instanceof Promise?a.push(p.then(h=>tx(h,i,c))):tx(p,i,c)}if(t.rest){let f=o.slice(n.length);for(let p of f){c++;let h=t.rest._zod.run({value:p,issues:[]},r);h instanceof Promise?a.push(h.then(v=>tx(v,i,c))):tx(h,i,c)}}return a.length?Promise.all(a).then(()=>i):i}});function tx(e,t,n){e.issues.length&&t.issues.push(...no(n,e.issues)),t.value[n]=e.value}var lT=H("$ZodRecord",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!vl(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let o=[],a=t.keyType._zod.values;if(a){n.value={};let s=new Set;for(let c of a)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){s.add(typeof c=="number"?c.toString():c);let f=t.valueType._zod.run({value:r[c],issues:[]},i);f instanceof Promise?o.push(f.then(p=>{p.issues.length&&n.issues.push(...no(c,p.issues)),n.value[c]=p.value})):(f.issues.length&&n.issues.push(...no(c,f.issues)),n.value[c]=f.value)}let l;for(let c in r)s.has(c)||(l=l??[],l.push(c));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:l})}else{n.value={};for(let s of Reflect.ownKeys(r)){if(s==="__proto__")continue;let l=t.keyType._zod.run({value:s,issues:[]},i);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&Q_.test(s)&&l.issues.length){let p=t.keyType._zod.run({value:Number(s),issues:[]},i);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p)}if(l.issues.length){t.mode==="loose"?n.value[s]=r[s]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>Oi(p,i,dr())),input:s,path:[s],inst:e});continue}let f=t.valueType._zod.run({value:r[s],issues:[]},i);f instanceof Promise?o.push(f.then(p=>{p.issues.length&&n.issues.push(...no(s,p.issues)),n.value[l.value]=p.value})):(f.issues.length&&n.issues.push(...no(s,f.issues)),n.value[l.value]=f.value)}}return o.length?Promise.all(o).then(()=>n):n}}),cT=H("$ZodMap",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let o=[];n.value=new Map;for(let[a,s]of r){let l=t.keyType._zod.run({value:a,issues:[]},i),c=t.valueType._zod.run({value:s,issues:[]},i);l instanceof Promise||c instanceof Promise?o.push(Promise.all([l,c]).then(([f,p])=>{yG(f,p,n,a,r,e,i)})):yG(l,c,n,a,r,e,i)}return o.length?Promise.all(o).then(()=>n):n}});function yG(e,t,n,i,r,o,a){e.issues.length&&(mg.has(typeof i)?n.issues.push(...no(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:o,issues:e.issues.map(s=>Oi(s,a,dr()))})),t.issues.length&&(mg.has(typeof i)?n.issues.push(...no(i,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:o,key:i,issues:t.issues.map(s=>Oi(s,a,dr()))})),n.value.set(e.value,t.value)}var dT=H("$ZodSet",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let o=[];n.value=new Set;for(let a of r){let s=t.valueType._zod.run({value:a,issues:[]},i);s instanceof Promise?o.push(s.then(l=>bG(l,n))):bG(s,n)}return o.length?Promise.all(o).then(()=>n):n}});function bG(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var fT=H("$ZodEnum",(e,t)=>{lt.init(e,t);let n=fg(t.entries),i=new Set(n);e._zod.values=i,e._zod.pattern=new RegExp(`^(${n.filter(r=>mg.has(typeof r)).map(r=>typeof r=="string"?Po(r):r.toString()).join("|")})$`),e._zod.parse=(r,o)=>{let a=r.value;return i.has(a)||r.issues.push({code:"invalid_value",values:n,input:a,inst:e}),r}}),pT=H("$ZodLiteral",(e,t)=>{if(lt.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?Po(i):i?Po(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,r)=>{let o=i.value;return n.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),mT=H("$ZodFile",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),hT=H("$ZodTransform",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Rc(e.constructor.name);let r=t.transform(n.value,n);if(i.async)return(r instanceof Promise?r:Promise.resolve(r)).then(a=>(n.value=a,n));if(r instanceof Promise)throw new Ka;return n.value=r,n}});function _G(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var lx=H("$ZodOptional",(e,t)=>{lt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",_t(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),_t(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${pg(n.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(t.innerType._zod.optin==="optional"){let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>_G(o,n.value)):_G(r,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,i)}}),gT=H("$ZodExactOptional",(e,t)=>{lx.init(e,t),_t(e._zod,"values",()=>t.innerType._zod.values),_t(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,i)=>t.innerType._zod.run(n,i)}),vT=H("$ZodNullable",(e,t)=>{lt.init(e,t),_t(e._zod,"optin",()=>t.innerType._zod.optin),_t(e._zod,"optout",()=>t.innerType._zod.optout),_t(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${pg(n.source)}|null)$`):void 0}),_t(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:t.innerType._zod.run(n,i)}),yT=H("$ZodDefault",(e,t)=>{lt.init(e,t),e._zod.optin="optional",_t(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>xG(o,t)):xG(r,t)}});function xG(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var bT=H("$ZodPrefault",(e,t)=>{lt.init(e,t),e._zod.optin="optional",_t(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>(i.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,i))}),_T=H("$ZodNonOptional",(e,t)=>{lt.init(e,t),_t(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,i)=>{let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>kG(o,e)):kG(r,e)}});function kG(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var xT=H("$ZodSuccess",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Rc("ZodSuccess");let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.issues.length===0,n)):(n.value=r.issues.length===0,n)}}),kT=H("$ZodCatch",(e,t)=>{lt.init(e,t),_t(e._zod,"optin",()=>t.innerType._zod.optin),_t(e._zod,"optout",()=>t.innerType._zod.optout),_t(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.value,o.issues.length&&(n.value=t.catchValue({...n,error:{issues:o.issues.map(a=>Oi(a,i,dr()))},input:n.value}),n.issues=[]),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(o=>Oi(o,i,dr()))},input:n.value}),n.issues=[]),n)}}),wT=H("$ZodNaN",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),ET=H("$ZodPipe",(e,t)=>{lt.init(e,t),_t(e._zod,"values",()=>t.in._zod.values),_t(e._zod,"optin",()=>t.in._zod.optin),_t(e._zod,"optout",()=>t.out._zod.optout),_t(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if(i.direction==="backward"){let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>nx(a,t.in,i)):nx(o,t.in,i)}let r=t.in._zod.run(n,i);return r instanceof Promise?r.then(o=>nx(o,t.out,i)):nx(r,t.out,i)}});function nx(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Cg=H("$ZodCodec",(e,t)=>{lt.init(e,t),_t(e._zod,"values",()=>t.in._zod.values),_t(e._zod,"optin",()=>t.in._zod.optin),_t(e._zod,"optout",()=>t.out._zod.optout),_t(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if((i.direction||"forward")==="forward"){let o=t.in._zod.run(n,i);return o instanceof Promise?o.then(a=>rx(a,t,i)):rx(o,t,i)}else{let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>rx(a,t,i)):rx(o,t,i)}}});function rx(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||"forward")==="forward"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(o=>ix(e,o,t.out,n)):ix(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(o=>ix(e,o,t.in,n)):ix(e,r,t.in,n)}}function ix(e,t,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},i)}var DT=H("$ZodReadonly",(e,t)=>{lt.init(e,t),_t(e._zod,"propValues",()=>t.innerType._zod.propValues),_t(e._zod,"values",()=>t.innerType._zod.values),_t(e._zod,"optin",()=>t.innerType?._zod?.optin),_t(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(wG):wG(r)}});function wG(e){return e.value=Object.freeze(e.value),e}var $T=H("$ZodTemplateLiteral",(e,t)=>{lt.init(e,t);let n=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let r=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=r.startsWith("^")?1:0,a=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(o,a))}else if(i===null||Z4.has(typeof i))n.push(Po(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(i,r)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),ST=H("$ZodFunction",(e,t)=>(lt.init(e,t),e._def=t,e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...i){let r=e._def.input?bg(e._def.input,i):i,o=Reflect.apply(n,this,r);return e._def.output?bg(e._def.output,o):o}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let r=e._def.input?await xg(e._def.input,i):i,o=await Reflect.apply(n,this,r);return e._def.output?await xg(e._def.output,o):o}},e._zod.parse=(n,i)=>typeof n.value!="function"?(n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type==="promise"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let i=e.constructor;return Array.isArray(n[0])?new i({type:"function",input:new ux({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output}):new i({type:"function",input:n[0],output:e._def.output})},e.output=n=>{let i=e.constructor;return new i({type:"function",input:e._def.input,output:n})},e)),IT=H("$ZodPromise",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},i))}),TT=H("$ZodLazy",(e,t)=>{lt.init(e,t),_t(e._zod,"innerType",()=>t.getter()),_t(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),_t(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),_t(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),_t(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),CT=H("$ZodCustom",(e,t)=>{ln.init(e,t),lt.init(e,t),e._zod.parse=(n,i)=>n,e._zod.check=n=>{let i=n.value,r=t.fn(i);if(r instanceof Promise)return r.then(o=>EG(o,n,i,e));EG(r,n,i,e)}});function EG(e,t,n,i){if(!e){let r={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(r.params=i._zod.def.params),t.issues.push(tp(r))}}var _4e=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(r){return e[r]??null}let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=rt(r.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${Qe(r.values[0])}`:`Invalid option: expected one of ${Xe(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Too big: expected ${r.origin??"value"} to have ${o}${r.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Too small: expected ${r.origin} to have ${o}${r.minimum.toString()} ${a.unit}`:`Too small: expected ${r.origin} to be ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${Xe(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function AT(){return{localeError:_4e()}}var CG,AG=Symbol("ZodOutput"),NG=Symbol("ZodInput"),OT=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let i=n[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let r={...i,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function zT(){return new OT}(CG=globalThis).__zod_globalRegistry??(CG.__zod_globalRegistry=zT());var hi=globalThis.__zod_globalRegistry;function PT(e,t){return new e({type:"string",...Te(t)})}function cx(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Te(t)})}function Ag(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Te(t)})}function dx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Te(t)})}function fx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Te(t)})}function px(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Te(t)})}function mx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Te(t)})}function Ng(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Te(t)})}function hx(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Te(t)})}function gx(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Te(t)})}function vx(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Te(t)})}function yx(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Te(t)})}function bx(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Te(t)})}function _x(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Te(t)})}function xx(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Te(t)})}function kx(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Te(t)})}function wx(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Te(t)})}function RT(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...Te(t)})}function Ex(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Te(t)})}function Dx(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Te(t)})}function $x(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Te(t)})}function Sx(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Te(t)})}function Ix(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Te(t)})}function Tx(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Te(t)})}function LT(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Te(t)})}function FT(e,t){return new e({type:"string",format:"date",check:"string_format",...Te(t)})}function MT(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Te(t)})}function UT(e,t){return new e({type:"string",format:"duration",check:"string_format",...Te(t)})}function jT(e,t){return new e({type:"number",checks:[],...Te(t)})}function BT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Te(t)})}function ZT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...Te(t)})}function HT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...Te(t)})}function WT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...Te(t)})}function VT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...Te(t)})}function GT(e,t){return new e({type:"boolean",...Te(t)})}function qT(e,t){return new e({type:"bigint",...Te(t)})}function JT(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...Te(t)})}function YT(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...Te(t)})}function KT(e,t){return new e({type:"symbol",...Te(t)})}function XT(e,t){return new e({type:"undefined",...Te(t)})}function QT(e,t){return new e({type:"null",...Te(t)})}function eC(e){return new e({type:"any"})}function tC(e){return new e({type:"unknown"})}function nC(e,t){return new e({type:"never",...Te(t)})}function rC(e,t){return new e({type:"void",...Te(t)})}function iC(e,t){return new e({type:"date",...Te(t)})}function oC(e,t){return new e({type:"nan",...Te(t)})}function Hs(e,t){return new xI({check:"less_than",...Te(t),value:e,inclusive:!1})}function ro(e,t){return new xI({check:"less_than",...Te(t),value:e,inclusive:!0})}function Ws(e,t){return new kI({check:"greater_than",...Te(t),value:e,inclusive:!1})}function gi(e,t){return new kI({check:"greater_than",...Te(t),value:e,inclusive:!0})}function aC(e){return Ws(0,e)}function sC(e){return Hs(0,e)}function uC(e){return ro(0,e)}function lC(e){return gi(0,e)}function Uc(e,t){return new qV({check:"multiple_of",...Te(t),value:e})}function jc(e,t){return new KV({check:"max_size",...Te(t),maximum:e})}function Vs(e,t){return new XV({check:"min_size",...Te(t),minimum:e})}function rp(e,t){return new QV({check:"size_equals",...Te(t),size:e})}function ip(e,t){return new eG({check:"max_length",...Te(t),maximum:e})}function bl(e,t){return new tG({check:"min_length",...Te(t),minimum:e})}function op(e,t){return new nG({check:"length_equals",...Te(t),length:e})}function Og(e,t){return new rG({check:"string_format",format:"regex",...Te(t),pattern:e})}function zg(e){return new iG({check:"string_format",format:"lowercase",...Te(e)})}function Pg(e){return new oG({check:"string_format",format:"uppercase",...Te(e)})}function Rg(e,t){return new aG({check:"string_format",format:"includes",...Te(t),includes:e})}function Lg(e,t){return new sG({check:"string_format",format:"starts_with",...Te(t),prefix:e})}function Fg(e,t){return new uG({check:"string_format",format:"ends_with",...Te(t),suffix:e})}function cC(e,t,n){return new lG({check:"property",property:e,schema:t,...Te(n)})}function Mg(e,t){return new cG({check:"mime_type",mime:e,...Te(t)})}function Xa(e){return new dG({check:"overwrite",tx:e})}function Ug(e){return Xa(t=>t.normalize(e))}function jg(){return Xa(e=>e.trim())}function Bg(){return Xa(e=>e.toLowerCase())}function Zg(){return Xa(e=>e.toUpperCase())}function Cx(){return Xa(e=>U4(e))}function OG(e,t,n){return new e({type:"array",element:t,...Te(n)})}function dC(e,t){return new e({type:"file",...Te(t)})}function fC(e,t,n){let i=Te(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function pC(e,t,n){return new e({type:"custom",check:"custom",fn:t,...Te(n)})}function mC(e){let t=E4e(n=>(n.addIssue=i=>{if(typeof i=="string")n.issues.push(tp(i,n.value,t._zod.def));else{let r=i;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(tp(r))}},e(n.value,n)));return t}function E4e(e,t){let n=new ln({check:"custom",...Te(t)});return n._zod.check=e,n}function hC(e){let t=new ln({check:"describe"});return t._zod.onattach=[n=>{let i=hi.get(n)??{};hi.add(n,{...i,description:e})}],t._zod.check=()=>{},t}function gC(e){let t=new ln({check:"meta"});return t._zod.onattach=[n=>{let i=hi.get(n)??{};hi.add(n,{...i,...e})}],t._zod.check=()=>{},t}function vC(e,t){let n=Te(t),i=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(i=i.map(v=>typeof v=="string"?v.toLowerCase():v),r=r.map(v=>typeof v=="string"?v.toLowerCase():v));let o=new Set(i),a=new Set(r),s=e.Codec??Cg,l=e.Boolean??Ig,c=e.String??Mc,f=new c({type:"string",error:n.error}),p=new l({type:"boolean",error:n.error}),h=new s({type:"pipe",in:f,out:p,transform:(v,b)=>{let k=v;return n.case!=="sensitive"&&(k=k.toLowerCase()),o.has(k)?!0:a.has(k)?!1:(b.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:b.value,inst:h,continue:!1}),{})},reverseTransform:(v,b)=>v===!0?i[0]||"true":r[0]||"false",error:n.error});return h}function ap(e,t,n,i={}){let r=Te(i),o={...Te(i),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:s=>n.test(s),...r};return n instanceof RegExp&&(o.pattern=n),new e(o)}function Ax(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??hi,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function xn(e,t,n={path:[],schemaPath:[]}){var i;let r=e._zod.def,o=t.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a);let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let f={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,f);else{let h=a.schema,v=t.processors[r.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);v(e,t,h,f)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),xn(p,t,f),t.seen.get(p).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(a.schema,l),t.io==="input"&&vi(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&a.schema._prefault&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function Nx(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let l=i.get(s);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}let r=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let p=e.external.registry.get(a[0])?.id,h=e.external.uri??(b=>b);if(p)return{ref:h(p)};let v=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=v,{defId:v,ref:`${h("__shared")}#/${s}/${v}`}}if(a[1]===n)return{ref:"#"};let c=`#/${s}/`,f=a[1].schema.id??`__schema${e.counter++}`;return{defId:f,ref:c+f}},o=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:l,defId:c}=r(a);s.def={...s.schema},c&&(s.defId=c);let f=s.schema;for(let p in f)delete f[p];f.$ref=l};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
2856
+ `)}v.write("payload.value = newResult;"),v.write("return payload;");let E=v.compile();return(w,T)=>E(h,w,T)},o,a=Lc,s=!V_.jitless,c=s&&jI.value,f=t.catchall,p;e._zod.parse=(h,v)=>{p??(p=i.value);let b=h.value;return a(b)?s&&c&&v?.async===!1&&v.jitless!==!0?(o||(o=r(t.shape)),h=o(h,v),f?SG([],b,h,v,p,e):h):n(h,v):(h.issues.push({expected:"object",code:"invalid_type",input:b,inst:e}),h)}});function hG(e,t,n,i){for(let o of e)if(o.issues.length===0)return t.value=o.value,t;let r=e.filter(o=>!yl(o));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(a=>Oi(a,i,dr())))}),t)}var Tg=H("$ZodUnion",(e,t)=>{lt.init(e,t),_t(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),_t(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),_t(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),_t(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>pg(o.source)).join("|")})$`)}});let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let a=!1,s=[];for(let l of t.options){let c=l._zod.run({value:r.value,issues:[]},o);if(c instanceof Promise)s.push(c),a=!0;else{if(c.issues.length===0)return c;s.push(c)}}return a?Promise.all(s).then(l=>hG(l,r,e,o)):hG(s,r,e,o)}});function gG(e,t,n,i){let r=e.filter(o=>o.issues.length===0);return r.length===1?(t.value=r[0].value,t):(r.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(a=>Oi(a,i,dr())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}var aT=H("$ZodXor",(e,t)=>{Tg.init(e,t),t.inclusive=!1;let n=t.options.length===1,i=t.options[0]._zod.run;e._zod.parse=(r,o)=>{if(n)return i(r,o);let a=!1,s=[];for(let l of t.options){let c=l._zod.run({value:r.value,issues:[]},o);c instanceof Promise?(s.push(c),a=!0):s.push(c)}return a?Promise.all(s).then(l=>gG(l,r,e,o)):gG(s,r,e,o)}}),sT=H("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Tg.init(e,t);let n=e._zod.parse;_t(e._zod,"propValues",()=>{let r={};for(let o of t.options){let a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let[s,l]of Object.entries(a)){r[s]||(r[s]=new Set);for(let c of l)r[s].add(c)}}return r});let i=ep(()=>{let r=t.options,o=new Map;for(let a of r){let s=a._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let l of s){if(o.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);o.set(l,a)}}return o});e._zod.parse=(r,o)=>{let a=r.value;if(!Lc(a))return r.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),r;let s=i.value.get(a?.[t.discriminator]);return s?s._zod.run(r,o):t.unionFallback?n(r,o):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:a,path:[t.discriminator],inst:e}),r)}}),uT=H("$ZodIntersection",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value,o=t.left._zod.run({value:r,issues:[]},i),a=t.right._zod.run({value:r,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([l,c])=>vG(n,l,c)):vG(n,o,a)}});function w4(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(vl(e)&&vl(t)){let n=Object.keys(t),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),r={...e,...t};for(let o of i){let a=w4(e[o],t[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};r[o]=a.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<e.length;i++){let r=e[i],o=t[i],a=w4(r,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function vG(e,t,n){let i=new Map,r;for(let s of t.issues)if(s.code==="unrecognized_keys"){r??(r=s);for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).l=!0}else e.issues.push(s);for(let s of n.issues)if(s.code==="unrecognized_keys")for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).r=!0;else e.issues.push(s);let o=[...i].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(o.length&&r&&e.issues.push({...r,keys:o}),yl(e))return e;let a=w4(t.value,n.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}var ux=H("$ZodTuple",(e,t)=>{lt.init(e,t);let n=t.items;e._zod.parse=(i,r)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let a=[],s=[...n].reverse().findIndex(f=>f._zod.optin!=="optional"),l=s===-1?0:n.length-s;if(!t.rest){let f=o.length>n.length,p=o.length<l-1;if(f||p)return i.issues.push({...f?{code:"too_big",maximum:n.length,inclusive:!0}:{code:"too_small",minimum:n.length},input:o,inst:e,origin:"array"}),i}let c=-1;for(let f of n){if(c++,c>=o.length&&c>=l)continue;let p=f._zod.run({value:o[c],issues:[]},r);p instanceof Promise?a.push(p.then(h=>tx(h,i,c))):tx(p,i,c)}if(t.rest){let f=o.slice(n.length);for(let p of f){c++;let h=t.rest._zod.run({value:p,issues:[]},r);h instanceof Promise?a.push(h.then(v=>tx(v,i,c))):tx(h,i,c)}}return a.length?Promise.all(a).then(()=>i):i}});function tx(e,t,n){e.issues.length&&t.issues.push(...no(n,e.issues)),t.value[n]=e.value}var lT=H("$ZodRecord",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!vl(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let o=[],a=t.keyType._zod.values;if(a){n.value={};let s=new Set;for(let c of a)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){s.add(typeof c=="number"?c.toString():c);let f=t.valueType._zod.run({value:r[c],issues:[]},i);f instanceof Promise?o.push(f.then(p=>{p.issues.length&&n.issues.push(...no(c,p.issues)),n.value[c]=p.value})):(f.issues.length&&n.issues.push(...no(c,f.issues)),n.value[c]=f.value)}let l;for(let c in r)s.has(c)||(l=l??[],l.push(c));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:l})}else{n.value={};for(let s of Reflect.ownKeys(r)){if(s==="__proto__")continue;let l=t.keyType._zod.run({value:s,issues:[]},i);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&Q_.test(s)&&l.issues.length){let p=t.keyType._zod.run({value:Number(s),issues:[]},i);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p)}if(l.issues.length){t.mode==="loose"?n.value[s]=r[s]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>Oi(p,i,dr())),input:s,path:[s],inst:e});continue}let f=t.valueType._zod.run({value:r[s],issues:[]},i);f instanceof Promise?o.push(f.then(p=>{p.issues.length&&n.issues.push(...no(s,p.issues)),n.value[l.value]=p.value})):(f.issues.length&&n.issues.push(...no(s,f.issues)),n.value[l.value]=f.value)}}return o.length?Promise.all(o).then(()=>n):n}}),cT=H("$ZodMap",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let o=[];n.value=new Map;for(let[a,s]of r){let l=t.keyType._zod.run({value:a,issues:[]},i),c=t.valueType._zod.run({value:s,issues:[]},i);l instanceof Promise||c instanceof Promise?o.push(Promise.all([l,c]).then(([f,p])=>{yG(f,p,n,a,r,e,i)})):yG(l,c,n,a,r,e,i)}return o.length?Promise.all(o).then(()=>n):n}});function yG(e,t,n,i,r,o,a){e.issues.length&&(mg.has(typeof i)?n.issues.push(...no(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:o,issues:e.issues.map(s=>Oi(s,a,dr()))})),t.issues.length&&(mg.has(typeof i)?n.issues.push(...no(i,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:o,key:i,issues:t.issues.map(s=>Oi(s,a,dr()))})),n.value.set(e.value,t.value)}var dT=H("$ZodSet",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let o=[];n.value=new Set;for(let a of r){let s=t.valueType._zod.run({value:a,issues:[]},i);s instanceof Promise?o.push(s.then(l=>bG(l,n))):bG(s,n)}return o.length?Promise.all(o).then(()=>n):n}});function bG(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var fT=H("$ZodEnum",(e,t)=>{lt.init(e,t);let n=fg(t.entries),i=new Set(n);e._zod.values=i,e._zod.pattern=new RegExp(`^(${n.filter(r=>mg.has(typeof r)).map(r=>typeof r=="string"?Po(r):r.toString()).join("|")})$`),e._zod.parse=(r,o)=>{let a=r.value;return i.has(a)||r.issues.push({code:"invalid_value",values:n,input:a,inst:e}),r}}),pT=H("$ZodLiteral",(e,t)=>{if(lt.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?Po(i):i?Po(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,r)=>{let o=i.value;return n.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),mT=H("$ZodFile",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),hT=H("$ZodTransform",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Rc(e.constructor.name);let r=t.transform(n.value,n);if(i.async)return(r instanceof Promise?r:Promise.resolve(r)).then(a=>(n.value=a,n));if(r instanceof Promise)throw new Ka;return n.value=r,n}});function _G(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var lx=H("$ZodOptional",(e,t)=>{lt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",_t(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),_t(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${pg(n.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(t.innerType._zod.optin==="optional"){let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>_G(o,n.value)):_G(r,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,i)}}),gT=H("$ZodExactOptional",(e,t)=>{lx.init(e,t),_t(e._zod,"values",()=>t.innerType._zod.values),_t(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,i)=>t.innerType._zod.run(n,i)}),vT=H("$ZodNullable",(e,t)=>{lt.init(e,t),_t(e._zod,"optin",()=>t.innerType._zod.optin),_t(e._zod,"optout",()=>t.innerType._zod.optout),_t(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${pg(n.source)}|null)$`):void 0}),_t(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:t.innerType._zod.run(n,i)}),yT=H("$ZodDefault",(e,t)=>{lt.init(e,t),e._zod.optin="optional",_t(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>xG(o,t)):xG(r,t)}});function xG(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var bT=H("$ZodPrefault",(e,t)=>{lt.init(e,t),e._zod.optin="optional",_t(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>(i.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,i))}),_T=H("$ZodNonOptional",(e,t)=>{lt.init(e,t),_t(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,i)=>{let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>kG(o,e)):kG(r,e)}});function kG(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var xT=H("$ZodSuccess",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Rc("ZodSuccess");let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.issues.length===0,n)):(n.value=r.issues.length===0,n)}}),kT=H("$ZodCatch",(e,t)=>{lt.init(e,t),_t(e._zod,"optin",()=>t.innerType._zod.optin),_t(e._zod,"optout",()=>t.innerType._zod.optout),_t(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.value,o.issues.length&&(n.value=t.catchValue({...n,error:{issues:o.issues.map(a=>Oi(a,i,dr()))},input:n.value}),n.issues=[]),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(o=>Oi(o,i,dr()))},input:n.value}),n.issues=[]),n)}}),wT=H("$ZodNaN",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),ET=H("$ZodPipe",(e,t)=>{lt.init(e,t),_t(e._zod,"values",()=>t.in._zod.values),_t(e._zod,"optin",()=>t.in._zod.optin),_t(e._zod,"optout",()=>t.out._zod.optout),_t(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if(i.direction==="backward"){let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>nx(a,t.in,i)):nx(o,t.in,i)}let r=t.in._zod.run(n,i);return r instanceof Promise?r.then(o=>nx(o,t.out,i)):nx(r,t.out,i)}});function nx(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Cg=H("$ZodCodec",(e,t)=>{lt.init(e,t),_t(e._zod,"values",()=>t.in._zod.values),_t(e._zod,"optin",()=>t.in._zod.optin),_t(e._zod,"optout",()=>t.out._zod.optout),_t(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,i)=>{if((i.direction||"forward")==="forward"){let o=t.in._zod.run(n,i);return o instanceof Promise?o.then(a=>rx(a,t,i)):rx(o,t,i)}else{let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>rx(a,t,i)):rx(o,t,i)}}});function rx(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||"forward")==="forward"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(o=>ix(e,o,t.out,n)):ix(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(o=>ix(e,o,t.in,n)):ix(e,r,t.in,n)}}function ix(e,t,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},i)}var DT=H("$ZodReadonly",(e,t)=>{lt.init(e,t),_t(e._zod,"propValues",()=>t.innerType._zod.propValues),_t(e._zod,"values",()=>t.innerType._zod.values),_t(e._zod,"optin",()=>t.innerType?._zod?.optin),_t(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(wG):wG(r)}});function wG(e){return e.value=Object.freeze(e.value),e}var $T=H("$ZodTemplateLiteral",(e,t)=>{lt.init(e,t);let n=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let r=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=r.startsWith("^")?1:0,a=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(o,a))}else if(i===null||ZI.has(typeof i))n.push(Po(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(i,r)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),ST=H("$ZodFunction",(e,t)=>(lt.init(e,t),e._def=t,e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...i){let r=e._def.input?bg(e._def.input,i):i,o=Reflect.apply(n,this,r);return e._def.output?bg(e._def.output,o):o}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let r=e._def.input?await xg(e._def.input,i):i,o=await Reflect.apply(n,this,r);return e._def.output?await xg(e._def.output,o):o}},e._zod.parse=(n,i)=>typeof n.value!="function"?(n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type==="promise"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let i=e.constructor;return Array.isArray(n[0])?new i({type:"function",input:new ux({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output}):new i({type:"function",input:n[0],output:e._def.output})},e.output=n=>{let i=e.constructor;return new i({type:"function",input:e._def.input,output:n})},e)),IT=H("$ZodPromise",(e,t)=>{lt.init(e,t),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},i))}),TT=H("$ZodLazy",(e,t)=>{lt.init(e,t),_t(e._zod,"innerType",()=>t.getter()),_t(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),_t(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),_t(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),_t(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),CT=H("$ZodCustom",(e,t)=>{ln.init(e,t),lt.init(e,t),e._zod.parse=(n,i)=>n,e._zod.check=n=>{let i=n.value,r=t.fn(i);if(r instanceof Promise)return r.then(o=>EG(o,n,i,e));EG(r,n,i,e)}});function EG(e,t,n,i){if(!e){let r={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(r.params=i._zod.def.params),t.issues.push(tp(r))}}var _Ie=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(r){return e[r]??null}let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=rt(r.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${Qe(r.values[0])}`:`Invalid option: expected one of ${Xe(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Too big: expected ${r.origin??"value"} to have ${o}${r.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Too small: expected ${r.origin} to have ${o}${r.minimum.toString()} ${a.unit}`:`Too small: expected ${r.origin} to be ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${Xe(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function AT(){return{localeError:_Ie()}}var CG,AG=Symbol("ZodOutput"),NG=Symbol("ZodInput"),OT=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let i=n[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let r={...i,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function zT(){return new OT}(CG=globalThis).__zod_globalRegistry??(CG.__zod_globalRegistry=zT());var hi=globalThis.__zod_globalRegistry;function PT(e,t){return new e({type:"string",...Te(t)})}function cx(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Te(t)})}function Ag(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Te(t)})}function dx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Te(t)})}function fx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Te(t)})}function px(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Te(t)})}function mx(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Te(t)})}function Ng(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Te(t)})}function hx(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Te(t)})}function gx(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Te(t)})}function vx(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Te(t)})}function yx(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Te(t)})}function bx(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Te(t)})}function _x(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Te(t)})}function xx(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Te(t)})}function kx(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Te(t)})}function wx(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Te(t)})}function RT(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...Te(t)})}function Ex(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Te(t)})}function Dx(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Te(t)})}function $x(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Te(t)})}function Sx(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Te(t)})}function Ix(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Te(t)})}function Tx(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Te(t)})}function LT(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Te(t)})}function FT(e,t){return new e({type:"string",format:"date",check:"string_format",...Te(t)})}function MT(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...Te(t)})}function UT(e,t){return new e({type:"string",format:"duration",check:"string_format",...Te(t)})}function jT(e,t){return new e({type:"number",checks:[],...Te(t)})}function BT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Te(t)})}function ZT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...Te(t)})}function HT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...Te(t)})}function WT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...Te(t)})}function VT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...Te(t)})}function GT(e,t){return new e({type:"boolean",...Te(t)})}function qT(e,t){return new e({type:"bigint",...Te(t)})}function JT(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...Te(t)})}function YT(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...Te(t)})}function KT(e,t){return new e({type:"symbol",...Te(t)})}function XT(e,t){return new e({type:"undefined",...Te(t)})}function QT(e,t){return new e({type:"null",...Te(t)})}function eC(e){return new e({type:"any"})}function tC(e){return new e({type:"unknown"})}function nC(e,t){return new e({type:"never",...Te(t)})}function rC(e,t){return new e({type:"void",...Te(t)})}function iC(e,t){return new e({type:"date",...Te(t)})}function oC(e,t){return new e({type:"nan",...Te(t)})}function Hs(e,t){return new x4({check:"less_than",...Te(t),value:e,inclusive:!1})}function ro(e,t){return new x4({check:"less_than",...Te(t),value:e,inclusive:!0})}function Ws(e,t){return new k4({check:"greater_than",...Te(t),value:e,inclusive:!1})}function gi(e,t){return new k4({check:"greater_than",...Te(t),value:e,inclusive:!0})}function aC(e){return Ws(0,e)}function sC(e){return Hs(0,e)}function uC(e){return ro(0,e)}function lC(e){return gi(0,e)}function Uc(e,t){return new qV({check:"multiple_of",...Te(t),value:e})}function jc(e,t){return new KV({check:"max_size",...Te(t),maximum:e})}function Vs(e,t){return new XV({check:"min_size",...Te(t),minimum:e})}function rp(e,t){return new QV({check:"size_equals",...Te(t),size:e})}function ip(e,t){return new eG({check:"max_length",...Te(t),maximum:e})}function bl(e,t){return new tG({check:"min_length",...Te(t),minimum:e})}function op(e,t){return new nG({check:"length_equals",...Te(t),length:e})}function Og(e,t){return new rG({check:"string_format",format:"regex",...Te(t),pattern:e})}function zg(e){return new iG({check:"string_format",format:"lowercase",...Te(e)})}function Pg(e){return new oG({check:"string_format",format:"uppercase",...Te(e)})}function Rg(e,t){return new aG({check:"string_format",format:"includes",...Te(t),includes:e})}function Lg(e,t){return new sG({check:"string_format",format:"starts_with",...Te(t),prefix:e})}function Fg(e,t){return new uG({check:"string_format",format:"ends_with",...Te(t),suffix:e})}function cC(e,t,n){return new lG({check:"property",property:e,schema:t,...Te(n)})}function Mg(e,t){return new cG({check:"mime_type",mime:e,...Te(t)})}function Xa(e){return new dG({check:"overwrite",tx:e})}function Ug(e){return Xa(t=>t.normalize(e))}function jg(){return Xa(e=>e.trim())}function Bg(){return Xa(e=>e.toLowerCase())}function Zg(){return Xa(e=>e.toUpperCase())}function Cx(){return Xa(e=>UI(e))}function OG(e,t,n){return new e({type:"array",element:t,...Te(n)})}function dC(e,t){return new e({type:"file",...Te(t)})}function fC(e,t,n){let i=Te(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function pC(e,t,n){return new e({type:"custom",check:"custom",fn:t,...Te(n)})}function mC(e){let t=EIe(n=>(n.addIssue=i=>{if(typeof i=="string")n.issues.push(tp(i,n.value,t._zod.def));else{let r=i;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=t),r.continue??(r.continue=!t._zod.def.abort),n.issues.push(tp(r))}},e(n.value,n)));return t}function EIe(e,t){let n=new ln({check:"custom",...Te(t)});return n._zod.check=e,n}function hC(e){let t=new ln({check:"describe"});return t._zod.onattach=[n=>{let i=hi.get(n)??{};hi.add(n,{...i,description:e})}],t._zod.check=()=>{},t}function gC(e){let t=new ln({check:"meta"});return t._zod.onattach=[n=>{let i=hi.get(n)??{};hi.add(n,{...i,...e})}],t._zod.check=()=>{},t}function vC(e,t){let n=Te(t),i=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(i=i.map(v=>typeof v=="string"?v.toLowerCase():v),r=r.map(v=>typeof v=="string"?v.toLowerCase():v));let o=new Set(i),a=new Set(r),s=e.Codec??Cg,l=e.Boolean??Ig,c=e.String??Mc,f=new c({type:"string",error:n.error}),p=new l({type:"boolean",error:n.error}),h=new s({type:"pipe",in:f,out:p,transform:(v,b)=>{let k=v;return n.case!=="sensitive"&&(k=k.toLowerCase()),o.has(k)?!0:a.has(k)?!1:(b.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:b.value,inst:h,continue:!1}),{})},reverseTransform:(v,b)=>v===!0?i[0]||"true":r[0]||"false",error:n.error});return h}function ap(e,t,n,i={}){let r=Te(i),o={...Te(i),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:s=>n.test(s),...r};return n instanceof RegExp&&(o.pattern=n),new e(o)}function Ax(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??hi,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function xn(e,t,n={path:[],schemaPath:[]}){var i;let r=e._zod.def,o=t.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a);let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let f={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,f);else{let h=a.schema,v=t.processors[r.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);v(e,t,h,f)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),xn(p,t,f),t.seen.get(p).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(a.schema,l),t.io==="input"&&vi(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&a.schema._prefault&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function Nx(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let l=i.get(s);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}let r=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let p=e.external.registry.get(a[0])?.id,h=e.external.uri??(b=>b);if(p)return{ref:h(p)};let v=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=v,{defId:v,ref:`${h("__shared")}#/${s}/${v}`}}if(a[1]===n)return{ref:"#"};let c=`#/${s}/`,f=a[1].schema.id??`__schema${e.counter++}`;return{defId:f,ref:c+f}},o=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:l,defId:c}=r(a);s.def={...s.schema},c&&(s.defId=c);let f=s.schema;for(let p in f)delete f[p];f.$ref=l};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
2857
2857
 
2858
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){o(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}if(s.count>1&&e.reused==="ref"){o(a);continue}}}function Ox(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=a=>{let s=e.seen.get(a);if(s.ref===null)return;let l=s.def??s.schema,c={...l},f=s.ref;if(s.ref=null,f){i(f);let h=e.seen.get(f),v=h.schema;if(v.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(l.allOf=l.allOf??[],l.allOf.push(v)):Object.assign(l,v),Object.assign(l,c),a._zod.parent===f)for(let k in l)k==="$ref"||k==="allOf"||k in c||delete l[k];if(v.$ref&&h.def)for(let k in l)k==="$ref"||k==="allOf"||k in h.def&&JSON.stringify(l[k])===JSON.stringify(h.def[k])&&delete l[k]}let p=a._zod.parent;if(p&&p!==f){i(p);let h=e.seen.get(p);if(h?.schema.$ref&&(l.$ref=h.schema.$ref,h.def))for(let v in l)v==="$ref"||v==="allOf"||v in h.def&&JSON.stringify(l[v])===JSON.stringify(h.def[v])&&delete l[v]}e.override({zodSchema:a,jsonSchema:l,path:s.path??[]})};for(let a of[...e.seen.entries()].reverse())i(a[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let a=e.external.registry.get(t)?.id;if(!a)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(a)}Object.assign(r,n.def??n.schema);let o=e.external?.defs??{};for(let a of e.seen.entries()){let s=a[1];s.def&&s.defId&&(o[s.defId]=s.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?r.$defs=o:r.definitions=o);try{let a=JSON.parse(JSON.stringify(r));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:Hg(t,"input",e.processors),output:Hg(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}function vi(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return vi(i.element,n);if(i.type==="set")return vi(i.valueType,n);if(i.type==="lazy")return vi(i.getter(),n);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return vi(i.innerType,n);if(i.type==="intersection")return vi(i.left,n)||vi(i.right,n);if(i.type==="record"||i.type==="map")return vi(i.keyType,n)||vi(i.valueType,n);if(i.type==="pipe")return vi(i.in,n)||vi(i.out,n);if(i.type==="object"){for(let r in i.shape)if(vi(i.shape[r],n))return!0;return!1}if(i.type==="union"){for(let r of i.options)if(vi(r,n))return!0;return!1}if(i.type==="tuple"){for(let r of i.items)if(vi(r,n))return!0;return!!(i.rest&&vi(i.rest,n))}return!1}var zG=(e,t={})=>n=>{let i=Ax({...n,processors:t});return xn(e,i),Nx(i,e),Ox(i,e)},Hg=(e,t,n={})=>i=>{let{libraryOptions:r,target:o}=i??{},a=Ax({...r??{},target:o,io:t,processors:n});return xn(e,a),Nx(a,e),Ox(a,e)};var D4e={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},PG=(e,t,n,i)=>{let r=n;r.type="string";let{minimum:o,maximum:a,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if(typeof o=="number"&&(r.minLength=o),typeof a=="number"&&(r.maxLength=a),s&&(r.format=D4e[s]??s,r.format===""&&delete r.format,s==="time"&&delete r.format),c&&(r.contentEncoding=c),l&&l.size>0){let f=[...l];f.length===1?r.pattern=f[0].source:f.length>1&&(r.allOf=[...f.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},RG=(e,t,n,i)=>{let r=n,{minimum:o,maximum:a,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:f}=e._zod.bag;typeof s=="string"&&s.includes("int")?r.type="integer":r.type="number",typeof f=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.minimum=f,r.exclusiveMinimum=!0):r.exclusiveMinimum=f),typeof o=="number"&&(r.minimum=o,typeof f=="number"&&t.target!=="draft-04"&&(f>=o?delete r.minimum:delete r.exclusiveMinimum)),typeof c=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.maximum=c,r.exclusiveMaximum=!0):r.exclusiveMaximum=c),typeof a=="number"&&(r.maximum=a,typeof c=="number"&&t.target!=="draft-04"&&(c<=a?delete r.maximum:delete r.exclusiveMaximum)),typeof l=="number"&&(r.multipleOf=l)},LG=(e,t,n,i)=>{n.type="boolean"},FG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},MG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},UG=(e,t,n,i)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},jG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},BG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},ZG=(e,t,n,i)=>{n.not={}},HG=(e,t,n,i)=>{},WG=(e,t,n,i)=>{},VG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},GG=(e,t,n,i)=>{let r=e._zod.def,o=fg(r.entries);o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),n.enum=o},qG=(e,t,n,i)=>{let r=e._zod.def,o=[];for(let a of r.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];n.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[a]:n.const=a}else o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),o.every(a=>typeof a=="boolean")&&(n.type="boolean"),o.every(a=>a===null)&&(n.type="null"),n.enum=o},JG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},YG=(e,t,n,i)=>{let r=n,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");r.type="string",r.pattern=o.source},KG=(e,t,n,i)=>{let r=n,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:l}=e._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),l?l.length===1?(o.contentMediaType=l[0],Object.assign(r,o)):(Object.assign(r,o),r.anyOf=l.map(c=>({contentMediaType:c}))):Object.assign(r,o)},XG=(e,t,n,i)=>{n.type="boolean"},QG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},eq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},tq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},nq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},rq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},iq=(e,t,n,i)=>{let r=n,o=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(r.minItems=a),typeof s=="number"&&(r.maxItems=s),r.type="array",r.items=xn(o.element,t,{...i,path:[...i.path,"items"]})},oq=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object",r.properties={};let a=o.shape;for(let c in a)r.properties[c]=xn(a[c],t,{...i,path:[...i.path,"properties",c]});let s=new Set(Object.keys(a)),l=new Set([...s].filter(c=>{let f=o.shape[c]._zod;return t.io==="input"?f.optin===void 0:f.optout===void 0}));l.size>0&&(r.required=Array.from(l)),o.catchall?._zod.def.type==="never"?r.additionalProperties=!1:o.catchall?o.catchall&&(r.additionalProperties=xn(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},yC=(e,t,n,i)=>{let r=e._zod.def,o=r.inclusive===!1,a=r.options.map((s,l)=>xn(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",l]}));o?n.oneOf=a:n.anyOf=a},aq=(e,t,n,i)=>{let r=e._zod.def,o=xn(r.left,t,{...i,path:[...i.path,"allOf",0]}),a=xn(r.right,t,{...i,path:[...i.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];n.allOf=l},sq=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=o.items.map((h,v)=>xn(h,t,{...i,path:[...i.path,a,v]})),c=o.rest?xn(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=l,c&&(r.items=c)):t.target==="openapi-3.0"?(r.items={anyOf:l},c&&r.items.anyOf.push(c),r.minItems=l.length,c||(r.maxItems=l.length)):(r.items=l,c&&(r.additionalItems=c));let{minimum:f,maximum:p}=e._zod.bag;typeof f=="number"&&(r.minItems=f),typeof p=="number"&&(r.maxItems=p)},uq=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object";let a=o.keyType,l=a._zod.bag?.patterns;if(o.mode==="loose"&&l&&l.size>0){let f=xn(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});r.patternProperties={};for(let p of l)r.patternProperties[p.source]=f}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=xn(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),r.additionalProperties=xn(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});let c=a._zod.values;if(c){let f=[...c].filter(p=>typeof p=="string"||typeof p=="number");f.length>0&&(r.required=f)}},lq=(e,t,n,i)=>{let r=e._zod.def,o=xn(r.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=r.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},cq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},dq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},fq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},pq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},mq=(e,t,n,i)=>{let r=e._zod.def,o=t.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;xn(o,t,i);let a=t.seen.get(e);a.ref=o},hq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.readOnly=!0},gq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},bC=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},vq=(e,t,n,i)=>{let r=e._zod.innerType;xn(r,t,i);let o=t.seen.get(e);o.ref=r};function zx(e){return!!e._zod}function Px(e,t){return zx(e)?np(e,t):e.safeParse(t)}function _q(e){if(!e)return;let t;if(zx(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t=="function")try{return t()}catch{return}return t}}function xq(e){if(zx(e)){let o=e._zod?.def;if(o){if(o.value!==void 0)return o.value;if(Array.isArray(o.values)&&o.values.length>0)return o.values[0]}}let n=e._def;if(n){if(n.value!==void 0)return n.value;if(Array.isArray(n.values)&&n.values.length>0)return n.values[0]}let i=e.value;if(i!==void 0)return i}var Wg={};Ia(Wg,{ZodAny:()=>Mq,ZodArray:()=>Zq,ZodBase64:()=>ZC,ZodBase64URL:()=>HC,ZodBigInt:()=>Hx,ZodBigIntFormat:()=>GC,ZodBoolean:()=>Zx,ZodCIDRv4:()=>jC,ZodCIDRv6:()=>BC,ZodCUID:()=>zC,ZodCUID2:()=>PC,ZodCatch:()=>lJ,ZodCodec:()=>eA,ZodCustom:()=>Jx,ZodCustomStringFormat:()=>Gg,ZodDate:()=>JC,ZodDefault:()=>rJ,ZodDiscriminatedUnion:()=>Wq,ZodE164:()=>WC,ZodEmail:()=>AC,ZodEmoji:()=>NC,ZodEnum:()=>Vg,ZodExactOptional:()=>eJ,ZodFile:()=>Xq,ZodFunction:()=>yJ,ZodGUID:()=>Lx,ZodIPv4:()=>MC,ZodIPv6:()=>UC,ZodIntersection:()=>Vq,ZodJWT:()=>VC,ZodKSUID:()=>FC,ZodLazy:()=>hJ,ZodLiteral:()=>Kq,ZodMAC:()=>Pq,ZodMap:()=>Jq,ZodNaN:()=>dJ,ZodNanoID:()=>OC,ZodNever:()=>jq,ZodNonOptional:()=>XC,ZodNull:()=>Fq,ZodNullable:()=>nJ,ZodNumber:()=>Bx,ZodNumberFormat:()=>sp,ZodObject:()=>Wx,ZodOptional:()=>KC,ZodPipe:()=>QC,ZodPrefault:()=>oJ,ZodPromise:()=>vJ,ZodReadonly:()=>fJ,ZodRecord:()=>qx,ZodSet:()=>Yq,ZodString:()=>Ux,ZodStringFormat:()=>cn,ZodSuccess:()=>uJ,ZodSymbol:()=>Rq,ZodTemplateLiteral:()=>mJ,ZodTransform:()=>Qq,ZodTuple:()=>Gq,ZodType:()=>xt,ZodULID:()=>RC,ZodURL:()=>jx,ZodUUID:()=>Gs,ZodUndefined:()=>Lq,ZodUnion:()=>Vx,ZodUnknown:()=>Uq,ZodVoid:()=>Bq,ZodXID:()=>LC,ZodXor:()=>Hq,_ZodString:()=>CC,_default:()=>iJ,_function:()=>jIe,any:()=>wIe,array:()=>Tt,base64:()=>aIe,base64url:()=>sIe,bigint:()=>yIe,boolean:()=>rr,catch:()=>cJ,check:()=>BIe,cidrv4:()=>iIe,cidrv6:()=>oIe,codec:()=>FIe,cuid:()=>Y4e,cuid2:()=>K4e,custom:()=>tA,date:()=>DIe,describe:()=>ZIe,discriminatedUnion:()=>Gx,e164:()=>uIe,email:()=>U4e,emoji:()=>q4e,enum:()=>qr,exactOptional:()=>tJ,file:()=>zIe,float32:()=>mIe,float64:()=>hIe,function:()=>jIe,guid:()=>j4e,hash:()=>pIe,hex:()=>fIe,hostname:()=>dIe,httpUrl:()=>G4e,instanceof:()=>WIe,int:()=>TC,int32:()=>gIe,int64:()=>bIe,intersection:()=>Jg,ipv4:()=>tIe,ipv6:()=>rIe,json:()=>GIe,jwt:()=>lIe,keyof:()=>$Ie,ksuid:()=>eIe,lazy:()=>gJ,literal:()=>Ze,looseObject:()=>Gr,looseRecord:()=>CIe,mac:()=>nIe,map:()=>AIe,meta:()=>HIe,nan:()=>LIe,nanoid:()=>J4e,nativeEnum:()=>OIe,never:()=>qC,nonoptional:()=>sJ,null:()=>qg,nullable:()=>Fx,nullish:()=>PIe,number:()=>Vt,object:()=>Pe,optional:()=>Sn,partialRecord:()=>TIe,pipe:()=>Mx,prefault:()=>aJ,preprocess:()=>Yx,promise:()=>UIe,readonly:()=>pJ,record:()=>kn,refine:()=>bJ,set:()=>NIe,strictObject:()=>SIe,string:()=>ee,stringFormat:()=>cIe,stringbool:()=>VIe,success:()=>RIe,superRefine:()=>_J,symbol:()=>xIe,templateLiteral:()=>MIe,transform:()=>YC,tuple:()=>qq,uint32:()=>vIe,uint64:()=>_Ie,ulid:()=>X4e,undefined:()=>kIe,union:()=>rn,unknown:()=>dn,url:()=>V4e,uuid:()=>B4e,uuidv4:()=>Z4e,uuidv6:()=>H4e,uuidv7:()=>W4e,void:()=>EIe,xid:()=>Q4e,xor:()=>IIe});var Rx={};Ia(Rx,{endsWith:()=>Fg,gt:()=>Ws,gte:()=>gi,includes:()=>Rg,length:()=>op,lowercase:()=>zg,lt:()=>Hs,lte:()=>ro,maxLength:()=>ip,maxSize:()=>jc,mime:()=>Mg,minLength:()=>bl,minSize:()=>Vs,multipleOf:()=>Uc,negative:()=>sC,nonnegative:()=>lC,nonpositive:()=>uC,normalize:()=>Ug,overwrite:()=>Xa,positive:()=>aC,property:()=>cC,regex:()=>Og,size:()=>rp,slugify:()=>Cx,startsWith:()=>Lg,toLowerCase:()=>Bg,toUpperCase:()=>Zg,trim:()=>jg,uppercase:()=>Pg});var Bc={};Ia(Bc,{ZodISODate:()=>wC,ZodISODateTime:()=>xC,ZodISODuration:()=>SC,ZodISOTime:()=>DC,date:()=>EC,datetime:()=>kC,duration:()=>IC,time:()=>$C});var xC=H("ZodISODateTime",(e,t)=>{PI.init(e,t),cn.init(e,t)});function kC(e){return LT(xC,e)}var wC=H("ZodISODate",(e,t)=>{RI.init(e,t),cn.init(e,t)});function EC(e){return FT(wC,e)}var DC=H("ZodISOTime",(e,t)=>{LI.init(e,t),cn.init(e,t)});function $C(e){return MT(DC,e)}var SC=H("ZodISODuration",(e,t)=>{FI.init(e,t),cn.init(e,t)});function IC(e){return UT(SC,e)}var kq=(e,t)=>{J_.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>K_(e,n)},flatten:{value:n=>Y_(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Qf,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Qf,2)}},isEmpty:{get(){return e.issues.length===0}}})},Fct=H("ZodError",kq),io=H("ZodError",kq,{Parent:Error});var wq=yg(io),Eq=_g(io),Dq=kg(io),$q=wg(io),Sq=PV(io),Iq=RV(io),Tq=LV(io),Cq=FV(io),Aq=MV(io),Nq=UV(io),Oq=jV(io),zq=BV(io);var xt=H("ZodType",(e,t)=>(lt.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Hg(e,"input"),output:Hg(e,"output")}}),e.toJSONSchema=zG(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(pe.mergeDefs(t,{checks:[...t.checks??[],...n.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0}),e.with=e.check,e.clone=(n,i)=>mi(e,n,i),e.brand=()=>e,e.register=(n,i)=>(n.add(e,i),e),e.parse=(n,i)=>wq(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>Dq(e,n,i),e.parseAsync=async(n,i)=>Eq(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>$q(e,n,i),e.spa=e.safeParseAsync,e.encode=(n,i)=>Sq(e,n,i),e.decode=(n,i)=>Iq(e,n,i),e.encodeAsync=async(n,i)=>Tq(e,n,i),e.decodeAsync=async(n,i)=>Cq(e,n,i),e.safeEncode=(n,i)=>Aq(e,n,i),e.safeDecode=(n,i)=>Nq(e,n,i),e.safeEncodeAsync=async(n,i)=>Oq(e,n,i),e.safeDecodeAsync=async(n,i)=>zq(e,n,i),e.refine=(n,i)=>e.check(bJ(n,i)),e.superRefine=n=>e.check(_J(n)),e.overwrite=n=>e.check(Xa(n)),e.optional=()=>Sn(e),e.exactOptional=()=>tJ(e),e.nullable=()=>Fx(e),e.nullish=()=>Sn(Fx(e)),e.nonoptional=n=>sJ(e,n),e.array=()=>Tt(e),e.or=n=>rn([e,n]),e.and=n=>Jg(e,n),e.transform=n=>Mx(e,YC(n)),e.default=n=>iJ(e,n),e.prefault=n=>aJ(e,n),e.catch=n=>cJ(e,n),e.pipe=n=>Mx(e,n),e.readonly=()=>pJ(e),e.describe=n=>{let i=e.clone();return hi.add(i,{description:n}),i},Object.defineProperty(e,"description",{get(){return hi.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return hi.get(e);let i=e.clone();return hi.add(i,n[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=n=>n(e),e)),CC=H("_ZodString",(e,t)=>{Mc.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>PG(e,i,r,o);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...i)=>e.check(Og(...i)),e.includes=(...i)=>e.check(Rg(...i)),e.startsWith=(...i)=>e.check(Lg(...i)),e.endsWith=(...i)=>e.check(Fg(...i)),e.min=(...i)=>e.check(bl(...i)),e.max=(...i)=>e.check(ip(...i)),e.length=(...i)=>e.check(op(...i)),e.nonempty=(...i)=>e.check(bl(1,...i)),e.lowercase=i=>e.check(zg(i)),e.uppercase=i=>e.check(Pg(i)),e.trim=()=>e.check(jg()),e.normalize=(...i)=>e.check(Ug(...i)),e.toLowerCase=()=>e.check(Bg()),e.toUpperCase=()=>e.check(Zg()),e.slugify=()=>e.check(Cx())}),Ux=H("ZodString",(e,t)=>{Mc.init(e,t),CC.init(e,t),e.email=n=>e.check(cx(AC,n)),e.url=n=>e.check(Ng(jx,n)),e.jwt=n=>e.check(Tx(VC,n)),e.emoji=n=>e.check(hx(NC,n)),e.guid=n=>e.check(Ag(Lx,n)),e.uuid=n=>e.check(dx(Gs,n)),e.uuidv4=n=>e.check(fx(Gs,n)),e.uuidv6=n=>e.check(px(Gs,n)),e.uuidv7=n=>e.check(mx(Gs,n)),e.nanoid=n=>e.check(gx(OC,n)),e.guid=n=>e.check(Ag(Lx,n)),e.cuid=n=>e.check(vx(zC,n)),e.cuid2=n=>e.check(yx(PC,n)),e.ulid=n=>e.check(bx(RC,n)),e.base64=n=>e.check($x(ZC,n)),e.base64url=n=>e.check(Sx(HC,n)),e.xid=n=>e.check(_x(LC,n)),e.ksuid=n=>e.check(xx(FC,n)),e.ipv4=n=>e.check(kx(MC,n)),e.ipv6=n=>e.check(wx(UC,n)),e.cidrv4=n=>e.check(Ex(jC,n)),e.cidrv6=n=>e.check(Dx(BC,n)),e.e164=n=>e.check(Ix(WC,n)),e.datetime=n=>e.check(kC(n)),e.date=n=>e.check(EC(n)),e.time=n=>e.check($C(n)),e.duration=n=>e.check(IC(n))});function ee(e){return PT(Ux,e)}var cn=H("ZodStringFormat",(e,t)=>{nn.init(e,t),CC.init(e,t)}),AC=H("ZodEmail",(e,t)=>{$I.init(e,t),cn.init(e,t)});function U4e(e){return cx(AC,e)}var Lx=H("ZodGUID",(e,t)=>{EI.init(e,t),cn.init(e,t)});function j4e(e){return Ag(Lx,e)}var Gs=H("ZodUUID",(e,t)=>{DI.init(e,t),cn.init(e,t)});function B4e(e){return dx(Gs,e)}function Z4e(e){return fx(Gs,e)}function H4e(e){return px(Gs,e)}function W4e(e){return mx(Gs,e)}var jx=H("ZodURL",(e,t)=>{SI.init(e,t),cn.init(e,t)});function V4e(e){return Ng(jx,e)}function G4e(e){return Ng(jx,{protocol:/^https?$/,hostname:Ro.domain,...pe.normalizeParams(e)})}var NC=H("ZodEmoji",(e,t)=>{II.init(e,t),cn.init(e,t)});function q4e(e){return hx(NC,e)}var OC=H("ZodNanoID",(e,t)=>{TI.init(e,t),cn.init(e,t)});function J4e(e){return gx(OC,e)}var zC=H("ZodCUID",(e,t)=>{CI.init(e,t),cn.init(e,t)});function Y4e(e){return vx(zC,e)}var PC=H("ZodCUID2",(e,t)=>{AI.init(e,t),cn.init(e,t)});function K4e(e){return yx(PC,e)}var RC=H("ZodULID",(e,t)=>{NI.init(e,t),cn.init(e,t)});function X4e(e){return bx(RC,e)}var LC=H("ZodXID",(e,t)=>{OI.init(e,t),cn.init(e,t)});function Q4e(e){return _x(LC,e)}var FC=H("ZodKSUID",(e,t)=>{zI.init(e,t),cn.init(e,t)});function eIe(e){return xx(FC,e)}var MC=H("ZodIPv4",(e,t)=>{MI.init(e,t),cn.init(e,t)});function tIe(e){return kx(MC,e)}var Pq=H("ZodMAC",(e,t)=>{jI.init(e,t),cn.init(e,t)});function nIe(e){return RT(Pq,e)}var UC=H("ZodIPv6",(e,t)=>{UI.init(e,t),cn.init(e,t)});function rIe(e){return wx(UC,e)}var jC=H("ZodCIDRv4",(e,t)=>{BI.init(e,t),cn.init(e,t)});function iIe(e){return Ex(jC,e)}var BC=H("ZodCIDRv6",(e,t)=>{ZI.init(e,t),cn.init(e,t)});function oIe(e){return Dx(BC,e)}var ZC=H("ZodBase64",(e,t)=>{HI.init(e,t),cn.init(e,t)});function aIe(e){return $x(ZC,e)}var HC=H("ZodBase64URL",(e,t)=>{WI.init(e,t),cn.init(e,t)});function sIe(e){return Sx(HC,e)}var WC=H("ZodE164",(e,t)=>{VI.init(e,t),cn.init(e,t)});function uIe(e){return Ix(WC,e)}var VC=H("ZodJWT",(e,t)=>{GI.init(e,t),cn.init(e,t)});function lIe(e){return Tx(VC,e)}var Gg=H("ZodCustomStringFormat",(e,t)=>{qI.init(e,t),cn.init(e,t)});function cIe(e,t,n={}){return ap(Gg,e,t,n)}function dIe(e){return ap(Gg,"hostname",Ro.hostname,e)}function fIe(e){return ap(Gg,"hex",Ro.hex,e)}function pIe(e,t){let n=t?.enc??"hex",i=`${e}_${n}`,r=Ro[i];if(!r)throw new Error(`Unrecognized hash format: ${i}`);return ap(Gg,i,r,t)}var Bx=H("ZodNumber",(e,t)=>{ax.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>RG(e,i,r,o),e.gt=(i,r)=>e.check(Ws(i,r)),e.gte=(i,r)=>e.check(gi(i,r)),e.min=(i,r)=>e.check(gi(i,r)),e.lt=(i,r)=>e.check(Hs(i,r)),e.lte=(i,r)=>e.check(ro(i,r)),e.max=(i,r)=>e.check(ro(i,r)),e.int=i=>e.check(TC(i)),e.safe=i=>e.check(TC(i)),e.positive=i=>e.check(Ws(0,i)),e.nonnegative=i=>e.check(gi(0,i)),e.negative=i=>e.check(Hs(0,i)),e.nonpositive=i=>e.check(ro(0,i)),e.multipleOf=(i,r)=>e.check(Uc(i,r)),e.step=(i,r)=>e.check(Uc(i,r)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Vt(e){return jT(Bx,e)}var sp=H("ZodNumberFormat",(e,t)=>{JI.init(e,t),Bx.init(e,t)});function TC(e){return BT(sp,e)}function mIe(e){return ZT(sp,e)}function hIe(e){return HT(sp,e)}function gIe(e){return WT(sp,e)}function vIe(e){return VT(sp,e)}var Zx=H("ZodBoolean",(e,t)=>{Ig.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>LG(e,n,i,r)});function rr(e){return GT(Zx,e)}var Hx=H("ZodBigInt",(e,t)=>{sx.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>FG(e,i,r,o),e.gte=(i,r)=>e.check(gi(i,r)),e.min=(i,r)=>e.check(gi(i,r)),e.gt=(i,r)=>e.check(Ws(i,r)),e.gte=(i,r)=>e.check(gi(i,r)),e.min=(i,r)=>e.check(gi(i,r)),e.lt=(i,r)=>e.check(Hs(i,r)),e.lte=(i,r)=>e.check(ro(i,r)),e.max=(i,r)=>e.check(ro(i,r)),e.positive=i=>e.check(Ws(BigInt(0),i)),e.negative=i=>e.check(Hs(BigInt(0),i)),e.nonpositive=i=>e.check(ro(BigInt(0),i)),e.nonnegative=i=>e.check(gi(BigInt(0),i)),e.multipleOf=(i,r)=>e.check(Uc(i,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function yIe(e){return qT(Hx,e)}var GC=H("ZodBigIntFormat",(e,t)=>{YI.init(e,t),Hx.init(e,t)});function bIe(e){return JT(GC,e)}function _Ie(e){return YT(GC,e)}var Rq=H("ZodSymbol",(e,t)=>{KI.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>MG(e,n,i,r)});function xIe(e){return KT(Rq,e)}var Lq=H("ZodUndefined",(e,t)=>{XI.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>jG(e,n,i,r)});function kIe(e){return XT(Lq,e)}var Fq=H("ZodNull",(e,t)=>{QI.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>UG(e,n,i,r)});function qg(e){return QT(Fq,e)}var Mq=H("ZodAny",(e,t)=>{eT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>HG(e,n,i,r)});function wIe(){return eC(Mq)}var Uq=H("ZodUnknown",(e,t)=>{tT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>WG(e,n,i,r)});function dn(){return tC(Uq)}var jq=H("ZodNever",(e,t)=>{nT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ZG(e,n,i,r)});function qC(e){return nC(jq,e)}var Bq=H("ZodVoid",(e,t)=>{rT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>BG(e,n,i,r)});function EIe(e){return rC(Bq,e)}var JC=H("ZodDate",(e,t)=>{iT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>VG(e,i,r,o),e.min=(i,r)=>e.check(gi(i,r)),e.max=(i,r)=>e.check(ro(i,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function DIe(e){return iC(JC,e)}var Zq=H("ZodArray",(e,t)=>{oT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>iq(e,n,i,r),e.element=t.element,e.min=(n,i)=>e.check(bl(n,i)),e.nonempty=n=>e.check(bl(1,n)),e.max=(n,i)=>e.check(ip(n,i)),e.length=(n,i)=>e.check(op(n,i)),e.unwrap=()=>e.element});function Tt(e,t){return OG(Zq,e,t)}function $Ie(e){let t=e._zod.def.shape;return qr(Object.keys(t))}var Wx=H("ZodObject",(e,t)=>{TG.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>oq(e,n,i,r),pe.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>qr(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:dn()}),e.loose=()=>e.clone({...e._zod.def,catchall:dn()}),e.strict=()=>e.clone({...e._zod.def,catchall:qC()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>pe.extend(e,n),e.safeExtend=n=>pe.safeExtend(e,n),e.merge=n=>pe.merge(e,n),e.pick=n=>pe.pick(e,n),e.omit=n=>pe.omit(e,n),e.partial=(...n)=>pe.partial(KC,e,n[0]),e.required=(...n)=>pe.required(XC,e,n[0])});function Pe(e,t){let n={type:"object",shape:e??{},...pe.normalizeParams(t)};return new Wx(n)}function SIe(e,t){return new Wx({type:"object",shape:e,catchall:qC(),...pe.normalizeParams(t)})}function Gr(e,t){return new Wx({type:"object",shape:e,catchall:dn(),...pe.normalizeParams(t)})}var Vx=H("ZodUnion",(e,t)=>{Tg.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yC(e,n,i,r),e.options=t.options});function rn(e,t){return new Vx({type:"union",options:e,...pe.normalizeParams(t)})}var Hq=H("ZodXor",(e,t)=>{Vx.init(e,t),aT.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yC(e,n,i,r),e.options=t.options});function IIe(e,t){return new Hq({type:"union",options:e,inclusive:!1,...pe.normalizeParams(t)})}var Wq=H("ZodDiscriminatedUnion",(e,t)=>{Vx.init(e,t),sT.init(e,t)});function Gx(e,t,n){return new Wq({type:"union",options:t,discriminator:e,...pe.normalizeParams(n)})}var Vq=H("ZodIntersection",(e,t)=>{uT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>aq(e,n,i,r)});function Jg(e,t){return new Vq({type:"intersection",left:e,right:t})}var Gq=H("ZodTuple",(e,t)=>{ux.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>sq(e,n,i,r),e.rest=n=>e.clone({...e._zod.def,rest:n})});function qq(e,t,n){let i=t instanceof lt,r=i?n:t,o=i?t:null;return new Gq({type:"tuple",items:e,rest:o,...pe.normalizeParams(r)})}var qx=H("ZodRecord",(e,t)=>{lT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>uq(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType});function kn(e,t,n){return new qx({type:"record",keyType:e,valueType:t,...pe.normalizeParams(n)})}function TIe(e,t,n){let i=mi(e);return i._zod.values=void 0,new qx({type:"record",keyType:i,valueType:t,...pe.normalizeParams(n)})}function CIe(e,t,n){return new qx({type:"record",keyType:e,valueType:t,mode:"loose",...pe.normalizeParams(n)})}var Jq=H("ZodMap",(e,t)=>{cT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>nq(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(Vs(...n)),e.nonempty=n=>e.check(Vs(1,n)),e.max=(...n)=>e.check(jc(...n)),e.size=(...n)=>e.check(rp(...n))});function AIe(e,t,n){return new Jq({type:"map",keyType:e,valueType:t,...pe.normalizeParams(n)})}var Yq=H("ZodSet",(e,t)=>{dT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>rq(e,n,i,r),e.min=(...n)=>e.check(Vs(...n)),e.nonempty=n=>e.check(Vs(1,n)),e.max=(...n)=>e.check(jc(...n)),e.size=(...n)=>e.check(rp(...n))});function NIe(e,t){return new Yq({type:"set",valueType:e,...pe.normalizeParams(t)})}var Vg=H("ZodEnum",(e,t)=>{fT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>GG(e,i,r,o),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(i,r)=>{let o={};for(let a of i)if(n.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Vg({...t,checks:[],...pe.normalizeParams(r),entries:o})},e.exclude=(i,r)=>{let o={...t.entries};for(let a of i)if(n.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Vg({...t,checks:[],...pe.normalizeParams(r),entries:o})}});function qr(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Vg({type:"enum",entries:n,...pe.normalizeParams(t)})}function OIe(e,t){return new Vg({type:"enum",entries:e,...pe.normalizeParams(t)})}var Kq=H("ZodLiteral",(e,t)=>{pT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>qG(e,n,i,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ze(e,t){return new Kq({type:"literal",values:Array.isArray(e)?e:[e],...pe.normalizeParams(t)})}var Xq=H("ZodFile",(e,t)=>{mT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>KG(e,n,i,r),e.min=(n,i)=>e.check(Vs(n,i)),e.max=(n,i)=>e.check(jc(n,i)),e.mime=(n,i)=>e.check(Mg(Array.isArray(n)?n:[n],i))});function zIe(e){return dC(Xq,e)}var Qq=H("ZodTransform",(e,t)=>{hT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>tq(e,n,i,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Rc(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(pe.issue(o,n.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=n.value),a.inst??(a.inst=e),n.issues.push(pe.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(o=>(n.value=o,n)):(n.value=r,n)}});function YC(e){return new Qq({type:"transform",transform:e})}var KC=H("ZodOptional",(e,t)=>{lx.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bC(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Sn(e){return new KC({type:"optional",innerType:e})}var eJ=H("ZodExactOptional",(e,t)=>{gT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bC(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function tJ(e){return new eJ({type:"optional",innerType:e})}var nJ=H("ZodNullable",(e,t)=>{vT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>lq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Fx(e){return new nJ({type:"nullable",innerType:e})}function PIe(e){return Sn(Fx(e))}var rJ=H("ZodDefault",(e,t)=>{yT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>dq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function iJ(e,t){return new rJ({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():pe.shallowClone(t)}})}var oJ=H("ZodPrefault",(e,t)=>{bT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function aJ(e,t){return new oJ({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():pe.shallowClone(t)}})}var XC=H("ZodNonOptional",(e,t)=>{_T.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function sJ(e,t){return new XC({type:"nonoptional",innerType:e,...pe.normalizeParams(t)})}var uJ=H("ZodSuccess",(e,t)=>{xT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>XG(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function RIe(e){return new uJ({type:"success",innerType:e})}var lJ=H("ZodCatch",(e,t)=>{kT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>pq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function cJ(e,t){return new lJ({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var dJ=H("ZodNaN",(e,t)=>{wT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>JG(e,n,i,r)});function LIe(e){return oC(dJ,e)}var QC=H("ZodPipe",(e,t)=>{ET.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>mq(e,n,i,r),e.in=t.in,e.out=t.out});function Mx(e,t){return new QC({type:"pipe",in:e,out:t})}var eA=H("ZodCodec",(e,t)=>{QC.init(e,t),Cg.init(e,t)});function FIe(e,t,n){return new eA({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}var fJ=H("ZodReadonly",(e,t)=>{DT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>hq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function pJ(e){return new fJ({type:"readonly",innerType:e})}var mJ=H("ZodTemplateLiteral",(e,t)=>{$T.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>YG(e,n,i,r)});function MIe(e,t){return new mJ({type:"template_literal",parts:e,...pe.normalizeParams(t)})}var hJ=H("ZodLazy",(e,t)=>{TT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>vq(e,n,i,r),e.unwrap=()=>e._zod.def.getter()});function gJ(e){return new hJ({type:"lazy",getter:e})}var vJ=H("ZodPromise",(e,t)=>{IT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>gq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function UIe(e){return new vJ({type:"promise",innerType:e})}var yJ=H("ZodFunction",(e,t)=>{ST.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>eq(e,n,i,r)});function jIe(e){return new yJ({type:"function",input:Array.isArray(e?.input)?qq(e?.input):e?.input??Tt(dn()),output:e?.output??dn()})}var Jx=H("ZodCustom",(e,t)=>{CT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>QG(e,n,i,r)});function BIe(e){let t=new ln({check:"custom"});return t._zod.check=e,t}function tA(e,t){return fC(Jx,e??(()=>!0),t)}function bJ(e,t={}){return pC(Jx,e,t)}function _J(e){return mC(e)}var ZIe=hC,HIe=gC;function WIe(e,t={}){let n=new Jx({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...pe.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:n,path:[...n._zod.def.path??[]]})},n}var VIe=(...e)=>vC({Codec:eA,Boolean:Zx,String:Ux},...e);function GIe(e){let t=gJ(()=>rn([ee(e),Vt(),rr(),qg(),Tt(t),kn(ee(),t)]));return t}function Yx(e,t){return Mx(YC(e),t)}var xJ;xJ||(xJ={});var Vct={...Wg,...Rx,iso:Bc};dr(AT());var _l="io.modelcontextprotocol/related-task",Xx="2.0",Tr=tA(e=>e!==null&&(typeof e=="object"||typeof e=="function")),kJ=rn([ee(),Vt().int()]),wJ=ee(),ddt=Gr({ttl:rn([Vt(),qg()]).optional(),pollInterval:Vt().optional()}),KIe=Pe({ttl:Vt().optional()}),XIe=Pe({taskId:ee()}),rA=Gr({progressToken:kJ.optional(),[_l]:XIe.optional()}),oo=Pe({_meta:rA.optional()}),Yg=oo.extend({task:KIe.optional()}),EJ=e=>Yg.safeParse(e).success,Cr=Pe({method:ee(),params:oo.loose().optional()}),Lo=Pe({_meta:rA.optional()}),Fo=Pe({method:ee(),params:Lo.loose().optional()}),Ar=Gr({_meta:rA.optional()}),xl=rn([ee(),Vt().int()]),DJ=Pe({jsonrpc:Ze(Xx),id:xl,...Cr.shape}).strict(),iA=e=>DJ.safeParse(e).success,$J=Pe({jsonrpc:Ze(Xx),...Fo.shape}).strict(),SJ=e=>$J.safeParse(e).success,oA=Pe({jsonrpc:Ze(Xx),id:xl,result:Ar}).strict(),Kg=e=>oA.safeParse(e).success;var Jt;(function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Jt||(Jt={}));var aA=Pe({jsonrpc:Ze(Xx),id:xl.optional(),error:Pe({code:Vt().int(),message:ee(),data:dn().optional()})}).strict();var IJ=e=>aA.safeParse(e).success;var sA=rn([DJ,$J,oA,aA]),fdt=rn([oA,aA]),Xg=Ar.strict(),QIe=Lo.extend({requestId:xl.optional(),reason:ee().optional()}),Qx=Fo.extend({method:Ze("notifications/cancelled"),params:QIe}),eTe=Pe({src:ee(),mimeType:ee().optional(),sizes:Tt(ee()).optional(),theme:qr(["light","dark"]).optional()}),Qg=Pe({icons:Tt(eTe).optional()}),up=Pe({name:ee(),title:ee().optional()}),kl=up.extend({...up.shape,...Qg.shape,version:ee(),websiteUrl:ee().optional(),description:ee().optional()}),tTe=Jg(Pe({applyDefaults:rr().optional()}),kn(ee(),dn())),nTe=Yx(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,Jg(Pe({form:tTe.optional(),url:Tr.optional()}),kn(ee(),dn()).optional())),rTe=Gr({list:Tr.optional(),cancel:Tr.optional(),requests:Gr({sampling:Gr({createMessage:Tr.optional()}).optional(),elicitation:Gr({create:Tr.optional()}).optional()}).optional()}),iTe=Gr({list:Tr.optional(),cancel:Tr.optional(),requests:Gr({tools:Gr({call:Tr.optional()}).optional()}).optional()}),oTe=Pe({experimental:kn(ee(),Tr).optional(),sampling:Pe({context:Tr.optional(),tools:Tr.optional()}).optional(),elicitation:nTe.optional(),roots:Pe({listChanged:rr().optional()}).optional(),tasks:rTe.optional()}),aTe=oo.extend({protocolVersion:ee(),capabilities:oTe,clientInfo:kl}),sTe=Cr.extend({method:Ze("initialize"),params:aTe});var uTe=Pe({experimental:kn(ee(),Tr).optional(),logging:Tr.optional(),completions:Tr.optional(),prompts:Pe({listChanged:rr().optional()}).optional(),resources:Pe({subscribe:rr().optional(),listChanged:rr().optional()}).optional(),tools:Pe({listChanged:rr().optional()}).optional(),tasks:iTe.optional()}),lTe=Ar.extend({protocolVersion:ee(),capabilities:uTe,serverInfo:kl,instructions:ee().optional()}),cTe=Fo.extend({method:Ze("notifications/initialized"),params:Lo.optional()});var Zc=Cr.extend({method:Ze("ping"),params:oo.optional()}),dTe=Pe({progress:Vt(),total:Sn(Vt()),message:Sn(ee())}),fTe=Pe({...Lo.shape,...dTe.shape,progressToken:kJ}),ek=Fo.extend({method:Ze("notifications/progress"),params:fTe}),pTe=oo.extend({cursor:wJ.optional()}),e0=Cr.extend({params:pTe.optional()}),t0=Ar.extend({nextCursor:wJ.optional()}),mTe=qr(["working","input_required","completed","failed","cancelled"]),n0=Pe({taskId:ee(),status:mTe,ttl:rn([Vt(),qg()]),createdAt:ee(),lastUpdatedAt:ee(),pollInterval:Sn(Vt()),statusMessage:Sn(ee())}),tk=Ar.extend({task:n0}),hTe=Lo.merge(n0),r0=Fo.extend({method:Ze("notifications/tasks/status"),params:hTe}),nk=Cr.extend({method:Ze("tasks/get"),params:oo.extend({taskId:ee()})}),rk=Ar.merge(n0),ik=Cr.extend({method:Ze("tasks/result"),params:oo.extend({taskId:ee()})}),pdt=Ar.loose(),ok=e0.extend({method:Ze("tasks/list")}),ak=t0.extend({tasks:Tt(n0)}),sk=Cr.extend({method:Ze("tasks/cancel"),params:oo.extend({taskId:ee()})}),TJ=Ar.merge(n0),CJ=Pe({uri:ee(),mimeType:Sn(ee()),_meta:kn(ee(),dn()).optional()}),AJ=CJ.extend({text:ee()}),uA=ee().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),NJ=CJ.extend({blob:uA}),i0=qr(["user","assistant"]),lp=Pe({audience:Tt(i0).optional(),priority:Vt().min(0).max(1).optional(),lastModified:Bc.datetime({offset:!0}).optional()}),OJ=Pe({...up.shape,...Qg.shape,uri:ee(),description:Sn(ee()),mimeType:Sn(ee()),annotations:lp.optional(),_meta:Sn(Gr({}))}),gTe=Pe({...up.shape,...Qg.shape,uriTemplate:ee(),description:Sn(ee()),mimeType:Sn(ee()),annotations:lp.optional(),_meta:Sn(Gr({}))}),vTe=e0.extend({method:Ze("resources/list")}),yTe=t0.extend({resources:Tt(OJ)}),bTe=e0.extend({method:Ze("resources/templates/list")}),_Te=t0.extend({resourceTemplates:Tt(gTe)}),lA=oo.extend({uri:ee()}),xTe=lA,kTe=Cr.extend({method:Ze("resources/read"),params:xTe}),wTe=Ar.extend({contents:Tt(rn([AJ,NJ]))}),ETe=Fo.extend({method:Ze("notifications/resources/list_changed"),params:Lo.optional()}),DTe=lA,$Te=Cr.extend({method:Ze("resources/subscribe"),params:DTe}),STe=lA,ITe=Cr.extend({method:Ze("resources/unsubscribe"),params:STe}),TTe=Lo.extend({uri:ee()}),CTe=Fo.extend({method:Ze("notifications/resources/updated"),params:TTe}),ATe=Pe({name:ee(),description:Sn(ee()),required:Sn(rr())}),NTe=Pe({...up.shape,...Qg.shape,description:Sn(ee()),arguments:Sn(Tt(ATe)),_meta:Sn(Gr({}))}),OTe=e0.extend({method:Ze("prompts/list")}),zTe=t0.extend({prompts:Tt(NTe)}),PTe=oo.extend({name:ee(),arguments:kn(ee(),ee()).optional()}),RTe=Cr.extend({method:Ze("prompts/get"),params:PTe}),cA=Pe({type:Ze("text"),text:ee(),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),dA=Pe({type:Ze("image"),data:uA,mimeType:ee(),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),fA=Pe({type:Ze("audio"),data:uA,mimeType:ee(),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),LTe=Pe({type:Ze("tool_use"),name:ee(),id:ee(),input:kn(ee(),dn()),_meta:kn(ee(),dn()).optional()}),o0=Pe({type:Ze("resource"),resource:rn([AJ,NJ]),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),a0=OJ.extend({type:Ze("resource_link")}),qs=rn([cA,dA,fA,a0,o0]),FTe=Pe({role:i0,content:qs}),MTe=Ar.extend({description:ee().optional(),messages:Tt(FTe)}),UTe=Fo.extend({method:Ze("notifications/prompts/list_changed"),params:Lo.optional()}),jTe=Pe({title:ee().optional(),readOnlyHint:rr().optional(),destructiveHint:rr().optional(),idempotentHint:rr().optional(),openWorldHint:rr().optional()}),BTe=Pe({taskSupport:qr(["required","optional","forbidden"]).optional()}),cp=Pe({...up.shape,...Qg.shape,description:ee().optional(),inputSchema:Pe({type:Ze("object"),properties:kn(ee(),Tr).optional(),required:Tt(ee()).optional()}).catchall(dn()),outputSchema:Pe({type:Ze("object"),properties:kn(ee(),Tr).optional(),required:Tt(ee()).optional()}).catchall(dn()).optional(),annotations:jTe.optional(),execution:BTe.optional(),_meta:kn(ee(),dn()).optional()}),uk=e0.extend({method:Ze("tools/list")}),ZTe=t0.extend({tools:Tt(cp)}),Js=Ar.extend({content:Tt(qs).default([]),structuredContent:kn(ee(),dn()).optional(),isError:rr().optional()}),mdt=Js.or(Ar.extend({toolResult:dn()})),HTe=Yg.extend({name:ee(),arguments:kn(ee(),dn()).optional()}),lk=Cr.extend({method:Ze("tools/call"),params:HTe}),WTe=Fo.extend({method:Ze("notifications/tools/list_changed"),params:Lo.optional()}),hdt=Pe({autoRefresh:rr().default(!0),debounceMs:Vt().int().nonnegative().default(300)}),zJ=qr(["debug","info","notice","warning","error","critical","alert","emergency"]),VTe=oo.extend({level:zJ}),GTe=Cr.extend({method:Ze("logging/setLevel"),params:VTe}),qTe=Lo.extend({level:zJ,logger:ee().optional(),data:dn()}),JTe=Fo.extend({method:Ze("notifications/message"),params:qTe}),YTe=Pe({name:ee().optional()}),KTe=Pe({hints:Tt(YTe).optional(),costPriority:Vt().min(0).max(1).optional(),speedPriority:Vt().min(0).max(1).optional(),intelligencePriority:Vt().min(0).max(1).optional()}),XTe=Pe({mode:qr(["auto","required","none"]).optional()}),QTe=Pe({type:Ze("tool_result"),toolUseId:ee().describe("The unique identifier for the corresponding tool call."),content:Tt(qs).default([]),structuredContent:Pe({}).loose().optional(),isError:rr().optional(),_meta:kn(ee(),dn()).optional()}),eCe=Gx("type",[cA,dA,fA]),Kx=Gx("type",[cA,dA,fA,LTe,QTe]),tCe=Pe({role:i0,content:rn([Kx,Tt(Kx)]),_meta:kn(ee(),dn()).optional()}),nCe=Yg.extend({messages:Tt(tCe),modelPreferences:KTe.optional(),systemPrompt:ee().optional(),includeContext:qr(["none","thisServer","allServers"]).optional(),temperature:Vt().optional(),maxTokens:Vt().int(),stopSequences:Tt(ee()).optional(),metadata:Tr.optional(),tools:Tt(cp).optional(),toolChoice:XTe.optional()}),rCe=Cr.extend({method:Ze("sampling/createMessage"),params:nCe}),iCe=Ar.extend({model:ee(),stopReason:Sn(qr(["endTurn","stopSequence","maxTokens"]).or(ee())),role:i0,content:eCe}),oCe=Ar.extend({model:ee(),stopReason:Sn(qr(["endTurn","stopSequence","maxTokens","toolUse"]).or(ee())),role:i0,content:rn([Kx,Tt(Kx)])}),aCe=Pe({type:Ze("boolean"),title:ee().optional(),description:ee().optional(),default:rr().optional()}),sCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),minLength:Vt().optional(),maxLength:Vt().optional(),format:qr(["email","uri","date","date-time"]).optional(),default:ee().optional()}),uCe=Pe({type:qr(["number","integer"]),title:ee().optional(),description:ee().optional(),minimum:Vt().optional(),maximum:Vt().optional(),default:Vt().optional()}),lCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),enum:Tt(ee()),default:ee().optional()}),cCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),oneOf:Tt(Pe({const:ee(),title:ee()})),default:ee().optional()}),dCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),enum:Tt(ee()),enumNames:Tt(ee()).optional(),default:ee().optional()}),fCe=rn([lCe,cCe]),pCe=Pe({type:Ze("array"),title:ee().optional(),description:ee().optional(),minItems:Vt().optional(),maxItems:Vt().optional(),items:Pe({type:Ze("string"),enum:Tt(ee())}),default:Tt(ee()).optional()}),mCe=Pe({type:Ze("array"),title:ee().optional(),description:ee().optional(),minItems:Vt().optional(),maxItems:Vt().optional(),items:Pe({anyOf:Tt(Pe({const:ee(),title:ee()}))}),default:Tt(ee()).optional()}),hCe=rn([pCe,mCe]),gCe=rn([dCe,fCe,hCe]),vCe=rn([gCe,aCe,sCe,uCe]),yCe=Yg.extend({mode:Ze("form").optional(),message:ee(),requestedSchema:Pe({type:Ze("object"),properties:kn(ee(),vCe),required:Tt(ee()).optional()})}),bCe=Yg.extend({mode:Ze("url"),message:ee(),elicitationId:ee(),url:ee().url()}),_Ce=rn([yCe,bCe]),xCe=Cr.extend({method:Ze("elicitation/create"),params:_Ce}),kCe=Lo.extend({elicitationId:ee()}),wCe=Fo.extend({method:Ze("notifications/elicitation/complete"),params:kCe}),ECe=Ar.extend({action:qr(["accept","decline","cancel"]),content:Yx(e=>e===null?void 0:e,kn(ee(),rn([ee(),Vt(),rr(),Tt(ee())])).optional())}),DCe=Pe({type:Ze("ref/resource"),uri:ee()});var $Ce=Pe({type:Ze("ref/prompt"),name:ee()}),SCe=oo.extend({ref:rn([$Ce,DCe]),argument:Pe({name:ee(),value:ee()}),context:Pe({arguments:kn(ee(),ee()).optional()}).optional()}),ICe=Cr.extend({method:Ze("completion/complete"),params:SCe});var TCe=Ar.extend({completion:Gr({values:Tt(ee()).max(100),total:Sn(Vt().int()),hasMore:Sn(rr())})}),CCe=Pe({uri:ee().startsWith("file://"),name:ee().optional(),_meta:kn(ee(),dn()).optional()}),ACe=Cr.extend({method:Ze("roots/list"),params:oo.optional()}),NCe=Ar.extend({roots:Tt(CCe)}),OCe=Fo.extend({method:Ze("notifications/roots/list_changed"),params:Lo.optional()}),gdt=rn([Zc,sTe,ICe,GTe,RTe,OTe,vTe,bTe,kTe,$Te,ITe,lk,uk,nk,ik,ok,sk]),vdt=rn([Qx,ek,cTe,OCe,r0]),ydt=rn([Xg,iCe,oCe,ECe,NCe,rk,ak,tk]),bdt=rn([Zc,rCe,xCe,ACe,nk,ik,ok,sk]),_dt=rn([Qx,ek,JTe,CTe,ETe,WTe,UTe,r0,wCe]),xdt=rn([Xg,lTe,TCe,MTe,zTe,yTe,_Te,wTe,Js,ZTe,rk,ak,tk]),Ut=class e extends Error{constructor(t,n,i){super(`MCP error ${t}: ${n}`),this.code=t,this.data=i,this.name="McpError"}static fromError(t,n,i){if(t===Jt.UrlElicitationRequired&&i){let r=i;if(r.elicitations)return new nA(r.elicitations,n)}return new e(t,n,i)}},nA=class extends Ut{constructor(t,n=`URL elicitation${t.length>1?"s":""} required`){super(Jt.UrlElicitationRequired,n,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}};function wl(e){return e==="completed"||e==="failed"||e==="cancelled"}var zCe=Symbol("Let zodToJsonSchema decide on which parser to use");var tft=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function pA(e){let n=_q(e)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=xq(n);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function mA(e,t){let n=Px(e,t);if(!n.success)throw n.error;return n.data}var UCe=6e4,u0=class{constructor(t){this._options=t,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(Qx,n=>{this._oncancel(n)}),this.setNotificationHandler(ek,n=>{this._onprogress(n)}),this.setRequestHandler(Zc,n=>({})),this._taskStore=t?.taskStore,this._taskMessageQueue=t?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(nk,async(n,i)=>{let r=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!r)throw new Ut(Jt.InvalidParams,"Failed to retrieve task: Task not found");return{...r}}),this.setRequestHandler(ik,async(n,i)=>{let r=async()=>{let o=n.params.taskId;if(this._taskMessageQueue){let s;for(;s=await this._taskMessageQueue.dequeue(o,i.sessionId);){if(s.type==="response"||s.type==="error"){let l=s.message,c=l.id,f=this._requestResolvers.get(c);if(f)if(this._requestResolvers.delete(c),s.type==="response")f(l);else{let p=l,h=new Ut(p.error.code,p.error.message,p.error.data);f(h)}else{let p=s.type==="response"?"Response":"Error";this._onerror(new Error(`${p} handler missing for request ${c}`))}continue}await this._transport?.send(s.message,{relatedRequestId:i.requestId})}}let a=await this._taskStore.getTask(o,i.sessionId);if(!a)throw new Ut(Jt.InvalidParams,`Task not found: ${o}`);if(!wl(a.status))return await this._waitForTaskUpdate(o,i.signal),await r();if(wl(a.status)){let s=await this._taskStore.getTaskResult(o,i.sessionId);return this._clearTaskQueue(o),{...s,_meta:{...s._meta,[_l]:{taskId:o}}}}return await r()};return await r()}),this.setRequestHandler(ok,async(n,i)=>{try{let{tasks:r,nextCursor:o}=await this._taskStore.listTasks(n.params?.cursor,i.sessionId);return{tasks:r,nextCursor:o,_meta:{}}}catch(r){throw new Ut(Jt.InvalidParams,`Failed to list tasks: ${r instanceof Error?r.message:String(r)}`)}}),this.setRequestHandler(sk,async(n,i)=>{try{let r=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!r)throw new Ut(Jt.InvalidParams,`Task not found: ${n.params.taskId}`);if(wl(r.status))throw new Ut(Jt.InvalidParams,`Cannot cancel task in terminal status: ${r.status}`);await this._taskStore.updateTaskStatus(n.params.taskId,"cancelled","Client cancelled task execution.",i.sessionId),this._clearTaskQueue(n.params.taskId);let o=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!o)throw new Ut(Jt.InvalidParams,`Task not found after cancellation: ${n.params.taskId}`);return{_meta:{},...o}}catch(r){throw r instanceof Ut?r:new Ut(Jt.InvalidRequest,`Failed to cancel task: ${r instanceof Error?r.message:String(r)}`)}}))}async _oncancel(t){if(!t.params.requestId)return;this._requestHandlerAbortControllers.get(t.params.requestId)?.abort(t.params.reason)}_setupTimeout(t,n,i,r,o=!1){this._timeoutInfo.set(t,{timeoutId:setTimeout(r,n),startTime:Date.now(),timeout:n,maxTotalTimeout:i,resetTimeoutOnProgress:o,onTimeout:r})}_resetTimeout(t){let n=this._timeoutInfo.get(t);if(!n)return!1;let i=Date.now()-n.startTime;if(n.maxTotalTimeout&&i>=n.maxTotalTimeout)throw this._timeoutInfo.delete(t),Ut.fromError(Jt.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:n.maxTotalTimeout,totalElapsed:i});return clearTimeout(n.timeoutId),n.timeoutId=setTimeout(n.onTimeout,n.timeout),!0}_cleanupTimeout(t){let n=this._timeoutInfo.get(t);n&&(clearTimeout(n.timeoutId),this._timeoutInfo.delete(t))}async connect(t){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=t;let n=this.transport?.onclose;this._transport.onclose=()=>{n?.(),this._onclose()};let i=this.transport?.onerror;this._transport.onerror=o=>{i?.(o),this._onerror(o)};let r=this._transport?.onmessage;this._transport.onmessage=(o,a)=>{r?.(o,a),Kg(o)||IJ(o)?this._onresponse(o):iA(o)?this._onrequest(o,a):SJ(o)?this._onnotification(o):this._onerror(new Error(`Unknown message type: ${JSON.stringify(o)}`))},await this._transport.start()}_onclose(){let t=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let i of this._requestHandlerAbortControllers.values())i.abort();this._requestHandlerAbortControllers.clear();let n=Ut.fromError(Jt.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let i of t.values())i(n)}_onerror(t){this.onerror?.(t)}_onnotification(t){let n=this._notificationHandlers.get(t.method)??this.fallbackNotificationHandler;n!==void 0&&Promise.resolve().then(()=>n(t)).catch(i=>this._onerror(new Error(`Uncaught error in notification handler: ${i}`)))}_onrequest(t,n){let i=this._requestHandlers.get(t.method)??this.fallbackRequestHandler,r=this._transport,o=t.params?._meta?.[_l]?.taskId;if(i===void 0){let f={jsonrpc:"2.0",id:t.id,error:{code:Jt.MethodNotFound,message:"Method not found"}};o&&this._taskMessageQueue?this._enqueueTaskMessage(o,{type:"error",message:f,timestamp:Date.now()},r?.sessionId).catch(p=>this._onerror(new Error(`Failed to enqueue error response: ${p}`))):r?.send(f).catch(p=>this._onerror(new Error(`Failed to send an error response: ${p}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(t.id,a);let s=EJ(t.params)?t.params.task:void 0,l=this._taskStore?this.requestTaskStore(t,r?.sessionId):void 0,c={signal:a.signal,sessionId:r?.sessionId,_meta:t.params?._meta,sendNotification:async f=>{if(a.signal.aborted)return;let p={relatedRequestId:t.id};o&&(p.relatedTask={taskId:o}),await this.notification(f,p)},sendRequest:async(f,p,h)=>{if(a.signal.aborted)throw new Ut(Jt.ConnectionClosed,"Request was cancelled");let v={...h,relatedRequestId:t.id};o&&!v.relatedTask&&(v.relatedTask={taskId:o});let b=v.relatedTask?.taskId??o;return b&&l&&await l.updateTaskStatus(b,"input_required"),await this.request(f,p,v)},authInfo:n?.authInfo,requestId:t.id,requestInfo:n?.requestInfo,taskId:o,taskStore:l,taskRequestedTtl:s?.ttl,closeSSEStream:n?.closeSSEStream,closeStandaloneSSEStream:n?.closeStandaloneSSEStream};Promise.resolve().then(()=>{s&&this.assertTaskHandlerCapability(t.method)}).then(()=>i(t,c)).then(async f=>{if(a.signal.aborted)return;let p={result:f,jsonrpc:"2.0",id:t.id};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"response",message:p,timestamp:Date.now()},r?.sessionId):await r?.send(p)},async f=>{if(a.signal.aborted)return;let p={jsonrpc:"2.0",id:t.id,error:{code:Number.isSafeInteger(f.code)?f.code:Jt.InternalError,message:f.message??"Internal error",...f.data!==void 0&&{data:f.data}}};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"error",message:p,timestamp:Date.now()},r?.sessionId):await r?.send(p)}).catch(f=>this._onerror(new Error(`Failed to send response: ${f}`))).finally(()=>{this._requestHandlerAbortControllers.delete(t.id)})}_onprogress(t){let{progressToken:n,...i}=t.params,r=Number(n),o=this._progressHandlers.get(r);if(!o){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(t)}`));return}let a=this._responseHandlers.get(r),s=this._timeoutInfo.get(r);if(s&&a&&s.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(l){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(l);return}o(i)}_onresponse(t){let n=Number(t.id),i=this._requestResolvers.get(n);if(i){if(this._requestResolvers.delete(n),Kg(t))i(t);else{let a=new Ut(t.error.code,t.error.message,t.error.data);i(a)}return}let r=this._responseHandlers.get(n);if(r===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(t)}`));return}this._responseHandlers.delete(n),this._cleanupTimeout(n);let o=!1;if(Kg(t)&&t.result&&typeof t.result=="object"){let a=t.result;if(a.task&&typeof a.task=="object"){let s=a.task;typeof s.taskId=="string"&&(o=!0,this._taskProgressTokens.set(s.taskId,n))}}if(o||this._progressHandlers.delete(n),Kg(t))r(t);else{let a=Ut.fromError(t.error.code,t.error.message,t.error.data);r(a)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(t,n,i){let{task:r}=i??{};if(!r){try{yield{type:"result",result:await this.request(t,n,i)}}catch(a){yield{type:"error",error:a instanceof Ut?a:new Ut(Jt.InternalError,String(a))}}return}let o;try{let a=await this.request(t,tk,i);if(a.task)o=a.task.taskId,yield{type:"taskCreated",task:a.task};else throw new Ut(Jt.InternalError,"Task creation did not return a task");for(;;){let s=await this.getTask({taskId:o},i);if(yield{type:"taskStatus",task:s},wl(s.status)){s.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:o},n,i)}:s.status==="failed"?yield{type:"error",error:new Ut(Jt.InternalError,`Task ${o} failed`)}:s.status==="cancelled"&&(yield{type:"error",error:new Ut(Jt.InternalError,`Task ${o} was cancelled`)});return}if(s.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:o},n,i)};return}let l=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(c=>setTimeout(c,l)),i?.signal?.throwIfAborted()}}catch(a){yield{type:"error",error:a instanceof Ut?a:new Ut(Jt.InternalError,String(a))}}}request(t,n,i){let{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a,task:s,relatedTask:l}=i??{};return new Promise((c,f)=>{let p=E=>{f(E)};if(!this._transport){p(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),s&&this.assertTaskCapability(t.method)}catch(E){p(E);return}i?.signal?.throwIfAborted();let h=this._requestMessageId++,v={...t,jsonrpc:"2.0",id:h};i?.onprogress&&(this._progressHandlers.set(h,i.onprogress),v.params={...t.params,_meta:{...t.params?._meta||{},progressToken:h}}),s&&(v.params={...v.params,task:s}),l&&(v.params={...v.params,_meta:{...v.params?._meta||{},[_l]:l}});let b=E=>{this._responseHandlers.delete(h),this._progressHandlers.delete(h),this._cleanupTimeout(h),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:h,reason:String(E)}},{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a}).catch(T=>this._onerror(new Error(`Failed to send cancellation: ${T}`)));let w=E instanceof Ut?E:new Ut(Jt.RequestTimeout,String(E));f(w)};this._responseHandlers.set(h,E=>{if(!i?.signal?.aborted){if(E instanceof Error)return f(E);try{let w=Px(n,E.result);w.success?c(w.data):f(w.error)}catch(w){f(w)}}}),i?.signal?.addEventListener("abort",()=>{b(i?.signal?.reason)});let k=i?.timeout??UCe,$=()=>b(Ut.fromError(Jt.RequestTimeout,"Request timed out",{timeout:k}));this._setupTimeout(h,k,i?.maxTotalTimeout,$,i?.resetTimeoutOnProgress??!1);let x=l?.taskId;if(x){let E=w=>{let T=this._responseHandlers.get(h);T?T(w):this._onerror(new Error(`Response handler missing for side-channeled request ${h}`))};this._requestResolvers.set(h,E),this._enqueueTaskMessage(x,{type:"request",message:v,timestamp:Date.now()}).catch(w=>{this._cleanupTimeout(h),f(w)})}else this._transport.send(v,{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a}).catch(E=>{this._cleanupTimeout(h),f(E)})})}async getTask(t,n){return this.request({method:"tasks/get",params:t},rk,n)}async getTaskResult(t,n,i){return this.request({method:"tasks/result",params:t},n,i)}async listTasks(t,n){return this.request({method:"tasks/list",params:t},ak,n)}async cancelTask(t,n){return this.request({method:"tasks/cancel",params:t},TJ,n)}async notification(t,n){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(t.method);let i=n?.relatedTask?.taskId;if(i){let s={...t,jsonrpc:"2.0",params:{...t.params,_meta:{...t.params?._meta||{},[_l]:n.relatedTask}}};await this._enqueueTaskMessage(i,{type:"notification",message:s,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&!n?.relatedRequestId&&!n?.relatedTask){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(t.method),!this._transport)return;let s={...t,jsonrpc:"2.0"};n?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[_l]:n.relatedTask}}}),this._transport?.send(s,n).catch(l=>this._onerror(l))});return}let a={...t,jsonrpc:"2.0"};n?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[_l]:n.relatedTask}}}),await this._transport.send(a,n)}setRequestHandler(t,n){let i=pA(t);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(r,o)=>{let a=mA(t,r);return Promise.resolve(n(a,o))})}removeRequestHandler(t){this._requestHandlers.delete(t)}assertCanSetRequestHandler(t){if(this._requestHandlers.has(t))throw new Error(`A request handler for ${t} already exists, which would be overridden`)}setNotificationHandler(t,n){let i=pA(t);this._notificationHandlers.set(i,r=>{let o=mA(t,r);return Promise.resolve(n(o))})}removeNotificationHandler(t){this._notificationHandlers.delete(t)}_cleanupTaskProgressHandler(t){let n=this._taskProgressTokens.get(t);n!==void 0&&(this._progressHandlers.delete(n),this._taskProgressTokens.delete(t))}async _enqueueTaskMessage(t,n,i){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(t,n,i,r)}async _clearTaskQueue(t,n){if(this._taskMessageQueue){let i=await this._taskMessageQueue.dequeueAll(t,n);for(let r of i)if(r.type==="request"&&iA(r.message)){let o=r.message.id,a=this._requestResolvers.get(o);a?(a(new Ut(Jt.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(o)):this._onerror(new Error(`Resolver missing for request ${o} during task ${t} cleanup`))}}}async _waitForTaskUpdate(t,n){let i=this._options?.defaultTaskPollInterval??1e3;try{let r=await this._taskStore?.getTask(t);r?.pollInterval&&(i=r.pollInterval)}catch{}return new Promise((r,o)=>{if(n.aborted){o(new Ut(Jt.InvalidRequest,"Request cancelled"));return}let a=setTimeout(r,i);n.addEventListener("abort",()=>{clearTimeout(a),o(new Ut(Jt.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(t,n){let i=this._taskStore;if(!i)throw new Error("No task store configured");return{createTask:async r=>{if(!t)throw new Error("No request provided");return await i.createTask(r,t.id,{method:t.method,params:t.params},n)},getTask:async r=>{let o=await i.getTask(r,n);if(!o)throw new Ut(Jt.InvalidParams,"Failed to retrieve task: Task not found");return o},storeTaskResult:async(r,o,a)=>{await i.storeTaskResult(r,o,a,n);let s=await i.getTask(r,n);if(s){let l=r0.parse({method:"notifications/tasks/status",params:s});await this.notification(l),wl(s.status)&&this._cleanupTaskProgressHandler(r)}},getTaskResult:r=>i.getTaskResult(r,n),updateTaskStatus:async(r,o,a)=>{let s=await i.getTask(r,n);if(!s)throw new Ut(Jt.InvalidParams,`Task "${r}" not found - it may have been cleaned up`);if(wl(s.status))throw new Ut(Jt.InvalidParams,`Cannot update task "${r}" from terminal status "${s.status}" to "${o}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await i.updateTaskStatus(r,o,a,n);let l=await i.getTask(r,n);if(l){let c=r0.parse({method:"notifications/tasks/status",params:l});await this.notification(c),wl(l.status)&&this._cleanupTaskProgressHandler(r)}},listTasks:r=>i.listTasks(r,n)}}};var LOe=Y(He(),1),jte=Y(He(),1),Bte=Y(He(),1);var jCe=Object.defineProperty,Qs=(e,t)=>{for(var n in t)jCe(e,n,{get:t[n],enumerable:!0,configurable:!0,set:i=>t[n]=()=>i})},mk=class{constructor(t=window.parent,n){Dr(this,"eventTarget");Dr(this,"eventSource");Dr(this,"messageListener");Dr(this,"onclose");Dr(this,"onerror");Dr(this,"onmessage");Dr(this,"sessionId");Dr(this,"setProtocolVersion");this.eventTarget=t,this.eventSource=n,this.messageListener=i=>{if(n&&i.source!==this.eventSource){console.debug("Ignoring message from unknown source",i);return}let r=sA.safeParse(i.data);r.success?(console.debug("Parsed message",r.data),this.onmessage?.(r.data)):i.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",r.error.message,i):(console.error("Failed to parse message",r.error.message,i),this.onerror?.(Error("Invalid JSON-RPC message received: "+r.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,n){console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}},BCe="2026-01-26";var O={};Qs(O,{xor:()=>mte,xid:()=>Lee,void:()=>ute,uuidv7:()=>Tee,uuidv6:()=>Iee,uuidv4:()=>See,uuid:()=>$ee,util:()=>zt,url:()=>Cee,uppercase:()=>Ok,unknown:()=>Gc,union:()=>l6,undefined:()=>ate,ulid:()=>Ree,uint64:()=>ite,uint32:()=>tte,tuple:()=>W5,trim:()=>Mk,treeifyError:()=>mY,transform:()=>d6,toUpperCase:()=>jk,toLowerCase:()=>Uk,toJSONSchema:()=>iee,templateLiteral:()=>Ste,symbol:()=>ote,superRefine:()=>yN,success:()=>Ete,stringbool:()=>zte,stringFormat:()=>qee,string:()=>wk,strictObject:()=>fte,startsWith:()=>Pk,slugify:()=>Bk,size:()=>$0,setErrorMap:()=>sOe,set:()=>bte,safeParseAsync:()=>hee,safeParse:()=>mee,safeEncodeAsync:()=>kee,safeEncode:()=>_ee,safeDecodeAsync:()=>wee,safeDecode:()=>xee,registry:()=>JA,regexes:()=>Jc,regex:()=>Ak,refine:()=>vN,record:()=>V5,readonly:()=>dN,property:()=>_5,promise:()=>Ite,prettifyError:()=>gY,preprocess:()=>Rte,prefault:()=>iN,positive:()=>g5,pipe:()=>h0,partialRecord:()=>gte,parseAsync:()=>pee,parse:()=>fee,overwrite:()=>tu,optional:()=>p0,object:()=>dte,number:()=>T5,nullish:()=>wte,nullable:()=>m0,null:()=>z5,normalize:()=>Fk,nonpositive:()=>y5,nonoptional:()=>oN,nonnegative:()=>b5,never:()=>s6,negative:()=>v5,nativeEnum:()=>_te,nanoid:()=>Oee,nan:()=>Dte,multipleOf:()=>gp,minSize:()=>$l,minLength:()=>Vc,mime:()=>Lk,meta:()=>Nte,maxSize:()=>xp,maxLength:()=>S0,map:()=>yte,mac:()=>Uee,lte:()=>Uo,lt:()=>El,lowercase:()=>Nk,looseRecord:()=>vte,looseObject:()=>pte,locales:()=>qA,literal:()=>xte,length:()=>I0,lazy:()=>mN,ksuid:()=>Fee,keyof:()=>cte,jwt:()=>Gee,json:()=>Pte,iso:()=>w5,ipv6:()=>jee,ipv4:()=>Mee,intersection:()=>Z5,int64:()=>rte,int32:()=>ete,int:()=>Ek,instanceof:()=>Ote,includes:()=>zk,httpUrl:()=>Aee,hostname:()=>Jee,hex:()=>Yee,hash:()=>Kee,guid:()=>Dee,gte:()=>zi,gt:()=>Dl,globalRegistry:()=>Mo,getErrorMap:()=>uOe,function:()=>Dk,fromJSONSchema:()=>fOe,formatError:()=>IA,float64:()=>Qee,float32:()=>Xee,flattenError:()=>SA,file:()=>kte,exactOptional:()=>Q5,enum:()=>c6,endsWith:()=>Rk,encodeAsync:()=>yee,encode:()=>gee,emoji:()=>Nee,email:()=>Eee,e164:()=>Vee,discriminatedUnion:()=>hte,describe:()=>Ate,decodeAsync:()=>bee,decode:()=>vee,date:()=>lte,custom:()=>Cte,cuid2:()=>Pee,cuid:()=>zee,core:()=>eY,config:()=>Yr,coerce:()=>Fte,codec:()=>$te,clone:()=>Bo,cidrv6:()=>Zee,cidrv4:()=>Bee,check:()=>Tte,catch:()=>uN,boolean:()=>C5,bigint:()=>nte,base64url:()=>Wee,base64:()=>Hee,array:()=>P0,any:()=>ste,_function:()=>Dk,_default:()=>nN,_ZodString:()=>Zk,ZodXor:()=>U5,ZodXID:()=>Yk,ZodVoid:()=>F5,ZodUnknown:()=>R5,ZodUnion:()=>L0,ZodUndefined:()=>N5,ZodUUID:()=>Qa,ZodURL:()=>A0,ZodULID:()=>Jk,ZodType:()=>vt,ZodTuple:()=>H5,ZodTransform:()=>K5,ZodTemplateLiteral:()=>fN,ZodSymbol:()=>A5,ZodSuccess:()=>aN,ZodStringFormat:()=>pn,ZodString:()=>C0,ZodSet:()=>q5,ZodRecord:()=>F0,ZodRealError:()=>so,ZodReadonly:()=>cN,ZodPromise:()=>hN,ZodPrefault:()=>rN,ZodPipe:()=>m6,ZodOptional:()=>f6,ZodObject:()=>R0,ZodNumberFormat:()=>Yc,ZodNumber:()=>N0,ZodNullable:()=>eN,ZodNull:()=>O5,ZodNonOptional:()=>p6,ZodNever:()=>L5,ZodNanoID:()=>Vk,ZodNaN:()=>lN,ZodMap:()=>G5,ZodMAC:()=>I5,ZodLiteral:()=>J5,ZodLazy:()=>pN,ZodKSUID:()=>Kk,ZodJWT:()=>o6,ZodIssueCode:()=>aOe,ZodIntersection:()=>B5,ZodISOTime:()=>$5,ZodISODuration:()=>S5,ZodISODateTime:()=>E5,ZodISODate:()=>D5,ZodIPv6:()=>Qk,ZodIPv4:()=>Xk,ZodGUID:()=>f0,ZodFunction:()=>gN,ZodFirstPartyTypeKind:()=>kA,ZodFile:()=>Y5,ZodExactOptional:()=>X5,ZodError:()=>oOe,ZodEnum:()=>_p,ZodEmoji:()=>Wk,ZodEmail:()=>Hk,ZodE164:()=>i6,ZodDiscriminatedUnion:()=>j5,ZodDefault:()=>tN,ZodDate:()=>u6,ZodCustomStringFormat:()=>kp,ZodCustom:()=>M0,ZodCodec:()=>h6,ZodCatch:()=>sN,ZodCUID2:()=>qk,ZodCUID:()=>Gk,ZodCIDRv6:()=>t6,ZodCIDRv4:()=>e6,ZodBoolean:()=>O0,ZodBigIntFormat:()=>a6,ZodBigInt:()=>z0,ZodBase64URL:()=>r6,ZodBase64:()=>n6,ZodArray:()=>M5,ZodAny:()=>P5,TimePrecision:()=>LX,NEVER:()=>tY,$output:()=>NX,$input:()=>OX,$brand:()=>nY});var eY={};Qs(eY,{version:()=>hK,util:()=>zt,treeifyError:()=>mY,toJSONSchema:()=>iee,toDotPath:()=>hY,safeParseAsync:()=>yY,safeParse:()=>vY,safeEncodeAsync:()=>_Ae,safeEncode:()=>yAe,safeDecodeAsync:()=>xAe,safeDecode:()=>bAe,registry:()=>JA,regexes:()=>Jc,process:()=>on,prettifyError:()=>gY,parseAsync:()=>yA,parse:()=>vA,meta:()=>yQ,locales:()=>qA,isValidJWT:()=>UK,isValidBase64URL:()=>LK,isValidBase64:()=>jA,initializeContext:()=>vp,globalRegistry:()=>Mo,globalConfig:()=>hk,formatError:()=>IA,flattenError:()=>SA,finalize:()=>bp,extractDefs:()=>yp,encodeAsync:()=>gAe,encode:()=>mAe,describe:()=>vQ,decodeAsync:()=>vAe,decode:()=>hAe,createToJSONSchemaMethod:()=>_Q,createStandardJSONSchemaMethod:()=>d0,config:()=>Yr,clone:()=>Bo,_xor:()=>PNe,_xid:()=>a5,_void:()=>sQ,_uuidv7:()=>e5,_uuidv6:()=>QA,_uuidv4:()=>XA,_uuid:()=>KA,_url:()=>Ck,_uppercase:()=>Ok,_unknown:()=>oQ,_union:()=>zNe,_undefined:()=>nQ,_ulid:()=>o5,_uint64:()=>eQ,_uint32:()=>qX,_tuple:()=>FNe,_trim:()=>Mk,_transform:()=>WNe,_toUpperCase:()=>jk,_toLowerCase:()=>Uk,_templateLiteral:()=>eOe,_symbol:()=>tQ,_superRefine:()=>hQ,_success:()=>YNe,_stringbool:()=>bQ,_stringFormat:()=>T0,_string:()=>zX,_startsWith:()=>Pk,_slugify:()=>Bk,_size:()=>$0,_set:()=>jNe,_safeParseAsync:()=>x0,_safeParse:()=>_0,_safeEncodeAsync:()=>PA,_safeEncode:()=>OA,_safeDecodeAsync:()=>RA,_safeDecode:()=>zA,_regex:()=>Ak,_refine:()=>mQ,_record:()=>MNe,_readonly:()=>QNe,_property:()=>_5,_promise:()=>nOe,_positive:()=>g5,_pipe:()=>XNe,_parseAsync:()=>b0,_parse:()=>y0,_overwrite:()=>tu,_optional:()=>VNe,_number:()=>BX,_nullable:()=>GNe,_null:()=>rQ,_normalize:()=>Fk,_nonpositive:()=>y5,_nonoptional:()=>JNe,_nonnegative:()=>b5,_never:()=>aQ,_negative:()=>v5,_nativeEnum:()=>ZNe,_nanoid:()=>n5,_nan:()=>cQ,_multipleOf:()=>gp,_minSize:()=>$l,_minLength:()=>Vc,_min:()=>zi,_mime:()=>Lk,_maxSize:()=>xp,_maxLength:()=>S0,_max:()=>Uo,_map:()=>UNe,_mac:()=>RX,_lte:()=>Uo,_lt:()=>El,_lowercase:()=>Nk,_literal:()=>HNe,_length:()=>I0,_lazy:()=>tOe,_ksuid:()=>s5,_jwt:()=>h5,_isoTime:()=>UX,_isoDuration:()=>jX,_isoDateTime:()=>FX,_isoDate:()=>MX,_ipv6:()=>l5,_ipv4:()=>u5,_intersection:()=>LNe,_int64:()=>QX,_int32:()=>GX,_int:()=>HX,_includes:()=>zk,_guid:()=>kk,_gte:()=>zi,_gt:()=>Dl,_float64:()=>VX,_float32:()=>WX,_file:()=>fQ,_enum:()=>BNe,_endsWith:()=>Rk,_encodeAsync:()=>AA,_encode:()=>TA,_emoji:()=>t5,_email:()=>YA,_e164:()=>m5,_discriminatedUnion:()=>RNe,_default:()=>qNe,_decodeAsync:()=>NA,_decode:()=>CA,_date:()=>uQ,_custom:()=>pQ,_cuid2:()=>i5,_cuid:()=>r5,_coercedString:()=>PX,_coercedNumber:()=>ZX,_coercedDate:()=>lQ,_coercedBoolean:()=>YX,_coercedBigint:()=>XX,_cidrv6:()=>d5,_cidrv4:()=>c5,_check:()=>gQ,_catch:()=>KNe,_boolean:()=>JX,_bigint:()=>KX,_base64url:()=>p5,_base64:()=>f5,_array:()=>dQ,_any:()=>iQ,TimePrecision:()=>LX,NEVER:()=>tY,JSONSchemaGenerator:()=>xA,JSONSchema:()=>iOe,Doc:()=>bk,$output:()=>NX,$input:()=>OX,$constructor:()=>V,$brand:()=>nY,$ZodXor:()=>iX,$ZodXID:()=>DK,$ZodVoid:()=>KK,$ZodUnknown:()=>JK,$ZodUnion:()=>Tk,$ZodUndefined:()=>VK,$ZodUUID:()=>vK,$ZodURL:()=>bK,$ZodULID:()=>EK,$ZodType:()=>dt,$ZodTuple:()=>WA,$ZodTransform:()=>pX,$ZodTemplateLiteral:()=>EX,$ZodSymbol:()=>WK,$ZodSuccess:()=>bX,$ZodStringFormat:()=>fn,$ZodString:()=>D0,$ZodSet:()=>lX,$ZodRegistry:()=>xk,$ZodRecord:()=>sX,$ZodRealError:()=>ao,$ZodReadonly:()=>wX,$ZodPromise:()=>$X,$ZodPrefault:()=>vX,$ZodPipe:()=>kX,$ZodOptional:()=>VA,$ZodObjectJIT:()=>rX,$ZodObject:()=>nX,$ZodNumberFormat:()=>ZK,$ZodNumber:()=>BA,$ZodNullable:()=>hX,$ZodNull:()=>GK,$ZodNonOptional:()=>yX,$ZodNever:()=>YK,$ZodNanoID:()=>xK,$ZodNaN:()=>xX,$ZodMap:()=>uX,$ZodMAC:()=>OK,$ZodLiteral:()=>dX,$ZodLazy:()=>SX,$ZodKSUID:()=>$K,$ZodJWT:()=>jK,$ZodIntersection:()=>aX,$ZodISOTime:()=>TK,$ZodISODuration:()=>CK,$ZodISODateTime:()=>SK,$ZodISODate:()=>IK,$ZodIPv6:()=>NK,$ZodIPv4:()=>AK,$ZodGUID:()=>gK,$ZodFunction:()=>DX,$ZodFile:()=>fX,$ZodExactOptional:()=>mX,$ZodError:()=>$A,$ZodEnum:()=>cX,$ZodEncodeError:()=>pp,$ZodEmoji:()=>_K,$ZodEmail:()=>yK,$ZodE164:()=>MK,$ZodDiscriminatedUnion:()=>oX,$ZodDefault:()=>gX,$ZodDate:()=>XK,$ZodCustomStringFormat:()=>BK,$ZodCustom:()=>IX,$ZodCodec:()=>GA,$ZodCheckUpperCase:()=>uK,$ZodCheckStringFormat:()=>E0,$ZodCheckStartsWith:()=>cK,$ZodCheckSizeEquals:()=>nK,$ZodCheckRegex:()=>aK,$ZodCheckProperty:()=>fK,$ZodCheckOverwrite:()=>mK,$ZodCheckNumberFormat:()=>XY,$ZodCheckMultipleOf:()=>KY,$ZodCheckMinSize:()=>tK,$ZodCheckMinLength:()=>iK,$ZodCheckMimeType:()=>pK,$ZodCheckMaxSize:()=>eK,$ZodCheckMaxLength:()=>rK,$ZodCheckLowerCase:()=>sK,$ZodCheckLessThan:()=>MA,$ZodCheckLengthEquals:()=>oK,$ZodCheckIncludes:()=>lK,$ZodCheckGreaterThan:()=>UA,$ZodCheckEndsWith:()=>dK,$ZodCheckBigIntFormat:()=>QY,$ZodCheck:()=>Nn,$ZodCatch:()=>_X,$ZodCUID2:()=>wK,$ZodCUID:()=>kK,$ZodCIDRv6:()=>PK,$ZodCIDRv4:()=>zK,$ZodBoolean:()=>ZA,$ZodBigIntFormat:()=>HK,$ZodBigInt:()=>HA,$ZodBase64URL:()=>FK,$ZodBase64:()=>RK,$ZodAsyncError:()=>Ks,$ZodArray:()=>QK,$ZodAny:()=>qK});var tY=Object.freeze({status:"aborted"});function V(e,t,n){function i(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=a.prototype,f=Object.keys(c);for(let p=0;p<f.length;p++){let h=f[p];h in s||(s[h]=c[h].bind(s))}}let r=n?.Parent??Object;class o extends r{}Object.defineProperty(o,"name",{value:e});function a(s){var l;let c=n?.Parent?new o:this;i(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let f of c._zod.deferred)f();return c}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var nY=Symbol("zod_brand"),Ks=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},pp=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},hk={};function Yr(e){return e&&Object.assign(hk,e),hk}var zt={};Qs(zt,{unwrapMessage:()=>c0,uint8ArrayToHex:()=>pAe,uint8ArrayToBase64url:()=>dAe,uint8ArrayToBase64:()=>fY,stringifyPrimitive:()=>et,slugify:()=>iY,shallowClone:()=>aY,safeExtend:()=>oAe,required:()=>uAe,randomString:()=>XCe,propertyKeyTypes:()=>vk,promiseAllObject:()=>KCe,primitiveTypes:()=>sY,prefixIssues:()=>ka,pick:()=>nAe,partial:()=>sAe,parsedType:()=>ot,optionalKeys:()=>uY,omit:()=>rAe,objectClone:()=>qCe,numKeys:()=>QCe,nullish:()=>qc,normalizeParams:()=>be,mergeDefs:()=>eu,merge:()=>aAe,jsonStringifyReplacer:()=>gk,joinValues:()=>me,issue:()=>yk,isPlainObject:()=>Wc,isObject:()=>mp,hexToUint8Array:()=>fAe,getSizableOrigin:()=>Sk,getParsedType:()=>eAe,getLengthableOrigin:()=>Ik,getEnumValues:()=>EA,getElementAtPath:()=>YCe,floatSafeRemainder:()=>rY,finalizeIssue:()=>jo,extend:()=>iAe,escapeRegex:()=>Xs,esc:()=>hA,defineLazy:()=>$t,createTransparentProxy:()=>tAe,cloneDef:()=>JCe,clone:()=>Bo,cleanRegex:()=>$k,cleanEnum:()=>lAe,captureStackTrace:()=>DA,cached:()=>v0,base64urlToUint8Array:()=>cAe,base64ToUint8Array:()=>dY,assignProp:()=>Sl,assertNotEqual:()=>HCe,assertNever:()=>VCe,assertIs:()=>WCe,assertEqual:()=>ZCe,assert:()=>GCe,allowsEval:()=>oY,aborted:()=>Hc,NUMBER_FORMAT_RANGES:()=>lY,Class:()=>gA,BIGINT_FORMAT_RANGES:()=>cY});function ZCe(e){return e}function HCe(e){return e}function WCe(e){}function VCe(e){throw Error("Unexpected value in exhaustive check")}function GCe(e){}function EA(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,i])=>t.indexOf(+n)===-1).map(([n,i])=>i)}function me(e,t="|"){return e.map(n=>et(n)).join(t)}function gk(e,t){return typeof t=="bigint"?t.toString():t}function v0(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}throw Error("cached value already set")}}}function qc(e){return e==null}function $k(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function rY(e,t){let n=(e.toString().split(".")[1]||"").length,i=t.toString(),r=(i.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(i)){let l=i.match(/\d?e-(\d?)/);l?.[1]&&(r=Number.parseInt(l[1]))}let o=n>r?n:r,a=Number.parseInt(e.toFixed(o).replace(".","")),s=Number.parseInt(t.toFixed(o).replace(".",""));return a%s/10**o}var PJ=Symbol("evaluating");function $t(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==PJ)return i===void 0&&(i=PJ,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function qCe(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Sl(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function eu(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}function JCe(e){return eu(e._zod.def)}function YCe(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}function KCe(e){let t=Object.keys(e),n=t.map(i=>e[i]);return Promise.all(n).then(i=>{let r={};for(let o=0;o<t.length;o++)r[t[o]]=i[o];return r})}function XCe(e=10){let t="";for(let n=0;n<e;n++)t+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return t}function hA(e){return JSON.stringify(e)}function iY(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var DA="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function mp(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var oY=v0(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch{return!1}});function Wc(e){if(mp(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(mp(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function aY(e){return Wc(e)?{...e}:Array.isArray(e)?[...e]:e}function QCe(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var eAe=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw Error(`Unknown data type: ${t}`)}},vk=new Set(["string","number","symbol"]),sY=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Xs(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Bo(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}function be(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function tAe(e){let t;return new Proxy({},{get(n,i,r){return t??(t=e()),Reflect.get(t,i,r)},set(n,i,r,o){return t??(t=e()),Reflect.set(t,i,r,o)},has(n,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(n,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(n,i,r){return t??(t=e()),Reflect.defineProperty(t,i,r)}})}function et(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function uY(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var lY={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},cY={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function nAe(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let r=eu(e._zod.def,{get shape(){let o={};for(let a in t){if(!(a in n.shape))throw Error(`Unrecognized key: "${a}"`);t[a]&&(o[a]=n.shape[a])}return Sl(this,"shape",o),o},checks:[]});return Bo(e,r)}function rAe(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let r=eu(e._zod.def,{get shape(){let o={...e._zod.def.shape};for(let a in t){if(!(a in n.shape))throw Error(`Unrecognized key: "${a}"`);t[a]&&delete o[a]}return Sl(this,"shape",o),o},checks:[]});return Bo(e,r)}function iAe(e,t){if(!Wc(t))throw Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let r=e._zod.def.shape;for(let o in t)if(Object.getOwnPropertyDescriptor(r,o)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let i=eu(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return Sl(this,"shape",r),r}});return Bo(e,i)}function oAe(e,t){if(!Wc(t))throw Error("Invalid input to safeExtend: expected a plain object");let n=eu(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return Sl(this,"shape",i),i}});return Bo(e,n)}function aAe(e,t){let n=eu(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return Sl(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:[]});return Bo(e,n)}function sAe(e,t,n){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let r=eu(t._zod.def,{get shape(){let o=t._zod.def.shape,a={...o};if(n)for(let s in n){if(!(s in o))throw Error(`Unrecognized key: "${s}"`);n[s]&&(a[s]=e?new e({type:"optional",innerType:o[s]}):o[s])}else for(let s in o)a[s]=e?new e({type:"optional",innerType:o[s]}):o[s];return Sl(this,"shape",a),a},checks:[]});return Bo(t,r)}function uAe(e,t,n){let i=eu(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let a in n){if(!(a in o))throw Error(`Unrecognized key: "${a}"`);n[a]&&(o[a]=new e({type:"nonoptional",innerType:r[a]}))}else for(let a in r)o[a]=new e({type:"nonoptional",innerType:r[a]});return Sl(this,"shape",o),o}});return Bo(t,i)}function Hc(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ka(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}function c0(e){return typeof e=="string"?e:e?.message}function jo(e,t,n){let i={...e,path:e.path??[]};if(!e.message){let r=c0(e.inst?._zod.def?.error?.(e))??c0(t?.error?.(e))??c0(n.customError?.(e))??c0(n.localeError?.(e))??"Invalid input";i.message=r}return delete i.inst,delete i.continue,!t?.reportInput&&delete i.input,i}function Sk(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Ik(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function ot(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function yk(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}function lAe(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function dY(e){let t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}function fY(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function cAe(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return dY(t+n)}function dAe(e){return fY(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function fAe(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)n[i/2]=Number.parseInt(t.slice(i,i+2),16);return n}function pAe(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var gA=class{constructor(...t){}},pY=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,gk,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},$A=V("$ZodError",pY),ao=V("$ZodError",pY,{Parent:Error});function SA(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}function IA(e,t=n=>n.message){let n={_errors:[]},i=r=>{for(let o of r.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(a=>i({issues:a}));else if(o.code==="invalid_key")i({issues:o.issues});else if(o.code==="invalid_element")i({issues:o.issues});else if(o.path.length===0)n._errors.push(t(o));else{let a=n,s=0;for(;s<o.path.length;){let l=o.path[s];s!==o.path.length-1?a[l]=a[l]||{_errors:[]}:(a[l]=a[l]||{_errors:[]},a[l]._errors.push(t(o))),a=a[l],s++}}};return i(e),n}function mY(e,t=n=>n.message){let n={errors:[]},i=(r,o=[])=>{var a,s;for(let l of r.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(c=>i({issues:c},l.path));else if(l.code==="invalid_key")i({issues:l.issues},l.path);else if(l.code==="invalid_element")i({issues:l.issues},l.path);else{let c=[...o,...l.path];if(c.length===0){n.errors.push(t(l));continue}let f=n,p=0;for(;p<c.length;){let h=c[p],v=p===c.length-1;typeof h=="string"?(f.properties??(f.properties={}),(a=f.properties)[h]??(a[h]={errors:[]}),f=f.properties[h]):(f.items??(f.items=[]),(s=f.items)[h]??(s[h]={errors:[]}),f=f.items[h]),v&&f.errors.push(t(l)),p++}}};return i(e),n}function hY(e){let t=[],n=e.map(i=>typeof i=="object"?i.key:i);for(let i of n)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}function gY(e){let t=[],n=[...e.issues].sort((i,r)=>(i.path??[]).length-(r.path??[]).length);for(let i of n)t.push(`\u2716 ${i.message}`),i.path?.length&&t.push(` \u2192 at ${hY(i.path)}`);return t.join(`
2858
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){o(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}if(s.count>1&&e.reused==="ref"){o(a);continue}}}function Ox(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=a=>{let s=e.seen.get(a);if(s.ref===null)return;let l=s.def??s.schema,c={...l},f=s.ref;if(s.ref=null,f){i(f);let h=e.seen.get(f),v=h.schema;if(v.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(l.allOf=l.allOf??[],l.allOf.push(v)):Object.assign(l,v),Object.assign(l,c),a._zod.parent===f)for(let k in l)k==="$ref"||k==="allOf"||k in c||delete l[k];if(v.$ref&&h.def)for(let k in l)k==="$ref"||k==="allOf"||k in h.def&&JSON.stringify(l[k])===JSON.stringify(h.def[k])&&delete l[k]}let p=a._zod.parent;if(p&&p!==f){i(p);let h=e.seen.get(p);if(h?.schema.$ref&&(l.$ref=h.schema.$ref,h.def))for(let v in l)v==="$ref"||v==="allOf"||v in h.def&&JSON.stringify(l[v])===JSON.stringify(h.def[v])&&delete l[v]}e.override({zodSchema:a,jsonSchema:l,path:s.path??[]})};for(let a of[...e.seen.entries()].reverse())i(a[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let a=e.external.registry.get(t)?.id;if(!a)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(a)}Object.assign(r,n.def??n.schema);let o=e.external?.defs??{};for(let a of e.seen.entries()){let s=a[1];s.def&&s.defId&&(o[s.defId]=s.def)}e.external||Object.keys(o).length>0&&(e.target==="draft-2020-12"?r.$defs=o:r.definitions=o);try{let a=JSON.parse(JSON.stringify(r));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:Hg(t,"input",e.processors),output:Hg(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}function vi(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return vi(i.element,n);if(i.type==="set")return vi(i.valueType,n);if(i.type==="lazy")return vi(i.getter(),n);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return vi(i.innerType,n);if(i.type==="intersection")return vi(i.left,n)||vi(i.right,n);if(i.type==="record"||i.type==="map")return vi(i.keyType,n)||vi(i.valueType,n);if(i.type==="pipe")return vi(i.in,n)||vi(i.out,n);if(i.type==="object"){for(let r in i.shape)if(vi(i.shape[r],n))return!0;return!1}if(i.type==="union"){for(let r of i.options)if(vi(r,n))return!0;return!1}if(i.type==="tuple"){for(let r of i.items)if(vi(r,n))return!0;return!!(i.rest&&vi(i.rest,n))}return!1}var zG=(e,t={})=>n=>{let i=Ax({...n,processors:t});return xn(e,i),Nx(i,e),Ox(i,e)},Hg=(e,t,n={})=>i=>{let{libraryOptions:r,target:o}=i??{},a=Ax({...r??{},target:o,io:t,processors:n});return xn(e,a),Nx(a,e),Ox(a,e)};var DIe={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},PG=(e,t,n,i)=>{let r=n;r.type="string";let{minimum:o,maximum:a,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if(typeof o=="number"&&(r.minLength=o),typeof a=="number"&&(r.maxLength=a),s&&(r.format=DIe[s]??s,r.format===""&&delete r.format,s==="time"&&delete r.format),c&&(r.contentEncoding=c),l&&l.size>0){let f=[...l];f.length===1?r.pattern=f[0].source:f.length>1&&(r.allOf=[...f.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},RG=(e,t,n,i)=>{let r=n,{minimum:o,maximum:a,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:f}=e._zod.bag;typeof s=="string"&&s.includes("int")?r.type="integer":r.type="number",typeof f=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.minimum=f,r.exclusiveMinimum=!0):r.exclusiveMinimum=f),typeof o=="number"&&(r.minimum=o,typeof f=="number"&&t.target!=="draft-04"&&(f>=o?delete r.minimum:delete r.exclusiveMinimum)),typeof c=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(r.maximum=c,r.exclusiveMaximum=!0):r.exclusiveMaximum=c),typeof a=="number"&&(r.maximum=a,typeof c=="number"&&t.target!=="draft-04"&&(c<=a?delete r.maximum:delete r.exclusiveMaximum)),typeof l=="number"&&(r.multipleOf=l)},LG=(e,t,n,i)=>{n.type="boolean"},FG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},MG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},UG=(e,t,n,i)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},jG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},BG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},ZG=(e,t,n,i)=>{n.not={}},HG=(e,t,n,i)=>{},WG=(e,t,n,i)=>{},VG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},GG=(e,t,n,i)=>{let r=e._zod.def,o=fg(r.entries);o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),n.enum=o},qG=(e,t,n,i)=>{let r=e._zod.def,o=[];for(let a of r.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];n.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[a]:n.const=a}else o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),o.every(a=>typeof a=="boolean")&&(n.type="boolean"),o.every(a=>a===null)&&(n.type="null"),n.enum=o},JG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},YG=(e,t,n,i)=>{let r=n,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");r.type="string",r.pattern=o.source},KG=(e,t,n,i)=>{let r=n,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:l}=e._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),l?l.length===1?(o.contentMediaType=l[0],Object.assign(r,o)):(Object.assign(r,o),r.anyOf=l.map(c=>({contentMediaType:c}))):Object.assign(r,o)},XG=(e,t,n,i)=>{n.type="boolean"},QG=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},eq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},tq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},nq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},rq=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},iq=(e,t,n,i)=>{let r=n,o=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(r.minItems=a),typeof s=="number"&&(r.maxItems=s),r.type="array",r.items=xn(o.element,t,{...i,path:[...i.path,"items"]})},oq=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object",r.properties={};let a=o.shape;for(let c in a)r.properties[c]=xn(a[c],t,{...i,path:[...i.path,"properties",c]});let s=new Set(Object.keys(a)),l=new Set([...s].filter(c=>{let f=o.shape[c]._zod;return t.io==="input"?f.optin===void 0:f.optout===void 0}));l.size>0&&(r.required=Array.from(l)),o.catchall?._zod.def.type==="never"?r.additionalProperties=!1:o.catchall?o.catchall&&(r.additionalProperties=xn(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},yC=(e,t,n,i)=>{let r=e._zod.def,o=r.inclusive===!1,a=r.options.map((s,l)=>xn(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",l]}));o?n.oneOf=a:n.anyOf=a},aq=(e,t,n,i)=>{let r=e._zod.def,o=xn(r.left,t,{...i,path:[...i.path,"allOf",0]}),a=xn(r.right,t,{...i,path:[...i.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];n.allOf=l},sq=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=o.items.map((h,v)=>xn(h,t,{...i,path:[...i.path,a,v]})),c=o.rest?xn(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=l,c&&(r.items=c)):t.target==="openapi-3.0"?(r.items={anyOf:l},c&&r.items.anyOf.push(c),r.minItems=l.length,c||(r.maxItems=l.length)):(r.items=l,c&&(r.additionalItems=c));let{minimum:f,maximum:p}=e._zod.bag;typeof f=="number"&&(r.minItems=f),typeof p=="number"&&(r.maxItems=p)},uq=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object";let a=o.keyType,l=a._zod.bag?.patterns;if(o.mode==="loose"&&l&&l.size>0){let f=xn(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});r.patternProperties={};for(let p of l)r.patternProperties[p.source]=f}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=xn(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),r.additionalProperties=xn(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});let c=a._zod.values;if(c){let f=[...c].filter(p=>typeof p=="string"||typeof p=="number");f.length>0&&(r.required=f)}},lq=(e,t,n,i)=>{let r=e._zod.def,o=xn(r.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=r.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},cq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},dq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},fq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},pq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},mq=(e,t,n,i)=>{let r=e._zod.def,o=t.io==="input"?r.in._zod.def.type==="transform"?r.out:r.in:r.out;xn(o,t,i);let a=t.seen.get(e);a.ref=o},hq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.readOnly=!0},gq=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},bC=(e,t,n,i)=>{let r=e._zod.def;xn(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},vq=(e,t,n,i)=>{let r=e._zod.innerType;xn(r,t,i);let o=t.seen.get(e);o.ref=r};function zx(e){return!!e._zod}function Px(e,t){return zx(e)?np(e,t):e.safeParse(t)}function _q(e){if(!e)return;let t;if(zx(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t=="function")try{return t()}catch{return}return t}}function xq(e){if(zx(e)){let o=e._zod?.def;if(o){if(o.value!==void 0)return o.value;if(Array.isArray(o.values)&&o.values.length>0)return o.values[0]}}let n=e._def;if(n){if(n.value!==void 0)return n.value;if(Array.isArray(n.values)&&n.values.length>0)return n.values[0]}let i=e.value;if(i!==void 0)return i}var Wg={};Ia(Wg,{ZodAny:()=>Mq,ZodArray:()=>Zq,ZodBase64:()=>ZC,ZodBase64URL:()=>HC,ZodBigInt:()=>Hx,ZodBigIntFormat:()=>GC,ZodBoolean:()=>Zx,ZodCIDRv4:()=>jC,ZodCIDRv6:()=>BC,ZodCUID:()=>zC,ZodCUID2:()=>PC,ZodCatch:()=>lJ,ZodCodec:()=>eA,ZodCustom:()=>Jx,ZodCustomStringFormat:()=>Gg,ZodDate:()=>JC,ZodDefault:()=>rJ,ZodDiscriminatedUnion:()=>Wq,ZodE164:()=>WC,ZodEmail:()=>AC,ZodEmoji:()=>NC,ZodEnum:()=>Vg,ZodExactOptional:()=>eJ,ZodFile:()=>Xq,ZodFunction:()=>yJ,ZodGUID:()=>Lx,ZodIPv4:()=>MC,ZodIPv6:()=>UC,ZodIntersection:()=>Vq,ZodJWT:()=>VC,ZodKSUID:()=>FC,ZodLazy:()=>hJ,ZodLiteral:()=>Kq,ZodMAC:()=>Pq,ZodMap:()=>Jq,ZodNaN:()=>dJ,ZodNanoID:()=>OC,ZodNever:()=>jq,ZodNonOptional:()=>XC,ZodNull:()=>Fq,ZodNullable:()=>nJ,ZodNumber:()=>Bx,ZodNumberFormat:()=>sp,ZodObject:()=>Wx,ZodOptional:()=>KC,ZodPipe:()=>QC,ZodPrefault:()=>oJ,ZodPromise:()=>vJ,ZodReadonly:()=>fJ,ZodRecord:()=>qx,ZodSet:()=>Yq,ZodString:()=>Ux,ZodStringFormat:()=>cn,ZodSuccess:()=>uJ,ZodSymbol:()=>Rq,ZodTemplateLiteral:()=>mJ,ZodTransform:()=>Qq,ZodTuple:()=>Gq,ZodType:()=>xt,ZodULID:()=>RC,ZodURL:()=>jx,ZodUUID:()=>Gs,ZodUndefined:()=>Lq,ZodUnion:()=>Vx,ZodUnknown:()=>Uq,ZodVoid:()=>Bq,ZodXID:()=>LC,ZodXor:()=>Hq,_ZodString:()=>CC,_default:()=>iJ,_function:()=>j4e,any:()=>w4e,array:()=>Tt,base64:()=>a4e,base64url:()=>s4e,bigint:()=>y4e,boolean:()=>rr,catch:()=>cJ,check:()=>B4e,cidrv4:()=>i4e,cidrv6:()=>o4e,codec:()=>F4e,cuid:()=>YIe,cuid2:()=>KIe,custom:()=>tA,date:()=>D4e,describe:()=>Z4e,discriminatedUnion:()=>Gx,e164:()=>u4e,email:()=>UIe,emoji:()=>qIe,enum:()=>qr,exactOptional:()=>tJ,file:()=>z4e,float32:()=>m4e,float64:()=>h4e,function:()=>j4e,guid:()=>jIe,hash:()=>p4e,hex:()=>f4e,hostname:()=>d4e,httpUrl:()=>GIe,instanceof:()=>W4e,int:()=>TC,int32:()=>g4e,int64:()=>b4e,intersection:()=>Jg,ipv4:()=>t4e,ipv6:()=>r4e,json:()=>G4e,jwt:()=>l4e,keyof:()=>$4e,ksuid:()=>e4e,lazy:()=>gJ,literal:()=>Ze,looseObject:()=>Gr,looseRecord:()=>C4e,mac:()=>n4e,map:()=>A4e,meta:()=>H4e,nan:()=>L4e,nanoid:()=>JIe,nativeEnum:()=>O4e,never:()=>qC,nonoptional:()=>sJ,null:()=>qg,nullable:()=>Fx,nullish:()=>P4e,number:()=>Vt,object:()=>Pe,optional:()=>Sn,partialRecord:()=>T4e,pipe:()=>Mx,prefault:()=>aJ,preprocess:()=>Yx,promise:()=>U4e,readonly:()=>pJ,record:()=>kn,refine:()=>bJ,set:()=>N4e,strictObject:()=>S4e,string:()=>ee,stringFormat:()=>c4e,stringbool:()=>V4e,success:()=>R4e,superRefine:()=>_J,symbol:()=>x4e,templateLiteral:()=>M4e,transform:()=>YC,tuple:()=>qq,uint32:()=>v4e,uint64:()=>_4e,ulid:()=>XIe,undefined:()=>k4e,union:()=>rn,unknown:()=>dn,url:()=>VIe,uuid:()=>BIe,uuidv4:()=>ZIe,uuidv6:()=>HIe,uuidv7:()=>WIe,void:()=>E4e,xid:()=>QIe,xor:()=>I4e});var Rx={};Ia(Rx,{endsWith:()=>Fg,gt:()=>Ws,gte:()=>gi,includes:()=>Rg,length:()=>op,lowercase:()=>zg,lt:()=>Hs,lte:()=>ro,maxLength:()=>ip,maxSize:()=>jc,mime:()=>Mg,minLength:()=>bl,minSize:()=>Vs,multipleOf:()=>Uc,negative:()=>sC,nonnegative:()=>lC,nonpositive:()=>uC,normalize:()=>Ug,overwrite:()=>Xa,positive:()=>aC,property:()=>cC,regex:()=>Og,size:()=>rp,slugify:()=>Cx,startsWith:()=>Lg,toLowerCase:()=>Bg,toUpperCase:()=>Zg,trim:()=>jg,uppercase:()=>Pg});var Bc={};Ia(Bc,{ZodISODate:()=>wC,ZodISODateTime:()=>xC,ZodISODuration:()=>SC,ZodISOTime:()=>DC,date:()=>EC,datetime:()=>kC,duration:()=>IC,time:()=>$C});var xC=H("ZodISODateTime",(e,t)=>{P4.init(e,t),cn.init(e,t)});function kC(e){return LT(xC,e)}var wC=H("ZodISODate",(e,t)=>{R4.init(e,t),cn.init(e,t)});function EC(e){return FT(wC,e)}var DC=H("ZodISOTime",(e,t)=>{L4.init(e,t),cn.init(e,t)});function $C(e){return MT(DC,e)}var SC=H("ZodISODuration",(e,t)=>{F4.init(e,t),cn.init(e,t)});function IC(e){return UT(SC,e)}var kq=(e,t)=>{J_.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>K_(e,n)},flatten:{value:n=>Y_(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Qf,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Qf,2)}},isEmpty:{get(){return e.issues.length===0}}})},Fct=H("ZodError",kq),io=H("ZodError",kq,{Parent:Error});var wq=yg(io),Eq=_g(io),Dq=kg(io),$q=wg(io),Sq=PV(io),Iq=RV(io),Tq=LV(io),Cq=FV(io),Aq=MV(io),Nq=UV(io),Oq=jV(io),zq=BV(io);var xt=H("ZodType",(e,t)=>(lt.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Hg(e,"input"),output:Hg(e,"output")}}),e.toJSONSchema=zG(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(pe.mergeDefs(t,{checks:[...t.checks??[],...n.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0}),e.with=e.check,e.clone=(n,i)=>mi(e,n,i),e.brand=()=>e,e.register=(n,i)=>(n.add(e,i),e),e.parse=(n,i)=>wq(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>Dq(e,n,i),e.parseAsync=async(n,i)=>Eq(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>$q(e,n,i),e.spa=e.safeParseAsync,e.encode=(n,i)=>Sq(e,n,i),e.decode=(n,i)=>Iq(e,n,i),e.encodeAsync=async(n,i)=>Tq(e,n,i),e.decodeAsync=async(n,i)=>Cq(e,n,i),e.safeEncode=(n,i)=>Aq(e,n,i),e.safeDecode=(n,i)=>Nq(e,n,i),e.safeEncodeAsync=async(n,i)=>Oq(e,n,i),e.safeDecodeAsync=async(n,i)=>zq(e,n,i),e.refine=(n,i)=>e.check(bJ(n,i)),e.superRefine=n=>e.check(_J(n)),e.overwrite=n=>e.check(Xa(n)),e.optional=()=>Sn(e),e.exactOptional=()=>tJ(e),e.nullable=()=>Fx(e),e.nullish=()=>Sn(Fx(e)),e.nonoptional=n=>sJ(e,n),e.array=()=>Tt(e),e.or=n=>rn([e,n]),e.and=n=>Jg(e,n),e.transform=n=>Mx(e,YC(n)),e.default=n=>iJ(e,n),e.prefault=n=>aJ(e,n),e.catch=n=>cJ(e,n),e.pipe=n=>Mx(e,n),e.readonly=()=>pJ(e),e.describe=n=>{let i=e.clone();return hi.add(i,{description:n}),i},Object.defineProperty(e,"description",{get(){return hi.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return hi.get(e);let i=e.clone();return hi.add(i,n[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=n=>n(e),e)),CC=H("_ZodString",(e,t)=>{Mc.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>PG(e,i,r,o);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...i)=>e.check(Og(...i)),e.includes=(...i)=>e.check(Rg(...i)),e.startsWith=(...i)=>e.check(Lg(...i)),e.endsWith=(...i)=>e.check(Fg(...i)),e.min=(...i)=>e.check(bl(...i)),e.max=(...i)=>e.check(ip(...i)),e.length=(...i)=>e.check(op(...i)),e.nonempty=(...i)=>e.check(bl(1,...i)),e.lowercase=i=>e.check(zg(i)),e.uppercase=i=>e.check(Pg(i)),e.trim=()=>e.check(jg()),e.normalize=(...i)=>e.check(Ug(...i)),e.toLowerCase=()=>e.check(Bg()),e.toUpperCase=()=>e.check(Zg()),e.slugify=()=>e.check(Cx())}),Ux=H("ZodString",(e,t)=>{Mc.init(e,t),CC.init(e,t),e.email=n=>e.check(cx(AC,n)),e.url=n=>e.check(Ng(jx,n)),e.jwt=n=>e.check(Tx(VC,n)),e.emoji=n=>e.check(hx(NC,n)),e.guid=n=>e.check(Ag(Lx,n)),e.uuid=n=>e.check(dx(Gs,n)),e.uuidv4=n=>e.check(fx(Gs,n)),e.uuidv6=n=>e.check(px(Gs,n)),e.uuidv7=n=>e.check(mx(Gs,n)),e.nanoid=n=>e.check(gx(OC,n)),e.guid=n=>e.check(Ag(Lx,n)),e.cuid=n=>e.check(vx(zC,n)),e.cuid2=n=>e.check(yx(PC,n)),e.ulid=n=>e.check(bx(RC,n)),e.base64=n=>e.check($x(ZC,n)),e.base64url=n=>e.check(Sx(HC,n)),e.xid=n=>e.check(_x(LC,n)),e.ksuid=n=>e.check(xx(FC,n)),e.ipv4=n=>e.check(kx(MC,n)),e.ipv6=n=>e.check(wx(UC,n)),e.cidrv4=n=>e.check(Ex(jC,n)),e.cidrv6=n=>e.check(Dx(BC,n)),e.e164=n=>e.check(Ix(WC,n)),e.datetime=n=>e.check(kC(n)),e.date=n=>e.check(EC(n)),e.time=n=>e.check($C(n)),e.duration=n=>e.check(IC(n))});function ee(e){return PT(Ux,e)}var cn=H("ZodStringFormat",(e,t)=>{nn.init(e,t),CC.init(e,t)}),AC=H("ZodEmail",(e,t)=>{$4.init(e,t),cn.init(e,t)});function UIe(e){return cx(AC,e)}var Lx=H("ZodGUID",(e,t)=>{E4.init(e,t),cn.init(e,t)});function jIe(e){return Ag(Lx,e)}var Gs=H("ZodUUID",(e,t)=>{D4.init(e,t),cn.init(e,t)});function BIe(e){return dx(Gs,e)}function ZIe(e){return fx(Gs,e)}function HIe(e){return px(Gs,e)}function WIe(e){return mx(Gs,e)}var jx=H("ZodURL",(e,t)=>{S4.init(e,t),cn.init(e,t)});function VIe(e){return Ng(jx,e)}function GIe(e){return Ng(jx,{protocol:/^https?$/,hostname:Ro.domain,...pe.normalizeParams(e)})}var NC=H("ZodEmoji",(e,t)=>{I4.init(e,t),cn.init(e,t)});function qIe(e){return hx(NC,e)}var OC=H("ZodNanoID",(e,t)=>{T4.init(e,t),cn.init(e,t)});function JIe(e){return gx(OC,e)}var zC=H("ZodCUID",(e,t)=>{C4.init(e,t),cn.init(e,t)});function YIe(e){return vx(zC,e)}var PC=H("ZodCUID2",(e,t)=>{A4.init(e,t),cn.init(e,t)});function KIe(e){return yx(PC,e)}var RC=H("ZodULID",(e,t)=>{N4.init(e,t),cn.init(e,t)});function XIe(e){return bx(RC,e)}var LC=H("ZodXID",(e,t)=>{O4.init(e,t),cn.init(e,t)});function QIe(e){return _x(LC,e)}var FC=H("ZodKSUID",(e,t)=>{z4.init(e,t),cn.init(e,t)});function e4e(e){return xx(FC,e)}var MC=H("ZodIPv4",(e,t)=>{M4.init(e,t),cn.init(e,t)});function t4e(e){return kx(MC,e)}var Pq=H("ZodMAC",(e,t)=>{j4.init(e,t),cn.init(e,t)});function n4e(e){return RT(Pq,e)}var UC=H("ZodIPv6",(e,t)=>{U4.init(e,t),cn.init(e,t)});function r4e(e){return wx(UC,e)}var jC=H("ZodCIDRv4",(e,t)=>{B4.init(e,t),cn.init(e,t)});function i4e(e){return Ex(jC,e)}var BC=H("ZodCIDRv6",(e,t)=>{Z4.init(e,t),cn.init(e,t)});function o4e(e){return Dx(BC,e)}var ZC=H("ZodBase64",(e,t)=>{H4.init(e,t),cn.init(e,t)});function a4e(e){return $x(ZC,e)}var HC=H("ZodBase64URL",(e,t)=>{W4.init(e,t),cn.init(e,t)});function s4e(e){return Sx(HC,e)}var WC=H("ZodE164",(e,t)=>{V4.init(e,t),cn.init(e,t)});function u4e(e){return Ix(WC,e)}var VC=H("ZodJWT",(e,t)=>{G4.init(e,t),cn.init(e,t)});function l4e(e){return Tx(VC,e)}var Gg=H("ZodCustomStringFormat",(e,t)=>{q4.init(e,t),cn.init(e,t)});function c4e(e,t,n={}){return ap(Gg,e,t,n)}function d4e(e){return ap(Gg,"hostname",Ro.hostname,e)}function f4e(e){return ap(Gg,"hex",Ro.hex,e)}function p4e(e,t){let n=t?.enc??"hex",i=`${e}_${n}`,r=Ro[i];if(!r)throw new Error(`Unrecognized hash format: ${i}`);return ap(Gg,i,r,t)}var Bx=H("ZodNumber",(e,t)=>{ax.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>RG(e,i,r,o),e.gt=(i,r)=>e.check(Ws(i,r)),e.gte=(i,r)=>e.check(gi(i,r)),e.min=(i,r)=>e.check(gi(i,r)),e.lt=(i,r)=>e.check(Hs(i,r)),e.lte=(i,r)=>e.check(ro(i,r)),e.max=(i,r)=>e.check(ro(i,r)),e.int=i=>e.check(TC(i)),e.safe=i=>e.check(TC(i)),e.positive=i=>e.check(Ws(0,i)),e.nonnegative=i=>e.check(gi(0,i)),e.negative=i=>e.check(Hs(0,i)),e.nonpositive=i=>e.check(ro(0,i)),e.multipleOf=(i,r)=>e.check(Uc(i,r)),e.step=(i,r)=>e.check(Uc(i,r)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Vt(e){return jT(Bx,e)}var sp=H("ZodNumberFormat",(e,t)=>{J4.init(e,t),Bx.init(e,t)});function TC(e){return BT(sp,e)}function m4e(e){return ZT(sp,e)}function h4e(e){return HT(sp,e)}function g4e(e){return WT(sp,e)}function v4e(e){return VT(sp,e)}var Zx=H("ZodBoolean",(e,t)=>{Ig.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>LG(e,n,i,r)});function rr(e){return GT(Zx,e)}var Hx=H("ZodBigInt",(e,t)=>{sx.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>FG(e,i,r,o),e.gte=(i,r)=>e.check(gi(i,r)),e.min=(i,r)=>e.check(gi(i,r)),e.gt=(i,r)=>e.check(Ws(i,r)),e.gte=(i,r)=>e.check(gi(i,r)),e.min=(i,r)=>e.check(gi(i,r)),e.lt=(i,r)=>e.check(Hs(i,r)),e.lte=(i,r)=>e.check(ro(i,r)),e.max=(i,r)=>e.check(ro(i,r)),e.positive=i=>e.check(Ws(BigInt(0),i)),e.negative=i=>e.check(Hs(BigInt(0),i)),e.nonpositive=i=>e.check(ro(BigInt(0),i)),e.nonnegative=i=>e.check(gi(BigInt(0),i)),e.multipleOf=(i,r)=>e.check(Uc(i,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function y4e(e){return qT(Hx,e)}var GC=H("ZodBigIntFormat",(e,t)=>{Y4.init(e,t),Hx.init(e,t)});function b4e(e){return JT(GC,e)}function _4e(e){return YT(GC,e)}var Rq=H("ZodSymbol",(e,t)=>{K4.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>MG(e,n,i,r)});function x4e(e){return KT(Rq,e)}var Lq=H("ZodUndefined",(e,t)=>{X4.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>jG(e,n,i,r)});function k4e(e){return XT(Lq,e)}var Fq=H("ZodNull",(e,t)=>{Q4.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>UG(e,n,i,r)});function qg(e){return QT(Fq,e)}var Mq=H("ZodAny",(e,t)=>{eT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>HG(e,n,i,r)});function w4e(){return eC(Mq)}var Uq=H("ZodUnknown",(e,t)=>{tT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>WG(e,n,i,r)});function dn(){return tC(Uq)}var jq=H("ZodNever",(e,t)=>{nT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ZG(e,n,i,r)});function qC(e){return nC(jq,e)}var Bq=H("ZodVoid",(e,t)=>{rT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>BG(e,n,i,r)});function E4e(e){return rC(Bq,e)}var JC=H("ZodDate",(e,t)=>{iT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>VG(e,i,r,o),e.min=(i,r)=>e.check(gi(i,r)),e.max=(i,r)=>e.check(ro(i,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function D4e(e){return iC(JC,e)}var Zq=H("ZodArray",(e,t)=>{oT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>iq(e,n,i,r),e.element=t.element,e.min=(n,i)=>e.check(bl(n,i)),e.nonempty=n=>e.check(bl(1,n)),e.max=(n,i)=>e.check(ip(n,i)),e.length=(n,i)=>e.check(op(n,i)),e.unwrap=()=>e.element});function Tt(e,t){return OG(Zq,e,t)}function $4e(e){let t=e._zod.def.shape;return qr(Object.keys(t))}var Wx=H("ZodObject",(e,t)=>{TG.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>oq(e,n,i,r),pe.defineLazy(e,"shape",()=>t.shape),e.keyof=()=>qr(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:dn()}),e.loose=()=>e.clone({...e._zod.def,catchall:dn()}),e.strict=()=>e.clone({...e._zod.def,catchall:qC()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>pe.extend(e,n),e.safeExtend=n=>pe.safeExtend(e,n),e.merge=n=>pe.merge(e,n),e.pick=n=>pe.pick(e,n),e.omit=n=>pe.omit(e,n),e.partial=(...n)=>pe.partial(KC,e,n[0]),e.required=(...n)=>pe.required(XC,e,n[0])});function Pe(e,t){let n={type:"object",shape:e??{},...pe.normalizeParams(t)};return new Wx(n)}function S4e(e,t){return new Wx({type:"object",shape:e,catchall:qC(),...pe.normalizeParams(t)})}function Gr(e,t){return new Wx({type:"object",shape:e,catchall:dn(),...pe.normalizeParams(t)})}var Vx=H("ZodUnion",(e,t)=>{Tg.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yC(e,n,i,r),e.options=t.options});function rn(e,t){return new Vx({type:"union",options:e,...pe.normalizeParams(t)})}var Hq=H("ZodXor",(e,t)=>{Vx.init(e,t),aT.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yC(e,n,i,r),e.options=t.options});function I4e(e,t){return new Hq({type:"union",options:e,inclusive:!1,...pe.normalizeParams(t)})}var Wq=H("ZodDiscriminatedUnion",(e,t)=>{Vx.init(e,t),sT.init(e,t)});function Gx(e,t,n){return new Wq({type:"union",options:t,discriminator:e,...pe.normalizeParams(n)})}var Vq=H("ZodIntersection",(e,t)=>{uT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>aq(e,n,i,r)});function Jg(e,t){return new Vq({type:"intersection",left:e,right:t})}var Gq=H("ZodTuple",(e,t)=>{ux.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>sq(e,n,i,r),e.rest=n=>e.clone({...e._zod.def,rest:n})});function qq(e,t,n){let i=t instanceof lt,r=i?n:t,o=i?t:null;return new Gq({type:"tuple",items:e,rest:o,...pe.normalizeParams(r)})}var qx=H("ZodRecord",(e,t)=>{lT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>uq(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType});function kn(e,t,n){return new qx({type:"record",keyType:e,valueType:t,...pe.normalizeParams(n)})}function T4e(e,t,n){let i=mi(e);return i._zod.values=void 0,new qx({type:"record",keyType:i,valueType:t,...pe.normalizeParams(n)})}function C4e(e,t,n){return new qx({type:"record",keyType:e,valueType:t,mode:"loose",...pe.normalizeParams(n)})}var Jq=H("ZodMap",(e,t)=>{cT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>nq(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(Vs(...n)),e.nonempty=n=>e.check(Vs(1,n)),e.max=(...n)=>e.check(jc(...n)),e.size=(...n)=>e.check(rp(...n))});function A4e(e,t,n){return new Jq({type:"map",keyType:e,valueType:t,...pe.normalizeParams(n)})}var Yq=H("ZodSet",(e,t)=>{dT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>rq(e,n,i,r),e.min=(...n)=>e.check(Vs(...n)),e.nonempty=n=>e.check(Vs(1,n)),e.max=(...n)=>e.check(jc(...n)),e.size=(...n)=>e.check(rp(...n))});function N4e(e,t){return new Yq({type:"set",valueType:e,...pe.normalizeParams(t)})}var Vg=H("ZodEnum",(e,t)=>{fT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(i,r,o)=>GG(e,i,r,o),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(i,r)=>{let o={};for(let a of i)if(n.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Vg({...t,checks:[],...pe.normalizeParams(r),entries:o})},e.exclude=(i,r)=>{let o={...t.entries};for(let a of i)if(n.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Vg({...t,checks:[],...pe.normalizeParams(r),entries:o})}});function qr(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Vg({type:"enum",entries:n,...pe.normalizeParams(t)})}function O4e(e,t){return new Vg({type:"enum",entries:e,...pe.normalizeParams(t)})}var Kq=H("ZodLiteral",(e,t)=>{pT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>qG(e,n,i,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Ze(e,t){return new Kq({type:"literal",values:Array.isArray(e)?e:[e],...pe.normalizeParams(t)})}var Xq=H("ZodFile",(e,t)=>{mT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>KG(e,n,i,r),e.min=(n,i)=>e.check(Vs(n,i)),e.max=(n,i)=>e.check(jc(n,i)),e.mime=(n,i)=>e.check(Mg(Array.isArray(n)?n:[n],i))});function z4e(e){return dC(Xq,e)}var Qq=H("ZodTransform",(e,t)=>{hT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>tq(e,n,i,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Rc(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(pe.issue(o,n.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=n.value),a.inst??(a.inst=e),n.issues.push(pe.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(o=>(n.value=o,n)):(n.value=r,n)}});function YC(e){return new Qq({type:"transform",transform:e})}var KC=H("ZodOptional",(e,t)=>{lx.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bC(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Sn(e){return new KC({type:"optional",innerType:e})}var eJ=H("ZodExactOptional",(e,t)=>{gT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bC(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function tJ(e){return new eJ({type:"optional",innerType:e})}var nJ=H("ZodNullable",(e,t)=>{vT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>lq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Fx(e){return new nJ({type:"nullable",innerType:e})}function P4e(e){return Sn(Fx(e))}var rJ=H("ZodDefault",(e,t)=>{yT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>dq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function iJ(e,t){return new rJ({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():pe.shallowClone(t)}})}var oJ=H("ZodPrefault",(e,t)=>{bT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function aJ(e,t){return new oJ({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():pe.shallowClone(t)}})}var XC=H("ZodNonOptional",(e,t)=>{_T.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function sJ(e,t){return new XC({type:"nonoptional",innerType:e,...pe.normalizeParams(t)})}var uJ=H("ZodSuccess",(e,t)=>{xT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>XG(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function R4e(e){return new uJ({type:"success",innerType:e})}var lJ=H("ZodCatch",(e,t)=>{kT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>pq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function cJ(e,t){return new lJ({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var dJ=H("ZodNaN",(e,t)=>{wT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>JG(e,n,i,r)});function L4e(e){return oC(dJ,e)}var QC=H("ZodPipe",(e,t)=>{ET.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>mq(e,n,i,r),e.in=t.in,e.out=t.out});function Mx(e,t){return new QC({type:"pipe",in:e,out:t})}var eA=H("ZodCodec",(e,t)=>{QC.init(e,t),Cg.init(e,t)});function F4e(e,t,n){return new eA({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}var fJ=H("ZodReadonly",(e,t)=>{DT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>hq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function pJ(e){return new fJ({type:"readonly",innerType:e})}var mJ=H("ZodTemplateLiteral",(e,t)=>{$T.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>YG(e,n,i,r)});function M4e(e,t){return new mJ({type:"template_literal",parts:e,...pe.normalizeParams(t)})}var hJ=H("ZodLazy",(e,t)=>{TT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>vq(e,n,i,r),e.unwrap=()=>e._zod.def.getter()});function gJ(e){return new hJ({type:"lazy",getter:e})}var vJ=H("ZodPromise",(e,t)=>{IT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>gq(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function U4e(e){return new vJ({type:"promise",innerType:e})}var yJ=H("ZodFunction",(e,t)=>{ST.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>eq(e,n,i,r)});function j4e(e){return new yJ({type:"function",input:Array.isArray(e?.input)?qq(e?.input):e?.input??Tt(dn()),output:e?.output??dn()})}var Jx=H("ZodCustom",(e,t)=>{CT.init(e,t),xt.init(e,t),e._zod.processJSONSchema=(n,i,r)=>QG(e,n,i,r)});function B4e(e){let t=new ln({check:"custom"});return t._zod.check=e,t}function tA(e,t){return fC(Jx,e??(()=>!0),t)}function bJ(e,t={}){return pC(Jx,e,t)}function _J(e){return mC(e)}var Z4e=hC,H4e=gC;function W4e(e,t={}){let n=new Jx({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...pe.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:n,path:[...n._zod.def.path??[]]})},n}var V4e=(...e)=>vC({Codec:eA,Boolean:Zx,String:Ux},...e);function G4e(e){let t=gJ(()=>rn([ee(e),Vt(),rr(),qg(),Tt(t),kn(ee(),t)]));return t}function Yx(e,t){return Mx(YC(e),t)}var xJ;xJ||(xJ={});var Vct={...Wg,...Rx,iso:Bc};dr(AT());var _l="io.modelcontextprotocol/related-task",Xx="2.0",Tr=tA(e=>e!==null&&(typeof e=="object"||typeof e=="function")),kJ=rn([ee(),Vt().int()]),wJ=ee(),ddt=Gr({ttl:rn([Vt(),qg()]).optional(),pollInterval:Vt().optional()}),K4e=Pe({ttl:Vt().optional()}),X4e=Pe({taskId:ee()}),rA=Gr({progressToken:kJ.optional(),[_l]:X4e.optional()}),oo=Pe({_meta:rA.optional()}),Yg=oo.extend({task:K4e.optional()}),EJ=e=>Yg.safeParse(e).success,Cr=Pe({method:ee(),params:oo.loose().optional()}),Lo=Pe({_meta:rA.optional()}),Fo=Pe({method:ee(),params:Lo.loose().optional()}),Ar=Gr({_meta:rA.optional()}),xl=rn([ee(),Vt().int()]),DJ=Pe({jsonrpc:Ze(Xx),id:xl,...Cr.shape}).strict(),iA=e=>DJ.safeParse(e).success,$J=Pe({jsonrpc:Ze(Xx),...Fo.shape}).strict(),SJ=e=>$J.safeParse(e).success,oA=Pe({jsonrpc:Ze(Xx),id:xl,result:Ar}).strict(),Kg=e=>oA.safeParse(e).success;var Jt;(function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Jt||(Jt={}));var aA=Pe({jsonrpc:Ze(Xx),id:xl.optional(),error:Pe({code:Vt().int(),message:ee(),data:dn().optional()})}).strict();var IJ=e=>aA.safeParse(e).success;var sA=rn([DJ,$J,oA,aA]),fdt=rn([oA,aA]),Xg=Ar.strict(),Q4e=Lo.extend({requestId:xl.optional(),reason:ee().optional()}),Qx=Fo.extend({method:Ze("notifications/cancelled"),params:Q4e}),eTe=Pe({src:ee(),mimeType:ee().optional(),sizes:Tt(ee()).optional(),theme:qr(["light","dark"]).optional()}),Qg=Pe({icons:Tt(eTe).optional()}),up=Pe({name:ee(),title:ee().optional()}),kl=up.extend({...up.shape,...Qg.shape,version:ee(),websiteUrl:ee().optional(),description:ee().optional()}),tTe=Jg(Pe({applyDefaults:rr().optional()}),kn(ee(),dn())),nTe=Yx(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,Jg(Pe({form:tTe.optional(),url:Tr.optional()}),kn(ee(),dn()).optional())),rTe=Gr({list:Tr.optional(),cancel:Tr.optional(),requests:Gr({sampling:Gr({createMessage:Tr.optional()}).optional(),elicitation:Gr({create:Tr.optional()}).optional()}).optional()}),iTe=Gr({list:Tr.optional(),cancel:Tr.optional(),requests:Gr({tools:Gr({call:Tr.optional()}).optional()}).optional()}),oTe=Pe({experimental:kn(ee(),Tr).optional(),sampling:Pe({context:Tr.optional(),tools:Tr.optional()}).optional(),elicitation:nTe.optional(),roots:Pe({listChanged:rr().optional()}).optional(),tasks:rTe.optional()}),aTe=oo.extend({protocolVersion:ee(),capabilities:oTe,clientInfo:kl}),sTe=Cr.extend({method:Ze("initialize"),params:aTe});var uTe=Pe({experimental:kn(ee(),Tr).optional(),logging:Tr.optional(),completions:Tr.optional(),prompts:Pe({listChanged:rr().optional()}).optional(),resources:Pe({subscribe:rr().optional(),listChanged:rr().optional()}).optional(),tools:Pe({listChanged:rr().optional()}).optional(),tasks:iTe.optional()}),lTe=Ar.extend({protocolVersion:ee(),capabilities:uTe,serverInfo:kl,instructions:ee().optional()}),cTe=Fo.extend({method:Ze("notifications/initialized"),params:Lo.optional()});var Zc=Cr.extend({method:Ze("ping"),params:oo.optional()}),dTe=Pe({progress:Vt(),total:Sn(Vt()),message:Sn(ee())}),fTe=Pe({...Lo.shape,...dTe.shape,progressToken:kJ}),ek=Fo.extend({method:Ze("notifications/progress"),params:fTe}),pTe=oo.extend({cursor:wJ.optional()}),e0=Cr.extend({params:pTe.optional()}),t0=Ar.extend({nextCursor:wJ.optional()}),mTe=qr(["working","input_required","completed","failed","cancelled"]),n0=Pe({taskId:ee(),status:mTe,ttl:rn([Vt(),qg()]),createdAt:ee(),lastUpdatedAt:ee(),pollInterval:Sn(Vt()),statusMessage:Sn(ee())}),tk=Ar.extend({task:n0}),hTe=Lo.merge(n0),r0=Fo.extend({method:Ze("notifications/tasks/status"),params:hTe}),nk=Cr.extend({method:Ze("tasks/get"),params:oo.extend({taskId:ee()})}),rk=Ar.merge(n0),ik=Cr.extend({method:Ze("tasks/result"),params:oo.extend({taskId:ee()})}),pdt=Ar.loose(),ok=e0.extend({method:Ze("tasks/list")}),ak=t0.extend({tasks:Tt(n0)}),sk=Cr.extend({method:Ze("tasks/cancel"),params:oo.extend({taskId:ee()})}),TJ=Ar.merge(n0),CJ=Pe({uri:ee(),mimeType:Sn(ee()),_meta:kn(ee(),dn()).optional()}),AJ=CJ.extend({text:ee()}),uA=ee().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),NJ=CJ.extend({blob:uA}),i0=qr(["user","assistant"]),lp=Pe({audience:Tt(i0).optional(),priority:Vt().min(0).max(1).optional(),lastModified:Bc.datetime({offset:!0}).optional()}),OJ=Pe({...up.shape,...Qg.shape,uri:ee(),description:Sn(ee()),mimeType:Sn(ee()),annotations:lp.optional(),_meta:Sn(Gr({}))}),gTe=Pe({...up.shape,...Qg.shape,uriTemplate:ee(),description:Sn(ee()),mimeType:Sn(ee()),annotations:lp.optional(),_meta:Sn(Gr({}))}),vTe=e0.extend({method:Ze("resources/list")}),yTe=t0.extend({resources:Tt(OJ)}),bTe=e0.extend({method:Ze("resources/templates/list")}),_Te=t0.extend({resourceTemplates:Tt(gTe)}),lA=oo.extend({uri:ee()}),xTe=lA,kTe=Cr.extend({method:Ze("resources/read"),params:xTe}),wTe=Ar.extend({contents:Tt(rn([AJ,NJ]))}),ETe=Fo.extend({method:Ze("notifications/resources/list_changed"),params:Lo.optional()}),DTe=lA,$Te=Cr.extend({method:Ze("resources/subscribe"),params:DTe}),STe=lA,ITe=Cr.extend({method:Ze("resources/unsubscribe"),params:STe}),TTe=Lo.extend({uri:ee()}),CTe=Fo.extend({method:Ze("notifications/resources/updated"),params:TTe}),ATe=Pe({name:ee(),description:Sn(ee()),required:Sn(rr())}),NTe=Pe({...up.shape,...Qg.shape,description:Sn(ee()),arguments:Sn(Tt(ATe)),_meta:Sn(Gr({}))}),OTe=e0.extend({method:Ze("prompts/list")}),zTe=t0.extend({prompts:Tt(NTe)}),PTe=oo.extend({name:ee(),arguments:kn(ee(),ee()).optional()}),RTe=Cr.extend({method:Ze("prompts/get"),params:PTe}),cA=Pe({type:Ze("text"),text:ee(),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),dA=Pe({type:Ze("image"),data:uA,mimeType:ee(),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),fA=Pe({type:Ze("audio"),data:uA,mimeType:ee(),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),LTe=Pe({type:Ze("tool_use"),name:ee(),id:ee(),input:kn(ee(),dn()),_meta:kn(ee(),dn()).optional()}),o0=Pe({type:Ze("resource"),resource:rn([AJ,NJ]),annotations:lp.optional(),_meta:kn(ee(),dn()).optional()}),a0=OJ.extend({type:Ze("resource_link")}),qs=rn([cA,dA,fA,a0,o0]),FTe=Pe({role:i0,content:qs}),MTe=Ar.extend({description:ee().optional(),messages:Tt(FTe)}),UTe=Fo.extend({method:Ze("notifications/prompts/list_changed"),params:Lo.optional()}),jTe=Pe({title:ee().optional(),readOnlyHint:rr().optional(),destructiveHint:rr().optional(),idempotentHint:rr().optional(),openWorldHint:rr().optional()}),BTe=Pe({taskSupport:qr(["required","optional","forbidden"]).optional()}),cp=Pe({...up.shape,...Qg.shape,description:ee().optional(),inputSchema:Pe({type:Ze("object"),properties:kn(ee(),Tr).optional(),required:Tt(ee()).optional()}).catchall(dn()),outputSchema:Pe({type:Ze("object"),properties:kn(ee(),Tr).optional(),required:Tt(ee()).optional()}).catchall(dn()).optional(),annotations:jTe.optional(),execution:BTe.optional(),_meta:kn(ee(),dn()).optional()}),uk=e0.extend({method:Ze("tools/list")}),ZTe=t0.extend({tools:Tt(cp)}),Js=Ar.extend({content:Tt(qs).default([]),structuredContent:kn(ee(),dn()).optional(),isError:rr().optional()}),mdt=Js.or(Ar.extend({toolResult:dn()})),HTe=Yg.extend({name:ee(),arguments:kn(ee(),dn()).optional()}),lk=Cr.extend({method:Ze("tools/call"),params:HTe}),WTe=Fo.extend({method:Ze("notifications/tools/list_changed"),params:Lo.optional()}),hdt=Pe({autoRefresh:rr().default(!0),debounceMs:Vt().int().nonnegative().default(300)}),zJ=qr(["debug","info","notice","warning","error","critical","alert","emergency"]),VTe=oo.extend({level:zJ}),GTe=Cr.extend({method:Ze("logging/setLevel"),params:VTe}),qTe=Lo.extend({level:zJ,logger:ee().optional(),data:dn()}),JTe=Fo.extend({method:Ze("notifications/message"),params:qTe}),YTe=Pe({name:ee().optional()}),KTe=Pe({hints:Tt(YTe).optional(),costPriority:Vt().min(0).max(1).optional(),speedPriority:Vt().min(0).max(1).optional(),intelligencePriority:Vt().min(0).max(1).optional()}),XTe=Pe({mode:qr(["auto","required","none"]).optional()}),QTe=Pe({type:Ze("tool_result"),toolUseId:ee().describe("The unique identifier for the corresponding tool call."),content:Tt(qs).default([]),structuredContent:Pe({}).loose().optional(),isError:rr().optional(),_meta:kn(ee(),dn()).optional()}),eCe=Gx("type",[cA,dA,fA]),Kx=Gx("type",[cA,dA,fA,LTe,QTe]),tCe=Pe({role:i0,content:rn([Kx,Tt(Kx)]),_meta:kn(ee(),dn()).optional()}),nCe=Yg.extend({messages:Tt(tCe),modelPreferences:KTe.optional(),systemPrompt:ee().optional(),includeContext:qr(["none","thisServer","allServers"]).optional(),temperature:Vt().optional(),maxTokens:Vt().int(),stopSequences:Tt(ee()).optional(),metadata:Tr.optional(),tools:Tt(cp).optional(),toolChoice:XTe.optional()}),rCe=Cr.extend({method:Ze("sampling/createMessage"),params:nCe}),iCe=Ar.extend({model:ee(),stopReason:Sn(qr(["endTurn","stopSequence","maxTokens"]).or(ee())),role:i0,content:eCe}),oCe=Ar.extend({model:ee(),stopReason:Sn(qr(["endTurn","stopSequence","maxTokens","toolUse"]).or(ee())),role:i0,content:rn([Kx,Tt(Kx)])}),aCe=Pe({type:Ze("boolean"),title:ee().optional(),description:ee().optional(),default:rr().optional()}),sCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),minLength:Vt().optional(),maxLength:Vt().optional(),format:qr(["email","uri","date","date-time"]).optional(),default:ee().optional()}),uCe=Pe({type:qr(["number","integer"]),title:ee().optional(),description:ee().optional(),minimum:Vt().optional(),maximum:Vt().optional(),default:Vt().optional()}),lCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),enum:Tt(ee()),default:ee().optional()}),cCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),oneOf:Tt(Pe({const:ee(),title:ee()})),default:ee().optional()}),dCe=Pe({type:Ze("string"),title:ee().optional(),description:ee().optional(),enum:Tt(ee()),enumNames:Tt(ee()).optional(),default:ee().optional()}),fCe=rn([lCe,cCe]),pCe=Pe({type:Ze("array"),title:ee().optional(),description:ee().optional(),minItems:Vt().optional(),maxItems:Vt().optional(),items:Pe({type:Ze("string"),enum:Tt(ee())}),default:Tt(ee()).optional()}),mCe=Pe({type:Ze("array"),title:ee().optional(),description:ee().optional(),minItems:Vt().optional(),maxItems:Vt().optional(),items:Pe({anyOf:Tt(Pe({const:ee(),title:ee()}))}),default:Tt(ee()).optional()}),hCe=rn([pCe,mCe]),gCe=rn([dCe,fCe,hCe]),vCe=rn([gCe,aCe,sCe,uCe]),yCe=Yg.extend({mode:Ze("form").optional(),message:ee(),requestedSchema:Pe({type:Ze("object"),properties:kn(ee(),vCe),required:Tt(ee()).optional()})}),bCe=Yg.extend({mode:Ze("url"),message:ee(),elicitationId:ee(),url:ee().url()}),_Ce=rn([yCe,bCe]),xCe=Cr.extend({method:Ze("elicitation/create"),params:_Ce}),kCe=Lo.extend({elicitationId:ee()}),wCe=Fo.extend({method:Ze("notifications/elicitation/complete"),params:kCe}),ECe=Ar.extend({action:qr(["accept","decline","cancel"]),content:Yx(e=>e===null?void 0:e,kn(ee(),rn([ee(),Vt(),rr(),Tt(ee())])).optional())}),DCe=Pe({type:Ze("ref/resource"),uri:ee()});var $Ce=Pe({type:Ze("ref/prompt"),name:ee()}),SCe=oo.extend({ref:rn([$Ce,DCe]),argument:Pe({name:ee(),value:ee()}),context:Pe({arguments:kn(ee(),ee()).optional()}).optional()}),ICe=Cr.extend({method:Ze("completion/complete"),params:SCe});var TCe=Ar.extend({completion:Gr({values:Tt(ee()).max(100),total:Sn(Vt().int()),hasMore:Sn(rr())})}),CCe=Pe({uri:ee().startsWith("file://"),name:ee().optional(),_meta:kn(ee(),dn()).optional()}),ACe=Cr.extend({method:Ze("roots/list"),params:oo.optional()}),NCe=Ar.extend({roots:Tt(CCe)}),OCe=Fo.extend({method:Ze("notifications/roots/list_changed"),params:Lo.optional()}),gdt=rn([Zc,sTe,ICe,GTe,RTe,OTe,vTe,bTe,kTe,$Te,ITe,lk,uk,nk,ik,ok,sk]),vdt=rn([Qx,ek,cTe,OCe,r0]),ydt=rn([Xg,iCe,oCe,ECe,NCe,rk,ak,tk]),bdt=rn([Zc,rCe,xCe,ACe,nk,ik,ok,sk]),_dt=rn([Qx,ek,JTe,CTe,ETe,WTe,UTe,r0,wCe]),xdt=rn([Xg,lTe,TCe,MTe,zTe,yTe,_Te,wTe,Js,ZTe,rk,ak,tk]),Ut=class e extends Error{constructor(t,n,i){super(`MCP error ${t}: ${n}`),this.code=t,this.data=i,this.name="McpError"}static fromError(t,n,i){if(t===Jt.UrlElicitationRequired&&i){let r=i;if(r.elicitations)return new nA(r.elicitations,n)}return new e(t,n,i)}},nA=class extends Ut{constructor(t,n=`URL elicitation${t.length>1?"s":""} required`){super(Jt.UrlElicitationRequired,n,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}};function wl(e){return e==="completed"||e==="failed"||e==="cancelled"}var zCe=Symbol("Let zodToJsonSchema decide on which parser to use");var tft=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function pA(e){let n=_q(e)?.method;if(!n)throw new Error("Schema is missing a method literal");let i=xq(n);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function mA(e,t){let n=Px(e,t);if(!n.success)throw n.error;return n.data}var UCe=6e4,u0=class{constructor(t){this._options=t,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(Qx,n=>{this._oncancel(n)}),this.setNotificationHandler(ek,n=>{this._onprogress(n)}),this.setRequestHandler(Zc,n=>({})),this._taskStore=t?.taskStore,this._taskMessageQueue=t?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(nk,async(n,i)=>{let r=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!r)throw new Ut(Jt.InvalidParams,"Failed to retrieve task: Task not found");return{...r}}),this.setRequestHandler(ik,async(n,i)=>{let r=async()=>{let o=n.params.taskId;if(this._taskMessageQueue){let s;for(;s=await this._taskMessageQueue.dequeue(o,i.sessionId);){if(s.type==="response"||s.type==="error"){let l=s.message,c=l.id,f=this._requestResolvers.get(c);if(f)if(this._requestResolvers.delete(c),s.type==="response")f(l);else{let p=l,h=new Ut(p.error.code,p.error.message,p.error.data);f(h)}else{let p=s.type==="response"?"Response":"Error";this._onerror(new Error(`${p} handler missing for request ${c}`))}continue}await this._transport?.send(s.message,{relatedRequestId:i.requestId})}}let a=await this._taskStore.getTask(o,i.sessionId);if(!a)throw new Ut(Jt.InvalidParams,`Task not found: ${o}`);if(!wl(a.status))return await this._waitForTaskUpdate(o,i.signal),await r();if(wl(a.status)){let s=await this._taskStore.getTaskResult(o,i.sessionId);return this._clearTaskQueue(o),{...s,_meta:{...s._meta,[_l]:{taskId:o}}}}return await r()};return await r()}),this.setRequestHandler(ok,async(n,i)=>{try{let{tasks:r,nextCursor:o}=await this._taskStore.listTasks(n.params?.cursor,i.sessionId);return{tasks:r,nextCursor:o,_meta:{}}}catch(r){throw new Ut(Jt.InvalidParams,`Failed to list tasks: ${r instanceof Error?r.message:String(r)}`)}}),this.setRequestHandler(sk,async(n,i)=>{try{let r=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!r)throw new Ut(Jt.InvalidParams,`Task not found: ${n.params.taskId}`);if(wl(r.status))throw new Ut(Jt.InvalidParams,`Cannot cancel task in terminal status: ${r.status}`);await this._taskStore.updateTaskStatus(n.params.taskId,"cancelled","Client cancelled task execution.",i.sessionId),this._clearTaskQueue(n.params.taskId);let o=await this._taskStore.getTask(n.params.taskId,i.sessionId);if(!o)throw new Ut(Jt.InvalidParams,`Task not found after cancellation: ${n.params.taskId}`);return{_meta:{},...o}}catch(r){throw r instanceof Ut?r:new Ut(Jt.InvalidRequest,`Failed to cancel task: ${r instanceof Error?r.message:String(r)}`)}}))}async _oncancel(t){if(!t.params.requestId)return;this._requestHandlerAbortControllers.get(t.params.requestId)?.abort(t.params.reason)}_setupTimeout(t,n,i,r,o=!1){this._timeoutInfo.set(t,{timeoutId:setTimeout(r,n),startTime:Date.now(),timeout:n,maxTotalTimeout:i,resetTimeoutOnProgress:o,onTimeout:r})}_resetTimeout(t){let n=this._timeoutInfo.get(t);if(!n)return!1;let i=Date.now()-n.startTime;if(n.maxTotalTimeout&&i>=n.maxTotalTimeout)throw this._timeoutInfo.delete(t),Ut.fromError(Jt.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:n.maxTotalTimeout,totalElapsed:i});return clearTimeout(n.timeoutId),n.timeoutId=setTimeout(n.onTimeout,n.timeout),!0}_cleanupTimeout(t){let n=this._timeoutInfo.get(t);n&&(clearTimeout(n.timeoutId),this._timeoutInfo.delete(t))}async connect(t){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=t;let n=this.transport?.onclose;this._transport.onclose=()=>{n?.(),this._onclose()};let i=this.transport?.onerror;this._transport.onerror=o=>{i?.(o),this._onerror(o)};let r=this._transport?.onmessage;this._transport.onmessage=(o,a)=>{r?.(o,a),Kg(o)||IJ(o)?this._onresponse(o):iA(o)?this._onrequest(o,a):SJ(o)?this._onnotification(o):this._onerror(new Error(`Unknown message type: ${JSON.stringify(o)}`))},await this._transport.start()}_onclose(){let t=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let i of this._requestHandlerAbortControllers.values())i.abort();this._requestHandlerAbortControllers.clear();let n=Ut.fromError(Jt.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(let i of t.values())i(n)}_onerror(t){this.onerror?.(t)}_onnotification(t){let n=this._notificationHandlers.get(t.method)??this.fallbackNotificationHandler;n!==void 0&&Promise.resolve().then(()=>n(t)).catch(i=>this._onerror(new Error(`Uncaught error in notification handler: ${i}`)))}_onrequest(t,n){let i=this._requestHandlers.get(t.method)??this.fallbackRequestHandler,r=this._transport,o=t.params?._meta?.[_l]?.taskId;if(i===void 0){let f={jsonrpc:"2.0",id:t.id,error:{code:Jt.MethodNotFound,message:"Method not found"}};o&&this._taskMessageQueue?this._enqueueTaskMessage(o,{type:"error",message:f,timestamp:Date.now()},r?.sessionId).catch(p=>this._onerror(new Error(`Failed to enqueue error response: ${p}`))):r?.send(f).catch(p=>this._onerror(new Error(`Failed to send an error response: ${p}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(t.id,a);let s=EJ(t.params)?t.params.task:void 0,l=this._taskStore?this.requestTaskStore(t,r?.sessionId):void 0,c={signal:a.signal,sessionId:r?.sessionId,_meta:t.params?._meta,sendNotification:async f=>{if(a.signal.aborted)return;let p={relatedRequestId:t.id};o&&(p.relatedTask={taskId:o}),await this.notification(f,p)},sendRequest:async(f,p,h)=>{if(a.signal.aborted)throw new Ut(Jt.ConnectionClosed,"Request was cancelled");let v={...h,relatedRequestId:t.id};o&&!v.relatedTask&&(v.relatedTask={taskId:o});let b=v.relatedTask?.taskId??o;return b&&l&&await l.updateTaskStatus(b,"input_required"),await this.request(f,p,v)},authInfo:n?.authInfo,requestId:t.id,requestInfo:n?.requestInfo,taskId:o,taskStore:l,taskRequestedTtl:s?.ttl,closeSSEStream:n?.closeSSEStream,closeStandaloneSSEStream:n?.closeStandaloneSSEStream};Promise.resolve().then(()=>{s&&this.assertTaskHandlerCapability(t.method)}).then(()=>i(t,c)).then(async f=>{if(a.signal.aborted)return;let p={result:f,jsonrpc:"2.0",id:t.id};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"response",message:p,timestamp:Date.now()},r?.sessionId):await r?.send(p)},async f=>{if(a.signal.aborted)return;let p={jsonrpc:"2.0",id:t.id,error:{code:Number.isSafeInteger(f.code)?f.code:Jt.InternalError,message:f.message??"Internal error",...f.data!==void 0&&{data:f.data}}};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"error",message:p,timestamp:Date.now()},r?.sessionId):await r?.send(p)}).catch(f=>this._onerror(new Error(`Failed to send response: ${f}`))).finally(()=>{this._requestHandlerAbortControllers.delete(t.id)})}_onprogress(t){let{progressToken:n,...i}=t.params,r=Number(n),o=this._progressHandlers.get(r);if(!o){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(t)}`));return}let a=this._responseHandlers.get(r),s=this._timeoutInfo.get(r);if(s&&a&&s.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(l){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(l);return}o(i)}_onresponse(t){let n=Number(t.id),i=this._requestResolvers.get(n);if(i){if(this._requestResolvers.delete(n),Kg(t))i(t);else{let a=new Ut(t.error.code,t.error.message,t.error.data);i(a)}return}let r=this._responseHandlers.get(n);if(r===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(t)}`));return}this._responseHandlers.delete(n),this._cleanupTimeout(n);let o=!1;if(Kg(t)&&t.result&&typeof t.result=="object"){let a=t.result;if(a.task&&typeof a.task=="object"){let s=a.task;typeof s.taskId=="string"&&(o=!0,this._taskProgressTokens.set(s.taskId,n))}}if(o||this._progressHandlers.delete(n),Kg(t))r(t);else{let a=Ut.fromError(t.error.code,t.error.message,t.error.data);r(a)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(t,n,i){let{task:r}=i??{};if(!r){try{yield{type:"result",result:await this.request(t,n,i)}}catch(a){yield{type:"error",error:a instanceof Ut?a:new Ut(Jt.InternalError,String(a))}}return}let o;try{let a=await this.request(t,tk,i);if(a.task)o=a.task.taskId,yield{type:"taskCreated",task:a.task};else throw new Ut(Jt.InternalError,"Task creation did not return a task");for(;;){let s=await this.getTask({taskId:o},i);if(yield{type:"taskStatus",task:s},wl(s.status)){s.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:o},n,i)}:s.status==="failed"?yield{type:"error",error:new Ut(Jt.InternalError,`Task ${o} failed`)}:s.status==="cancelled"&&(yield{type:"error",error:new Ut(Jt.InternalError,`Task ${o} was cancelled`)});return}if(s.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:o},n,i)};return}let l=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(c=>setTimeout(c,l)),i?.signal?.throwIfAborted()}}catch(a){yield{type:"error",error:a instanceof Ut?a:new Ut(Jt.InternalError,String(a))}}}request(t,n,i){let{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a,task:s,relatedTask:l}=i??{};return new Promise((c,f)=>{let p=E=>{f(E)};if(!this._transport){p(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),s&&this.assertTaskCapability(t.method)}catch(E){p(E);return}i?.signal?.throwIfAborted();let h=this._requestMessageId++,v={...t,jsonrpc:"2.0",id:h};i?.onprogress&&(this._progressHandlers.set(h,i.onprogress),v.params={...t.params,_meta:{...t.params?._meta||{},progressToken:h}}),s&&(v.params={...v.params,task:s}),l&&(v.params={...v.params,_meta:{...v.params?._meta||{},[_l]:l}});let b=E=>{this._responseHandlers.delete(h),this._progressHandlers.delete(h),this._cleanupTimeout(h),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:h,reason:String(E)}},{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a}).catch(T=>this._onerror(new Error(`Failed to send cancellation: ${T}`)));let w=E instanceof Ut?E:new Ut(Jt.RequestTimeout,String(E));f(w)};this._responseHandlers.set(h,E=>{if(!i?.signal?.aborted){if(E instanceof Error)return f(E);try{let w=Px(n,E.result);w.success?c(w.data):f(w.error)}catch(w){f(w)}}}),i?.signal?.addEventListener("abort",()=>{b(i?.signal?.reason)});let k=i?.timeout??UCe,$=()=>b(Ut.fromError(Jt.RequestTimeout,"Request timed out",{timeout:k}));this._setupTimeout(h,k,i?.maxTotalTimeout,$,i?.resetTimeoutOnProgress??!1);let x=l?.taskId;if(x){let E=w=>{let T=this._responseHandlers.get(h);T?T(w):this._onerror(new Error(`Response handler missing for side-channeled request ${h}`))};this._requestResolvers.set(h,E),this._enqueueTaskMessage(x,{type:"request",message:v,timestamp:Date.now()}).catch(w=>{this._cleanupTimeout(h),f(w)})}else this._transport.send(v,{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a}).catch(E=>{this._cleanupTimeout(h),f(E)})})}async getTask(t,n){return this.request({method:"tasks/get",params:t},rk,n)}async getTaskResult(t,n,i){return this.request({method:"tasks/result",params:t},n,i)}async listTasks(t,n){return this.request({method:"tasks/list",params:t},ak,n)}async cancelTask(t,n){return this.request({method:"tasks/cancel",params:t},TJ,n)}async notification(t,n){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(t.method);let i=n?.relatedTask?.taskId;if(i){let s={...t,jsonrpc:"2.0",params:{...t.params,_meta:{...t.params?._meta||{},[_l]:n.relatedTask}}};await this._enqueueTaskMessage(i,{type:"notification",message:s,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&!n?.relatedRequestId&&!n?.relatedTask){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(t.method),!this._transport)return;let s={...t,jsonrpc:"2.0"};n?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[_l]:n.relatedTask}}}),this._transport?.send(s,n).catch(l=>this._onerror(l))});return}let a={...t,jsonrpc:"2.0"};n?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[_l]:n.relatedTask}}}),await this._transport.send(a,n)}setRequestHandler(t,n){let i=pA(t);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(r,o)=>{let a=mA(t,r);return Promise.resolve(n(a,o))})}removeRequestHandler(t){this._requestHandlers.delete(t)}assertCanSetRequestHandler(t){if(this._requestHandlers.has(t))throw new Error(`A request handler for ${t} already exists, which would be overridden`)}setNotificationHandler(t,n){let i=pA(t);this._notificationHandlers.set(i,r=>{let o=mA(t,r);return Promise.resolve(n(o))})}removeNotificationHandler(t){this._notificationHandlers.delete(t)}_cleanupTaskProgressHandler(t){let n=this._taskProgressTokens.get(t);n!==void 0&&(this._progressHandlers.delete(n),this._taskProgressTokens.delete(t))}async _enqueueTaskMessage(t,n,i){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(t,n,i,r)}async _clearTaskQueue(t,n){if(this._taskMessageQueue){let i=await this._taskMessageQueue.dequeueAll(t,n);for(let r of i)if(r.type==="request"&&iA(r.message)){let o=r.message.id,a=this._requestResolvers.get(o);a?(a(new Ut(Jt.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(o)):this._onerror(new Error(`Resolver missing for request ${o} during task ${t} cleanup`))}}}async _waitForTaskUpdate(t,n){let i=this._options?.defaultTaskPollInterval??1e3;try{let r=await this._taskStore?.getTask(t);r?.pollInterval&&(i=r.pollInterval)}catch{}return new Promise((r,o)=>{if(n.aborted){o(new Ut(Jt.InvalidRequest,"Request cancelled"));return}let a=setTimeout(r,i);n.addEventListener("abort",()=>{clearTimeout(a),o(new Ut(Jt.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(t,n){let i=this._taskStore;if(!i)throw new Error("No task store configured");return{createTask:async r=>{if(!t)throw new Error("No request provided");return await i.createTask(r,t.id,{method:t.method,params:t.params},n)},getTask:async r=>{let o=await i.getTask(r,n);if(!o)throw new Ut(Jt.InvalidParams,"Failed to retrieve task: Task not found");return o},storeTaskResult:async(r,o,a)=>{await i.storeTaskResult(r,o,a,n);let s=await i.getTask(r,n);if(s){let l=r0.parse({method:"notifications/tasks/status",params:s});await this.notification(l),wl(s.status)&&this._cleanupTaskProgressHandler(r)}},getTaskResult:r=>i.getTaskResult(r,n),updateTaskStatus:async(r,o,a)=>{let s=await i.getTask(r,n);if(!s)throw new Ut(Jt.InvalidParams,`Task "${r}" not found - it may have been cleaned up`);if(wl(s.status))throw new Ut(Jt.InvalidParams,`Cannot update task "${r}" from terminal status "${s.status}" to "${o}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await i.updateTaskStatus(r,o,a,n);let l=await i.getTask(r,n);if(l){let c=r0.parse({method:"notifications/tasks/status",params:l});await this.notification(c),wl(l.status)&&this._cleanupTaskProgressHandler(r)}},listTasks:r=>i.listTasks(r,n)}}};var LOe=Y(He(),1),jte=Y(He(),1),Bte=Y(He(),1);var jCe=Object.defineProperty,Qs=(e,t)=>{for(var n in t)jCe(e,n,{get:t[n],enumerable:!0,configurable:!0,set:i=>t[n]=()=>i})},mk=class{constructor(t=window.parent,n){Dr(this,"eventTarget");Dr(this,"eventSource");Dr(this,"messageListener");Dr(this,"onclose");Dr(this,"onerror");Dr(this,"onmessage");Dr(this,"sessionId");Dr(this,"setProtocolVersion");this.eventTarget=t,this.eventSource=n,this.messageListener=i=>{if(n&&i.source!==this.eventSource){console.debug("Ignoring message from unknown source",i);return}let r=sA.safeParse(i.data);r.success?(console.debug("Parsed message",r.data),this.onmessage?.(r.data)):i.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",r.error.message,i):(console.error("Failed to parse message",r.error.message,i),this.onerror?.(Error("Invalid JSON-RPC message received: "+r.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,n){console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}},BCe="2026-01-26";var O={};Qs(O,{xor:()=>mte,xid:()=>Lee,void:()=>ute,uuidv7:()=>Tee,uuidv6:()=>Iee,uuidv4:()=>See,uuid:()=>$ee,util:()=>zt,url:()=>Cee,uppercase:()=>Ok,unknown:()=>Gc,union:()=>l6,undefined:()=>ate,ulid:()=>Ree,uint64:()=>ite,uint32:()=>tte,tuple:()=>W5,trim:()=>Mk,treeifyError:()=>mY,transform:()=>d6,toUpperCase:()=>jk,toLowerCase:()=>Uk,toJSONSchema:()=>iee,templateLiteral:()=>Ste,symbol:()=>ote,superRefine:()=>yN,success:()=>Ete,stringbool:()=>zte,stringFormat:()=>qee,string:()=>wk,strictObject:()=>fte,startsWith:()=>Pk,slugify:()=>Bk,size:()=>$0,setErrorMap:()=>sOe,set:()=>bte,safeParseAsync:()=>hee,safeParse:()=>mee,safeEncodeAsync:()=>kee,safeEncode:()=>_ee,safeDecodeAsync:()=>wee,safeDecode:()=>xee,registry:()=>JA,regexes:()=>Jc,regex:()=>Ak,refine:()=>vN,record:()=>V5,readonly:()=>dN,property:()=>_5,promise:()=>Ite,prettifyError:()=>gY,preprocess:()=>Rte,prefault:()=>iN,positive:()=>g5,pipe:()=>h0,partialRecord:()=>gte,parseAsync:()=>pee,parse:()=>fee,overwrite:()=>tu,optional:()=>p0,object:()=>dte,number:()=>T5,nullish:()=>wte,nullable:()=>m0,null:()=>z5,normalize:()=>Fk,nonpositive:()=>y5,nonoptional:()=>oN,nonnegative:()=>b5,never:()=>s6,negative:()=>v5,nativeEnum:()=>_te,nanoid:()=>Oee,nan:()=>Dte,multipleOf:()=>gp,minSize:()=>$l,minLength:()=>Vc,mime:()=>Lk,meta:()=>Nte,maxSize:()=>xp,maxLength:()=>S0,map:()=>yte,mac:()=>Uee,lte:()=>Uo,lt:()=>El,lowercase:()=>Nk,looseRecord:()=>vte,looseObject:()=>pte,locales:()=>qA,literal:()=>xte,length:()=>I0,lazy:()=>mN,ksuid:()=>Fee,keyof:()=>cte,jwt:()=>Gee,json:()=>Pte,iso:()=>w5,ipv6:()=>jee,ipv4:()=>Mee,intersection:()=>Z5,int64:()=>rte,int32:()=>ete,int:()=>Ek,instanceof:()=>Ote,includes:()=>zk,httpUrl:()=>Aee,hostname:()=>Jee,hex:()=>Yee,hash:()=>Kee,guid:()=>Dee,gte:()=>zi,gt:()=>Dl,globalRegistry:()=>Mo,getErrorMap:()=>uOe,function:()=>Dk,fromJSONSchema:()=>fOe,formatError:()=>IA,float64:()=>Qee,float32:()=>Xee,flattenError:()=>SA,file:()=>kte,exactOptional:()=>Q5,enum:()=>c6,endsWith:()=>Rk,encodeAsync:()=>yee,encode:()=>gee,emoji:()=>Nee,email:()=>Eee,e164:()=>Vee,discriminatedUnion:()=>hte,describe:()=>Ate,decodeAsync:()=>bee,decode:()=>vee,date:()=>lte,custom:()=>Cte,cuid2:()=>Pee,cuid:()=>zee,core:()=>eY,config:()=>Yr,coerce:()=>Fte,codec:()=>$te,clone:()=>Bo,cidrv6:()=>Zee,cidrv4:()=>Bee,check:()=>Tte,catch:()=>uN,boolean:()=>C5,bigint:()=>nte,base64url:()=>Wee,base64:()=>Hee,array:()=>P0,any:()=>ste,_function:()=>Dk,_default:()=>nN,_ZodString:()=>Zk,ZodXor:()=>U5,ZodXID:()=>Yk,ZodVoid:()=>F5,ZodUnknown:()=>R5,ZodUnion:()=>L0,ZodUndefined:()=>N5,ZodUUID:()=>Qa,ZodURL:()=>A0,ZodULID:()=>Jk,ZodType:()=>vt,ZodTuple:()=>H5,ZodTransform:()=>K5,ZodTemplateLiteral:()=>fN,ZodSymbol:()=>A5,ZodSuccess:()=>aN,ZodStringFormat:()=>pn,ZodString:()=>C0,ZodSet:()=>q5,ZodRecord:()=>F0,ZodRealError:()=>so,ZodReadonly:()=>cN,ZodPromise:()=>hN,ZodPrefault:()=>rN,ZodPipe:()=>m6,ZodOptional:()=>f6,ZodObject:()=>R0,ZodNumberFormat:()=>Yc,ZodNumber:()=>N0,ZodNullable:()=>eN,ZodNull:()=>O5,ZodNonOptional:()=>p6,ZodNever:()=>L5,ZodNanoID:()=>Vk,ZodNaN:()=>lN,ZodMap:()=>G5,ZodMAC:()=>I5,ZodLiteral:()=>J5,ZodLazy:()=>pN,ZodKSUID:()=>Kk,ZodJWT:()=>o6,ZodIssueCode:()=>aOe,ZodIntersection:()=>B5,ZodISOTime:()=>$5,ZodISODuration:()=>S5,ZodISODateTime:()=>E5,ZodISODate:()=>D5,ZodIPv6:()=>Qk,ZodIPv4:()=>Xk,ZodGUID:()=>f0,ZodFunction:()=>gN,ZodFirstPartyTypeKind:()=>kA,ZodFile:()=>Y5,ZodExactOptional:()=>X5,ZodError:()=>oOe,ZodEnum:()=>_p,ZodEmoji:()=>Wk,ZodEmail:()=>Hk,ZodE164:()=>i6,ZodDiscriminatedUnion:()=>j5,ZodDefault:()=>tN,ZodDate:()=>u6,ZodCustomStringFormat:()=>kp,ZodCustom:()=>M0,ZodCodec:()=>h6,ZodCatch:()=>sN,ZodCUID2:()=>qk,ZodCUID:()=>Gk,ZodCIDRv6:()=>t6,ZodCIDRv4:()=>e6,ZodBoolean:()=>O0,ZodBigIntFormat:()=>a6,ZodBigInt:()=>z0,ZodBase64URL:()=>r6,ZodBase64:()=>n6,ZodArray:()=>M5,ZodAny:()=>P5,TimePrecision:()=>LX,NEVER:()=>tY,$output:()=>NX,$input:()=>OX,$brand:()=>nY});var eY={};Qs(eY,{version:()=>hK,util:()=>zt,treeifyError:()=>mY,toJSONSchema:()=>iee,toDotPath:()=>hY,safeParseAsync:()=>yY,safeParse:()=>vY,safeEncodeAsync:()=>_Ae,safeEncode:()=>yAe,safeDecodeAsync:()=>xAe,safeDecode:()=>bAe,registry:()=>JA,regexes:()=>Jc,process:()=>on,prettifyError:()=>gY,parseAsync:()=>yA,parse:()=>vA,meta:()=>yQ,locales:()=>qA,isValidJWT:()=>UK,isValidBase64URL:()=>LK,isValidBase64:()=>jA,initializeContext:()=>vp,globalRegistry:()=>Mo,globalConfig:()=>hk,formatError:()=>IA,flattenError:()=>SA,finalize:()=>bp,extractDefs:()=>yp,encodeAsync:()=>gAe,encode:()=>mAe,describe:()=>vQ,decodeAsync:()=>vAe,decode:()=>hAe,createToJSONSchemaMethod:()=>_Q,createStandardJSONSchemaMethod:()=>d0,config:()=>Yr,clone:()=>Bo,_xor:()=>PNe,_xid:()=>a5,_void:()=>sQ,_uuidv7:()=>e5,_uuidv6:()=>QA,_uuidv4:()=>XA,_uuid:()=>KA,_url:()=>Ck,_uppercase:()=>Ok,_unknown:()=>oQ,_union:()=>zNe,_undefined:()=>nQ,_ulid:()=>o5,_uint64:()=>eQ,_uint32:()=>qX,_tuple:()=>FNe,_trim:()=>Mk,_transform:()=>WNe,_toUpperCase:()=>jk,_toLowerCase:()=>Uk,_templateLiteral:()=>eOe,_symbol:()=>tQ,_superRefine:()=>hQ,_success:()=>YNe,_stringbool:()=>bQ,_stringFormat:()=>T0,_string:()=>zX,_startsWith:()=>Pk,_slugify:()=>Bk,_size:()=>$0,_set:()=>jNe,_safeParseAsync:()=>x0,_safeParse:()=>_0,_safeEncodeAsync:()=>PA,_safeEncode:()=>OA,_safeDecodeAsync:()=>RA,_safeDecode:()=>zA,_regex:()=>Ak,_refine:()=>mQ,_record:()=>MNe,_readonly:()=>QNe,_property:()=>_5,_promise:()=>nOe,_positive:()=>g5,_pipe:()=>XNe,_parseAsync:()=>b0,_parse:()=>y0,_overwrite:()=>tu,_optional:()=>VNe,_number:()=>BX,_nullable:()=>GNe,_null:()=>rQ,_normalize:()=>Fk,_nonpositive:()=>y5,_nonoptional:()=>JNe,_nonnegative:()=>b5,_never:()=>aQ,_negative:()=>v5,_nativeEnum:()=>ZNe,_nanoid:()=>n5,_nan:()=>cQ,_multipleOf:()=>gp,_minSize:()=>$l,_minLength:()=>Vc,_min:()=>zi,_mime:()=>Lk,_maxSize:()=>xp,_maxLength:()=>S0,_max:()=>Uo,_map:()=>UNe,_mac:()=>RX,_lte:()=>Uo,_lt:()=>El,_lowercase:()=>Nk,_literal:()=>HNe,_length:()=>I0,_lazy:()=>tOe,_ksuid:()=>s5,_jwt:()=>h5,_isoTime:()=>UX,_isoDuration:()=>jX,_isoDateTime:()=>FX,_isoDate:()=>MX,_ipv6:()=>l5,_ipv4:()=>u5,_intersection:()=>LNe,_int64:()=>QX,_int32:()=>GX,_int:()=>HX,_includes:()=>zk,_guid:()=>kk,_gte:()=>zi,_gt:()=>Dl,_float64:()=>VX,_float32:()=>WX,_file:()=>fQ,_enum:()=>BNe,_endsWith:()=>Rk,_encodeAsync:()=>AA,_encode:()=>TA,_emoji:()=>t5,_email:()=>YA,_e164:()=>m5,_discriminatedUnion:()=>RNe,_default:()=>qNe,_decodeAsync:()=>NA,_decode:()=>CA,_date:()=>uQ,_custom:()=>pQ,_cuid2:()=>i5,_cuid:()=>r5,_coercedString:()=>PX,_coercedNumber:()=>ZX,_coercedDate:()=>lQ,_coercedBoolean:()=>YX,_coercedBigint:()=>XX,_cidrv6:()=>d5,_cidrv4:()=>c5,_check:()=>gQ,_catch:()=>KNe,_boolean:()=>JX,_bigint:()=>KX,_base64url:()=>p5,_base64:()=>f5,_array:()=>dQ,_any:()=>iQ,TimePrecision:()=>LX,NEVER:()=>tY,JSONSchemaGenerator:()=>xA,JSONSchema:()=>iOe,Doc:()=>bk,$output:()=>NX,$input:()=>OX,$constructor:()=>V,$brand:()=>nY,$ZodXor:()=>iX,$ZodXID:()=>DK,$ZodVoid:()=>KK,$ZodUnknown:()=>JK,$ZodUnion:()=>Tk,$ZodUndefined:()=>VK,$ZodUUID:()=>vK,$ZodURL:()=>bK,$ZodULID:()=>EK,$ZodType:()=>dt,$ZodTuple:()=>WA,$ZodTransform:()=>pX,$ZodTemplateLiteral:()=>EX,$ZodSymbol:()=>WK,$ZodSuccess:()=>bX,$ZodStringFormat:()=>fn,$ZodString:()=>D0,$ZodSet:()=>lX,$ZodRegistry:()=>xk,$ZodRecord:()=>sX,$ZodRealError:()=>ao,$ZodReadonly:()=>wX,$ZodPromise:()=>$X,$ZodPrefault:()=>vX,$ZodPipe:()=>kX,$ZodOptional:()=>VA,$ZodObjectJIT:()=>rX,$ZodObject:()=>nX,$ZodNumberFormat:()=>ZK,$ZodNumber:()=>BA,$ZodNullable:()=>hX,$ZodNull:()=>GK,$ZodNonOptional:()=>yX,$ZodNever:()=>YK,$ZodNanoID:()=>xK,$ZodNaN:()=>xX,$ZodMap:()=>uX,$ZodMAC:()=>OK,$ZodLiteral:()=>dX,$ZodLazy:()=>SX,$ZodKSUID:()=>$K,$ZodJWT:()=>jK,$ZodIntersection:()=>aX,$ZodISOTime:()=>TK,$ZodISODuration:()=>CK,$ZodISODateTime:()=>SK,$ZodISODate:()=>IK,$ZodIPv6:()=>NK,$ZodIPv4:()=>AK,$ZodGUID:()=>gK,$ZodFunction:()=>DX,$ZodFile:()=>fX,$ZodExactOptional:()=>mX,$ZodError:()=>$A,$ZodEnum:()=>cX,$ZodEncodeError:()=>pp,$ZodEmoji:()=>_K,$ZodEmail:()=>yK,$ZodE164:()=>MK,$ZodDiscriminatedUnion:()=>oX,$ZodDefault:()=>gX,$ZodDate:()=>XK,$ZodCustomStringFormat:()=>BK,$ZodCustom:()=>IX,$ZodCodec:()=>GA,$ZodCheckUpperCase:()=>uK,$ZodCheckStringFormat:()=>E0,$ZodCheckStartsWith:()=>cK,$ZodCheckSizeEquals:()=>nK,$ZodCheckRegex:()=>aK,$ZodCheckProperty:()=>fK,$ZodCheckOverwrite:()=>mK,$ZodCheckNumberFormat:()=>XY,$ZodCheckMultipleOf:()=>KY,$ZodCheckMinSize:()=>tK,$ZodCheckMinLength:()=>iK,$ZodCheckMimeType:()=>pK,$ZodCheckMaxSize:()=>eK,$ZodCheckMaxLength:()=>rK,$ZodCheckLowerCase:()=>sK,$ZodCheckLessThan:()=>MA,$ZodCheckLengthEquals:()=>oK,$ZodCheckIncludes:()=>lK,$ZodCheckGreaterThan:()=>UA,$ZodCheckEndsWith:()=>dK,$ZodCheckBigIntFormat:()=>QY,$ZodCheck:()=>Nn,$ZodCatch:()=>_X,$ZodCUID2:()=>wK,$ZodCUID:()=>kK,$ZodCIDRv6:()=>PK,$ZodCIDRv4:()=>zK,$ZodBoolean:()=>ZA,$ZodBigIntFormat:()=>HK,$ZodBigInt:()=>HA,$ZodBase64URL:()=>FK,$ZodBase64:()=>RK,$ZodAsyncError:()=>Ks,$ZodArray:()=>QK,$ZodAny:()=>qK});var tY=Object.freeze({status:"aborted"});function V(e,t,n){function i(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=a.prototype,f=Object.keys(c);for(let p=0;p<f.length;p++){let h=f[p];h in s||(s[h]=c[h].bind(s))}}let r=n?.Parent??Object;class o extends r{}Object.defineProperty(o,"name",{value:e});function a(s){var l;let c=n?.Parent?new o:this;i(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let f of c._zod.deferred)f();return c}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var nY=Symbol("zod_brand"),Ks=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},pp=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},hk={};function Yr(e){return e&&Object.assign(hk,e),hk}var zt={};Qs(zt,{unwrapMessage:()=>c0,uint8ArrayToHex:()=>pAe,uint8ArrayToBase64url:()=>dAe,uint8ArrayToBase64:()=>fY,stringifyPrimitive:()=>et,slugify:()=>iY,shallowClone:()=>aY,safeExtend:()=>oAe,required:()=>uAe,randomString:()=>XCe,propertyKeyTypes:()=>vk,promiseAllObject:()=>KCe,primitiveTypes:()=>sY,prefixIssues:()=>ka,pick:()=>nAe,partial:()=>sAe,parsedType:()=>ot,optionalKeys:()=>uY,omit:()=>rAe,objectClone:()=>qCe,numKeys:()=>QCe,nullish:()=>qc,normalizeParams:()=>be,mergeDefs:()=>eu,merge:()=>aAe,jsonStringifyReplacer:()=>gk,joinValues:()=>me,issue:()=>yk,isPlainObject:()=>Wc,isObject:()=>mp,hexToUint8Array:()=>fAe,getSizableOrigin:()=>Sk,getParsedType:()=>eAe,getLengthableOrigin:()=>Ik,getEnumValues:()=>EA,getElementAtPath:()=>YCe,floatSafeRemainder:()=>rY,finalizeIssue:()=>jo,extend:()=>iAe,escapeRegex:()=>Xs,esc:()=>hA,defineLazy:()=>$t,createTransparentProxy:()=>tAe,cloneDef:()=>JCe,clone:()=>Bo,cleanRegex:()=>$k,cleanEnum:()=>lAe,captureStackTrace:()=>DA,cached:()=>v0,base64urlToUint8Array:()=>cAe,base64ToUint8Array:()=>dY,assignProp:()=>Sl,assertNotEqual:()=>HCe,assertNever:()=>VCe,assertIs:()=>WCe,assertEqual:()=>ZCe,assert:()=>GCe,allowsEval:()=>oY,aborted:()=>Hc,NUMBER_FORMAT_RANGES:()=>lY,Class:()=>gA,BIGINT_FORMAT_RANGES:()=>cY});function ZCe(e){return e}function HCe(e){return e}function WCe(e){}function VCe(e){throw Error("Unexpected value in exhaustive check")}function GCe(e){}function EA(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,i])=>t.indexOf(+n)===-1).map(([n,i])=>i)}function me(e,t="|"){return e.map(n=>et(n)).join(t)}function gk(e,t){return typeof t=="bigint"?t.toString():t}function v0(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}throw Error("cached value already set")}}}function qc(e){return e==null}function $k(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function rY(e,t){let n=(e.toString().split(".")[1]||"").length,i=t.toString(),r=(i.split(".")[1]||"").length;if(r===0&&/\d?e-\d?/.test(i)){let l=i.match(/\d?e-(\d?)/);l?.[1]&&(r=Number.parseInt(l[1]))}let o=n>r?n:r,a=Number.parseInt(e.toFixed(o).replace(".","")),s=Number.parseInt(t.toFixed(o).replace(".",""));return a%s/10**o}var PJ=Symbol("evaluating");function $t(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==PJ)return i===void 0&&(i=PJ,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function qCe(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Sl(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function eu(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}function JCe(e){return eu(e._zod.def)}function YCe(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}function KCe(e){let t=Object.keys(e),n=t.map(i=>e[i]);return Promise.all(n).then(i=>{let r={};for(let o=0;o<t.length;o++)r[t[o]]=i[o];return r})}function XCe(e=10){let t="";for(let n=0;n<e;n++)t+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return t}function hA(e){return JSON.stringify(e)}function iY(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var DA="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function mp(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var oY=v0(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch{return!1}});function Wc(e){if(mp(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(mp(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function aY(e){return Wc(e)?{...e}:Array.isArray(e)?[...e]:e}function QCe(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var eAe=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw Error(`Unknown data type: ${t}`)}},vk=new Set(["string","number","symbol"]),sY=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Xs(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Bo(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}function be(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function tAe(e){let t;return new Proxy({},{get(n,i,r){return t??(t=e()),Reflect.get(t,i,r)},set(n,i,r,o){return t??(t=e()),Reflect.set(t,i,r,o)},has(n,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(n,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(n,i,r){return t??(t=e()),Reflect.defineProperty(t,i,r)}})}function et(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function uY(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var lY={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},cY={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function nAe(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let r=eu(e._zod.def,{get shape(){let o={};for(let a in t){if(!(a in n.shape))throw Error(`Unrecognized key: "${a}"`);t[a]&&(o[a]=n.shape[a])}return Sl(this,"shape",o),o},checks:[]});return Bo(e,r)}function rAe(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let r=eu(e._zod.def,{get shape(){let o={...e._zod.def.shape};for(let a in t){if(!(a in n.shape))throw Error(`Unrecognized key: "${a}"`);t[a]&&delete o[a]}return Sl(this,"shape",o),o},checks:[]});return Bo(e,r)}function iAe(e,t){if(!Wc(t))throw Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let r=e._zod.def.shape;for(let o in t)if(Object.getOwnPropertyDescriptor(r,o)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let i=eu(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return Sl(this,"shape",r),r}});return Bo(e,i)}function oAe(e,t){if(!Wc(t))throw Error("Invalid input to safeExtend: expected a plain object");let n=eu(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return Sl(this,"shape",i),i}});return Bo(e,n)}function aAe(e,t){let n=eu(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return Sl(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:[]});return Bo(e,n)}function sAe(e,t,n){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let r=eu(t._zod.def,{get shape(){let o=t._zod.def.shape,a={...o};if(n)for(let s in n){if(!(s in o))throw Error(`Unrecognized key: "${s}"`);n[s]&&(a[s]=e?new e({type:"optional",innerType:o[s]}):o[s])}else for(let s in o)a[s]=e?new e({type:"optional",innerType:o[s]}):o[s];return Sl(this,"shape",a),a},checks:[]});return Bo(t,r)}function uAe(e,t,n){let i=eu(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let a in n){if(!(a in o))throw Error(`Unrecognized key: "${a}"`);n[a]&&(o[a]=new e({type:"nonoptional",innerType:r[a]}))}else for(let a in r)o[a]=new e({type:"nonoptional",innerType:r[a]});return Sl(this,"shape",o),o}});return Bo(t,i)}function Hc(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ka(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}function c0(e){return typeof e=="string"?e:e?.message}function jo(e,t,n){let i={...e,path:e.path??[]};if(!e.message){let r=c0(e.inst?._zod.def?.error?.(e))??c0(t?.error?.(e))??c0(n.customError?.(e))??c0(n.localeError?.(e))??"Invalid input";i.message=r}return delete i.inst,delete i.continue,!t?.reportInput&&delete i.input,i}function Sk(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Ik(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function ot(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function yk(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}function lAe(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function dY(e){let t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}function fY(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function cAe(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return dY(t+n)}function dAe(e){return fY(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function fAe(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)n[i/2]=Number.parseInt(t.slice(i,i+2),16);return n}function pAe(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var gA=class{constructor(...t){}},pY=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,gk,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},$A=V("$ZodError",pY),ao=V("$ZodError",pY,{Parent:Error});function SA(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}function IA(e,t=n=>n.message){let n={_errors:[]},i=r=>{for(let o of r.issues)if(o.code==="invalid_union"&&o.errors.length)o.errors.map(a=>i({issues:a}));else if(o.code==="invalid_key")i({issues:o.issues});else if(o.code==="invalid_element")i({issues:o.issues});else if(o.path.length===0)n._errors.push(t(o));else{let a=n,s=0;for(;s<o.path.length;){let l=o.path[s];s!==o.path.length-1?a[l]=a[l]||{_errors:[]}:(a[l]=a[l]||{_errors:[]},a[l]._errors.push(t(o))),a=a[l],s++}}};return i(e),n}function mY(e,t=n=>n.message){let n={errors:[]},i=(r,o=[])=>{var a,s;for(let l of r.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(c=>i({issues:c},l.path));else if(l.code==="invalid_key")i({issues:l.issues},l.path);else if(l.code==="invalid_element")i({issues:l.issues},l.path);else{let c=[...o,...l.path];if(c.length===0){n.errors.push(t(l));continue}let f=n,p=0;for(;p<c.length;){let h=c[p],v=p===c.length-1;typeof h=="string"?(f.properties??(f.properties={}),(a=f.properties)[h]??(a[h]={errors:[]}),f=f.properties[h]):(f.items??(f.items=[]),(s=f.items)[h]??(s[h]={errors:[]}),f=f.items[h]),v&&f.errors.push(t(l)),p++}}};return i(e),n}function hY(e){let t=[],n=e.map(i=>typeof i=="object"?i.key:i);for(let i of n)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}function gY(e){let t=[],n=[...e.issues].sort((i,r)=>(i.path??[]).length-(r.path??[]).length);for(let i of n)t.push(`\u2716 ${i.message}`),i.path?.length&&t.push(` \u2192 at ${hY(i.path)}`);return t.join(`
2859
2859
  `)}var y0=e=>(t,n,i,r)=>{let o=i?Object.assign(i,{async:!1}):{async:!1},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new Ks;if(a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>jo(l,o,Yr())));throw DA(s,r?.callee),s}return a.value},vA=y0(ao),b0=e=>async(t,n,i,r)=>{let o=i?Object.assign(i,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>jo(l,o,Yr())));throw DA(s,r?.callee),s}return a.value},yA=b0(ao),_0=e=>(t,n,i)=>{let r=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},r);if(o instanceof Promise)throw new Ks;return o.issues.length?{success:!1,error:new(e??$A)(o.issues.map(a=>jo(a,r,Yr())))}:{success:!0,data:o.value}},vY=_0(ao),x0=e=>async(t,n,i)=>{let r=i?Object.assign(i,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},r);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(a=>jo(a,r,Yr())))}:{success:!0,data:o.value}},yY=x0(ao),TA=e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return y0(e)(t,n,r)},mAe=TA(ao),CA=e=>(t,n,i)=>y0(e)(t,n,i),hAe=CA(ao),AA=e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return b0(e)(t,n,r)},gAe=AA(ao),NA=e=>async(t,n,i)=>b0(e)(t,n,i),vAe=NA(ao),OA=e=>(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return _0(e)(t,n,r)},yAe=OA(ao),zA=e=>(t,n,i)=>_0(e)(t,n,i),bAe=zA(ao),PA=e=>async(t,n,i)=>{let r=i?Object.assign(i,{direction:"backward"}):{direction:"backward"};return x0(e)(t,n,r)},_Ae=PA(ao),RA=e=>async(t,n,i)=>x0(e)(t,n,i),xAe=RA(ao),Jc={};Qs(Jc,{xid:()=>kY,uuid7:()=>DAe,uuid6:()=>EAe,uuid4:()=>wAe,uuid:()=>hp,uppercase:()=>JY,unicodeEmail:()=>IY,undefined:()=>GY,ulid:()=>xY,time:()=>UY,string:()=>BY,sha512_hex:()=>VAe,sha512_base64url:()=>qAe,sha512_base64:()=>GAe,sha384_hex:()=>ZAe,sha384_base64url:()=>WAe,sha384_base64:()=>HAe,sha256_hex:()=>UAe,sha256_base64url:()=>BAe,sha256_base64:()=>jAe,sha1_hex:()=>LAe,sha1_base64url:()=>MAe,sha1_base64:()=>FAe,rfc5322Email:()=>SAe,number:()=>FA,null:()=>VY,nanoid:()=>EY,md5_hex:()=>zAe,md5_base64url:()=>RAe,md5_base64:()=>PAe,mac:()=>NY,lowercase:()=>qY,ksuid:()=>wY,ipv6:()=>AY,ipv4:()=>CY,integer:()=>HY,idnEmail:()=>IAe,html5Email:()=>$Ae,hostname:()=>AAe,hex:()=>OAe,guid:()=>$Y,extendedDuration:()=>kAe,emoji:()=>TY,email:()=>SY,e164:()=>RY,duration:()=>DY,domain:()=>NAe,datetime:()=>jY,date:()=>FY,cuid2:()=>_Y,cuid:()=>bY,cidrv6:()=>zY,cidrv4:()=>OY,browserEmail:()=>TAe,boolean:()=>WY,bigint:()=>ZY,base64url:()=>LA,base64:()=>PY});var bY=/^[cC][^\s-]{8,}$/,_Y=/^[0-9a-z]+$/,xY=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,kY=/^[0-9a-vA-V]{20}$/,wY=/^[A-Za-z0-9]{27}$/,EY=/^[a-zA-Z0-9_-]{21}$/,DY=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,kAe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,$Y=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,hp=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,wAe=hp(4),EAe=hp(6),DAe=hp(7),SY=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,$Ae=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,SAe=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,IY=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,IAe=IY,TAe=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,CAe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function TY(){return new RegExp(CAe,"u")}var CY=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,AY=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,NY=e=>{let t=Xs(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},OY=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,zY=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,PY=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,LA=/^[A-Za-z0-9_-]*$/,AAe=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,NAe=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,RY=/^\+[1-9]\d{6,14}$/,LY="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",FY=new RegExp(`^${LY}$`);function MY(e){return typeof e.precision=="number"?e.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":e.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${e.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function UY(e){return new RegExp(`^${MY(e)}$`)}function jY(e){let t=MY({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let i=`${t}(?:${n.join("|")})`;return new RegExp(`^${LY}T(?:${i})$`)}var BY=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},ZY=/^-?\d+n?$/,HY=/^-?\d+$/,FA=/^-?\d+(?:\.\d+)?$/,WY=/^(?:true|false)$/i,VY=/^null$/i,GY=/^undefined$/i,qY=/^[^A-Z]*$/,JY=/^[^a-z]*$/,OAe=/^[0-9a-fA-F]*$/;function k0(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function w0(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var zAe=/^[0-9a-fA-F]{32}$/,PAe=k0(22,"=="),RAe=w0(22),LAe=/^[0-9a-fA-F]{40}$/,FAe=k0(27,"="),MAe=w0(27),UAe=/^[0-9a-fA-F]{64}$/,jAe=k0(43,"="),BAe=w0(43),ZAe=/^[0-9a-fA-F]{96}$/,HAe=k0(64,""),WAe=w0(64),VAe=/^[0-9a-fA-F]{128}$/,GAe=k0(86,"=="),qAe=w0(86),Nn=V("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),YY={number:"number",bigint:"bigint",object:"date"},MA=V("$ZodCheckLessThan",(e,t)=>{Nn.init(e,t);let n=YY[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),UA=V("$ZodCheckGreaterThan",(e,t)=>{Nn.init(e,t);let n=YY[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),KY=V("$ZodCheckMultipleOf",(e,t)=>{Nn.init(e,t),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):rY(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),XY=V("$ZodCheckNumberFormat",(e,t)=>{Nn.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=lY[t.format];e._zod.onattach.push(a=>{let s=a._zod.bag;s.format=t.format,s.minimum=r,s.maximum=o,n&&(s.pattern=HY)}),e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),QY=V("$ZodCheckBigIntFormat",(e,t)=>{Nn.init(e,t);let[n,i]=cY[t.format];e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,o.minimum=n,o.maximum=i}),e._zod.check=r=>{let o=r.value;o<n&&r.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),o>i&&r.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),eK=V("$ZodCheckMaxSize",(e,t)=>{var n;Nn.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!qc(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:Sk(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tK=V("$ZodCheckMinSize",(e,t)=>{var n;Nn.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!qc(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:Sk(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),nK=V("$ZodCheckSizeEquals",(e,t)=>{var n;Nn.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!qc(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=i=>{let r=i.value,o=r.size;if(o===t.size)return;let a=o>t.size;i.issues.push({origin:Sk(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),rK=V("$ZodCheckMaxLength",(e,t)=>{var n;Nn.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!qc(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;if(r.length<=t.maximum)return;let o=Ik(r);i.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),iK=V("$ZodCheckMinLength",(e,t)=>{var n;Nn.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!qc(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;if(r.length>=t.minimum)return;let o=Ik(r);i.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),oK=V("$ZodCheckLengthEquals",(e,t)=>{var n;Nn.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!qc(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=i=>{let r=i.value,o=r.length;if(o===t.length)return;let a=Ik(r),s=o>t.length;i.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),E0=V("$ZodCheckStringFormat",(e,t)=>{var n,i;Nn.init(e,t),e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),aK=V("$ZodCheckRegex",(e,t)=>{E0.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),sK=V("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=qY),E0.init(e,t)}),uK=V("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=JY),E0.init(e,t)}),lK=V("$ZodCheckIncludes",(e,t)=>{Nn.init(e,t);let n=Xs(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=i,e._zod.onattach.push(r=>{let o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),cK=V("$ZodCheckStartsWith",(e,t)=>{Nn.init(e,t);let n=new RegExp(`^${Xs(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),dK=V("$ZodCheckEndsWith",(e,t)=>{Nn.init(e,t);let n=new RegExp(`.*${Xs(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(n)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function RJ(e,t,n){e.issues.length&&t.issues.push(...ka(n,e.issues))}var fK=V("$ZodCheckProperty",(e,t)=>{Nn.init(e,t),e._zod.check=n=>{let i=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(r=>RJ(r,n,t.property));RJ(i,n,t.property)}}),pK=V("$ZodCheckMimeType",(e,t)=>{Nn.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),mK=V("$ZodCheckOverwrite",(e,t)=>{Nn.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}}),bk=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let n=t.split(`
2860
2860
  `).filter(o=>o),i=Math.min(...n.map(o=>o.length-o.trimStart().length)),r=n.map(o=>o.slice(i)).map(o=>" ".repeat(this.indent*2)+o);for(let o of r)this.content.push(o)}compile(){let t=Function,n=this?.args,i=[...(this?.content??[""]).map(r=>` ${r}`)];return new t(...n,i.join(`
2861
2861
  `))}},hK={major:4,minor:3,patch:5},dt=V("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=hK;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let r of i)for(let o of r._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(a,s,l)=>{let c=Hc(a),f;for(let p of s){if(p._zod.def.when){if(!p._zod.def.when(a))continue}else if(c)continue;let h=a.issues.length,v=p._zod.check(a);if(v instanceof Promise&&l?.async===!1)throw new Ks;if(f||v instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await v,a.issues.length!==h&&(c||(c=Hc(a,h)))});else{if(a.issues.length===h)continue;c||(c=Hc(a,h))}}return f?f.then(()=>a):a},o=(a,s,l)=>{if(Hc(a))return a.aborted=!0,a;let c=r(s,i,l);if(c instanceof Promise){if(l.async===!1)throw new Ks;return c.then(f=>e._zod.parse(f,l))}return e._zod.parse(c,l)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){let c=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(f=>o(f,a,s)):o(c,a,s)}let l=e._zod.parse(a,s);if(l instanceof Promise){if(s.async===!1)throw new Ks;return l.then(c=>r(c,i,s))}return r(l,i,s)}}$t(e,"~standard",()=>({validate:r=>{try{let o=vY(e,r);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return yY(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),D0=V("$ZodString",(e,t)=>{dt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??BY(e._zod.bag),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),fn=V("$ZodStringFormat",(e,t)=>{E0.init(e,t),D0.init(e,t)}),gK=V("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=$Y),fn.init(e,t)}),vK=V("$ZodUUID",(e,t)=>{if(t.version){let n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=hp(n))}else t.pattern??(t.pattern=hp());fn.init(e,t)}),yK=V("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=SY),fn.init(e,t)}),bK=V("$ZodURL",(e,t)=>{fn.init(e,t),e._zod.check=n=>{try{let i=n.value.trim(),r=new URL(i);t.hostname&&(t.hostname.lastIndex=0,!t.hostname.test(r.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,!t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),_K=V("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=TY()),fn.init(e,t)}),xK=V("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=EY),fn.init(e,t)}),kK=V("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=bY),fn.init(e,t)}),wK=V("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=_Y),fn.init(e,t)}),EK=V("$ZodULID",(e,t)=>{t.pattern??(t.pattern=xY),fn.init(e,t)}),DK=V("$ZodXID",(e,t)=>{t.pattern??(t.pattern=kY),fn.init(e,t)}),$K=V("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=wY),fn.init(e,t)}),SK=V("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=jY(t)),fn.init(e,t)}),IK=V("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=FY),fn.init(e,t)}),TK=V("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=UY(t)),fn.init(e,t)}),CK=V("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=DY),fn.init(e,t)}),AK=V("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=CY),fn.init(e,t),e._zod.bag.format="ipv4"}),NK=V("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=AY),fn.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),OK=V("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=NY(t.delimiter)),fn.init(e,t),e._zod.bag.format="mac"}),zK=V("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=OY),fn.init(e,t)}),PK=V("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=zY),fn.init(e,t),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw Error();let[r,o]=i;if(!o)throw Error();let a=Number(o);if(`${a}`!==o||a<0||a>128)throw Error();new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function jA(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var RK=V("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=PY),fn.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{jA(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function LK(e){if(!LA.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return jA(n)}var FK=V("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=LA),fn.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{LK(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),MK=V("$ZodE164",(e,t)=>{t.pattern??(t.pattern=RY),fn.init(e,t)});function UK(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}var jK=V("$ZodJWT",(e,t)=>{fn.init(e,t),e._zod.check=n=>{UK(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),BK=V("$ZodCustomStringFormat",(e,t)=>{fn.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),BA=V("$ZodNumber",(e,t)=>{dt.init(e,t),e._zod.pattern=e._zod.bag.pattern??FA,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let o=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),ZK=V("$ZodNumberFormat",(e,t)=>{XY.init(e,t),BA.init(e,t)}),ZA=V("$ZodBoolean",(e,t)=>{dt.init(e,t),e._zod.pattern=WY,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),HA=V("$ZodBigInt",(e,t)=>{dt.init(e,t),e._zod.pattern=ZY,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),HK=V("$ZodBigIntFormat",(e,t)=>{QY.init(e,t),HA.init(e,t)}),WK=V("$ZodSymbol",(e,t)=>{dt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),VK=V("$ZodUndefined",(e,t)=>{dt.init(e,t),e._zod.pattern=GY,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),GK=V("$ZodNull",(e,t)=>{dt.init(e,t),e._zod.pattern=VY,e._zod.values=new Set([null]),e._zod.parse=(n,i)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),qK=V("$ZodAny",(e,t)=>{dt.init(e,t),e._zod.parse=n=>n}),JK=V("$ZodUnknown",(e,t)=>{dt.init(e,t),e._zod.parse=n=>n}),YK=V("$ZodNever",(e,t)=>{dt.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),KK=V("$ZodVoid",(e,t)=>{dt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),XK=V("$ZodDate",(e,t)=>{dt.init(e,t),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,o=r instanceof Date;return o&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...o?{received:"Invalid Date"}:{},inst:e}),n}});function LJ(e,t,n){e.issues.length&&t.issues.push(...ka(n,e.issues)),t.value[n]=e.value}var QK=V("$ZodArray",(e,t)=>{dt.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let o=[];for(let a=0;a<r.length;a++){let s=r[a],l=t.element._zod.run({value:s,issues:[]},i);l instanceof Promise?o.push(l.then(c=>LJ(c,n,a))):LJ(l,n,a)}return o.length?Promise.all(o).then(()=>n):n}});function _k(e,t,n,i,r){if(e.issues.length){if(r&&!(n in i))return;t.issues.push(...ka(n,e.issues))}e.value===void 0?n in i&&(t.value[n]=void 0):t.value[n]=e.value}function eX(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${i}": expected a Zod schema`);let n=uY(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function tX(e,t,n,i,r,o){let a=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,f=l.optout==="optional";for(let p in t){if(s.has(p))continue;if(c==="never"){a.push(p);continue}let h=l.run({value:t[p],issues:[]},i);h instanceof Promise?e.push(h.then(v=>_k(v,n,p,t,f))):_k(h,n,p,t,f)}return a.length&&n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>n):n}var nX=V("$ZodObject",(e,t)=>{if(dt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let a=t.shape;Object.defineProperty(t,"shape",{get:()=>{let s={...a};return Object.defineProperty(t,"shape",{value:s}),s}})}let n=v0(()=>eX(t));$t(e._zod,"propValues",()=>{let a=t.shape,s={};for(let l in a){let c=a[l]._zod;if(c.values){s[l]??(s[l]=new Set);for(let f of c.values)s[l].add(f)}}return s});let i=mp,r=t.catchall,o;e._zod.parse=(a,s)=>{o??(o=n.value);let l=a.value;if(!i(l))return a.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),a;a.value={};let c=[],f=o.shape;for(let p of o.keys){let h=f[p],v=h._zod.optout==="optional",b=h._zod.run({value:l[p],issues:[]},s);b instanceof Promise?c.push(b.then(k=>_k(k,a,p,l,v))):_k(b,a,p,l,v)}return r?tX(c,l,a,s,n.value,e):c.length?Promise.all(c).then(()=>a):a}}),rX=V("$ZodObjectJIT",(e,t)=>{nX.init(e,t);let n=e._zod.parse,i=v0(()=>eX(t)),r=p=>{let h=new bk(["shape","payload","ctx"]),v=i.value,b=E=>{let w=hA(E);return`shape[${w}]._zod.run({ value: input[${w}], issues: [] }, ctx)`};h.write("const input = payload.value;");let k=Object.create(null),$=0;for(let E of v.keys)k[E]=`key_${$++}`;h.write("const newResult = {};");for(let E of v.keys){let w=k[E],T=hA(E),M=p[E]?._zod?.optout==="optional";h.write(`const ${w} = ${b(E)};`),M?h.write(`
@@ -3116,7 +3116,7 @@ container holding the app. Specify either width or maxWidth, and either height o
3116
3116
  ${g.typography.shared.desktop.bodyM};
3117
3117
  color: ${g.color.neutral.text};
3118
3118
  margin: 0;
3119
- `;function ine(e,t){let n=e.startedAt,i=e.finishedAt,r=EN(n,i),o=e.actorName||"Unknown Actor",a=one(o),s=$N(a),l=ane(o),c=typeof t?.usageTotalUsd=="number"?t.usageTotalUsd:void 0;return{runId:e.runId,actorName:s,actorFullName:o,actorDeveloperUsername:l,status:e.status||"RUNNING",startedAt:n,finishedAt:i,timestamp:DN(n),duration:r,cost:c,stats:e.stats,dataset:e.dataset}}var sne=()=>{let{app:e,toolResult:t}=Il(),n=Jte(),i=t?._meta??null,r=XOe(),o=Kte(t),[a,s]=(0,Kc.useState)(null),[l,c]=(0,Kc.useState)(void 0);if((0,Kc.useEffect)(()=>{if(a)return;if(n?.runId){s(ine(n,i));return}if(!r||!e)return;let v=!1;return(async()=>{try{let k=await e.callServerTool({name:"get-actor-run",arguments:{runId:r}});if(v)return;let $=k?.structuredContent;if($?.runId){let x=k?._meta;s(ine($,x))}}catch(k){v||console.error("[ActorRun] Failed to fetch run by runId:",k)}})(),()=>{v=!0}},[n,a,i,r,e]),(0,Kc.useEffect)(()=>{if(!e||!a?.actorFullName||l!==void 0)return;(async()=>{try{let b=await e.callServerTool({name:"fetch-actor-details",arguments:{actor:a.actorFullName}});if(b?.structuredContent){let k=b.structuredContent;if(k.actorInfo){let $=k.actorInfo;c($.pictureUrl)}}}catch(b){console.error("[ActorRun] Failed to fetch actor details:",b)}})()},[a?.actorFullName,l,e]),(0,Kc.useEffect)(()=>{if(!e||!a?.runId)return;let v=(a.status||"").toUpperCase();if(ene.has(v))return;let b=!1,k=0,$=0,x=w=>{let T=Math.floor(w/2)*5+5;return Math.min(T*1e3,6e4)};return(async()=>{for(;!b&&(await JOe(x(k)),!b);)try{let w=await e.callServerTool({name:"get-actor-run",arguments:{runId:a.runId}});if(w.structuredContent){let T=w.structuredContent,M=T.startedAt,A=T.finishedAt,j=EN(M,A),X=T.actorName||a.actorFullName,se=one(X),F=$N(se),De=ane(X),Ee=typeof w._meta?.usageTotalUsd=="number"?w._meta.usageTotalUsd:void 0,ve={runId:T.runId,actorName:F,actorFullName:X,actorDeveloperUsername:De,status:T.status||"RUNNING",startedAt:M,finishedAt:A,timestamp:DN(M),duration:j,cost:Ee,stats:T.stats,dataset:T.dataset};s(ve);let ye=(T.status||"").toUpperCase();if(ene.has(ye)){let $e=[`Actor run ${a.runId} finished with status: ${ye}.`,T.dataset?.datasetId?`Dataset ID: ${T.dataset.datasetId}`:null,T.dataset?.itemCount!=null?`Items scraped: ${T.dataset.itemCount}`:null].filter(Boolean).join(" ");await e.updateModelContext({content:[{type:"text",text:$e}]}).catch(()=>{});break}}k++,$=0}catch(w){if(console.error("[Auto-poll] Error:",w),$++,$>=3||w instanceof Error&&(w.message.includes("401")||w.message.includes("Unauthorized")))break}})(),()=>{b=!0}},[a?.runId,a?.status,e]),!a)return(0,ut.jsx)(xN,{children:(0,ut.jsx)(tne,{children:(0,ut.jsx)(rne,{children:o?(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(dl,{variant:"danger",size:"small",LeadingIcon:Oy,children:"Failed"}),(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.text},children:o})]}):(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.textMuted},children:"Loading Actor run data ..."})})})});let f=a.dataset?.previewItems.length?Object.keys(a.dataset.previewItems[0]):[],p=()=>{a&&e&&e.openLink({url:`https://console.apify.com/actors/runs/${a.runId}`})},h=()=>{a&&e&&e.openLink({url:`https://apify.com/${a.actorFullName}`})};return(0,ut.jsxs)(xN,{children:[(0,ut.jsxs)(tne,{children:[(0,ut.jsx)(QOe,{children:(0,ut.jsxs)(dze,{children:[(0,ut.jsxs)(fze,{children:[(0,ut.jsx)(p2,{size:20,name:a.actorName,url:l}),(0,ut.jsx)(eze,{onClick:h,children:a.actorName})]}),(0,ut.jsxs)(pze,{children:[(0,ut.jsx)(dl,{variant:YOe(a.status),size:"small",LeadingIcon:KOe(a.status),children:a.status.charAt(0)+a.status.slice(1).toLowerCase()}),(0,ut.jsxs)(tze,{children:[typeof a.cost=="number"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsxs)(IN,{type:"body",size:"small",as:"span",children:["$",a.cost.toFixed(3)]}),(0,ut.jsx)(nne,{children:"|"})]}),(0,ut.jsx)(IN,{type:"body",size:"small",as:"span",children:a.timestamp}),(0,ut.jsx)(nne,{children:"|"}),(0,ut.jsx)(IN,{type:"body",size:"small",as:"span",children:a.duration})]})]})]})}),a.dataset&&a.dataset.previewItems.length>0?(0,ut.jsx)(ut.Fragment,{children:(0,ut.jsxs)(nze,{children:[(0,ut.jsxs)(ize,{children:[(0,ut.jsx)(oze,{children:(0,ut.jsx)("tr",{children:f.map(v=>(0,ut.jsx)(aze,{children:v.charAt(0).toUpperCase()+v.slice(1)},v))})}),(0,ut.jsx)(sze,{children:a.dataset.previewItems.map((v,b)=>(0,ut.jsx)(uze,{children:f.map(k=>(0,ut.jsx)(lze,{children:v[k]==null?"\u2014":typeof v[k]=="object"?`${Object.keys(v[k]).length} fields`:String(v[k])||"\u2014"},k))},b))})]}),a.dataset.previewItems.length>3&&(0,ut.jsx)(rze,{})]})}):a.status.toUpperCase()==="RUNNING"?(0,ut.jsx)(Qte,{}):(0,ut.jsx)(rne,{children:a.status.toUpperCase()==="READY"?(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.textMuted},children:"The Actor is ready to run."}):(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.textMuted},children:"No results available."})}),(0,ut.jsx)(cze,{children:(0,ut.jsx)(Yl,{onClick:p,variant:"secondary",size:"small",children:"View on Apify"})})]}),a.status.toUpperCase()==="SUCCEEDED"&&a&&a.dataset&&a.dataset.itemCount>0&&(0,ut.jsxs)(mze,{children:["The ",a.actorName," found ",a.dataset.itemCount," result",a.dataset.itemCount!==1?"s":"",". You can visit results via the provided link."]})]})};var hze=`*, ::before, ::after {
3119
+ `;function ine(e,t){let n=e.startedAt,i=e.finishedAt,r=EN(n,i),o=e.actorName||"Unknown Actor",a=one(o),s=$N(a),l=ane(o),c=typeof t?.usageTotalUsd=="number"?t.usageTotalUsd:void 0;return{runId:e.runId,actorName:s,actorFullName:o,actorDeveloperUsername:l,status:e.status||"RUNNING",startedAt:n,finishedAt:i,timestamp:DN(n),duration:r,cost:c,stats:e.stats,dataset:e.dataset}}var sne=()=>{let{app:e,toolResult:t}=Il(),n=Jte(),i=t?._meta??null,r=XOe(),o=Kte(t),[a,s]=(0,Kc.useState)(null),[l,c]=(0,Kc.useState)(void 0);if((0,Kc.useEffect)(()=>{if(a)return;if(n?.runId){s(ine(n,i));return}if(!r||!e)return;let v=!1;return(async()=>{try{let k=await e.callServerTool({name:"get-actor-run",arguments:{runId:r}});if(v)return;let $=k?.structuredContent;if($?.runId){let x=k?._meta;s(ine($,x))}}catch(k){v||console.error("[ActorRun] Failed to fetch run by runId:",k)}})(),()=>{v=!0}},[n,a,i,r,e]),(0,Kc.useEffect)(()=>{if(!e||!a?.actorFullName||l!==void 0)return;(async()=>{try{let b=await e.callServerTool({name:"fetch-actor-details",arguments:{actor:a.actorFullName}});if(b?.structuredContent){let k=b.structuredContent;if(k.actorInfo){let $=k.actorInfo;c($.pictureUrl)}}}catch(b){console.error("[ActorRun] Failed to fetch actor details:",b)}})()},[a?.actorFullName,l,e]),(0,Kc.useEffect)(()=>{if(!e||!a?.runId)return;let v=(a.status||"").toUpperCase();if(ene.has(v))return;let b=!1,k=0,$=0,x=w=>{let T=Math.floor(w/2)*5+5;return Math.min(T*1e3,6e4)};return(async()=>{for(;!b&&(await JOe(x(k)),!b);)try{let w=await e.callServerTool({name:"get-actor-run",arguments:{runId:a.runId}});if(w.structuredContent){let T=w.structuredContent,M=T.startedAt,A=T.finishedAt,j=EN(M,A),X=T.actorName||a.actorFullName,se=one(X),F=$N(se),De=ane(X),Ee=typeof w._meta?.usageTotalUsd=="number"?w._meta.usageTotalUsd:void 0,ve={runId:T.runId,actorName:F,actorFullName:X,actorDeveloperUsername:De,status:T.status||"RUNNING",startedAt:M,finishedAt:A,timestamp:DN(M),duration:j,cost:Ee,stats:T.stats,dataset:T.dataset};s(ve);let ye=(T.status||"").toUpperCase();if(ene.has(ye)){let $e=[`Actor run ${a.runId} finished with status: ${ye}.`,T.dataset?.datasetId?`Dataset ID: ${T.dataset.datasetId}`:null,T.dataset?.totalItemCount!=null?`Items scraped: ${T.dataset.totalItemCount}`:null].filter(Boolean).join(" ");await e.updateModelContext({content:[{type:"text",text:$e}]}).catch(()=>{});break}}k++,$=0}catch(w){if(console.error("[Auto-poll] Error:",w),$++,$>=3||w instanceof Error&&(w.message.includes("401")||w.message.includes("Unauthorized")))break}})(),()=>{b=!0}},[a?.runId,a?.status,e]),!a)return(0,ut.jsx)(xN,{children:(0,ut.jsx)(tne,{children:(0,ut.jsx)(rne,{children:o?(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(dl,{variant:"danger",size:"small",LeadingIcon:Oy,children:"Failed"}),(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.text},children:o})]}):(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.textMuted},children:"Loading Actor run data ..."})})})});let f=a.dataset?.previewItems.length?Object.keys(a.dataset.previewItems[0]):[],p=()=>{a&&e&&e.openLink({url:`https://console.apify.com/actors/runs/${a.runId}`})},h=()=>{a&&e&&e.openLink({url:`https://apify.com/${a.actorFullName}`})};return(0,ut.jsxs)(xN,{children:[(0,ut.jsxs)(tne,{children:[(0,ut.jsx)(QOe,{children:(0,ut.jsxs)(dze,{children:[(0,ut.jsxs)(fze,{children:[(0,ut.jsx)(p2,{size:20,name:a.actorName,url:l}),(0,ut.jsx)(eze,{onClick:h,children:a.actorName})]}),(0,ut.jsxs)(pze,{children:[(0,ut.jsx)(dl,{variant:YOe(a.status),size:"small",LeadingIcon:KOe(a.status),children:a.status.charAt(0)+a.status.slice(1).toLowerCase()}),(0,ut.jsxs)(tze,{children:[typeof a.cost=="number"&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsxs)(IN,{type:"body",size:"small",as:"span",children:["$",a.cost.toFixed(3)]}),(0,ut.jsx)(nne,{children:"|"})]}),(0,ut.jsx)(IN,{type:"body",size:"small",as:"span",children:a.timestamp}),(0,ut.jsx)(nne,{children:"|"}),(0,ut.jsx)(IN,{type:"body",size:"small",as:"span",children:a.duration})]})]})]})}),a.dataset&&a.dataset.previewItems.length>0?(0,ut.jsx)(ut.Fragment,{children:(0,ut.jsxs)(nze,{children:[(0,ut.jsxs)(ize,{children:[(0,ut.jsx)(oze,{children:(0,ut.jsx)("tr",{children:f.map(v=>(0,ut.jsx)(aze,{children:v.charAt(0).toUpperCase()+v.slice(1)},v))})}),(0,ut.jsx)(sze,{children:a.dataset.previewItems.map((v,b)=>(0,ut.jsx)(uze,{children:f.map(k=>(0,ut.jsx)(lze,{children:v[k]==null?"\u2014":typeof v[k]=="object"?`${Object.keys(v[k]).length} fields`:String(v[k])||"\u2014"},k))},b))})]}),a.dataset.previewItems.length>3&&(0,ut.jsx)(rze,{})]})}):a.status.toUpperCase()==="RUNNING"?(0,ut.jsx)(Qte,{}):(0,ut.jsx)(rne,{children:a.status.toUpperCase()==="READY"?(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.textMuted},children:"The Actor is ready to run."}):(0,ut.jsx)(Ot,{type:"body",size:"small",style:{color:g.color.neutral.textMuted},children:"No results available."})}),(0,ut.jsx)(cze,{children:(0,ut.jsx)(Yl,{onClick:p,variant:"secondary",size:"small",children:"View on Apify"})})]}),a.status.toUpperCase()==="SUCCEEDED"&&a&&a.dataset&&a.dataset.totalItemCount>0&&(0,ut.jsxs)(mze,{children:["The ",a.actorName," found ",a.dataset.totalItemCount," result",a.dataset.totalItemCount!==1?"s":"",". You can visit results via the provided link."]})]})};var hze=`*, ::before, ::after {
3120
3120
  --tw-border-spacing-x: 0;
3121
3121
  --tw-border-spacing-y: 0;
3122
3122
  --tw-translate-x: 0;