diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml deleted file mode 100644 index de8f713..0000000 --- a/.github/workflows/actions.yaml +++ /dev/null @@ -1,35 +0,0 @@ -name: Generate and push JSON schema list - -on: - push: - branches: - - dev - -jobs: - generate-and-push-json: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.9' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Generate JSON - run: python index_contents.py - - - name: Commit and push changes - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add . - git commit -m "Generated JSON schema list" - git push diff --git a/docs/CNAME b/docs/CNAME deleted file mode 100644 index 6a7235f..0000000 --- a/docs/CNAME +++ /dev/null @@ -1 +0,0 @@ -schema.databio.org \ No newline at end of file diff --git a/docs/assets/index--x-03KGc.js b/docs/assets/index--x-03KGc.js deleted file mode 100644 index 4b093a9..0000000 --- a/docs/assets/index--x-03KGc.js +++ /dev/null @@ -1,80 +0,0 @@ -function hd(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function md(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vd={exports:{}},pl={},gd={exports:{}},J={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var bi=Symbol.for("react.element"),Xm=Symbol.for("react.portal"),Zm=Symbol.for("react.fragment"),Jm=Symbol.for("react.strict_mode"),qm=Symbol.for("react.profiler"),ev=Symbol.for("react.provider"),tv=Symbol.for("react.context"),nv=Symbol.for("react.forward_ref"),rv=Symbol.for("react.suspense"),iv=Symbol.for("react.memo"),ov=Symbol.for("react.lazy"),dc=Symbol.iterator;function lv(e){return e===null||typeof e!="object"?null:(e=dc&&e[dc]||e["@@iterator"],typeof e=="function"?e:null)}var yd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sd=Object.assign,wd={};function Lr(e,t,n){this.props=e,this.context=t,this.refs=wd,this.updater=n||yd}Lr.prototype.isReactComponent={};Lr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Lr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Cd(){}Cd.prototype=Lr.prototype;function Qu(e,t,n){this.props=e,this.context=t,this.refs=wd,this.updater=n||yd}var Ku=Qu.prototype=new Cd;Ku.constructor=Qu;Sd(Ku,Lr.prototype);Ku.isPureReactComponent=!0;var pc=Array.isArray,xd=Object.prototype.hasOwnProperty,Yu={current:null},Ed={key:!0,ref:!0,__self:!0,__source:!0};function Pd(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)xd.call(t,r)&&!Ed.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(u===1)i.children=n;else if(1>>1,Q=T[Z];if(0>>1;Zi(Le,z))sei(je,Le)?(T[Z]=je,T[se]=z,Z=se):(T[Z]=Le,T[ue]=z,Z=ue);else if(sei(je,z))T[Z]=je,T[se]=z,Z=se;else break e}}return V}function i(T,V){var z=T.sortIndex-V.sortIndex;return z!==0?z:T.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var a=[],s=[],c=1,d=null,h=3,w=!1,S=!1,v=!1,y=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(T){for(var V=n(s);V!==null;){if(V.callback===null)r(s);else if(V.startTime<=T)r(s),V.sortIndex=V.expirationTime,t(a,V);else break;V=n(s)}}function P(T){if(v=!1,m(T),!S)if(n(a)!==null)S=!0,ae(R);else{var V=n(s);V!==null&&q(P,V.startTime-T)}}function R(T,V){S=!1,v&&(v=!1,f(O),O=-1),w=!0;var z=h;try{for(m(V),d=n(a);d!==null&&(!(d.expirationTime>V)||T&&!B());){var Z=d.callback;if(typeof Z=="function"){d.callback=null,h=d.priorityLevel;var Q=Z(d.expirationTime<=V);V=e.unstable_now(),typeof Q=="function"?d.callback=Q:d===n(a)&&r(a),m(V)}else r(a);d=n(a)}if(d!==null)var ve=!0;else{var ue=n(s);ue!==null&&q(P,ue.startTime-V),ve=!1}return ve}finally{d=null,h=z,w=!1}}var g=!1,E=null,O=-1,I=5,D=-1;function B(){return!(e.unstable_now()-DT||125Z?(T.sortIndex=z,t(s,T),n(a)===null&&T===n(s)&&(v?(f(O),O=-1):v=!0,q(P,z-Z))):(T.sortIndex=Q,t(a,T),S||w||(S=!0,ae(R))),T},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(T){var V=h;return function(){var z=h;h=V;try{return T.apply(this,arguments)}finally{h=z}}}})(Ld);Md.exports=Ld;var gv=Md.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Td=C,ft=gv;function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Aa=Object.prototype.hasOwnProperty,yv=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,mc={},vc={};function Sv(e){return Aa.call(vc,e)?!0:Aa.call(mc,e)?!1:yv.test(e)?vc[e]=!0:(mc[e]=!0,!1)}function wv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Cv(e,t,n,r){if(t===null||typeof t>"u"||wv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function et(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Be={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Be[e]=new et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Be[t]=new et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Be[e]=new et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Be[e]=new et(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Be[e]=new et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Be[e]=new et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Be[e]=new et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Be[e]=new et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Be[e]=new et(e,5,!1,e.toLowerCase(),null,!1,!1)});var Xu=/[\-:]([a-z])/g;function Zu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Xu,Zu);Be[t]=new et(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Xu,Zu);Be[t]=new et(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Xu,Zu);Be[t]=new et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Be[e]=new et(e,1,!1,e.toLowerCase(),null,!1,!1)});Be.xlinkHref=new et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Be[e]=new et(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ju(e,t,n,r){var i=Be.hasOwnProperty(t)?Be[t]:null;(i!==null?i.type!==0:r||!(2u||i[l]!==o[u]){var a=` -`+i[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=u);break}}}finally{ra=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Zr(e):""}function xv(e){switch(e.tag){case 5:return Zr(e.type);case 16:return Zr("Lazy");case 13:return Zr("Suspense");case 19:return Zr("SuspenseList");case 0:case 2:case 15:return e=ia(e.type,!1),e;case 11:return e=ia(e.type.render,!1),e;case 1:return e=ia(e.type,!0),e;default:return""}}function Ba(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case tr:return"Fragment";case er:return"Portal";case $a:return"Profiler";case qu:return"StrictMode";case Ua:return"Suspense";case Ha:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Dd:return(e.displayName||"Context")+".Consumer";case _d:return(e._context.displayName||"Context")+".Provider";case es:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ts:return t=e.displayName||null,t!==null?t:Ba(e.type)||"Memo";case sn:t=e._payload,e=e._init;try{return Ba(e(t))}catch{}}return null}function Ev(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ba(t);case 8:return t===qu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Pn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Pv(e){var t=Fd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xi(e){e._valueTracker||(e._valueTracker=Pv(e))}function Nd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Fd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Do(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wa(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function yc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Pn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vd(e,t){t=t.checked,t!=null&&Ju(e,"checked",t,!1)}function Qa(e,t){Vd(e,t);var n=Pn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ka(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ka(e,t.type,Pn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Sc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ka(e,t,n){(t!=="number"||Do(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Jr=Array.isArray;function hr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Zi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function pi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ni={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},kv=["Webkit","ms","Moz","O"];Object.keys(ni).forEach(function(e){kv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ni[t]=ni[e]})});function $d(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ni.hasOwnProperty(e)&&ni[e]?(""+t).trim():t+"px"}function Ud(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=$d(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Ov=Ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Xa(e,t){if(t){if(Ov[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function Za(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ja=null;function ns(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qa=null,mr=null,vr=null;function xc(e){if(e=Vi(e)){if(typeof qa!="function")throw Error(L(280));var t=e.stateNode;t&&(t=yl(t),qa(e.stateNode,e.type,t))}}function Hd(e){mr?vr?vr.push(e):vr=[e]:mr=e}function Bd(){if(mr){var e=mr,t=vr;if(vr=mr=null,xc(e),t)for(e=0;e>>=0,e===0?32:31-(Vv(e)/zv|0)|0}var Ji=64,qi=4194304;function qr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;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:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Vo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~i;u!==0?r=qr(u):(o&=l,o!==0&&(r=qr(o)))}else l=n&~i,l!==0?r=qr(l):o!==0&&(r=qr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Lt(t),e[t]=n}function Uv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ii),Ic=" ",_c=!1;function cp(e,t){switch(e){case"keyup":return vg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var nr=!1;function yg(e,t){switch(e){case"compositionend":return fp(t);case"keypress":return t.which!==32?null:(_c=!0,Ic);case"textInput":return e=t.data,e===Ic&&_c?null:e;default:return null}}function Sg(e,t){if(nr)return e==="compositionend"||!cs&&cp(e,t)?(e=up(),wo=as=pn=null,nr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Nc(n)}}function mp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vp(){for(var e=window,t=Do();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Do(e.document)}return t}function fs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Mg(e){var t=vp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&mp(n.ownerDocument.documentElement,n)){if(r!==null&&fs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Vc(n,o);var l=Vc(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,rr=null,ou=null,li=null,lu=!1;function zc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;lu||rr==null||rr!==Do(r)||(r=rr,"selectionStart"in r&&fs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),li&&Si(li,r)||(li=r,r=Ao(ou,"onSelect"),0lr||(e.current=du[lr],du[lr]=null,lr--)}function de(e,t){lr++,du[lr]=e.current,e.current=t}var kn={},Xe=Rn(kn),rt=Rn(!1),jn=kn;function xr(e,t){var n=e.type.contextTypes;if(!n)return kn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function Uo(){me(rt),me(Xe)}function Wc(e,t,n){if(Xe.current!==kn)throw Error(L(168));de(Xe,t),de(rt,n)}function kp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(L(108,Ev(e)||"Unknown",i));return Ce({},n,r)}function Ho(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kn,jn=Xe.current,de(Xe,e),de(rt,rt.current),!0}function Qc(e,t,n){var r=e.stateNode;if(!r)throw Error(L(169));n?(e=kp(e,t,jn),r.__reactInternalMemoizedMergedChildContext=e,me(rt),me(Xe),de(Xe,e)):me(rt),de(rt,n)}var Bt=null,Sl=!1,ya=!1;function Op(e){Bt===null?Bt=[e]:Bt.push(e)}function Ag(e){Sl=!0,Op(e)}function Mn(){if(!ya&&Bt!==null){ya=!0;var e=0,t=oe;try{var n=Bt;for(oe=1;e>=l,i-=l,Wt=1<<32-Lt(t)+i|n<O?(I=E,E=null):I=E.sibling;var D=h(f,E,m[O],P);if(D===null){E===null&&(E=I);break}e&&E&&D.alternate===null&&t(f,E),p=o(D,p,O),g===null?R=D:g.sibling=D,g=D,E=I}if(O===m.length)return n(f,E),ye&&Tn(f,O),R;if(E===null){for(;OO?(I=E,E=null):I=E.sibling;var B=h(f,E,D.value,P);if(B===null){E===null&&(E=I);break}e&&E&&B.alternate===null&&t(f,E),p=o(B,p,O),g===null?R=B:g.sibling=B,g=B,E=I}if(D.done)return n(f,E),ye&&Tn(f,O),R;if(E===null){for(;!D.done;O++,D=m.next())D=d(f,D.value,P),D!==null&&(p=o(D,p,O),g===null?R=D:g.sibling=D,g=D);return ye&&Tn(f,O),R}for(E=r(f,E);!D.done;O++,D=m.next())D=w(E,f,O,D.value,P),D!==null&&(e&&D.alternate!==null&&E.delete(D.key===null?O:D.key),p=o(D,p,O),g===null?R=D:g.sibling=D,g=D);return e&&E.forEach(function(X){return t(f,X)}),ye&&Tn(f,O),R}function y(f,p,m,P){if(typeof m=="object"&&m!==null&&m.type===tr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Gi:e:{for(var R=m.key,g=p;g!==null;){if(g.key===R){if(R=m.type,R===tr){if(g.tag===7){n(f,g.sibling),p=i(g,m.props.children),p.return=f,f=p;break e}}else if(g.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===sn&&qc(R)===g.type){n(f,g.sibling),p=i(g,m.props),p.ref=$r(f,g,m),p.return=f,f=p;break e}n(f,g);break}else t(f,g);g=g.sibling}m.type===tr?(p=zn(m.props.children,f.mode,P,m.key),p.return=f,f=p):(P=Mo(m.type,m.key,m.props,null,f.mode,P),P.ref=$r(f,p,m),P.return=f,f=P)}return l(f);case er:e:{for(g=m.key;p!==null;){if(p.key===g)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(f,p.sibling),p=i(p,m.children||[]),p.return=f,f=p;break e}else{n(f,p);break}else t(f,p);p=p.sibling}p=Oa(m,f.mode,P),p.return=f,f=p}return l(f);case sn:return g=m._init,y(f,p,g(m._payload),P)}if(Jr(m))return S(f,p,m,P);if(Nr(m))return v(f,p,m,P);lo(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(f,p.sibling),p=i(p,m),p.return=f,f=p):(n(f,p),p=ka(m,f.mode,P),p.return=f,f=p),l(f)):n(f,p)}return y}var Pr=bp(!0),Fp=bp(!1),zi={},At=Rn(zi),Ei=Rn(zi),Pi=Rn(zi);function bn(e){if(e===zi)throw Error(L(174));return e}function ws(e,t){switch(de(Pi,t),de(Ei,e),de(At,zi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ga(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ga(t,e)}me(At),de(At,t)}function kr(){me(At),me(Ei),me(Pi)}function Np(e){bn(Pi.current);var t=bn(At.current),n=Ga(t,e.type);t!==n&&(de(Ei,e),de(At,n))}function Cs(e){Ei.current===e&&(me(At),me(Ei))}var Se=Rn(0);function Go(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 Sa=[];function xs(){for(var e=0;en?n:4,e(!0);var r=wa.transition;wa.transition={};try{e(!1),t()}finally{oe=n,wa.transition=r}}function Jp(){return xt().memoizedState}function Bg(e,t,n){var r=Cn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qp(e))eh(t,n);else if(n=Tp(e,t,n,r),n!==null){var i=Je();Tt(n,e,r,i),th(n,t,r)}}function Wg(e,t,n){var r=Cn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qp(e))eh(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,u=o(l,n);if(i.hasEagerState=!0,i.eagerState=u,_t(u,l)){var a=t.interleaved;a===null?(i.next=i,ys(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Tp(e,t,i,r),n!==null&&(i=Je(),Tt(n,e,r,i),th(n,t,r))}}function qp(e){var t=e.alternate;return e===we||t!==null&&t===we}function eh(e,t){ai=Xo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function th(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,is(e,n)}}var Zo={readContext:Ct,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useInsertionEffect:Qe,useLayoutEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useMutableSource:Qe,useSyncExternalStore:Qe,useId:Qe,unstable_isNewReconciler:!1},Qg={readContext:Ct,useCallback:function(e,t){return Ft().memoizedState=[e,t===void 0?null:t],e},useContext:Ct,useEffect:tf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Po(4194308,4,Kp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Po(4194308,4,e,t)},useInsertionEffect:function(e,t){return Po(4,2,e,t)},useMemo:function(e,t){var n=Ft();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ft();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Bg.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=Ft();return e={current:e},t.memoizedState=e},useState:ef,useDebugValue:Rs,useDeferredValue:function(e){return Ft().memoizedState=e},useTransition:function(){var e=ef(!1),t=e[0];return e=Hg.bind(null,e[1]),Ft().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=Ft();if(ye){if(n===void 0)throw Error(L(407));n=n()}else{if(n=t(),Ve===null)throw Error(L(349));$n&30||jp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,tf($p.bind(null,r,o,e),[e]),r.flags|=2048,Ri(9,Ap.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ft(),t=Ve.identifierPrefix;if(ye){var n=Qt,r=Wt;n=(r&~(1<<32-Lt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ki++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[zt]=t,e[xi]=r,ch(e,t,!1,!1),t.stateNode=e;e:{switch(l=Za(n,r),n){case"dialog":he("cancel",e),he("close",e),i=r;break;case"iframe":case"object":case"embed":he("load",e),i=r;break;case"video":case"audio":for(i=0;iRr&&(t.flags|=128,r=!0,Ur(o,!1),t.lanes=4194304)}else{if(!r)if(e=Go(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ur(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ye)return Ke(t),null}else 2*Me()-o.renderingStartTime>Rr&&n!==1073741824&&(t.flags|=128,r=!0,Ur(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Me(),t.sibling=null,n=Se.current,de(Se,r?n&1|2:n&1),t):(Ke(t),null);case 22:case 23:return Ds(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?at&1073741824&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function e0(e,t){switch(ps(t),t.tag){case 1:return it(t.type)&&Uo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return kr(),me(rt),me(Xe),xs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Cs(t),null;case 13:if(me(Se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));Er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(Se),null;case 4:return kr(),null;case 10:return gs(t.type._context),null;case 22:case 23:return Ds(),null;case 24:return null;default:return null}}var uo=!1,Ge=!1,t0=typeof WeakSet=="function"?WeakSet:Set,b=null;function cr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Pe(e,t,r)}else n.current=null}function Pu(e,t,n){try{n()}catch(r){Pe(e,t,r)}}var ff=!1;function n0(e,t){if(au=zo,e=vp(),fs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,u=-1,a=-1,s=0,c=0,d=e,h=null;t:for(;;){for(var w;d!==n||i!==0&&d.nodeType!==3||(u=l+i),d!==o||r!==0&&d.nodeType!==3||(a=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(w=d.firstChild)!==null;)h=d,d=w;for(;;){if(d===e)break t;if(h===n&&++s===i&&(u=l),h===o&&++c===r&&(a=l),(w=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=w}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(uu={focusedElem:e,selectionRange:n},zo=!1,b=t;b!==null;)if(t=b,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,b=e;else for(;b!==null;){t=b;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var v=S.memoizedProps,y=S.memoizedState,f=t.stateNode,p=f.getSnapshotBeforeUpdate(t.elementType===t.type?v:kt(t.type,v),y);f.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(P){Pe(t,t.return,P)}if(e=t.sibling,e!==null){e.return=t.return,b=e;break}b=t.return}return S=ff,ff=!1,S}function ui(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Pu(t,n,o)}i=i.next}while(i!==r)}}function xl(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 r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ku(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 ph(e){var t=e.alternate;t!==null&&(e.alternate=null,ph(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zt],delete t[xi],delete t[fu],delete t[zg],delete t[jg])),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 hh(e){return e.tag===5||e.tag===3||e.tag===4}function df(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hh(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 Ou(e,t,n){var r=e.tag;if(r===5||r===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=$o));else if(r!==4&&(e=e.child,e!==null))for(Ou(e,t,n),e=e.sibling;e!==null;)Ou(e,t,n),e=e.sibling}function Ru(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ru(e,t,n),e=e.sibling;e!==null;)Ru(e,t,n),e=e.sibling}var $e=null,Ot=!1;function an(e,t,n){for(n=n.child;n!==null;)mh(e,t,n),n=n.sibling}function mh(e,t,n){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(hl,n)}catch{}switch(n.tag){case 5:Ge||cr(n,t);case 6:var r=$e,i=Ot;$e=null,an(e,t,n),$e=r,Ot=i,$e!==null&&(Ot?(e=$e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$e.removeChild(n.stateNode));break;case 18:$e!==null&&(Ot?(e=$e,n=n.stateNode,e.nodeType===8?ga(e.parentNode,n):e.nodeType===1&&ga(e,n),gi(e)):ga($e,n.stateNode));break;case 4:r=$e,i=Ot,$e=n.stateNode.containerInfo,Ot=!0,an(e,t,n),$e=r,Ot=i;break;case 0:case 11:case 14:case 15:if(!Ge&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Pu(n,t,l),i=i.next}while(i!==r)}an(e,t,n);break;case 1:if(!Ge&&(cr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Pe(n,t,u)}an(e,t,n);break;case 21:an(e,t,n);break;case 22:n.mode&1?(Ge=(r=Ge)||n.memoizedState!==null,an(e,t,n),Ge=r):an(e,t,n);break;default:an(e,t,n)}}function pf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new t0),t.forEach(function(r){var i=f0.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=Me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*i0(r/1960))-r,10e?16:e,hn===null)var r=!1;else{if(e=hn,hn=null,el=0,te&6)throw Error(L(331));var i=te;for(te|=4,b=e.current;b!==null;){var o=b,l=o.child;if(b.flags&16){var u=o.deletions;if(u!==null){for(var a=0;aMe()-Is?Vn(e,0):Ts|=n),ot(e,t)}function Eh(e,t){t===0&&(e.mode&1?(t=qi,qi<<=1,!(qi&130023424)&&(qi=4194304)):t=1);var n=Je();e=Zt(e,t),e!==null&&(Fi(e,t,n),ot(e,n))}function c0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Eh(e,n)}function f0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(t),Eh(e,n)}var Ph;Ph=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nt=!1,Jg(e,t,n);nt=!!(e.flags&131072)}else nt=!1,ye&&t.flags&1048576&&Rp(t,Wo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ko(e,t),e=t.pendingProps;var i=xr(t,Xe.current);yr(t,n),i=Ps(null,t,r,e,i,n);var o=ks();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,it(r)?(o=!0,Ho(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ss(t),i.updater=wl,t.stateNode=i,i._reactInternals=t,gu(t,r,e,n),t=wu(null,t,r,!0,o,n)):(t.tag=0,ye&&o&&ds(t),Ze(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ko(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=p0(r),e=kt(r,e),i){case 0:t=Su(null,t,r,e,n);break e;case 1:t=uf(null,t,r,e,n);break e;case 11:t=lf(null,t,r,e,n);break e;case 14:t=af(null,t,r,kt(r.type,e),n);break e}throw Error(L(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),Su(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),uf(e,t,r,i,n);case 3:e:{if(ah(t),e===null)throw Error(L(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Ip(e,t),Yo(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Or(Error(L(423)),t),t=sf(e,t,r,n,i);break e}else if(r!==i){i=Or(Error(L(424)),t),t=sf(e,t,r,n,i);break e}else for(ut=yn(t.stateNode.containerInfo.firstChild),st=t,ye=!0,Mt=null,n=Fp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Er(),r===i){t=Jt(e,t,n);break e}Ze(e,t,r,n)}t=t.child}return t;case 5:return Np(t),e===null&&hu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,su(r,i)?l=null:o!==null&&su(r,o)&&(t.flags|=32),lh(e,t),Ze(e,t,l,n),t.child;case 6:return e===null&&hu(t),null;case 13:return uh(e,t,n);case 4:return ws(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pr(t,null,r,n):Ze(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),lf(e,t,r,i,n);case 7:return Ze(e,t,t.pendingProps,n),t.child;case 8:return Ze(e,t,t.pendingProps.children,n),t.child;case 12:return Ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,de(Qo,r._currentValue),r._currentValue=l,o!==null)if(_t(o.value,l)){if(o.children===i.children&&!rt.current){t=Jt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){l=o.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Kt(-1,n&-n),a.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?a.next=a:(a.next=c.next,c.next=a),s.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),mu(o.return,n,t),u.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(L(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),mu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Ze(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,yr(t,n),i=Ct(i),r=r(i),t.flags|=1,Ze(e,t,r,n),t.child;case 14:return r=t.type,i=kt(r,t.pendingProps),i=kt(r.type,i),af(e,t,r,i,n);case 15:return ih(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kt(r,i),ko(e,t),t.tag=1,it(r)?(e=!0,Ho(t)):e=!1,yr(t,n),Dp(t,r,i),gu(t,r,i,n),wu(null,t,r,!0,e,n);case 19:return sh(e,t,n);case 22:return oh(e,t,n)}throw Error(L(156,t.tag))};function kh(e,t){return Zd(e,t)}function d0(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function St(e,t,n,r){return new d0(e,t,n,r)}function Fs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function p0(e){if(typeof e=="function")return Fs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===es)return 11;if(e===ts)return 14}return 2}function xn(e,t){var n=e.alternate;return n===null?(n=St(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 Mo(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Fs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case tr:return zn(n.children,i,o,t);case qu:l=8,i|=8;break;case $a:return e=St(12,n,t,i|2),e.elementType=$a,e.lanes=o,e;case Ua:return e=St(13,n,t,i),e.elementType=Ua,e.lanes=o,e;case Ha:return e=St(19,n,t,i),e.elementType=Ha,e.lanes=o,e;case bd:return Pl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _d:l=10;break e;case Dd:l=9;break e;case es:l=11;break e;case ts:l=14;break e;case sn:l=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=St(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function zn(e,t,n,r){return e=St(7,e,r,t),e.lanes=n,e}function Pl(e,t,n,r){return e=St(22,e,r,t),e.elementType=bd,e.lanes=n,e.stateNode={isHidden:!1},e}function ka(e,t,n){return e=St(6,e,null,t),e.lanes=n,e}function Oa(e,t,n){return t=St(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function h0(e,t,n,r,i){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=la(0),this.expirationTimes=la(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=la(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ns(e,t,n,r,i,o,l,u,a){return e=new h0(e,t,n,u,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=St(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ss(o),e}function m0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Lh)}catch(e){console.error(e)}}Lh(),Rd.exports=dt;var Ll=Rd.exports;const w0=md(Ll),C0=hd({__proto__:null,default:w0},[Ll]);var Cf=Ll;ja.createRoot=Cf.createRoot,ja.hydrateRoot=Cf.hydrateRoot;/** - * @remix-run/router v1.14.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Bn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function E0(){return Math.random().toString(36).substr(2,8)}function Ef(e,t){return{usr:e.state,key:e.key,idx:t}}function Li(e,t,n,r){return n===void 0&&(n=null),ke({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?en(t):t,{state:n,key:t&&t.key||r||E0()})}function ji(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function en(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function P0(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,u=Re.Pop,a=null,s=c();s==null&&(s=0,l.replaceState(ke({},l.state,{idx:s}),""));function c(){return(l.state||{idx:null}).idx}function d(){u=Re.Pop;let y=c(),f=y==null?null:y-s;s=y,a&&a({action:u,location:v.location,delta:f})}function h(y,f){u=Re.Push;let p=Li(v.location,y,f);n&&n(p,y),s=c()+1;let m=Ef(p,s),P=v.createHref(p);try{l.pushState(m,"",P)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(P)}o&&a&&a({action:u,location:v.location,delta:1})}function w(y,f){u=Re.Replace;let p=Li(v.location,y,f);n&&n(p,y),s=c();let m=Ef(p,s),P=v.createHref(p);l.replaceState(m,"",P),o&&a&&a({action:u,location:v.location,delta:0})}function S(y){let f=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof y=="string"?y:ji(y);return Y(f,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,f)}let v={get action(){return u},get location(){return e(i,l)},listen(y){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(xf,d),a=y,()=>{i.removeEventListener(xf,d),a=null}},createHref(y){return t(i,y)},createURL:S,encodeLocation(y){let f=S(y);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:h,replace:w,go(y){return l.go(y)}};return v}var Ee;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ee||(Ee={}));const k0=new Set(["lazy","caseSensitive","path","id","index","children"]);function O0(e){return e.index===!0}function _u(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let l=[...n,o],u=typeof i.id=="string"?i.id:l.join("-");if(Y(i.index!==!0||!i.children,"Cannot specify children on an index route"),Y(!r[u],'Found a route id collision on id "'+u+`". Route id's must be globally unique within Data Router usages`),O0(i)){let a=ke({},i,t(i),{id:u});return r[u]=a,a}else{let a=ke({},i,t(i),{id:u,children:void 0});return r[u]=a,i.children&&(a.children=_u(i.children,t,l,r)),a}})}function dr(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?en(t):t,i=Ai(r.pathname||"/",n);if(i==null)return null;let o=Th(e);M0(o);let l=null;for(let u=0;l==null&&u{let a={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};a.relativePath.startsWith("/")&&(Y(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=En([r,a.relativePath]),c=n.concat(a);o.children&&o.children.length>0&&(Y(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),Th(o.children,t,c,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:F0(s,o.index),routesMeta:c})};return e.forEach((o,l)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))i(o,l);else for(let a of Ih(o.path))i(o,l,a)}),t}function Ih(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=Ih(r.join("/")),u=[];return u.push(...l.map(a=>a===""?o:[o,a].join("/"))),i&&u.push(...l),u.map(a=>e.startsWith("/")&&a===""?"/":a)}function M0(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:N0(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const L0=/^:[\w-]+$/,T0=3,I0=2,_0=1,D0=10,b0=-2,Pf=e=>e==="*";function F0(e,t){let n=e.split("/"),r=n.length;return n.some(Pf)&&(r+=b0),t&&(r+=I0),n.filter(i=>!Pf(i)).reduce((i,o)=>i+(L0.test(o)?T0:o===""?_0:D0),r)}function N0(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function V0(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let l=0;l{let{paramName:h,isOptional:w}=c;if(h==="*"){let v=u[d]||"";l=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const S=u[d];return w&&!S?s[h]=void 0:s[h]=$0(S||"",h),s},{}),pathname:o,pathnameBase:l,pattern:e}}function j0(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Bn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,a)=>(r.push({paramName:u,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function A0(e){try{return decodeURI(e)}catch(t){return Bn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function $0(e,t){try{return decodeURIComponent(e)}catch(n){return Bn(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Ai(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function U0(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?en(e):e;return{pathname:n?n.startsWith("/")?n:H0(n,t):t,search:W0(r),hash:Q0(i)}}function H0(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ra(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function _h(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Dh(e,t){let n=_h(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function bh(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=en(e):(i=ke({},e),Y(!i.pathname||!i.pathname.includes("?"),Ra("?","pathname","search",i)),Y(!i.pathname||!i.pathname.includes("#"),Ra("#","pathname","hash",i)),Y(!i.search||!i.search.includes("#"),Ra("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,u;if(l==null)u=n;else{let d=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}u=d>=0?t[d]:"/"}let a=U0(i,u),s=l&&l!=="/"&&l.endsWith("/"),c=(o||l===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(s||c)&&(a.pathname+="/"),a}const En=e=>e.join("/").replace(/\/\/+/g,"/"),B0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),W0=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Q0=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class As{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Fh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Nh=["post","put","patch","delete"],K0=new Set(Nh),Y0=["get",...Nh],G0=new Set(Y0),X0=new Set([301,302,303,307,308]),Z0=new Set([307,308]),Ma={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},J0={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Br={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Vh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,q0=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),zh="remix-router-transitions";function ey(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Y(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let x=e.detectErrorBoundary;i=k=>({hasErrorBoundary:x(k)})}else i=q0;let o={},l=_u(e.routes,i,void 0,o),u,a=e.basename||"/",s=ke({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),c=null,d=new Set,h=null,w=null,S=null,v=e.hydrationData!=null,y=dr(l,e.history.location,a),f=null;if(y==null){let x=vt(404,{pathname:e.history.location.pathname}),{matches:k,route:M}=_f(l);y=k,f={[M.id]:x}}let p,m=y.some(x=>x.route.lazy),P=y.some(x=>x.route.loader);if(m)p=!1;else if(!P)p=!0;else if(s.v7_partialHydration){let x=e.hydrationData?e.hydrationData.loaderData:null,k=e.hydrationData?e.hydrationData.errors:null;p=y.every(M=>M.route.loader&&M.route.loader.hydrate!==!0&&(x&&x[M.route.id]!==void 0||k&&k[M.route.id]!==void 0))}else p=e.hydrationData!=null;let R,g={historyAction:e.history.action,location:e.history.location,matches:y,initialized:p,navigation:Ma,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||f,fetchers:new Map,blockers:new Map},E=Re.Pop,O=!1,I,D=!1,B=new Map,X=null,ie=!1,xe=!1,pe=[],ae=[],q=new Map,T=0,V=-1,z=new Map,Z=new Set,Q=new Map,ve=new Map,ue=new Set,Le=new Map,se=new Map,je=!1;function Et(){if(c=e.history.listen(x=>{let{action:k,location:M,delta:_}=x;if(je){je=!1;return}Bn(se.size===0||_!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let N=sc({currentLocation:g.location,nextLocation:M,historyAction:k});if(N&&_!=null){je=!0,e.history.go(_*-1),Wi(N,{state:"blocked",location:M,proceed(){Wi(N,{state:"proceeding",proceed:void 0,reset:void 0,location:M}),e.history.go(_)},reset(){let G=new Map(g.blockers);G.set(N,Br),We({blockers:G})}});return}return Ut(k,M)}),n){fy(t,B);let x=()=>dy(t,B);t.addEventListener("pagehide",x),X=()=>t.removeEventListener("pagehide",x)}return g.initialized||Ut(Re.Pop,g.location,{initialHydration:!0}),R}function Yn(){c&&c(),X&&X(),d.clear(),I&&I.abort(),g.fetchers.forEach((x,k)=>Bi(k)),g.blockers.forEach((x,k)=>uc(k))}function Yl(x){return d.add(x),()=>d.delete(x)}function We(x,k){k===void 0&&(k={}),g=ke({},g,x);let M=[],_=[];s.v7_fetcherPersist&&g.fetchers.forEach((N,G)=>{N.state==="idle"&&(ue.has(G)?_.push(G):M.push(G))}),[...d].forEach(N=>N(g,{deletedFetchers:_,unstable_viewTransitionOpts:k.viewTransitionOpts,unstable_flushSync:k.flushSync===!0})),s.v7_fetcherPersist&&(M.forEach(N=>g.fetchers.delete(N)),_.forEach(N=>Bi(N)))}function nn(x,k,M){var _,N;let{flushSync:G}=M===void 0?{}:M,W=g.actionData!=null&&g.navigation.formMethod!=null&&Rt(g.navigation.formMethod)&&g.navigation.state==="loading"&&((_=x.state)==null?void 0:_._isRedirect)!==!0,H;k.actionData?Object.keys(k.actionData).length>0?H=k.actionData:H=null:W?H=g.actionData:H=null;let j=k.loaderData?If(g.loaderData,k.loaderData,k.matches||[],k.errors):g.loaderData,ee=g.blockers;ee.size>0&&(ee=new Map(ee),ee.forEach((fe,Ae)=>ee.set(Ae,Br)));let be=O===!0||g.navigation.formMethod!=null&&Rt(g.navigation.formMethod)&&((N=x.state)==null?void 0:N._isRedirect)!==!0;u&&(l=u,u=void 0),ie||E===Re.Pop||(E===Re.Push?e.history.push(x,x.state):E===Re.Replace&&e.history.replace(x,x.state));let K;if(E===Re.Pop){let fe=B.get(g.location.pathname);fe&&fe.has(x.pathname)?K={currentLocation:g.location,nextLocation:x}:B.has(x.pathname)&&(K={currentLocation:x,nextLocation:g.location})}else if(D){let fe=B.get(g.location.pathname);fe?fe.add(x.pathname):(fe=new Set([x.pathname]),B.set(g.location.pathname,fe)),K={currentLocation:g.location,nextLocation:x}}We(ke({},k,{actionData:H,loaderData:j,historyAction:E,location:x,initialized:!0,navigation:Ma,revalidation:"idle",restoreScrollPosition:fc(x,k.matches||g.matches),preventScrollReset:be,blockers:ee}),{viewTransitionOpts:K,flushSync:G===!0}),E=Re.Pop,O=!1,D=!1,ie=!1,xe=!1,pe=[],ae=[]}async function Ui(x,k){if(typeof x=="number"){e.history.go(x);return}let M=Du(g.location,g.matches,a,s.v7_prependBasename,x,s.v7_relativeSplatPath,k==null?void 0:k.fromRouteId,k==null?void 0:k.relative),{path:_,submission:N,error:G}=kf(s.v7_normalizeFormMethod,!1,M,k),W=g.location,H=Li(g.location,_,k&&k.state);H=ke({},H,e.history.encodeLocation(H));let j=k&&k.replace!=null?k.replace:void 0,ee=Re.Push;j===!0?ee=Re.Replace:j===!1||N!=null&&Rt(N.formMethod)&&N.formAction===g.location.pathname+g.location.search&&(ee=Re.Replace);let be=k&&"preventScrollReset"in k?k.preventScrollReset===!0:void 0,K=(k&&k.unstable_flushSync)===!0,fe=sc({currentLocation:W,nextLocation:H,historyAction:ee});if(fe){Wi(fe,{state:"blocked",location:H,proceed(){Wi(fe,{state:"proceeding",proceed:void 0,reset:void 0,location:H}),Ui(x,k)},reset(){let Ae=new Map(g.blockers);Ae.set(fe,Br),We({blockers:Ae})}});return}return await Ut(ee,H,{submission:N,pendingError:G,preventScrollReset:be,replace:k&&k.replace,enableViewTransition:k&&k.unstable_viewTransition,flushSync:K})}function Hi(){if(Gl(),We({revalidation:"loading"}),g.navigation.state!=="submitting"){if(g.navigation.state==="idle"){Ut(g.historyAction,g.location,{startUninterruptedRevalidation:!0});return}Ut(E||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation})}}async function Ut(x,k,M){I&&I.abort(),I=null,E=x,ie=(M&&M.startUninterruptedRevalidation)===!0,Km(g.location,g.matches),O=(M&&M.preventScrollReset)===!0,D=(M&&M.enableViewTransition)===!0;let _=u||l,N=M&&M.overrideNavigation,G=dr(_,k,a),W=(M&&M.flushSync)===!0;if(!G){let Ae=vt(404,{pathname:k.pathname}),{matches:mt,route:Fe}=_f(_);Xl(),nn(k,{matches:mt,loaderData:{},errors:{[Fe.id]:Ae}},{flushSync:W});return}if(g.initialized&&!xe&&oy(g.location,k)&&!(M&&M.submission&&Rt(M.submission.formMethod))){nn(k,{matches:G},{flushSync:W});return}I=new AbortController;let H=Qr(e.history,k,I.signal,M&&M.submission),j,ee;if(M&&M.pendingError)ee={[fi(G).route.id]:M.pendingError};else if(M&&M.submission&&Rt(M.submission.formMethod)){let Ae=await jm(H,k,M.submission,G,{replace:M.replace,flushSync:W});if(Ae.shortCircuited)return;j=Ae.pendingActionData,ee=Ae.pendingActionError,N=La(k,M.submission),W=!1,H=new Request(H.url,{signal:H.signal})}let{shortCircuited:be,loaderData:K,errors:fe}=await Am(H,k,G,N,M&&M.submission,M&&M.fetcherSubmission,M&&M.replace,M&&M.initialHydration===!0,W,j,ee);be||(I=null,nn(k,ke({matches:G},j?{actionData:j}:{},{loaderData:K,errors:fe})))}async function jm(x,k,M,_,N){N===void 0&&(N={}),Gl();let G=sy(k,M);We({navigation:G},{flushSync:N.flushSync===!0});let W,H=Fu(_,k);if(!H.route.action&&!H.route.lazy)W={type:Ee.error,error:vt(405,{method:x.method,pathname:k.pathname,routeId:H.route.id})};else if(W=await Wr("action",x,H,_,o,i,a,s.v7_relativeSplatPath),x.signal.aborted)return{shortCircuited:!0};if(Nn(W)){let j;return N&&N.replace!=null?j=N.replace:j=W.location===g.location.pathname+g.location.search,await br(g,W,{submission:M,replace:j}),{shortCircuited:!0}}if(pr(W)){let j=fi(_,H.route.id);return(N&&N.replace)!==!0&&(E=Re.Push),{pendingActionData:{},pendingActionError:{[j.route.id]:W.error}}}if(Fn(W))throw vt(400,{type:"defer-action"});return{pendingActionData:{[H.route.id]:W.data}}}async function Am(x,k,M,_,N,G,W,H,j,ee,be){let K=_||La(k,N),fe=N||G||Ff(K),Ae=u||l,[mt,Fe]=Of(e.history,g,M,fe,k,s.v7_partialHydration&&H===!0,xe,pe,ae,ue,Q,Z,Ae,a,ee,be);if(Xl(ce=>!(M&&M.some(ge=>ge.route.id===ce))||mt&&mt.some(ge=>ge.route.id===ce)),V=++T,mt.length===0&&Fe.length===0){let ce=lc();return nn(k,ke({matches:M,loaderData:{},errors:be||null},ee?{actionData:ee}:{},ce?{fetchers:new Map(g.fetchers)}:{}),{flushSync:j}),{shortCircuited:!0}}if(!ie&&(!s.v7_partialHydration||!H)){Fe.forEach(ge=>{let Dt=g.fetchers.get(ge.key),Ki=Kr(void 0,Dt?Dt.data:void 0);g.fetchers.set(ge.key,Ki)});let ce=ee||g.actionData;We(ke({navigation:K},ce?Object.keys(ce).length===0?{actionData:null}:{actionData:ce}:{},Fe.length>0?{fetchers:new Map(g.fetchers)}:{}),{flushSync:j})}Fe.forEach(ce=>{q.has(ce.key)&&on(ce.key),ce.controller&&q.set(ce.key,ce.controller)});let Gn=()=>Fe.forEach(ce=>on(ce.key));I&&I.signal.addEventListener("abort",Gn);let{results:Zl,loaderResults:Xn,fetcherResults:ln}=await rc(g.matches,M,mt,Fe,x);if(x.signal.aborted)return{shortCircuited:!0};I&&I.signal.removeEventListener("abort",Gn),Fe.forEach(ce=>q.delete(ce.key));let Ln=Df(Zl);if(Ln){if(Ln.idx>=mt.length){let ce=Fe[Ln.idx-mt.length].key;Z.add(ce)}return await br(g,Ln.result,{replace:W}),{shortCircuited:!0}}let{loaderData:Jl,errors:ql}=Tf(g,M,mt,Xn,be,Fe,ln,Le);Le.forEach((ce,ge)=>{ce.subscribe(Dt=>{(Dt||ce.done)&&Le.delete(ge)})});let ea=lc(),Zn=ac(V),Qi=ea||Zn||Fe.length>0;return ke({loaderData:Jl,errors:ql},Qi?{fetchers:new Map(g.fetchers)}:{})}function $m(x,k,M,_){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");q.has(x)&&on(x);let N=(_&&_.unstable_flushSync)===!0,G=u||l,W=Du(g.location,g.matches,a,s.v7_prependBasename,M,s.v7_relativeSplatPath,k,_==null?void 0:_.relative),H=dr(G,W,a);if(!H){Fr(x,k,vt(404,{pathname:W}),{flushSync:N});return}let{path:j,submission:ee,error:be}=kf(s.v7_normalizeFormMethod,!0,W,_);if(be){Fr(x,k,be,{flushSync:N});return}let K=Fu(H,j);if(O=(_&&_.preventScrollReset)===!0,ee&&Rt(ee.formMethod)){Um(x,k,j,K,H,N,ee);return}Q.set(x,{routeId:k,path:j}),Hm(x,k,j,K,H,N,ee)}async function Um(x,k,M,_,N,G,W){if(Gl(),Q.delete(x),!_.route.action&&!_.route.lazy){let ge=vt(405,{method:W.formMethod,pathname:M,routeId:k});Fr(x,k,ge,{flushSync:G});return}let H=g.fetchers.get(x);rn(x,cy(W,H),{flushSync:G});let j=new AbortController,ee=Qr(e.history,M,j.signal,W);q.set(x,j);let be=T,K=await Wr("action",ee,_,N,o,i,a,s.v7_relativeSplatPath);if(ee.signal.aborted){q.get(x)===j&&q.delete(x);return}if(s.v7_fetcherPersist&&ue.has(x)){if(Nn(K)||pr(K)){rn(x,un(void 0));return}}else{if(Nn(K))if(q.delete(x),V>be){rn(x,un(void 0));return}else return Z.add(x),rn(x,Kr(W)),br(g,K,{fetcherSubmission:W});if(pr(K)){Fr(x,k,K.error);return}}if(Fn(K))throw vt(400,{type:"defer-action"});let fe=g.navigation.location||g.location,Ae=Qr(e.history,fe,j.signal),mt=u||l,Fe=g.navigation.state!=="idle"?dr(mt,g.navigation.location,a):g.matches;Y(Fe,"Didn't find any matches after fetcher action");let Gn=++T;z.set(x,Gn);let Zl=Kr(W,K.data);g.fetchers.set(x,Zl);let[Xn,ln]=Of(e.history,g,Fe,W,fe,!1,xe,pe,ae,ue,Q,Z,mt,a,{[_.route.id]:K.data},void 0);ln.filter(ge=>ge.key!==x).forEach(ge=>{let Dt=ge.key,Ki=g.fetchers.get(Dt),Gm=Kr(void 0,Ki?Ki.data:void 0);g.fetchers.set(Dt,Gm),q.has(Dt)&&on(Dt),ge.controller&&q.set(Dt,ge.controller)}),We({fetchers:new Map(g.fetchers)});let Ln=()=>ln.forEach(ge=>on(ge.key));j.signal.addEventListener("abort",Ln);let{results:Jl,loaderResults:ql,fetcherResults:ea}=await rc(g.matches,Fe,Xn,ln,Ae);if(j.signal.aborted)return;j.signal.removeEventListener("abort",Ln),z.delete(x),q.delete(x),ln.forEach(ge=>q.delete(ge.key));let Zn=Df(Jl);if(Zn){if(Zn.idx>=Xn.length){let ge=ln[Zn.idx-Xn.length].key;Z.add(ge)}return br(g,Zn.result)}let{loaderData:Qi,errors:ce}=Tf(g,g.matches,Xn,ql,void 0,ln,ea,Le);if(g.fetchers.has(x)){let ge=un(K.data);g.fetchers.set(x,ge)}ac(Gn),g.navigation.state==="loading"&&Gn>V?(Y(E,"Expected pending action"),I&&I.abort(),nn(g.navigation.location,{matches:Fe,loaderData:Qi,errors:ce,fetchers:new Map(g.fetchers)})):(We({errors:ce,loaderData:If(g.loaderData,Qi,Fe,ce),fetchers:new Map(g.fetchers)}),xe=!1)}async function Hm(x,k,M,_,N,G,W){let H=g.fetchers.get(x);rn(x,Kr(W,H?H.data:void 0),{flushSync:G});let j=new AbortController,ee=Qr(e.history,M,j.signal);q.set(x,j);let be=T,K=await Wr("loader",ee,_,N,o,i,a,s.v7_relativeSplatPath);if(Fn(K)&&(K=await $h(K,ee.signal,!0)||K),q.get(x)===j&&q.delete(x),!ee.signal.aborted){if(ue.has(x)){rn(x,un(void 0));return}if(Nn(K))if(V>be){rn(x,un(void 0));return}else{Z.add(x),await br(g,K);return}if(pr(K)){Fr(x,k,K.error);return}Y(!Fn(K),"Unhandled fetcher deferred data"),rn(x,un(K.data))}}async function br(x,k,M){let{submission:_,fetcherSubmission:N,replace:G}=M===void 0?{}:M;k.revalidate&&(xe=!0);let W=Li(x.location,k.location,{_isRedirect:!0});if(Y(W,"Expected a location on the redirect navigation"),n){let fe=!1;if(k.reloadDocument)fe=!0;else if(Vh.test(k.location)){const Ae=e.history.createURL(k.location);fe=Ae.origin!==t.location.origin||Ai(Ae.pathname,a)==null}if(fe){G?t.location.replace(k.location):t.location.assign(k.location);return}}I=null;let H=G===!0?Re.Replace:Re.Push,{formMethod:j,formAction:ee,formEncType:be}=x.navigation;!_&&!N&&j&&ee&&be&&(_=Ff(x.navigation));let K=_||N;if(Z0.has(k.status)&&K&&Rt(K.formMethod))await Ut(H,W,{submission:ke({},K,{formAction:k.location}),preventScrollReset:O});else{let fe=La(W,_);await Ut(H,W,{overrideNavigation:fe,fetcherSubmission:N,preventScrollReset:O})}}async function rc(x,k,M,_,N){let G=await Promise.all([...M.map(j=>Wr("loader",N,j,k,o,i,a,s.v7_relativeSplatPath)),..._.map(j=>j.matches&&j.match&&j.controller?Wr("loader",Qr(e.history,j.path,j.controller.signal),j.match,j.matches,o,i,a,s.v7_relativeSplatPath):{type:Ee.error,error:vt(404,{pathname:j.path})})]),W=G.slice(0,M.length),H=G.slice(M.length);return await Promise.all([bf(x,M,W,W.map(()=>N.signal),!1,g.loaderData),bf(x,_.map(j=>j.match),H,_.map(j=>j.controller?j.controller.signal:null),!0)]),{results:G,loaderResults:W,fetcherResults:H}}function Gl(){xe=!0,pe.push(...Xl()),Q.forEach((x,k)=>{q.has(k)&&(ae.push(k),on(k))})}function rn(x,k,M){M===void 0&&(M={}),g.fetchers.set(x,k),We({fetchers:new Map(g.fetchers)},{flushSync:(M&&M.flushSync)===!0})}function Fr(x,k,M,_){_===void 0&&(_={});let N=fi(g.matches,k);Bi(x),We({errors:{[N.route.id]:M},fetchers:new Map(g.fetchers)},{flushSync:(_&&_.flushSync)===!0})}function ic(x){return s.v7_fetcherPersist&&(ve.set(x,(ve.get(x)||0)+1),ue.has(x)&&ue.delete(x)),g.fetchers.get(x)||J0}function Bi(x){let k=g.fetchers.get(x);q.has(x)&&!(k&&k.state==="loading"&&z.has(x))&&on(x),Q.delete(x),z.delete(x),Z.delete(x),ue.delete(x),g.fetchers.delete(x)}function Bm(x){if(s.v7_fetcherPersist){let k=(ve.get(x)||0)-1;k<=0?(ve.delete(x),ue.add(x)):ve.set(x,k)}else Bi(x);We({fetchers:new Map(g.fetchers)})}function on(x){let k=q.get(x);Y(k,"Expected fetch controller: "+x),k.abort(),q.delete(x)}function oc(x){for(let k of x){let M=ic(k),_=un(M.data);g.fetchers.set(k,_)}}function lc(){let x=[],k=!1;for(let M of Z){let _=g.fetchers.get(M);Y(_,"Expected fetcher: "+M),_.state==="loading"&&(Z.delete(M),x.push(M),k=!0)}return oc(x),k}function ac(x){let k=[];for(let[M,_]of z)if(_0}function Wm(x,k){let M=g.blockers.get(x)||Br;return se.get(x)!==k&&se.set(x,k),M}function uc(x){g.blockers.delete(x),se.delete(x)}function Wi(x,k){let M=g.blockers.get(x)||Br;Y(M.state==="unblocked"&&k.state==="blocked"||M.state==="blocked"&&k.state==="blocked"||M.state==="blocked"&&k.state==="proceeding"||M.state==="blocked"&&k.state==="unblocked"||M.state==="proceeding"&&k.state==="unblocked","Invalid blocker state transition: "+M.state+" -> "+k.state);let _=new Map(g.blockers);_.set(x,k),We({blockers:_})}function sc(x){let{currentLocation:k,nextLocation:M,historyAction:_}=x;if(se.size===0)return;se.size>1&&Bn(!1,"A router only supports one blocker at a time");let N=Array.from(se.entries()),[G,W]=N[N.length-1],H=g.blockers.get(G);if(!(H&&H.state==="proceeding")&&W({currentLocation:k,nextLocation:M,historyAction:_}))return G}function Xl(x){let k=[];return Le.forEach((M,_)=>{(!x||x(_))&&(M.cancel(),k.push(_),Le.delete(_))}),k}function Qm(x,k,M){if(h=x,S=k,w=M||null,!v&&g.navigation===Ma){v=!0;let _=fc(g.location,g.matches);_!=null&&We({restoreScrollPosition:_})}return()=>{h=null,S=null,w=null}}function cc(x,k){return w&&w(x,k.map(_=>R0(_,g.loaderData)))||x.key}function Km(x,k){if(h&&S){let M=cc(x,k);h[M]=S()}}function fc(x,k){if(h){let M=cc(x,k),_=h[M];if(typeof _=="number")return _}return null}function Ym(x){o={},u=_u(x,i,void 0,o)}return R={get basename(){return a},get future(){return s},get state(){return g},get routes(){return l},get window(){return t},initialize:Et,subscribe:Yl,enableScrollRestoration:Qm,navigate:Ui,fetch:$m,revalidate:Hi,createHref:x=>e.history.createHref(x),encodeLocation:x=>e.history.encodeLocation(x),getFetcher:ic,deleteFetcher:Bm,dispose:Yn,getBlocker:Wm,deleteBlocker:uc,_internalFetchControllers:q,_internalActiveDeferreds:Le,_internalSetRoutes:Ym},R}function ty(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Du(e,t,n,r,i,o,l,u){let a,s;if(l){a=[];for(let d of t)if(a.push(d),d.route.id===l){s=d;break}}else a=t,s=t[t.length-1];let c=bh(i||".",Dh(a,o),Ai(e.pathname,n)||e.pathname,u==="path");return i==null&&(c.search=e.search,c.hash=e.hash),(i==null||i===""||i===".")&&s&&s.route.index&&!$s(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:En([n,c.pathname])),ji(c)}function kf(e,t,n,r){if(!r||!ty(r))return{path:n};if(r.formMethod&&!uy(r.formMethod))return{path:n,error:vt(405,{method:r.formMethod})};let i=()=>({path:n,error:vt(400,{type:"invalid-body"})}),o=r.formMethod||"get",l=e?o.toUpperCase():o.toLowerCase(),u=Ah(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Rt(l))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((w,S)=>{let[v,y]=S;return""+w+v+"="+y+` -`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!Rt(l))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:u,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}Y(typeof FormData=="function","FormData is not available in this environment");let a,s;if(r.formData)a=bu(r.formData),s=r.formData;else if(r.body instanceof FormData)a=bu(r.body),s=r.body;else if(r.body instanceof URLSearchParams)a=r.body,s=Lf(a);else if(r.body==null)a=new URLSearchParams,s=new FormData;else try{a=new URLSearchParams(r.body),s=Lf(a)}catch{return i()}let c={formMethod:l,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(Rt(c.formMethod))return{path:n,submission:c};let d=en(n);return t&&d.search&&$s(d.search)&&a.append("index",""),d.search="?"+a,{path:ji(d),submission:c}}function ny(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Of(e,t,n,r,i,o,l,u,a,s,c,d,h,w,S,v){let y=v?Object.values(v)[0]:S?Object.values(S)[0]:void 0,f=e.createURL(t.location),p=e.createURL(i),m=v?Object.keys(v)[0]:void 0,R=ny(n,m).filter((E,O)=>{let{route:I}=E;if(I.lazy)return!0;if(I.loader==null)return!1;if(o)return I.loader.hydrate?!0:t.loaderData[I.id]===void 0&&(!t.errors||t.errors[I.id]===void 0);if(ry(t.loaderData,t.matches[O],E)||u.some(X=>X===E.route.id))return!0;let D=t.matches[O],B=E;return Rf(E,ke({currentUrl:f,currentParams:D.params,nextUrl:p,nextParams:B.params},r,{actionResult:y,defaultShouldRevalidate:l||f.pathname+f.search===p.pathname+p.search||f.search!==p.search||jh(D,B)}))}),g=[];return c.forEach((E,O)=>{if(o||!n.some(ie=>ie.route.id===E.routeId)||s.has(O))return;let I=dr(h,E.path,w);if(!I){g.push({key:O,routeId:E.routeId,path:E.path,matches:null,match:null,controller:null});return}let D=t.fetchers.get(O),B=Fu(I,E.path),X=!1;d.has(O)?X=!1:a.includes(O)?X=!0:D&&D.state!=="idle"&&D.data===void 0?X=l:X=Rf(B,ke({currentUrl:f,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:y,defaultShouldRevalidate:l})),X&&g.push({key:O,routeId:E.routeId,path:E.path,matches:I,match:B,controller:new AbortController})}),[R,g]}function ry(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function jh(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Rf(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Mf(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Y(i,"No route found in manifest");let o={};for(let l in r){let a=i[l]!==void 0&&l!=="hasErrorBoundary";Bn(!a,'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!a&&!k0.has(l)&&(o[l]=r[l])}Object.assign(i,o),Object.assign(i,ke({},t(i),{lazy:void 0}))}async function Wr(e,t,n,r,i,o,l,u,a){a===void 0&&(a={});let s,c,d,h=v=>{let y,f=new Promise((p,m)=>y=m);return d=()=>y(),t.signal.addEventListener("abort",d),Promise.race([v({request:t,params:n.params,context:a.requestContext}),f])};try{let v=n.route[e];if(n.route.lazy)if(v){let y,f=await Promise.all([h(v).catch(p=>{y=p}),Mf(n.route,o,i)]);if(y)throw y;c=f[0]}else if(await Mf(n.route,o,i),v=n.route[e],v)c=await h(v);else if(e==="action"){let y=new URL(t.url),f=y.pathname+y.search;throw vt(405,{method:t.method,pathname:f,routeId:n.route.id})}else return{type:Ee.data,data:void 0};else if(v)c=await h(v);else{let y=new URL(t.url),f=y.pathname+y.search;throw vt(404,{pathname:f})}Y(c!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(v){s=Ee.error,c=v}finally{d&&t.signal.removeEventListener("abort",d)}if(ay(c)){let v=c.status;if(X0.has(v)){let f=c.headers.get("Location");if(Y(f,"Redirects returned/thrown from loaders/actions must have a Location header"),!Vh.test(f))f=Du(new URL(t.url),r.slice(0,r.indexOf(n)+1),l,!0,f,u);else if(!a.isStaticRequest){let p=new URL(t.url),m=f.startsWith("//")?new URL(p.protocol+f):new URL(f),P=Ai(m.pathname,l)!=null;m.origin===p.origin&&P&&(f=m.pathname+m.search+m.hash)}if(a.isStaticRequest)throw c.headers.set("Location",f),c;return{type:Ee.redirect,status:v,location:f,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(a.isRouteRequest)throw{type:s===Ee.error?Ee.error:Ee.data,response:c};let y;try{let f=c.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?c.body==null?y=null:y=await c.json():y=await c.text()}catch(f){return{type:Ee.error,error:f}}return s===Ee.error?{type:s,error:new As(v,c.statusText,y),headers:c.headers}:{type:Ee.data,data:y,statusCode:c.status,headers:c.headers}}if(s===Ee.error)return{type:s,error:c};if(ly(c)){var w,S;return{type:Ee.deferred,deferredData:c,statusCode:(w=c.init)==null?void 0:w.status,headers:((S=c.init)==null?void 0:S.headers)&&new Headers(c.init.headers)}}return{type:Ee.data,data:c}}function Qr(e,t,n,r){let i=e.createURL(Ah(t)).toString(),o={signal:n};if(r&&Rt(r.formMethod)){let{formMethod:l,formEncType:u}=r;o.method=l.toUpperCase(),u==="application/json"?(o.headers=new Headers({"Content-Type":u}),o.body=JSON.stringify(r.json)):u==="text/plain"?o.body=r.text:u==="application/x-www-form-urlencoded"&&r.formData?o.body=bu(r.formData):o.body=r.formData}return new Request(i,o)}function bu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Lf(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function iy(e,t,n,r,i){let o={},l=null,u,a=!1,s={};return n.forEach((c,d)=>{let h=t[d].route.id;if(Y(!Nn(c),"Cannot handle redirect results in processLoaderData"),pr(c)){let w=fi(e,h),S=c.error;r&&(S=Object.values(r)[0],r=void 0),l=l||{},l[w.route.id]==null&&(l[w.route.id]=S),o[h]=void 0,a||(a=!0,u=Fh(c.error)?c.error.status:500),c.headers&&(s[h]=c.headers)}else Fn(c)?(i.set(h,c.deferredData),o[h]=c.deferredData.data):o[h]=c.data,c.statusCode!=null&&c.statusCode!==200&&!a&&(u=c.statusCode),c.headers&&(s[h]=c.headers)}),r&&(l=r,o[Object.keys(r)[0]]=void 0),{loaderData:o,errors:l,statusCode:u||200,loaderHeaders:s}}function Tf(e,t,n,r,i,o,l,u){let{loaderData:a,errors:s}=iy(t,n,r,i,u);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function _f(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function vt(e,t){let{pathname:n,routeId:r,method:i,type:o}=t===void 0?{}:t,l="Unknown Server Error",u="Unknown @remix-run/router error";return e===400?(l="Bad Request",i&&n&&r?u="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?u="defer() is not supported in actions":o==="invalid-body"&&(u="Unable to encode submission body")):e===403?(l="Forbidden",u='Route "'+r+'" does not match URL "'+n+'"'):e===404?(l="Not Found",u='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",i&&n&&r?u="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(u='Invalid request method "'+i.toUpperCase()+'"')),new As(e||500,l,new Error(u),!0)}function Df(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Nn(n))return{result:n,idx:t}}}function Ah(e){let t=typeof e=="string"?en(e):e;return ji(ke({},t,{hash:""}))}function oy(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Fn(e){return e.type===Ee.deferred}function pr(e){return e.type===Ee.error}function Nn(e){return(e&&e.type)===Ee.redirect}function ly(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function ay(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function uy(e){return G0.has(e.toLowerCase())}function Rt(e){return K0.has(e.toLowerCase())}async function bf(e,t,n,r,i,o){for(let l=0;ld.route.id===a.route.id),c=s!=null&&!jh(s,a)&&(o&&o[a.route.id])!==void 0;if(Fn(u)&&(i||c)){let d=r[l];Y(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await $h(u,d,i).then(h=>{h&&(n[l]=h||n[l])})}}}async function $h(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Ee.data,data:e.deferredData.unwrappedData}}catch(i){return{type:Ee.error,error:i}}return{type:Ee.data,data:e.deferredData.data}}}function $s(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Fu(e,t){let n=typeof t=="string"?en(t).search:t.search;if(e[e.length-1].route.index&&$s(n||""))return e[e.length-1];let r=_h(e);return r[r.length-1]}function Ff(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:l}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function La(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function sy(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Kr(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function cy(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function un(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function fy(e,t){try{let n=e.sessionStorage.getItem(zh);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function dy(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(zh,JSON.stringify(n))}catch(r){Bn(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** - * React Router v6.21.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Ti(){return Ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),C.useCallback(function(s,c){if(c===void 0&&(c={}),!u.current)return;if(typeof s=="number"){r.go(s);return}let d=bh(s,JSON.parse(l),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:En([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,l,o,e])}function my(e,t,n,r){Dl()||Y(!1);let{navigator:i}=C.useContext(Il),{matches:o}=C.useContext(_r),l=o[o.length-1],u=l?l.params:{};l&&l.pathname;let a=l?l.pathnameBase:"/";l&&l.route;let s=Us(),c;if(t){var d;let y=typeof t=="string"?en(t):t;a==="/"||(d=y.pathname)!=null&&d.startsWith(a)||Y(!1),c=y}else c=s;let h=c.pathname||"/",w=a==="/"?h:h.slice(a.length)||"/",S=dr(e,{pathname:w}),v=wy(S&&S.map(y=>Object.assign({},y,{params:Object.assign({},u,y.params),pathname:En([a,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?a:En([a,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n,r);return t&&v?C.createElement(_l.Provider,{value:{location:Ti({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Re.Pop}},v):v}function vy(){let e=Py(),t=Fh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:i},n):null,null)}const gy=C.createElement(vy,null);class yy extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?C.createElement(_r.Provider,{value:this.props.routeContext},C.createElement(Hh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Sy(e){let{routeContext:t,match:n,children:r}=e,i=C.useContext(Tl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(_r.Provider,{value:t},r)}function wy(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let l=e,u=(i=n)==null?void 0:i.errors;if(u!=null){let c=l.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id]));c>=0||Y(!1),l=l.slice(0,Math.min(l.length,c+1))}let a=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?l=l.slice(0,s+1):l=[l[0]];break}}}return l.reduceRight((c,d,h)=>{let w,S=!1,v=null,y=null;n&&(w=u&&d.route.id?u[d.route.id]:void 0,v=d.route.errorElement||gy,a&&(s<0&&h===0?(Oy("route-fallback",!1),S=!0,y=null):s===h&&(S=!0,y=d.route.hydrateFallbackElement||null)));let f=t.concat(l.slice(0,h+1)),p=()=>{let m;return w?m=v:S?m=y:d.route.Component?m=C.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=c,C.createElement(Sy,{match:d,routeContext:{outlet:c,matches:f,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?C.createElement(yy,{location:n.location,revalidation:n.revalidation,component:v,error:w,children:p(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):p()},null)}var Wh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Wh||{}),rl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(rl||{});function Cy(e){let t=C.useContext(Tl);return t||Y(!1),t}function xy(e){let t=C.useContext(Uh);return t||Y(!1),t}function Ey(e){let t=C.useContext(_r);return t||Y(!1),t}function Qh(e){let t=Ey(),n=t.matches[t.matches.length-1];return n.route.id||Y(!1),n.route.id}function Py(){var e;let t=C.useContext(Hh),n=xy(rl.UseRouteError),r=Qh(rl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function ky(){let{router:e}=Cy(Wh.UseNavigateStable),t=Qh(rl.UseNavigateStable),n=C.useRef(!1);return Bh(()=>{n.current=!0}),C.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ti({fromRouteId:t},o)))},[e,t])}const Nf={};function Oy(e,t,n){!t&&!Nf[e]&&(Nf[e]=!0)}function Kh(e){Y(!1)}function Ry(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Re.Pop,navigator:o,static:l=!1,future:u}=e;Dl()&&Y(!1);let a=t.replace(/^\/*/,"/"),s=C.useMemo(()=>({basename:a,navigator:o,static:l,future:Ti({v7_relativeSplatPath:!1},u)}),[a,u,o,l]);typeof r=="string"&&(r=en(r));let{pathname:c="/",search:d="",hash:h="",state:w=null,key:S="default"}=r,v=C.useMemo(()=>{let y=Ai(c,a);return y==null?null:{location:{pathname:y,search:d,hash:h,state:w,key:S},navigationType:i}},[a,c,d,h,w,S,i]);return v==null?null:C.createElement(Il.Provider,{value:s},C.createElement(_l.Provider,{children:n,value:v}))}new Promise(()=>{});function Nu(e,t){t===void 0&&(t=[]);let n=[];return C.Children.forEach(e,(r,i)=>{if(!C.isValidElement(r))return;let o=[...t,i];if(r.type===C.Fragment){n.push.apply(n,Nu(r.props.children,o));return}r.type!==Kh&&Y(!1),!r.props.index||!r.props.children||Y(!1);let l={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Nu(r.props.children,o)),n.push(l)}),n}function My(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:C.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:C.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:C.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.21.3 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function Ly(e,t){let n=Vu(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}function Ty(e,t){return ey({basename:t==null?void 0:t.basename,future:il({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:x0({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Iy(),routes:e,mapRouteProperties:My,window:t==null?void 0:t.window}).initialize()}function Iy(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=il({},t,{errors:_y(t.errors)})),t}function _y(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new As(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let l=new o(i.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const Dy=C.createContext({isTransitioning:!1}),by=C.createContext(new Map),Fy="startTransition",Vf=za[Fy],Ny="flushSync",zf=C0[Ny];function Vy(e){Vf?Vf(e):e()}function Yr(e){zf?zf(e):e()}class zy{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function jy(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=C.useState(n.state),[l,u]=C.useState(),[a,s]=C.useState({isTransitioning:!1}),[c,d]=C.useState(),[h,w]=C.useState(),[S,v]=C.useState(),y=C.useRef(new Map),{v7_startTransition:f}=r||{},p=C.useCallback(E=>{f?Vy(E):E()},[f]),m=C.useCallback((E,O)=>{let{deletedFetchers:I,unstable_flushSync:D,unstable_viewTransitionOpts:B}=O;I.forEach(ie=>y.current.delete(ie)),E.fetchers.forEach((ie,xe)=>{ie.data!==void 0&&y.current.set(xe,ie.data)});let X=n.window==null||typeof n.window.document.startViewTransition!="function";if(!B||X){D?Yr(()=>o(E)):p(()=>o(E));return}if(D){Yr(()=>{h&&(c&&c.resolve(),h.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:B.currentLocation,nextLocation:B.nextLocation})});let ie=n.window.document.startViewTransition(()=>{Yr(()=>o(E))});ie.finished.finally(()=>{Yr(()=>{d(void 0),w(void 0),u(void 0),s({isTransitioning:!1})})}),Yr(()=>w(ie));return}h?(c&&c.resolve(),h.skipTransition(),v({state:E,currentLocation:B.currentLocation,nextLocation:B.nextLocation})):(u(E),s({isTransitioning:!0,flushSync:!1,currentLocation:B.currentLocation,nextLocation:B.nextLocation}))},[n.window,h,c,y,p]);C.useLayoutEffect(()=>n.subscribe(m),[n,m]),C.useEffect(()=>{a.isTransitioning&&!a.flushSync&&d(new zy)},[a]),C.useEffect(()=>{if(c&&l&&n.window){let E=l,O=c.promise,I=n.window.document.startViewTransition(async()=>{p(()=>o(E)),await O});I.finished.finally(()=>{d(void 0),w(void 0),u(void 0),s({isTransitioning:!1})}),w(I)}},[p,l,c,n.window]),C.useEffect(()=>{c&&l&&i.location.key===l.location.key&&c.resolve()},[c,h,i.location,l]),C.useEffect(()=>{!a.isTransitioning&&S&&(u(S.state),s({isTransitioning:!0,flushSync:!1,currentLocation:S.currentLocation,nextLocation:S.nextLocation}),v(void 0))},[a.isTransitioning,S]),C.useEffect(()=>{},[]);let P=C.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:E=>n.navigate(E),push:(E,O,I)=>n.navigate(E,{state:O,preventScrollReset:I==null?void 0:I.preventScrollReset}),replace:(E,O,I)=>n.navigate(E,{replace:!0,state:O,preventScrollReset:I==null?void 0:I.preventScrollReset})}),[n]),R=n.basename||"/",g=C.useMemo(()=>({router:n,navigator:P,static:!1,basename:R}),[n,P,R]);return C.createElement(C.Fragment,null,C.createElement(Tl.Provider,{value:g},C.createElement(Uh.Provider,{value:i},C.createElement(by.Provider,{value:y.current},C.createElement(Dy.Provider,{value:a},C.createElement(Ry,{basename:R,location:i.location,navigationType:i.historyAction,navigator:P,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?C.createElement(Ay,{routes:n.routes,future:n.future,state:i}):t))))),null)}function Ay(e){let{routes:t,future:n,state:r}=e;return my(t,void 0,r,n)}var jf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(jf||(jf={}));var Af;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Af||(Af={}));function $y(e){let t=C.useRef(Vu(e)),n=C.useRef(!1),r=Us(),i=C.useMemo(()=>Ly(r.search,n.current?null:t.current),[r.search]),o=py(),l=C.useCallback((u,a)=>{const s=Vu(typeof u=="function"?u(i):u);n.current=!0,o("?"+s,a)},[o,i]);return[i,l]}function Wn(e){"@babel/helpers - typeof";return Wn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wn(e)}function Uy(e,t){if(Wn(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Wn(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Yh(e){var t=Uy(e,"string");return Wn(t)=="symbol"?t:String(t)}function ti(e,t,n){return t=Yh(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&(n[i]=e[i]);return n}function tn(e,t){if(e==null)return{};var n=Qy(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var Ky=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Yy(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,o=e.defaultValue,l=o===void 0?null:o,u=e.inputValue,a=e.menuIsOpen,s=e.onChange,c=e.onInputChange,d=e.onMenuClose,h=e.onMenuOpen,w=e.value,S=tn(e,Ky),v=C.useState(u!==void 0?u:n),y=Yt(v,2),f=y[0],p=y[1],m=C.useState(a!==void 0?a:i),P=Yt(m,2),R=P[0],g=P[1],E=C.useState(w!==void 0?w:l),O=Yt(E,2),I=O[0],D=O[1],B=C.useCallback(function(T,V){typeof s=="function"&&s(T,V),D(T)},[s]),X=C.useCallback(function(T,V){var z;typeof c=="function"&&(z=c(T,V)),p(z!==void 0?z:T)},[c]),ie=C.useCallback(function(){typeof h=="function"&&h(),g(!0)},[h]),xe=C.useCallback(function(){typeof d=="function"&&d(),g(!1)},[d]),pe=u!==void 0?u:f,ae=a!==void 0?a:R,q=w!==void 0?w:I;return $($({},S),{},{inputValue:pe,menuIsOpen:ae,onChange:B,onInputChange:X,onMenuClose:xe,onMenuOpen:ie,value:q})}function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Ue(Dr,--lt):0,Mr--,Te===10&&(Mr=1,Fl--),Te}function ct(){return Te=lt2||_i(Te)>3?"":" "}function g1(e,t){for(;--t&&ct()&&!(Te<48||Te>102||Te>57&&Te<65||Te>70&&Te<97););return $i(e,Lo()+(t<6&&$t()==32&&ct()==32))}function $u(e){for(;ct();)switch(Te){case e:return lt;case 34:case 39:e!==34&&e!==39&&$u(Te);break;case 40:e===41&&$u(e);break;case 92:ct();break}return lt}function y1(e,t){for(;ct()&&e+Te!==57;)if(e+Te===84&&$t()===47)break;return"/*"+$i(t,lt-1)+"*"+bl(e===47?e:ct())}function S1(e){for(;!_i($t());)ct();return $i(e,lt)}function w1(e){return nm(Io("",null,null,null,[""],e=tm(e),0,[0],e))}function Io(e,t,n,r,i,o,l,u,a){for(var s=0,c=0,d=l,h=0,w=0,S=0,v=1,y=1,f=1,p=0,m="",P=i,R=o,g=r,E=m;y;)switch(S=p,p=ct()){case 40:if(S!=108&&Ue(E,d-1)==58){Au(E+=re(To(p),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:E+=To(p);break;case 9:case 10:case 13:case 32:E+=v1(S);break;case 92:E+=g1(Lo()-1,7);continue;case 47:switch($t()){case 42:case 47:fo(C1(y1(ct(),Lo()),t,n),a);break;default:E+="/"}break;case 123*v:u[s++]=Nt(E)*f;case 125*v:case 59:case 0:switch(p){case 0:case 125:y=0;case 59+c:f==-1&&(E=re(E,/\f/g,"")),w>0&&Nt(E)-d&&fo(w>32?Bf(E+";",r,n,d-1):Bf(re(E," ","")+";",r,n,d-2),a);break;case 59:E+=";";default:if(fo(g=Hf(E,t,n,s,c,i,u,m,P=[],R=[],d),o),p===123)if(c===0)Io(E,t,g,g,P,o,d,u,R);else switch(h===99&&Ue(E,3)===110?100:h){case 100:case 108:case 109:case 115:Io(e,g,g,r&&fo(Hf(e,g,g,0,0,i,u,m,i,P=[],d),R),i,R,d,u,r?P:R);break;default:Io(E,g,g,g,[""],R,0,u,R)}}s=c=w=0,v=f=1,m=E="",d=l;break;case 58:d=1+Nt(E),w=S;default:if(v<1){if(p==123)--v;else if(p==125&&v++==0&&m1()==125)continue}switch(E+=bl(p),p*v){case 38:f=c>0?1:(E+="\f",-1);break;case 44:u[s++]=(Nt(E)-1)*f,f=1;break;case 64:$t()===45&&(E+=To(ct())),h=$t(),c=d=Nt(m=E+=S1(Lo())),p++;break;case 45:S===45&&Nt(E)==2&&(v=0)}}return o}function Hf(e,t,n,r,i,o,l,u,a,s,c){for(var d=i-1,h=i===0?o:[""],w=Qs(h),S=0,v=0,y=0;S0?h[f]+" "+p:re(p,/&\f/g,h[f])))&&(a[y++]=m);return Nl(e,t,n,i===0?Bs:u,a,s,c)}function C1(e,t,n){return Nl(e,t,n,Zh,bl(h1()),Ii(e,2,-2),0)}function Bf(e,t,n,r){return Nl(e,t,n,Ws,Ii(e,0,r),Ii(e,r+1,-1),r)}function wr(e,t){for(var n="",r=Qs(e),i=0;i6)switch(Ue(e,t+1)){case 109:if(Ue(e,t+4)!==45)break;case 102:return re(e,/(.+:)(.+)-([^]+)/,"$1"+ne+"$2-$3$1"+ll+(Ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Au(e,"stretch")?rm(re(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ue(e,t+1)!==115)break;case 6444:switch(Ue(e,Nt(e)-3-(~Au(e,"!important")&&10))){case 107:return re(e,":",":"+ne)+e;case 101:return re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ne+(Ue(e,14)===45?"inline-":"")+"box$3$1"+ne+"$2$3$1"+Ye+"$2box$3")+e}break;case 5936:switch(Ue(e,t+11)){case 114:return ne+e+Ye+re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ne+e+Ye+re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ne+e+Ye+re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ne+e+Ye+e+e}return e}var I1=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Ws:t.return=rm(t.value,t.length);break;case Jh:return wr([Gr(t,{value:re(t.value,"@","@"+ne)})],i);case Bs:if(t.length)return p1(t.props,function(o){switch(d1(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wr([Gr(t,{props:[re(o,/:(read-\w+)/,":"+ll+"$1")]})],i);case"::placeholder":return wr([Gr(t,{props:[re(o,/:(plac\w+)/,":"+ne+"input-$1")]}),Gr(t,{props:[re(o,/:(plac\w+)/,":"+ll+"$1")]}),Gr(t,{props:[re(o,/:(plac\w+)/,Ye+"input-$1")]})],i)}return""})}},_1=[I1],D1=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var y=v.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var i=t.stylisPlugins||_1,o={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var y=v.getAttribute("data-emotion").split(" "),f=1;f=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Q1={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,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},K1=/[A-Z]|^ms/g,Y1=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sm=function(t){return t.charCodeAt(1)===45},Qf=function(t){return t!=null&&typeof t!="boolean"},Ta=k1(function(e){return sm(e)?e:e.replace(K1,"-$&").toLowerCase()}),Kf=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Y1,function(r,i,o){return Vt={name:i,styles:o,next:Vt},i})}return Q1[t]!==1&&!sm(t)&&typeof n=="number"&&n!==0?n+"px":n};function Di(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Vt={name:n.name,styles:n.styles,next:Vt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Vt={name:r.name,styles:r.styles,next:Vt},r=r.next;var i=n.styles+";";return i}return G1(e,t,n)}case"function":{if(e!==void 0){var o=Vt,l=n(e);return Vt=o,Di(e,t,l)}break}}if(t==null)return n;var u=t[n];return u!==void 0?u:n}function G1(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i({x:e,y:e});function sS(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function dm(e){return hm(e)?(e.nodeName||"").toLowerCase():"#document"}function It(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pm(e){var t;return(t=(hm(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hm(e){return e instanceof Node||e instanceof It(e).Node}function Hu(e){return e instanceof Element||e instanceof It(e).Element}function Js(e){return e instanceof HTMLElement||e instanceof It(e).HTMLElement}function Gf(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof It(e).ShadowRoot}function mm(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=qs(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function cS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fS(e){return["html","body","#document"].includes(dm(e))}function qs(e){return It(e).getComputedStyle(e)}function dS(e){if(dm(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Gf(e)&&e.host||pm(e);return Gf(t)?t.host:t}function vm(e){const t=dS(e);return fS(t)?e.ownerDocument?e.ownerDocument.body:e.body:Js(t)&&mm(t)?t:vm(t)}function sl(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=vm(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),l=It(i);return o?t.concat(l,l.visualViewport||[],mm(i)?i:[],l.frameElement&&n?sl(l.frameElement):[]):t.concat(i,sl(i,[],n))}function pS(e){const t=qs(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Js(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=al(n)!==o||al(r)!==l;return u&&(n=o,r=l),{width:n,height:r,$:u}}function ec(e){return Hu(e)?e:e.contextElement}function Ia(e){const t=ec(e);if(!Js(t))return ul(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=pS(t);let l=(o?al(n.width):n.width)/r,u=(o?al(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const hS=ul(0);function mS(e){const t=It(e);return!cS()||!t.visualViewport?hS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==It(e)?!1:t}function Xf(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=ec(e);let l=ul(1);t&&(r?Hu(r)&&(l=Ia(r)):l=Ia(e));const u=vS(o,n,r)?mS(o):ul(0);let a=(i.left+u.x)/l.x,s=(i.top+u.y)/l.y,c=i.width/l.x,d=i.height/l.y;if(o){const h=It(o),w=r&&Hu(r)?It(r):r;let S=h.frameElement;for(;S&&r&&w!==h;){const v=Ia(S),y=S.getBoundingClientRect(),f=qs(S),p=y.left+(S.clientLeft+parseFloat(f.paddingLeft))*v.x,m=y.top+(S.clientTop+parseFloat(f.paddingTop))*v.y;a*=v.x,s*=v.y,c*=v.x,d*=v.y,a+=p,s+=m,S=It(S).frameElement}}return sS({width:c,height:d,x:a,y:s})}function gS(e,t){let n=null,r;const i=pm(e);function o(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,a){u===void 0&&(u=!1),a===void 0&&(a=1),o();const{left:s,top:c,width:d,height:h}=e.getBoundingClientRect();if(u||t(),!d||!h)return;const w=po(c),S=po(i.clientWidth-(s+d)),v=po(i.clientHeight-(c+h)),y=po(s),p={rootMargin:-w+"px "+-S+"px "+-v+"px "+-y+"px",threshold:uS(0,aS(1,a))||1};let m=!0;function P(R){const g=R[0].intersectionRatio;if(g!==a){if(!m)return l();g?l(!1,g):r=setTimeout(()=>{l(!1,1e-7)},100)}m=!1}try{n=new IntersectionObserver(P,{...p,root:i.ownerDocument})}catch{n=new IntersectionObserver(P,p)}n.observe(e)}return l(!0),o}function yS(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,s=ec(e),c=i||o?[...s?sl(s):[],...sl(t)]:[];c.forEach(f=>{i&&f.addEventListener("scroll",n,{passive:!0}),o&&f.addEventListener("resize",n)});const d=s&&u?gS(s,n):null;let h=-1,w=null;l&&(w=new ResizeObserver(f=>{let[p]=f;p&&p.target===s&&w&&(w.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var m;(m=w)==null||m.observe(t)})),n()}),s&&!a&&w.observe(s),w.observe(t));let S,v=a?Xf(e):null;a&&y();function y(){const f=Xf(e);v&&(f.x!==v.x||f.y!==v.y||f.width!==v.width||f.height!==v.height)&&n(),v=f,S=requestAnimationFrame(y)}return n(),()=>{var f;c.forEach(p=>{i&&p.removeEventListener("scroll",n),o&&p.removeEventListener("resize",n)}),d==null||d(),(f=w)==null||f.disconnect(),w=null,a&&cancelAnimationFrame(S)}}var Bu=C.useLayoutEffect,SS=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],cl=function(){};function wS(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function CS(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i-1}function xS(e){return Kl(e)?window.innerHeight:e.clientHeight}function ym(e){return Kl(e)?window.pageYOffset:e.scrollTop}function fl(e,t){if(Kl(e)){window.scrollTo(0,t);return}e.scrollTop=t}function ES(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function PS(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function ho(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:cl,i=ym(e),o=t-i,l=10,u=0;function a(){u+=l;var s=PS(u,i,o,n);fl(e,s),un.bottom?fl(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i1?n-1:0),i=1;i=S)return{placement:"bottom",maxHeight:t};if(I>=S&&!l)return o&&ho(a,D,X),{placement:"bottom",maxHeight:t};if(!l&&I>=r||l&&E>=r){o&&ho(a,D,X);var ie=l?E-P:I-P;return{placement:"bottom",maxHeight:ie}}if(i==="auto"||l){var xe=t,pe=l?g:O;return pe>=r&&(xe=Math.min(pe-P-u,t)),{placement:"top",maxHeight:xe}}if(i==="bottom")return o&&fl(a,D),{placement:"bottom",maxHeight:t};break;case"top":if(g>=S)return{placement:"top",maxHeight:t};if(O>=S&&!l)return o&&ho(a,B,X),{placement:"top",maxHeight:t};if(!l&&O>=r||l&&g>=r){var ae=t;return(!l&&O>=r||l&&g>=r)&&(ae=l?g-R:O-R),o&&ho(a,B,X),{placement:"top",maxHeight:ae}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return s}function FS(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var wm=function(t){return t==="auto"?"bottom":t},NS=function(t,n){var r,i=t.placement,o=t.theme,l=o.borderRadius,u=o.spacing,a=o.colors;return $((r={label:"menu"},ti(r,FS(i),"100%"),ti(r,"position","absolute"),ti(r,"width","100%"),ti(r,"zIndex",1),r),n?{}:{backgroundColor:a.neutral0,borderRadius:l,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},Cm=C.createContext(null),VS=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,l=t.menuPosition,u=t.menuShouldScrollIntoView,a=t.theme,s=C.useContext(Cm)||{},c=s.setPortalPlacement,d=C.useRef(null),h=C.useState(i),w=Yt(h,2),S=w[0],v=w[1],y=C.useState(null),f=Yt(y,2),p=f[0],m=f[1],P=a.spacing.controlHeight;return Bu(function(){var R=d.current;if(R){var g=l==="fixed",E=u&&!g,O=bS({maxHeight:i,menuEl:R,minHeight:r,placement:o,shouldScroll:E,isFixedPosition:g,controlHeight:P});v(O.maxHeight),m(O.placement),c==null||c(O.placement)}},[i,o,l,u,r,c,P]),n({ref:d,placerProps:$($({},t),{},{placement:p||wm(o),maxHeight:S})})},zS=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return A("div",U({},Oe(t,"menu",{menu:!0}),{ref:r},i),n)},jS=zS,AS=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return $({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},$S=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,o=t.isMulti;return A("div",U({},Oe(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},xm=function(t,n){var r=t.theme,i=r.spacing.baseUnit,o=r.colors;return $({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},US=xm,HS=xm,BS=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,o=tn(t,_S);return A("div",U({},Oe($($({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},WS=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,o=tn(t,DS);return A("div",U({},Oe($($({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},QS=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},KS=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,o=t.innerProps,l=t.menuPlacement,u=t.menuPosition,a=C.useRef(null),s=C.useRef(null),c=C.useState(wm(l)),d=Yt(c,2),h=d[0],w=d[1],S=C.useMemo(function(){return{setPortalPlacement:w}},[]),v=C.useState(null),y=Yt(v,2),f=y[0],p=y[1],m=C.useCallback(function(){if(i){var E=kS(i),O=u==="fixed"?0:window.pageYOffset,I=E[h]+O;(I!==(f==null?void 0:f.offset)||E.left!==(f==null?void 0:f.rect.left)||E.width!==(f==null?void 0:f.rect.width))&&p({offset:I,rect:E})}},[i,u,h,f==null?void 0:f.offset,f==null?void 0:f.rect.left,f==null?void 0:f.rect.width]);Bu(function(){m()},[m]);var P=C.useCallback(function(){typeof s.current=="function"&&(s.current(),s.current=null),i&&a.current&&(s.current=yS(i,a.current,m,{elementResize:"ResizeObserver"in window}))},[i,m]);Bu(function(){P()},[P]);var R=C.useCallback(function(E){a.current=E,P()},[P]);if(!n&&u!=="fixed"||!f)return null;var g=A("div",U({ref:R},Oe($($({},t),{},{offset:f.offset,position:u,rect:f.rect}),"menuPortal",{"menu-portal":!0}),o),r);return A(Cm.Provider,{value:S},n?Ll.createPortal(g,n):g)},YS=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},GS=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,o=t.isRtl;return A("div",U({},Oe(t,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},XS=function(t,n){var r=t.theme.spacing,i=t.isMulti,o=t.hasValue,l=t.selectProps.controlShouldRenderValue;return $({alignItems:"center",display:i&&o&&l?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},ZS=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,o=t.hasValue;return A("div",U({},Oe(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},JS=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},qS=function(t){var n=t.children,r=t.innerProps;return A("div",U({},Oe(t,"indicatorsContainer",{indicators:!0}),r),n)},ed,ew=["size"],tw=["innerProps","isRtl","size"],nw={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Em=function(t){var n=t.size,r=tn(t,ew);return A("svg",U({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:nw},r))},tc=function(t){return A(Em,U({size:20},t),A("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Pm=function(t){return A(Em,U({size:20},t),A("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},km=function(t,n){var r=t.isFocused,i=t.theme,o=i.spacing.baseUnit,l=i.colors;return $({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?l.neutral60:l.neutral20,padding:o*2,":hover":{color:r?l.neutral80:l.neutral40}})},rw=km,iw=function(t){var n=t.children,r=t.innerProps;return A("div",U({},Oe(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||A(Pm,null))},ow=km,lw=function(t){var n=t.children,r=t.innerProps;return A("div",U({},Oe(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||A(tc,null))},aw=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing.baseUnit,l=i.colors;return $({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?l.neutral10:l.neutral20,marginBottom:o*2,marginTop:o*2})},uw=function(t){var n=t.innerProps;return A("span",U({},n,Oe(t,"indicatorSeparator",{"indicator-separator":!0})))},sw=oS(ed||(ed=lS([` - 0%, 80%, 100% { opacity: 0; } - 40% { opacity: 1; } -`]))),cw=function(t,n){var r=t.isFocused,i=t.size,o=t.theme,l=o.colors,u=o.spacing.baseUnit;return $({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?l.neutral60:l.neutral20,padding:u*2})},_a=function(t){var n=t.delay,r=t.offset;return A("span",{css:Zs({animation:"".concat(sw," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},fw=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,o=i===void 0?4:i,l=tn(t,tw);return A("div",U({},Oe($($({},l),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),A(_a,{delay:0,offset:r}),A(_a,{delay:160,offset:!0}),A(_a,{delay:320,offset:!r}))},dw=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.theme,l=o.colors,u=o.borderRadius,a=o.spacing;return $({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?l.neutral5:l.neutral0,borderColor:r?l.neutral10:i?l.primary:l.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(l.primary):void 0,"&:hover":{borderColor:i?l.primary:l.neutral30}})},pw=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.innerRef,l=t.innerProps,u=t.menuIsOpen;return A("div",U({ref:o},Oe(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),l,{"aria-disabled":r||void 0}),n)},hw=pw,mw=["data"],vw=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},gw=function(t){var n=t.children,r=t.cx,i=t.getStyles,o=t.getClassNames,l=t.Heading,u=t.headingProps,a=t.innerProps,s=t.label,c=t.theme,d=t.selectProps;return A("div",U({},Oe(t,"group",{group:!0}),a),A(l,U({},u,{selectProps:d,theme:c,getStyles:i,getClassNames:o,cx:r}),s),A("div",null,n))},yw=function(t,n){var r=t.theme,i=r.colors,o=r.spacing;return $({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},Sw=function(t){var n=gm(t);n.data;var r=tn(n,mw);return A("div",U({},Oe(t,"groupHeading",{"group-heading":!0}),r))},ww=gw,Cw=["innerRef","isDisabled","isHidden","inputClassName"],xw=function(t,n){var r=t.isDisabled,i=t.value,o=t.theme,l=o.spacing,u=o.colors;return $($({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},Ew),n?{}:{margin:l.baseUnit/2,paddingBottom:l.baseUnit/2,paddingTop:l.baseUnit/2,color:u.neutral80})},Om={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ew={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":$({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Om)},Pw=function(t){return $({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Om)},kw=function(t){var n=t.cx,r=t.value,i=gm(t),o=i.innerRef,l=i.isDisabled,u=i.isHidden,a=i.inputClassName,s=tn(i,Cw);return A("div",U({},Oe(t,"input",{"input-container":!0}),{"data-value":r||""}),A("input",U({className:n({input:!0},a),ref:o,style:Pw(u),disabled:l},s)))},Ow=kw,Rw=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,l=r.colors;return $({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:l.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},Mw=function(t,n){var r=t.theme,i=r.borderRadius,o=r.colors,l=t.cropWithEllipsis;return $({overflow:"hidden",textOverflow:l||l===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Lw=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,l=r.colors,u=t.isFocused;return $({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:u?l.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}})},Rm=function(t){var n=t.children,r=t.innerProps;return A("div",r,n)},Tw=Rm,Iw=Rm;function _w(e){var t=e.children,n=e.innerProps;return A("div",U({role:"button"},n),t||A(tc,{size:14}))}var Dw=function(t){var n=t.children,r=t.components,i=t.data,o=t.innerProps,l=t.isDisabled,u=t.removeProps,a=t.selectProps,s=r.Container,c=r.Label,d=r.Remove;return A(s,{data:i,innerProps:$($({},Oe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":l})),o),selectProps:a},A(c,{data:i,innerProps:$({},Oe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},n),A(d,{data:i,innerProps:$($({},Oe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:a}))},bw=Dw,Fw=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.isSelected,l=t.theme,u=l.spacing,a=l.colors;return $({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?a.primary:i?a.primary25:"transparent",color:r?a.neutral20:o?a.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?a.primary:a.primary50}})},Nw=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.isSelected,l=t.innerRef,u=t.innerProps;return A("div",U({},Oe(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:l,"aria-disabled":r},u),n)},Vw=Nw,zw=function(t,n){var r=t.theme,i=r.spacing,o=r.colors;return $({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},jw=function(t){var n=t.children,r=t.innerProps;return A("div",U({},Oe(t,"placeholder",{placeholder:!0}),r),n)},Aw=jw,$w=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing,l=i.colors;return $({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?l.neutral40:l.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},Uw=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return A("div",U({},Oe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},Hw=Uw,Bw={ClearIndicator:lw,Control:hw,DropdownIndicator:iw,DownChevron:Pm,CrossIcon:tc,Group:ww,GroupHeading:Sw,IndicatorsContainer:qS,IndicatorSeparator:uw,Input:Ow,LoadingIndicator:fw,Menu:jS,MenuList:$S,MenuPortal:KS,LoadingMessage:WS,NoOptionsMessage:BS,MultiValue:bw,MultiValueContainer:Tw,MultiValueLabel:Iw,MultiValueRemove:_w,Option:Vw,Placeholder:Aw,SelectContainer:GS,SingleValue:Hw,ValueContainer:ZS},Ww=function(t){return $($({},Bw),t.components)},td=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Qw(e,t){return!!(e===t||td(e)&&td(t))}function Kw(e,t){if(e.length!==t.length)return!1;for(var n=0;n1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return l?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,o=t.label,l=o===void 0?"":o,u=t.selectValue,a=t.isDisabled,s=t.isSelected,c=t.isAppleDevice,d=function(v,y){return v&&v.length?"".concat(v.indexOf(y)+1," of ").concat(v.length):""};if(n==="value"&&u)return"value ".concat(l," focused, ").concat(d(u,r),".");if(n==="menu"&&c){var h=a?" disabled":"",w="".concat(s?" selected":"").concat(h);return"".concat(l).concat(w,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Jw=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,l=t.isFocused,u=t.selectValue,a=t.selectProps,s=t.id,c=t.isAppleDevice,d=a.ariaLiveMessages,h=a.getOptionLabel,w=a.inputValue,S=a.isMulti,v=a.isOptionDisabled,y=a.isSearchable,f=a.menuIsOpen,p=a.options,m=a.screenReaderStatus,P=a.tabSelectsValue,R=a.isLoading,g=a["aria-label"],E=a["aria-live"],O=C.useMemo(function(){return $($({},Zw),d||{})},[d]),I=C.useMemo(function(){var pe="";if(n&&O.onChange){var ae=n.option,q=n.options,T=n.removedValue,V=n.removedValues,z=n.value,Z=function(Et){return Array.isArray(Et)?null:Et},Q=T||ae||Z(z),ve=Q?h(Q):"",ue=q||V||void 0,Le=ue?ue.map(h):[],se=$({isDisabled:Q&&v(Q,u),label:ve,labels:Le},n);pe=O.onChange(se)}return pe},[n,O,v,u,h]),D=C.useMemo(function(){var pe="",ae=r||i,q=!!(r&&u&&u.includes(r));if(ae&&O.onFocus){var T={focused:ae,label:h(ae),isDisabled:v(ae,u),isSelected:q,options:o,context:ae===r?"menu":"value",selectValue:u,isAppleDevice:c};pe=O.onFocus(T)}return pe},[r,i,h,v,O,o,u,c]),B=C.useMemo(function(){var pe="";if(f&&p.length&&!R&&O.onFilter){var ae=m({count:o.length});pe=O.onFilter({inputValue:w,resultsMessage:ae})}return pe},[o,w,f,O,p,m,R]),X=(n==null?void 0:n.action)==="initial-input-focus",ie=C.useMemo(function(){var pe="";if(O.guidance){var ae=i?"value":f?"menu":"input";pe=O.guidance({"aria-label":g,context:ae,isDisabled:r&&v(r,u),isMulti:S,isSearchable:y,tabSelectsValue:P,isInitialFocus:X})}return pe},[g,r,i,S,v,y,f,O,u,P,X]),xe=A(C.Fragment,null,A("span",{id:"aria-selection"},I),A("span",{id:"aria-focused"},D),A("span",{id:"aria-results"},B),A("span",{id:"aria-guidance"},ie));return A(C.Fragment,null,A(nd,{id:s},X&&xe),A(nd,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},l&&!X&&xe))},qw=Jw,Wu=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],eC=new RegExp("["+Wu.map(function(e){return e.letters}).join("")+"]","g"),Mm={};for(var Da=0;Da-1}},iC=["innerRef"];function oC(e){var t=e.innerRef,n=tn(e,iC),r=IS(n,"onExited","in","enter","exit","appear");return A("input",U({ref:t},r,{css:Zs({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var lC=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function aC(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,l=C.useRef(!1),u=C.useRef(!1),a=C.useRef(0),s=C.useRef(null),c=C.useCallback(function(y,f){if(s.current!==null){var p=s.current,m=p.scrollTop,P=p.scrollHeight,R=p.clientHeight,g=s.current,E=f>0,O=P-R-m,I=!1;O>f&&l.current&&(r&&r(y),l.current=!1),E&&u.current&&(o&&o(y),u.current=!1),E&&f>O?(n&&!l.current&&n(y),g.scrollTop=P,I=!0,l.current=!0):!E&&-f>m&&(i&&!u.current&&i(y),g.scrollTop=0,I=!0,u.current=!0),I&&lC(y)}},[n,r,i,o]),d=C.useCallback(function(y){c(y,y.deltaY)},[c]),h=C.useCallback(function(y){a.current=y.changedTouches[0].clientY},[]),w=C.useCallback(function(y){var f=a.current-y.changedTouches[0].clientY;c(y,f)},[c]),S=C.useCallback(function(y){if(y){var f=MS?{passive:!1}:!1;y.addEventListener("wheel",d,f),y.addEventListener("touchstart",h,f),y.addEventListener("touchmove",w,f)}},[w,h,d]),v=C.useCallback(function(y){y&&(y.removeEventListener("wheel",d,!1),y.removeEventListener("touchstart",h,!1),y.removeEventListener("touchmove",w,!1))},[w,h,d]);return C.useEffect(function(){if(t){var y=s.current;return S(y),function(){v(y)}}},[t,S,v]),function(y){s.current=y}}var id=["boxSizing","height","overflow","paddingRight","position"],od={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ld(e){e.preventDefault()}function ad(e){e.stopPropagation()}function ud(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function sd(){return"ontouchstart"in window||navigator.maxTouchPoints}var cd=!!(typeof window<"u"&&window.document&&window.document.createElement),Xr=0,qn={capture:!1,passive:!1};function uC(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=C.useRef({}),o=C.useRef(null),l=C.useCallback(function(a){if(cd){var s=document.body,c=s&&s.style;if(r&&id.forEach(function(S){var v=c&&c[S];i.current[S]=v}),r&&Xr<1){var d=parseInt(i.current.paddingRight,10)||0,h=document.body?document.body.clientWidth:0,w=window.innerWidth-h+d||0;Object.keys(od).forEach(function(S){var v=od[S];c&&(c[S]=v)}),c&&(c.paddingRight="".concat(w,"px"))}s&&sd()&&(s.addEventListener("touchmove",ld,qn),a&&(a.addEventListener("touchstart",ud,qn),a.addEventListener("touchmove",ad,qn))),Xr+=1}},[r]),u=C.useCallback(function(a){if(cd){var s=document.body,c=s&&s.style;Xr=Math.max(Xr-1,0),r&&Xr<1&&id.forEach(function(d){var h=i.current[d];c&&(c[d]=h)}),s&&sd()&&(s.removeEventListener("touchmove",ld,qn),a&&(a.removeEventListener("touchstart",ud,qn),a.removeEventListener("touchmove",ad,qn)))}},[r]);return C.useEffect(function(){if(t){var a=o.current;return l(a),function(){u(a)}}},[t,l,u]),function(a){o.current=a}}var sC=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},cC={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function fC(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,o=e.onBottomArrive,l=e.onBottomLeave,u=e.onTopArrive,a=e.onTopLeave,s=aC({isEnabled:i,onBottomArrive:o,onBottomLeave:l,onTopArrive:u,onTopLeave:a}),c=uC({isEnabled:n}),d=function(w){s(w),c(w)};return A(C.Fragment,null,n&&A("div",{onClick:sC,css:cC}),t(d))}var dC={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},pC=function(t){var n=t.name,r=t.onFocus;return A("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:dC,value:"",onChange:function(){}})},hC=pC;function nc(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function mC(){return nc(/^iPhone/i)}function Tm(){return nc(/^Mac/i)}function vC(){return nc(/^iPad/i)||Tm()&&navigator.maxTouchPoints>1}function gC(){return mC()||vC()}function yC(){return Tm()||gC()}var SC=function(t){return t.label},wC=function(t){return t.label},CC=function(t){return t.value},xC=function(t){return!!t.isDisabled},EC={clearIndicator:ow,container:YS,control:dw,dropdownIndicator:rw,group:vw,groupHeading:yw,indicatorsContainer:JS,indicatorSeparator:aw,input:xw,loadingIndicator:cw,loadingMessage:HS,menu:NS,menuList:AS,menuPortal:QS,multiValue:Rw,multiValueLabel:Mw,multiValueRemove:Lw,noOptionsMessage:US,option:Fw,placeholder:zw,singleValue:$w,valueContainer:XS},PC={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},kC=4,Im=4,OC=38,RC=Im*2,MC={baseUnit:Im,controlHeight:OC,menuGutter:RC},Na={borderRadius:kC,colors:PC,spacing:MC},LC={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:qf(),captureMenuScroll:!qf(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:rC(),formatGroupLabel:SC,getOptionLabel:wC,getOptionValue:CC,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:xC,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!OS(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function fd(e,t,n,r){var i=bm(e,t,n),o=Fm(e,t,n),l=Dm(e,t),u=dl(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:l,value:u,index:r}}function _o(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(l,u){return fd(e,l,t,u)}).filter(function(l){return pd(e,l)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=fd(e,n,t,r);return pd(e,o)?o:void 0}).filter(LS)}function _m(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Hs(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function dd(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Hs(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function TC(e,t){return _m(_o(e,t))}function pd(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,o=t.isSelected,l=t.label,u=t.value;return(!Vm(e)||!o)&&Nm(e,{label:l,value:u,data:i},r)}function IC(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var o=t.indexOf(n);if(o>-1)return n;if(i-1?n:t[0]}var Va=function(t,n){var r,i=(r=t.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},Dm=function(t,n){return t.getOptionLabel(n)},dl=function(t,n){return t.getOptionValue(n)};function bm(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Fm(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=dl(e,t);return n.some(function(i){return dl(e,i)===r})}function Nm(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Vm=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},DC=1,zm=function(e){Zy(n,e);var t=e1(n);function n(r){var i;if(Gy(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=yC(),i.controlRef=null,i.getControlRef=function(a){i.controlRef=a},i.focusedOptionRef=null,i.getFocusedOptionRef=function(a){i.focusedOptionRef=a},i.menuListRef=null,i.getMenuListRef=function(a){i.menuListRef=a},i.inputRef=null,i.getInputRef=function(a){i.inputRef=a},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(a,s){var c=i.props,d=c.onChange,h=c.name;s.name=h,i.ariaOnChange(a,s),d(a,s)},i.setValue=function(a,s,c){var d=i.props,h=d.closeMenuOnSelect,w=d.isMulti,S=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:S}),h&&(i.setState({inputIsHiddenAfterUpdate:!w}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(a,{action:s,option:c})},i.selectOption=function(a){var s=i.props,c=s.blurInputOnSelect,d=s.isMulti,h=s.name,w=i.state.selectValue,S=d&&i.isOptionSelected(a,w),v=i.isOptionDisabled(a,w);if(S){var y=i.getOptionValue(a);i.setValue(w.filter(function(f){return i.getOptionValue(f)!==y}),"deselect-option",a)}else if(!v)d?i.setValue([].concat(Hs(w),[a]),"select-option",a):i.setValue(a,"select-option");else{i.ariaOnChange(a,{action:"select-option",option:a,name:h});return}c&&i.blurInput()},i.removeValue=function(a){var s=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(a),h=c.filter(function(S){return i.getOptionValue(S)!==d}),w=vo(s,h,h[0]||null);i.onChange(w,{action:"remove-value",removedValue:a}),i.focusInput()},i.clearValue=function(){var a=i.state.selectValue;i.onChange(vo(i.props.isMulti,[],null),{action:"clear",removedValues:a})},i.popValue=function(){var a=i.props.isMulti,s=i.state.selectValue,c=s[s.length-1],d=s.slice(0,s.length-1),h=vo(a,d,d[0]||null);i.onChange(h,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(a){return Va(i.state.focusableOptionsWithIds,a)},i.getFocusableOptionsWithIds=function(){return dd(_o(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var a=arguments.length,s=new Array(a),c=0;cw||h>w}},i.onTouchEnd=function(a){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(a.target)&&i.menuListRef&&!i.menuListRef.contains(a.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(a){i.userIsDragging||i.onControlMouseDown(a)},i.onClearIndicatorTouchEnd=function(a){i.userIsDragging||i.onClearIndicatorMouseDown(a)},i.onDropdownIndicatorTouchEnd=function(a){i.userIsDragging||i.onDropdownIndicatorMouseDown(a)},i.handleInputChange=function(a){var s=i.props.inputValue,c=a.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:s}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(a){i.props.onFocus&&i.props.onFocus(a),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(a){var s=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(a),i.onInputChange("",{action:"input-blur",prevInputValue:s}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(a){if(!(i.blockOptionHover||i.state.focusedOption===a)){var s=i.getFocusableOptions(),c=s.indexOf(a);i.setState({focusedOption:a,focusedOptionId:c>-1?i.getFocusedOptionId(a):null})}},i.shouldHideSelectedOptions=function(){return Vm(i.props)},i.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),i.focus()},i.onKeyDown=function(a){var s=i.props,c=s.isMulti,d=s.backspaceRemovesValue,h=s.escapeClearsValue,w=s.inputValue,S=s.isClearable,v=s.isDisabled,y=s.menuIsOpen,f=s.onKeyDown,p=s.tabSelectsValue,m=s.openMenuOnFocus,P=i.state,R=P.focusedOption,g=P.focusedValue,E=P.selectValue;if(!v&&!(typeof f=="function"&&(f(a),a.defaultPrevented))){switch(i.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||w)return;i.focusValue("previous");break;case"ArrowRight":if(!c||w)return;i.focusValue("next");break;case"Delete":case"Backspace":if(w)return;if(g)i.removeValue(g);else{if(!d)return;c?i.popValue():S&&i.clearValue()}break;case"Tab":if(i.isComposing||a.shiftKey||!y||!p||!R||m&&i.isOptionSelected(R,E))return;i.selectOption(R);break;case"Enter":if(a.keyCode===229)break;if(y){if(!R||i.isComposing)return;i.selectOption(R);break}return;case"Escape":y?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:w}),i.onMenuClose()):S&&h&&i.clearValue();break;case" ":if(w)return;if(!y){i.openMenu("first");break}if(!R)return;i.selectOption(R);break;case"ArrowUp":y?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":y?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!y)return;i.focusOption("pageup");break;case"PageDown":if(!y)return;i.focusOption("pagedown");break;case"Home":if(!y)return;i.focusOption("first");break;case"End":if(!y)return;i.focusOption("last");break;default:return}a.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++DC),i.state.selectValue=Zf(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),l=i.buildFocusableOptions(),u=l.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=l[u],i.state.focusedOptionId=Va(o,l[u])}return i}return Xy(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Jf(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,l=o.isDisabled,u=o.menuIsOpen,a=this.state.isFocused;(a&&!l&&i.isDisabled||a&&u&&!i.menuIsOpen)&&this.focusInput(),a&&l&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!l&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Jf(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,l=this.state,u=l.selectValue,a=l.isFocused,s=this.buildFocusableOptions(),c=i==="first"?0:s.length-1;if(!this.props.isMulti){var d=s.indexOf(u[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:s[c],focusedOptionId:this.getFocusedOptionId(s[c])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,l=o.selectValue,u=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=l.indexOf(u);u||(a=-1);var s=l.length-1,c=-1;if(l.length){switch(i){case"previous":a===0?c=0:a===-1?c=s:c=a-1;break;case"next":a>-1&&a0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,l=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var a=0,s=u.indexOf(l);l||(s=-1),i==="up"?a=s>0?s-1:u.length-1:i==="down"?a=(s+1)%u.length:i==="pageup"?(a=s-o,a<0&&(a=0)):i==="pagedown"?(a=s+o,a>u.length-1&&(a=u.length-1)):i==="last"&&(a=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Na):$($({},Na),this.props.theme):Na}},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,l=this.getStyles,u=this.getClassNames,a=this.getValue,s=this.selectOption,c=this.setValue,d=this.props,h=d.isMulti,w=d.isRtl,S=d.options,v=this.hasValue();return{clearValue:i,cx:o,getStyles:l,getClassNames:u,getValue:a,hasValue:v,isMulti:h,isRtl:w,options:S,selectOption:s,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,l=i.isMulti;return o===void 0?l:o}},{key:"isOptionDisabled",value:function(i,o){return bm(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return Fm(this.props,i,o)}},{key:"filterOption",value:function(i,o){return Nm(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var l=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:l,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,o=i.isDisabled,l=i.isSearchable,u=i.inputId,a=i.inputValue,s=i.tabIndex,c=i.form,d=i.menuIsOpen,h=i.required,w=this.getComponents(),S=w.Input,v=this.state,y=v.inputIsHidden,f=v.ariaSelection,p=this.commonProps,m=u||this.getElementId("input"),P=$($($({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":h,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!l&&{"aria-readonly":!0}),this.hasValue()?(f==null?void 0:f.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return l?C.createElement(S,U({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:o,isHidden:y,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:c,type:"text",value:a},P)):C.createElement(oC,U({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:cl,onFocus:this.onInputFocus,disabled:o,tabIndex:s,inputMode:"none",form:c,value:""},P))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),l=o.MultiValue,u=o.MultiValueContainer,a=o.MultiValueLabel,s=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,h=this.commonProps,w=this.props,S=w.controlShouldRenderValue,v=w.isDisabled,y=w.isMulti,f=w.inputValue,p=w.placeholder,m=this.state,P=m.selectValue,R=m.focusedValue,g=m.isFocused;if(!this.hasValue()||!S)return f?null:C.createElement(d,U({},h,{key:"placeholder",isDisabled:v,isFocused:g,innerProps:{id:this.getElementId("placeholder")}}),p);if(y)return P.map(function(O,I){var D=O===R,B="".concat(i.getOptionLabel(O),"-").concat(i.getOptionValue(O));return C.createElement(l,U({},h,{components:{Container:u,Label:a,Remove:s},isFocused:D,isDisabled:v,key:B,index:I,removeProps:{onClick:function(){return i.removeValue(O)},onTouchEnd:function(){return i.removeValue(O)},onMouseDown:function(ie){ie.preventDefault()}},data:O}),i.formatOptionLabel(O,"value"))});if(f)return null;var E=P[0];return C.createElement(c,U({},h,{data:E,isDisabled:v}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,l=this.commonProps,u=this.props,a=u.isDisabled,s=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||a||!this.hasValue()||s)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return C.createElement(o,U({},l,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,l=this.commonProps,u=this.props,a=u.isDisabled,s=u.isLoading,c=this.state.isFocused;if(!o||!s)return null;var d={"aria-hidden":"true"};return C.createElement(o,U({},l,{innerProps:d,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,l=i.IndicatorSeparator;if(!o||!l)return null;var u=this.commonProps,a=this.props.isDisabled,s=this.state.isFocused;return C.createElement(l,U({},u,{isDisabled:a,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var l=this.commonProps,u=this.props.isDisabled,a=this.state.isFocused,s={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return C.createElement(o,U({},l,{innerProps:s,isDisabled:u,isFocused:a}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),l=o.Group,u=o.GroupHeading,a=o.Menu,s=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,h=o.NoOptionsMessage,w=o.Option,S=this.commonProps,v=this.state.focusedOption,y=this.props,f=y.captureMenuScroll,p=y.inputValue,m=y.isLoading,P=y.loadingMessage,R=y.minMenuHeight,g=y.maxMenuHeight,E=y.menuIsOpen,O=y.menuPlacement,I=y.menuPosition,D=y.menuPortalTarget,B=y.menuShouldBlockScroll,X=y.menuShouldScrollIntoView,ie=y.noOptionsMessage,xe=y.onMenuScrollToTop,pe=y.onMenuScrollToBottom;if(!E)return null;var ae=function(ve,ue){var Le=ve.type,se=ve.data,je=ve.isDisabled,Et=ve.isSelected,Yn=ve.label,Yl=ve.value,We=v===se,nn=je?void 0:function(){return i.onOptionHover(se)},Ui=je?void 0:function(){return i.selectOption(se)},Hi="".concat(i.getElementId("option"),"-").concat(ue),Ut={id:Hi,onClick:Ui,onMouseMove:nn,onMouseOver:nn,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:Et};return C.createElement(w,U({},S,{innerProps:Ut,data:se,isDisabled:je,isSelected:Et,key:Hi,label:Yn,type:Le,value:Yl,isFocused:We,innerRef:We?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(ve.data,"menu"))},q;if(this.hasOptions())q=this.getCategorizedOptions().map(function(Q){if(Q.type==="group"){var ve=Q.data,ue=Q.options,Le=Q.index,se="".concat(i.getElementId("group"),"-").concat(Le),je="".concat(se,"-heading");return C.createElement(l,U({},S,{key:se,data:ve,options:ue,Heading:u,headingProps:{id:je,data:Q.data},label:i.formatGroupLabel(Q.data)}),Q.options.map(function(Et){return ae(Et,"".concat(Le,"-").concat(Et.index))}))}else if(Q.type==="option")return ae(Q,"".concat(Q.index))});else if(m){var T=P({inputValue:p});if(T===null)return null;q=C.createElement(d,S,T)}else{var V=ie({inputValue:p});if(V===null)return null;q=C.createElement(h,S,V)}var z={minMenuHeight:R,maxMenuHeight:g,menuPlacement:O,menuPosition:I,menuShouldScrollIntoView:X},Z=C.createElement(VS,U({},S,z),function(Q){var ve=Q.ref,ue=Q.placerProps,Le=ue.placement,se=ue.maxHeight;return C.createElement(a,U({},S,z,{innerRef:ve,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:m,placement:Le}),C.createElement(fC,{captureEnabled:f,onTopArrive:xe,onBottomArrive:pe,lockEnabled:B},function(je){return C.createElement(s,U({},S,{innerRef:function(Yn){i.getMenuListRef(Yn),je(Yn)},innerProps:{role:"listbox","aria-multiselectable":S.isMulti,id:i.getElementId("listbox")},isLoading:m,maxHeight:se,focusedOption:v}),q)}))});return D||I==="fixed"?C.createElement(c,U({},S,{appendTo:D,controlElement:this.controlRef,menuPlacement:O,menuPosition:I}),Z):Z}},{key:"renderFormField",value:function(){var i=this,o=this.props,l=o.delimiter,u=o.isDisabled,a=o.isMulti,s=o.name,c=o.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!u)return C.createElement(hC,{name:s,onFocus:this.onValueInputFocus});if(!(!s||u))if(a)if(l){var h=d.map(function(v){return i.getOptionValue(v)}).join(l);return C.createElement("input",{name:s,type:"hidden",value:h})}else{var w=d.length>0?d.map(function(v,y){return C.createElement("input",{key:"i-".concat(y),name:s,type:"hidden",value:i.getOptionValue(v)})}):C.createElement("input",{name:s,type:"hidden",value:""});return C.createElement("div",null,w)}else{var S=d[0]?this.getOptionValue(d[0]):"";return C.createElement("input",{name:s,type:"hidden",value:S})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,l=o.ariaSelection,u=o.focusedOption,a=o.focusedValue,s=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return C.createElement(qw,U({},i,{id:this.getElementId("live-region"),ariaSelection:l,focusedOption:u,focusedValue:a,isFocused:s,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,l=i.IndicatorsContainer,u=i.SelectContainer,a=i.ValueContainer,s=this.props,c=s.className,d=s.id,h=s.isDisabled,w=s.menuIsOpen,S=this.state.isFocused,v=this.commonProps=this.getCommonProps();return C.createElement(u,U({},v,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:h,isFocused:S}),this.renderLiveRegion(),C.createElement(o,U({},v,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:h,isFocused:S,menuIsOpen:w}),C.createElement(a,U({},v,{isDisabled:h}),this.renderPlaceholderOrValue(),this.renderInput()),C.createElement(l,U({},v,{isDisabled:h}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var l=o.prevProps,u=o.clearFocusValueOnUpdate,a=o.inputIsHiddenAfterUpdate,s=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,h=o.instancePrefix,w=i.options,S=i.value,v=i.menuIsOpen,y=i.inputValue,f=i.isMulti,p=Zf(S),m={};if(l&&(S!==l.value||w!==l.options||v!==l.menuIsOpen||y!==l.inputValue)){var P=v?TC(i,p):[],R=v?dd(_o(i,p),"".concat(h,"-option")):[],g=u?IC(o,p):null,E=_C(o,P),O=Va(R,E);m={selectValue:p,focusedOption:E,focusedOptionId:O,focusableOptionsWithIds:R,focusedValue:g,clearFocusValueOnUpdate:!1}}var I=a!=null&&i!==l?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},D=s,B=c&&d;return c&&!B&&(D={value:vo(f,p,p[0]||null),options:p,action:"initial-input-focus"},B=!d),(s==null?void 0:s.action)==="initial-input-focus"&&(D=null),$($($({},m),I),{},{prevProps:i,ariaSelection:D,prevWasFocused:B})}}]),n}(C.Component);zm.defaultProps=LC;var bC=C.forwardRef(function(e,t){var n=Yy(e);return C.createElement(zm,U({ref:t},n))}),FC=bC;const NC=()=>{const[e,t]=$y(),[n,r]=C.useState(),[i,o]=C.useState();return C.useEffect(()=>{r(e.get("schema")),o(e.get("namespace"))}),F.jsxs("div",{children:[F.jsx("a",{href:"/",children:"Home"})," ",i?F.jsxs(F.Fragment,{children:[" » ",F.jsx("a",{href:`/?namespace=${i}`,children:i})," "]}):""," » ",n?F.jsx(F.Fragment,{children:n}):"...",F.jsx(VC,{schema:n,namespace:i,setNamespace:o,setSchema:r,setSearchParams:t})]})},VC=e=>e.namespace?e.schema?F.jsx(zC,{namespace:e.namespace,schema:e.schema}):F.jsx(jC,{namespace:e.namespace,setSchema:e.setSchema,setSearchParams:e.setSearchParams}):F.jsx($C,{setNamespace:e.setNamespace,setSearchParams:e.setSearchParams}),zC=e=>{const[t,n]=C.useState([]);C.useEffect(()=>{fetch(`/${e.namespace}/${e.schema}.yaml`).then(i=>i.text()).then(i=>{n(i),console.log("schema:",i)})},[]);const r={backgroundColor:"#eee",padding:"10px",fontSize:"0.7em"};return F.jsxs("div",{children:[F.jsx("h3",{children:"Schema"}),F.jsx("b",{children:"Description:"})," ",t.description,F.jsx("br",{}),F.jsx("b",{children:"Relative path:"})," ",`${e.namespace}/${e.schema}.yaml`," ",F.jsx("br",{}),F.jsx("b",{children:"Endpoint:"})," https://schema.databio.org/",`${e.namespace}/${e.schema}.yaml`,F.jsx("br",{}),F.jsx("b",{children:"Preview (this page):"})," https://schema.databio.org/?namespace=",`${e.namespace}`,"&schema=",`${e.schema}`,F.jsx("br",{}),F.jsx("a",{href:`/${e.namespace}/${e.schema}.yaml`,children:F.jsx("button",{className:"btn btn-primary my-4",children:"Download schema"})}),F.jsx("h4",{children:"Preview"}),F.jsx("pre",{style:r,children:F.jsx("code",{children:t})})]})},jC=e=>{const[t,n]=C.useState([]);C.useEffect(()=>{fetch(`/${e.namespace}/schemas.json`).then(i=>i.json()).then(i=>{n(i),console.log("schemaList:",Object.values(i))})},[]);const r=i=>{e.setSearchParams(o=>(o.append("schema",i),o)),e.setSchema(i)};return F.jsxs("div",{children:[F.jsxs("h2",{children:["Namespace: ",e.namespace]}),F.jsx("h4",{children:"Schemas"}),t?F.jsx(AC,{schemas:t,selectSchema:r}):F.jsx("div",{className:"spinner-border",role:"status",children:F.jsx("span",{className:"visually-hidden",children:"Loading..."})})]})},AC=e=>{const t=Object.values(e.schemas).map(n=>F.jsxs("li",{children:[F.jsx("a",{href:`/?namespace=${n.namespace}&schema=${n.schema}`,className:"a",onClick:r=>{r.preventDefault(),e.selectSchema(n.schema)},children:n.schema})," -- ",n.description," ",F.jsx("a",{href:n.url,children:"Download"})]},n.schema));return console.log(e.schemas),F.jsx("div",{children:F.jsx("ul",{children:t})})},$C=e=>{const[t,n]=C.useState([]);C.useEffect(()=>{fetch("/namespaces.json").then(i=>i.json()).then(i=>{console.log("Namespaces:",i);const o=i.map(l=>({value:l,label:l}));console.log("options:",o),n(o)})},[]);const r=i=>{e.setSearchParams({namespace:i.value}),e.setNamespace(i.value)};return F.jsxs(F.Fragment,{children:[F.jsx("h2",{children:"Select namespace"}),F.jsx(FC,{options:t,onChange:r}),F.jsx("hr",{}),F.jsx("h2",{children:"Guide"}),"This is a schema registry and API. It is hosted on GitHub Pages. Schemas are identified by a ",F.jsx("i",{children:"namespace"})," and ",F.jsx("i",{children:"schema name"}),", put together to form a *registry path*, of this form:",F.jsx("br",{}),F.jsx("br",{}),F.jsx("pre",{children:F.jsx("code",{children:"{namespace}/{schema}"})}),F.jsx("h3",{children:"Browsing"}),"To browse existing schemas, select a namespace from the dropdown above. This will show you a list of all schemas in that namespace",F.jsx("h3",{children:"API"}),"To access a schema via the API, use the following URL format:",F.jsx("br",{}),F.jsx("br",{}),F.jsx("pre",{children:F.jsx("code",{children:"https://schema.databio.org/{namespace}/{schema}.yaml"})}),"You can also get a list of schemas in a namespace via the API:",F.jsx("br",{}),F.jsx("br",{}),F.jsx("pre",{children:F.jsx("code",{children:"https://schema.databio.org/{namespace}/schemas.json"})}),F.jsx("h3",{children:"Contributing"}),"You can contribute your own schema via PR to the GitHub repository."]})},UC=Ty(Nu(F.jsx(Kh,{path:"/",element:F.jsx(NC,{})})));ja.createRoot(document.getElementById("root")).render(F.jsx(kd.StrictMode,{children:F.jsx(jy,{router:UC})})); diff --git a/docs/bulker/cdid.yaml b/docs/bulker/cdid.yaml deleted file mode 100644 index dd0b4cb..0000000 --- a/docs/bulker/cdid.yaml +++ /dev/null @@ -1,12 +0,0 @@ -description: "Two druids that describe the manifest" -type: object -properties: - imports: - type: string - commands: - type: string -recursive: - - imports - - commands -required: - - commands \ No newline at end of file diff --git a/docs/bulker/cmdlist.yaml b/docs/bulker/cmdlist.yaml deleted file mode 100644 index 5fcb200..0000000 --- a/docs/bulker/cmdlist.yaml +++ /dev/null @@ -1,16 +0,0 @@ -description: "A list of commands and the containers that run them." -type: array -items: - type: object - properties: - command: - type: string - docker_args: - type: string - docker_image: - type: string - docker_command: - type: string - required: - - command - - docker_image \ No newline at end of file diff --git a/docs/bulker/importlist.yaml b/docs/bulker/importlist.yaml deleted file mode 100644 index 630f2c1..0000000 --- a/docs/bulker/importlist.yaml +++ /dev/null @@ -1,4 +0,0 @@ -description: "A priority list of bulker manifests that are imported." -type: array -items: - type: string diff --git a/docs/bulker/manifest.yaml b/docs/bulker/manifest.yaml deleted file mode 100644 index 93122b2..0000000 --- a/docs/bulker/manifest.yaml +++ /dev/null @@ -1,31 +0,0 @@ -description: "Schema for bulker manifest" -properties: - manifest: - type: object - properties: - name: - type: string - version: - type: string - imports: - type: array - items: - type: string - commands: - type: array - items: - type: object - properties: - command: - type: string - docker_args: - type: string - docker_image: - type: string - docker_command: - type: string - required: - - command - - docker_image - required: - - commands diff --git a/docs/bulker/schemas.json b/docs/bulker/schemas.json deleted file mode 100644 index ff7dcd1..0000000 --- a/docs/bulker/schemas.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "cdid": { - "namespace": "bulker", - "schema": "cdid", - "url": "bulker/cdid.yaml", - "description": "Two druids that describe the manifest" - }, - "cmdlist": { - "namespace": "bulker", - "schema": "cmdlist", - "url": "bulker/cmdlist.yaml", - "description": "A list of commands and the containers that run them." - }, - "manifest": { - "namespace": "bulker", - "schema": "manifest", - "url": "bulker/manifest.yaml", - "description": "Schema for bulker manifest" - }, - "importlist": { - "namespace": "bulker", - "schema": "importlist", - "url": "bulker/importlist.yaml", - "description": "A priority list of bulker manifests that are imported." - } -} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index dc9b5cc..0000000 --- a/docs/index.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - Lab schemas - - - - -
-
-
- - diff --git a/docs/list.json b/docs/list.json deleted file mode 100644 index 5266998..0000000 --- a/docs/list.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "schemas/bulker/cdid": { - "project": "bulker", - "url": "bulker/cdid.yaml", - "description": "Two druids that describe the manifest" - }, - "schemas/bulker/cmdlist": { - "project": "bulker", - "url": "bulker/cmdlist.yaml", - "description": "A list of commands and the containers that run them." - }, - "schemas/bulker/manifest": { - "project": "bulker", - "url": "bulker/manifest.yaml", - "description": "Schema for bulker manifest" - }, - "schemas/bulker/importlist": { - "project": "bulker", - "url": "bulker/importlist.yaml", - "description": "A priority list of bulker manifests that are imported." - }, - "schemas/refget/SeqColArraySetInherent": { - "project": "refget", - "url": "refget/SeqColArraySetInherent.yaml", - "description": "SeqColArraySet" - }, - "schemas/refget/sequence": { - "project": "refget", - "url": "refget/sequence.yaml", - "description": "Schema for a single raw sequence" - }, - "schemas/refget/annotated_collection_digest": { - "project": "refget", - "url": "refget/annotated_collection_digest.yaml", - "description": "Schema for an Annotated Collection Digest; this is analogous to a single fasta file with metadata." - }, - "schemas/refget/ArrayedNestedSequenceCollection": { - "project": "refget", - "url": "refget/ArrayedNestedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "schemas/refget/ASDList": { - "project": "refget", - "url": "refget/ASDList.yaml", - "description": "Schema for List of ASDs" - }, - "schemas/refget/annotated_sequence_digest": { - "project": "refget", - "url": "refget/annotated_sequence_digest.yaml", - "description": "Schema for an Annotated Sequence Digest; a digested Sequence plus metadata" - }, - "schemas/refget/ACDList": { - "project": "refget", - "url": "refget/ACDList.yaml", - "description": "Schema for a list of ACDs; analogous to a collection of fasta files" - }, - "schemas/refget/ArrayedSequenceCollection": { - "project": "refget", - "url": "refget/ArrayedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "schemas/refget/RawSeqCol": { - "project": "refget", - "url": "refget/RawSeqCol.yaml", - "description": "Schema for List of ASDs" - }, - "schemas/refget/TASeqCol": { - "project": "refget", - "url": "refget/TASeqCol.yaml", - "description": "TAseqcol" - }, - "schemas/refget/CustomAnnotatedArrayedSequenceCollection": { - "project": "refget", - "url": "refget/CustomAnnotatedArrayedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "schemas/refget/SeqColArraySet": { - "project": "refget", - "url": "refget/SeqColArraySet.yaml", - "description": "SeqColArraySet" - }, - "schemas/refget/AnnotatedArrayedSequenceCollection": { - "project": "refget", - "url": "refget/AnnotatedArrayedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "schemas/refget/AnnotatedSequenceList": { - "project": "refget", - "url": "refget/AnnotatedSequenceList.yaml", - "description": "Schema for List of ASDs" - }, - "schemas/refgenie/refgenie_build": { - "project": "refgenie", - "url": "refgenie/refgenie_build.yaml", - "description": "databio_genomes PEP schema" - }, - "schemas/pep/2.1.0": { - "project": "pep", - "url": "pep/2.1.0.yaml", - "description": "Schema for a minimal PEP" - }, - "schemas/pep/2.0.0": { - "project": "pep", - "url": "pep/2.0.0.yaml", - "description": "Schema for a minimal PEP" - }, - "schemas/pipelines/pipeline_interface": { - "project": "pipelines", - "url": "pipelines/pipeline_interface.yaml", - "description": "pipeline interface schema" - }, - "schemas/pipelines/geofetch_sra_convert": { - "project": "pipelines", - "url": "pipelines/geofetch_sra_convert.yaml", - "description": "A PEP for converting SRA files into fastq or bam format." - }, - "schemas/pipelines/bedmaker": { - "project": "pipelines", - "url": "pipelines/bedmaker.yaml", - "description": "bedmaker PEP schema" - }, - "schemas/pipelines/bedbuncher": { - "project": "pipelines", - "url": "pipelines/bedbuncher.yaml", - "description": "bedbuncher PEP schema" - }, - "schemas/pipelines/pepatac": { - "project": "pipelines", - "url": "pipelines/pepatac.yaml", - "description": "A PEP for ATAC-seq samples for the PEPATAC pipeline." - }, - "schemas/pipelines/ProseqPEP": { - "project": "pipelines", - "url": "pipelines/ProseqPEP.yaml", - "description": "A PEP for nascent RNA samples for the PEPPRO pipeline." - }, - "schemas/pipelines/bedstat": { - "project": "pipelines", - "url": "pipelines/bedstat.yaml", - "description": "bedstat PEP schema" - }, - "schemas/pipelines/bedboss": { - "project": "pipelines", - "url": "pipelines/bedboss.yaml", - "description": "bedboss run-all pep schema" - } -} \ No newline at end of file diff --git a/docs/namespaces.json b/docs/namespaces.json deleted file mode 100644 index e29f22f..0000000 --- a/docs/namespaces.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - "bulker", - "refget", - "refgenie", - "pep", - "pipelines" -] \ No newline at end of file diff --git a/docs/pep/2.0.0.yaml b/docs/pep/2.0.0.yaml deleted file mode 100644 index 56f2034..0000000 --- a/docs/pep/2.0.0.yaml +++ /dev/null @@ -1,69 +0,0 @@ -description: "Schema for a minimal PEP" -version: "2.0.0" -properties: - config: - properties: - name: - type: string - pattern: "^\\S*$" - description: "Project name with no whitespace" - pep_version: - description: "Version of the PEP Schema this PEP follows" - type: string - sample_table: - type: string - description: "Path to the sample annotation table with one row per sample" - subsample_table: - type: string - description: "Path to the subsample annotation table with one row per subsample and sample_name attribute matching an entry in the sample table" - sample_modifiers: - type: object - properties: - append: - type: object - duplicate: - type: object - imply: - type: array - items: - type: object - properties: - if: - type: object - then: - type: object - derive: - type: object - properties: - attributes: - type: array - items: - type: string - sources: - type: object - project_modifiers: - type: object - properties: - amend: - description: "Object overwriting original project attributes" - type: object - import: - description: "List of external PEP project config files to import" - type: array - items: - type: string - required: - - pep_version - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - pattern: "^\\S*$" - description: "Unique name of the sample with no whitespace" - required: - - sample_name -required: - - samples diff --git a/docs/pep/2.1.0.yaml b/docs/pep/2.1.0.yaml deleted file mode 100644 index e3982aa..0000000 --- a/docs/pep/2.1.0.yaml +++ /dev/null @@ -1,77 +0,0 @@ -description: "Schema for a minimal PEP" -version: "2.1.0" -properties: - config: - properties: - name: - type: string - pattern: "^\\S*$" - description: "Project name with no whitespace" - pep_version: - description: "Version of the PEP Schema this PEP follows" - type: string - sample_table: - type: string - description: "Path to the sample annotation table" - subsample_table: - type: string - description: "Path to the subsample annotation table with one row per subsample and sample_name attribute matching an entry in the sample table" - sample_table_index: - type: string - pattern: "^\\S*$" - description: "Name of the column in sample table to use as an index. It's 'sample_name' by default" - subsample_table_index: - type: array - items: - type: string - pattern: "^\\S*$" - description: "Names of the columns in subsample table to use as an index. It's ['sample_name', 'subsample_name'] by default" - sample_modifiers: - type: object - properties: - append: - type: object - duplicate: - type: object - imply: - type: array - items: - type: object - properties: - if: - type: object - then: - type: object - derive: - type: object - properties: - attributes: - type: array - items: - type: string - sources: - type: object - project_modifiers: - type: object - properties: - amend: - description: "Object overwriting original project attributes" - type: object - import: - description: "List of external PEP project config files to import" - type: array - items: - type: string - required: - - pep_version - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - pattern: "^\\S*$" - description: "Unique name of the sample with no whitespace" -required: - - samples diff --git a/docs/pep/schemas.json b/docs/pep/schemas.json deleted file mode 100644 index eef3d24..0000000 --- a/docs/pep/schemas.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "2.1.0": { - "namespace": "pep", - "schema": "2.1.0", - "url": "pep/2.1.0.yaml", - "description": "Schema for a minimal PEP" - }, - "2.0.0": { - "namespace": "pep", - "schema": "2.0.0", - "url": "pep/2.0.0.yaml", - "description": "Schema for a minimal PEP" - } -} \ No newline at end of file diff --git a/docs/pipelines/ProseqPEP.yaml b/docs/pipelines/ProseqPEP.yaml deleted file mode 100644 index ab1f130..0000000 --- a/docs/pipelines/ProseqPEP.yaml +++ /dev/null @@ -1,50 +0,0 @@ -description: A PEP for nascent RNA samples for the PEPPRO pipeline. -imports: - - http://schema.databio.org/pep/2.0.0.yaml -properties: - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - description: "Name of the sample" - organism: - type: string - description: "Organism" - protocol: - type: string - description: "Specifies whether the sample is pro-seq or gro-seq" - enum: ["PRO", "pro", "PRO-SEQ", "PRO-seq", "proseq", "PROSEQ", "GRO", "gro", "groseq", "GROSEQ", "GRO-SEQ", "GRO-seq"] - genome: - type: string - description: "Refgenie genome registry identifier" - read_type: - type: string - description: "Is this single or paired-end data?" - enum: ["SINGLE", "PAIRED"] - read1: - anyOf: - - type: string - description: "Fastq file for read 1" - - type: array - items: - type: string - read2: - anyOf: - - type: string - description: "Fastq file for read 2 (for paired-end experiments)" - - type: array - items: - type: string - umi_len: - type: string - description: "Length of the Unique Molecular Identifier, if any" - required: - - sample_name - - protocol - - read1 - - genome -required: - - samples diff --git a/docs/pipelines/bedboss.yaml b/docs/pipelines/bedboss.yaml deleted file mode 100644 index e6ffa0c..0000000 --- a/docs/pipelines/bedboss.yaml +++ /dev/null @@ -1,47 +0,0 @@ -description: bedboss run-all pep schema - -properties: - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - description: "Name of the sample" - input_file: - type: string - description: "Absolute path to the input file" - input_type: - type: string - description: "file format" - enum: [ "bigWig", "bigBed", "bed", "wig", "bedGraph" ] - genome: - type: string - description: "organism genome code" - format_type: - type: string - description: "whether the regions are narrow (transcription factor implies narrow, histone mark implies broad peaks)" - enum: [ "narrowPeak", "broadPeak" ] - description: - type: string - description: "freeform description of the sample" - open_signal_matrix: - type: string - description: "A full path to the openSignalMatrix required for the tissue" - chrom_sizes: - type: string - description: "A full path to the chrom.sizes required for the bedtobigbed conversion" - treatment: - type: string - description: "freeform description of the sample treatment" - cell_type: - type: string - description: "cell type code" - required: - - sample_name - - input_file - - input_type - - genome -required: - - samples diff --git a/docs/pipelines/bedbuncher.yaml b/docs/pipelines/bedbuncher.yaml deleted file mode 100644 index cd42998..0000000 --- a/docs/pipelines/bedbuncher.yaml +++ /dev/null @@ -1,25 +0,0 @@ -description: bedbuncher PEP schema -imports: - - http://schema.databio.org/pep/2.0.0.yaml - -properties: - samples: - type: array - items: - type: object - properties: - JSONquery_path: - type: string - description: "path to the JSON file with the Elasticsearch query" - bedset_name: - type: string - pattern: "^\\S*$" - description: "name of the bedset that will be created" - bbconfig_path: - type: string - description: "path to bedbase config file" - required: - - JSONquery_path - - bedset_name -required: - - samples \ No newline at end of file diff --git a/docs/pipelines/bedmaker.yaml b/docs/pipelines/bedmaker.yaml deleted file mode 100644 index 93806d0..0000000 --- a/docs/pipelines/bedmaker.yaml +++ /dev/null @@ -1,59 +0,0 @@ -description: bedmaker PEP schema - -properties: - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - description: "name of the sample, which is the name of the output BED file" - input_file_path: - type: string - description: "absolute path the file to convert" - output_bed_path: - type: string - description: "absolute path the file to the output BED file (derived attribute)" - output_bigbed_path: - type: string - description: "absolute path the file to the output bigBed file (derived attribute)" - genome: - type: string - description: "organism genome code" - narrowpeak: - type: boolean - description: "whether the regions are narrow (transcription factor implies narrow, histone mark implies broad peaks)" - format: - type: string - description: "file format" - enum: ["bigWig", "bigBed", "bed", "wig", "bedGraph"] - cell_type: - type: string - description: "cell type code" - antibody: - type: string - description: "antibody used if ChIP-seq experiment" - description: - type: string - description: "freeform description of the sample" - exp_protocol: - type: string - description: "type of the experiment the file was generated in" - data_source: - type: string - description: "source of the sample, preferably a GSE* code" - treatment: - type: string - description: "freeform description of the sample treatment" - required_files: - - input_file_path - required: - - input_file_path - - output_bed_path - - output_bigbed_path - - genome - - narrowpeak - - sample_name -required: - - samples diff --git a/docs/pipelines/bedstat.yaml b/docs/pipelines/bedstat.yaml deleted file mode 100644 index 8810191..0000000 --- a/docs/pipelines/bedstat.yaml +++ /dev/null @@ -1,41 +0,0 @@ -description: bedstat PEP schema -imports: - - http://schema.databio.org/pep/2.0.0.yaml - -properties: - samples: - type: array - items: - type: object - properties: - output_file_path: - type: string - description: "absolute path to the output BED files (.bed or .bed.gz)" - genome: - type: string - description: "organism reference genome" - cell_type: - type: string - description: "cell type used to perform the experimental protocol" - antibody: - type: string - description: "TF or Histone mark antibody used if ChIP-seq experiment" - description: - type: string - description: "freeform description of the sample" - exp_protocol: - type: string - description: "experimental protocol used to generate the genomic regions" - data_source: - type: string - description: "source of the sample, preferably a GSE* code" - treatment: - type: string - description: "freeform description of the sample treatment" - required_files: - - output_file_path - required: - - output_file_path - - genome -required: - - samples diff --git a/docs/pipelines/geofetch_sra_convert.yaml b/docs/pipelines/geofetch_sra_convert.yaml deleted file mode 100644 index dd057d7..0000000 --- a/docs/pipelines/geofetch_sra_convert.yaml +++ /dev/null @@ -1,27 +0,0 @@ -description: A PEP for converting SRA files into fastq or bam format. -imports: - - http://schema.databio.org/pep/2.0.0.yaml -properties: - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - description: "Name of the sample" - protocol: - type: string - description: "Can be anything" - SRR_files: - type: string - description: "SRR files" - required_files: - - SRR_files - files: - - SRR_files - required: - - sample_name - - SRR_files -required: - - samples diff --git a/docs/pipelines/pepatac.yaml b/docs/pipelines/pepatac.yaml deleted file mode 100644 index 5b204c5..0000000 --- a/docs/pipelines/pepatac.yaml +++ /dev/null @@ -1,51 +0,0 @@ -description: A PEP for ATAC-seq samples for the PEPATAC pipeline. -imports: - - http://schema.databio.org/pep/2.0.0.yaml -properties: - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - description: "Name of the sample" - organism: - type: string - description: "Organism" - protocol: - type: string - description: "Must be an ATAC-seq or DNAse-seq sample" - genome: - type: string - description: "Refgenie genome registry identifier" - read_type: - type: string - description: "Is this single or paired-end data?" - enum: ["SINGLE", "PAIRED"] - read1: - anyOf: - - type: string - description: "Fastq file for read 1" - - type: array - items: - type: string - read2: - anyOf: - - type: string - description: "Fastq file for read 2 (for paired-end experiments)" - - type: array - items: - type: string - required_files: - - read1 - files: - - read1 - - read2 - required: - - sample_name - - protocol - - read1 - - genome -required: - - samples diff --git a/docs/pipelines/pipeline_interface.yaml b/docs/pipelines/pipeline_interface.yaml deleted file mode 100644 index d428e3d..0000000 --- a/docs/pipelines/pipeline_interface.yaml +++ /dev/null @@ -1,47 +0,0 @@ -description: pipeline interface schema - -properties: - pipeline_name: - type: string - pattern: "^\\S*$" - description: "name of the pipeline with no whitespaces" - pipeline_type: - type: string - enum: ["project", "sample"] - description: "type of the pipeline, either 'project' or 'sample'" - command_template: - type: string - description: "Jinja2-like template to construct the command to run" - path: - type: string - description: "path to the pipeline program. Relative to pipeline interface file or absolute." - compute: - type: object - description: "Section that defines compute environment settings" - properties: - dynamic_variables_command_template: - type: string - description: "Jinja2-like template to construct the command that returns a JSON object used to populate compute environment settings" - size_dependent_variables: - type: string - description: "Path to the TSV-formatted file with compute environment settings" - bulker_crate: - type: string - description: "Bulker registry path idendifying the crate to use" - docker_image: - type: string - description: "Docker image identifier" - singularity_image: - type: string - description: "Singularity image identifier" -if: - properties: - pipeline_type: - const: "project" -then: - properties: - linked_pipeline_interfaces: - type: array - items: - type: string -required: [pipeline_name, pipeline_type, command_template] \ No newline at end of file diff --git a/docs/pipelines/schemas.json b/docs/pipelines/schemas.json deleted file mode 100644 index 895c315..0000000 --- a/docs/pipelines/schemas.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "pipeline_interface": { - "namespace": "pipelines", - "schema": "pipeline_interface", - "url": "pipelines/pipeline_interface.yaml", - "description": "pipeline interface schema" - }, - "geofetch_sra_convert": { - "namespace": "pipelines", - "schema": "geofetch_sra_convert", - "url": "pipelines/geofetch_sra_convert.yaml", - "description": "A PEP for converting SRA files into fastq or bam format." - }, - "bedmaker": { - "namespace": "pipelines", - "schema": "bedmaker", - "url": "pipelines/bedmaker.yaml", - "description": "bedmaker PEP schema" - }, - "bedbuncher": { - "namespace": "pipelines", - "schema": "bedbuncher", - "url": "pipelines/bedbuncher.yaml", - "description": "bedbuncher PEP schema" - }, - "pepatac": { - "namespace": "pipelines", - "schema": "pepatac", - "url": "pipelines/pepatac.yaml", - "description": "A PEP for ATAC-seq samples for the PEPATAC pipeline." - }, - "ProseqPEP": { - "namespace": "pipelines", - "schema": "ProseqPEP", - "url": "pipelines/ProseqPEP.yaml", - "description": "A PEP for nascent RNA samples for the PEPPRO pipeline." - }, - "bedstat": { - "namespace": "pipelines", - "schema": "bedstat", - "url": "pipelines/bedstat.yaml", - "description": "bedstat PEP schema" - }, - "bedboss": { - "namespace": "pipelines", - "schema": "bedboss", - "url": "pipelines/bedboss.yaml", - "description": "bedboss run-all pep schema" - } -} \ No newline at end of file diff --git a/docs/refgenie/refgenie_build.yaml b/docs/refgenie/refgenie_build.yaml deleted file mode 100644 index bbd293c..0000000 --- a/docs/refgenie/refgenie_build.yaml +++ /dev/null @@ -1,42 +0,0 @@ -description: databio_genomes PEP schema - -properties: - samples: - type: array - items: - type: object - properties: - sample_name: - type: string - description: "name of the sample, which is the name of the output BED file" - genome: - type: string - description: "namespace for the assets to be build" - pattern: ^[^/:]*$ - asset: - type: string - description: "name of the asset to be build" - pattern: ^[^/:]*$ - tag: - type: string - description: "tag of the asset to be build" - pattern: ^[^/:]*$ - input_value: - type: string - description: "value of refgenie build function input" - local_input: - type: string - description: "absolute path for the input file" - input_type: - type: string - pattern: "^assets*|^params*|^files*" - description: "type of the refgenie build function input" - files: - - local_input - required: - - sample_name - - asset - - genome - - local_input -required: - - samples \ No newline at end of file diff --git a/docs/refgenie/schemas.json b/docs/refgenie/schemas.json deleted file mode 100644 index bb36f76..0000000 --- a/docs/refgenie/schemas.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "refgenie_build": { - "namespace": "refgenie", - "schema": "refgenie_build", - "url": "refgenie/refgenie_build.yaml", - "description": "databio_genomes PEP schema" - } -} \ No newline at end of file diff --git a/docs/refget/ACDList.yaml b/docs/refget/ACDList.yaml deleted file mode 100644 index 6ba1309..0000000 --- a/docs/refget/ACDList.yaml +++ /dev/null @@ -1,13 +0,0 @@ -description: "Schema for a list of ACDs; analogous to a collection of fasta files" -type: array -items: - type: object - properties: - name: - type: string - collection_digest: - type: string - required: - - collection_digest - recursive: - - collection_digest diff --git a/docs/refget/ASDList.yaml b/docs/refget/ASDList.yaml deleted file mode 100644 index 8f2f299..0000000 --- a/docs/refget/ASDList.yaml +++ /dev/null @@ -1,25 +0,0 @@ -description: "Schema for List of ASDs" -type: array -items: - type: object - properties: - name: - type: string - length: - type: "integer" - topology: - type: string - enum: ["circular", "linear"] - default: "linear" - sequence_digest: - type: string - description: "The sequence digest" - required: - - length - - name - - topology - recursive: - - sequence_digest - not: - required: - - sequence diff --git a/docs/refget/AnnotatedArrayedSequenceCollection.yaml b/docs/refget/AnnotatedArrayedSequenceCollection.yaml deleted file mode 100644 index a64dcd5..0000000 --- a/docs/refget/AnnotatedArrayedSequenceCollection.yaml +++ /dev/null @@ -1,48 +0,0 @@ -description: "A collection of sequences" -type: object -henge_class: "ArrayedNestedSequenceCollection" -properties: - seqcol: - type: object - henge_class: "SeqCol" - properties: - names: - type: array - henge_class: "Names" - items: - type: string - lengths: - type: array - henge_class: "Lengths" - items: - type: integer - sequences: - type: array - henge_class: "Sequences" - items: - type: string - henge_class: "Sequence" - description: "Actual sequence content" - annotation: - type: object - henge_class: "SeqColAnno" - properties: - topologies: - type: array - henge_class: "Topologies" - items: - type: string - enum: ["circular", "linear"] - default: "linear" - masks: - type: array - henge_class: "Masks" - items: - type: string - importances: - type: array - henge_class: "Importances" - items: - type: boolean -required: - - lengths diff --git a/docs/refget/AnnotatedSequenceList.yaml b/docs/refget/AnnotatedSequenceList.yaml deleted file mode 100644 index 320fdf9..0000000 --- a/docs/refget/AnnotatedSequenceList.yaml +++ /dev/null @@ -1,33 +0,0 @@ -description: "Schema for List of ASDs" -henge_class: "AnnotatedSequenceList" -recursive: true -type: array -items: - description: "Schema for an Annotated Sequence Digest; a digested Sequence plus metadata" - type: object - henge_class: ASD - properties: - name: - type: string - length: - type: "integer" - topology: - type: string - enum: ["circular", "linear"] - default: "linear" - sequence: - description: "Schema for a single raw sequence" - henge_class: sequence - type: object - properties: - sequence: - type: string - description: "Actual sequence content" - required: - - sequence - required: - - length - - name - - topology - recursive: - - sequence diff --git a/docs/refget/ArrayedNestedSequenceCollection.yaml b/docs/refget/ArrayedNestedSequenceCollection.yaml deleted file mode 100644 index ad0b060..0000000 --- a/docs/refget/ArrayedNestedSequenceCollection.yaml +++ /dev/null @@ -1,44 +0,0 @@ -description: "A collection of sequences" -type: object -henge_class: "ArrayedNestedSequenceCollection" -properties: - seqcol: - type: object - henge_class: "SeqCol" - properties: - names: - type: array - henge_class: "Names" - items: - type: string - lengths: - type: array - henge_class: "Lengths" - items: - type: integer - sequences: - type: array - henge_class: "Sequences" - items: - type: string - henge_class: "Sequence" - description: "Actual sequence content" - topologies: - type: array - henge_class: "Topologies" - items: - type: string - enum: ["circular", "linear"] - default: "linear" - masks: - type: array - henge_class: "Masks" - items: - type: string - importances: - type: array - henge_class: "Importances" - items: - type: boolean -required: - - lengths diff --git a/docs/refget/ArrayedSequenceCollection.yaml b/docs/refget/ArrayedSequenceCollection.yaml deleted file mode 100644 index 196813f..0000000 --- a/docs/refget/ArrayedSequenceCollection.yaml +++ /dev/null @@ -1,40 +0,0 @@ -description: "A collection of sequences" -type: object -henge_class: "ArrayedSequenceCollection" -properties: - names: - type: array - henge_class: "Names" - items: - type: string - lengths: - type: array - henge_class: "Lengths" - items: - type: integer - sequences: - type: array - henge_class: "Sequences" - items: - type: string - henge_class: "Sequence" - description: "Actual sequence content" - topologies: - type: array - henge_class: "Topologies" - items: - type: string - enum: ["circular", "linear"] - default: "linear" - masks: - type: array - henge_class: "Masks" - items: - type: string - importances: - type: array - henge_class: "Importances" - items: - type: boolean -required: - - lengths diff --git a/docs/refget/CustomAnnotatedArrayedSequenceCollection.yaml b/docs/refget/CustomAnnotatedArrayedSequenceCollection.yaml deleted file mode 100644 index decf5d8..0000000 --- a/docs/refget/CustomAnnotatedArrayedSequenceCollection.yaml +++ /dev/null @@ -1,38 +0,0 @@ -description: "A collection of sequences" -type: object -henge_class: "AnnotatedArrayedSequenceCollection" -properties: - seqcol: - type: object - henge_class: "SeqCol" - properties: - names: - type: array - henge_class: "Names" - items: - type: string - lengths: - type: array - henge_class: "Lengths" - items: - type: integer - sequences: - type: array - henge_class: "Sequences" - items: - type: string - henge_class: "Sequence" - description: "Actual sequence content" - annotation: - type: array - henge_class: "SeqColAnnos" - items: - type: object - henge_class: "SeqColAnno" - properties: - property_name: - type: string - property_value: - type: array -required: - - lengths diff --git a/docs/refget/RawSeqCol.yaml b/docs/refget/RawSeqCol.yaml deleted file mode 100644 index 1881280..0000000 --- a/docs/refget/RawSeqCol.yaml +++ /dev/null @@ -1,19 +0,0 @@ -description: "Schema for List of ASDs" -type: array -henge_class: "RawSeqCol" -items: - description: "Schema for an Annotated Sequence Digest; a digested Sequence plus metadata" - type: object - henge_class: ASD - properties: - name: - type: string - length: - type: "integer" - sequence: - description: "Actual sequence content for a single raw sequence" - henge_class: sequence - type: string - required: - - length - - name diff --git a/docs/refget/SeqColArraySet.yaml b/docs/refget/SeqColArraySet.yaml deleted file mode 100644 index d37158f..0000000 --- a/docs/refget/SeqColArraySet.yaml +++ /dev/null @@ -1,27 +0,0 @@ -description: "SeqColArraySet" -type: object -henge_class: "SeqColArraySet" -properties: - topologies: - type: array - henge_class: "array" - items: - type: string - enum: ["circular", "linear"] - default: "linear" - names: - type: array - henge_class: "array" - items: - type: string - lengths: - type: array - henge_class: "array" - items: - type: string - sequences: - type: array - henge_class: "seqarray" - items: - type: string - henge_class: sequence diff --git a/docs/refget/SeqColArraySetInherent.yaml b/docs/refget/SeqColArraySetInherent.yaml deleted file mode 100644 index 743cc28..0000000 --- a/docs/refget/SeqColArraySetInherent.yaml +++ /dev/null @@ -1,36 +0,0 @@ -description: "SeqColArraySet" -type: object -henge_class: "SeqColArraySet" -properties: - topologies: - type: array - henge_class: "strarray" - items: - type: string - enum: ["circular", "linear"] - default: "linear" - names: - type: array - henge_class: "strarray" - items: - type: string - lengths: - type: array - henge_class: "intarray" - items: - type: integer - sequences: - type: array - henge_class: "seqarray" - items: - type: string - henge_class: sequence - sorted_name_length_pairs: - type: array - henge_class: "strarray" - items: - type: string -inherent: - - names - - lengths - - sequences diff --git a/docs/refget/TASeqCol.yaml b/docs/refget/TASeqCol.yaml deleted file mode 100644 index 19a4eb7..0000000 --- a/docs/refget/TASeqCol.yaml +++ /dev/null @@ -1,31 +0,0 @@ -description: "TAseqcol" -type: object -henge_class: "TASeqCol" -properties: - topology: - type: array - henge_class: "TopologyVec" - items: - type: string - enum: ["circular", "linear"] - default: "linear" - rawseqcol: - description: "Schema for List of ASDs" - type: array - henge_class: "RawSeqCol" - items: - description: "Schema for an Annotated Sequence Digest; a digested Sequence plus metadata" - type: object - henge_class: ASD - properties: - name: - type: string - length: - type: "integer" - sequence: - type: string - henge_class: sequence - description: "Actual sequence content" - required: - - length - - name diff --git a/docs/refget/annotated_collection_digest.yaml b/docs/refget/annotated_collection_digest.yaml deleted file mode 100644 index b351c2c..0000000 --- a/docs/refget/annotated_collection_digest.yaml +++ /dev/null @@ -1,11 +0,0 @@ -description: "Schema for an Annotated Collection Digest; this is analogous to a single fasta file with metadata." -type: object -properties: - name: - type: string - collection_digest: - type: string -required: - - collection_digest -recursive: - - collection_digest \ No newline at end of file diff --git a/docs/refget/annotated_sequence_digest.yaml b/docs/refget/annotated_sequence_digest.yaml deleted file mode 100644 index a9062a8..0000000 --- a/docs/refget/annotated_sequence_digest.yaml +++ /dev/null @@ -1,23 +0,0 @@ -description: "Schema for an Annotated Sequence Digest; a digested Sequence plus metadata" -type: object -properties: - name: - type: string - length: - type: "integer" - topology: - type: string - enum: ["circular", "linear"] - default: "linear" - sequence_digest: - type: string - description: "The sequence digest" -required: - - length - - name - - topology -recursive: - - sequence_digest -not: - required: - - sequence diff --git a/docs/refget/schemas.json b/docs/refget/schemas.json deleted file mode 100644 index d22f569..0000000 --- a/docs/refget/schemas.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "SeqColArraySetInherent": { - "namespace": "refget", - "schema": "SeqColArraySetInherent", - "url": "refget/SeqColArraySetInherent.yaml", - "description": "SeqColArraySet" - }, - "sequence": { - "namespace": "refget", - "schema": "sequence", - "url": "refget/sequence.yaml", - "description": "Schema for a single raw sequence" - }, - "annotated_collection_digest": { - "namespace": "refget", - "schema": "annotated_collection_digest", - "url": "refget/annotated_collection_digest.yaml", - "description": "Schema for an Annotated Collection Digest; this is analogous to a single fasta file with metadata." - }, - "ArrayedNestedSequenceCollection": { - "namespace": "refget", - "schema": "ArrayedNestedSequenceCollection", - "url": "refget/ArrayedNestedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "ASDList": { - "namespace": "refget", - "schema": "ASDList", - "url": "refget/ASDList.yaml", - "description": "Schema for List of ASDs" - }, - "annotated_sequence_digest": { - "namespace": "refget", - "schema": "annotated_sequence_digest", - "url": "refget/annotated_sequence_digest.yaml", - "description": "Schema for an Annotated Sequence Digest; a digested Sequence plus metadata" - }, - "ACDList": { - "namespace": "refget", - "schema": "ACDList", - "url": "refget/ACDList.yaml", - "description": "Schema for a list of ACDs; analogous to a collection of fasta files" - }, - "ArrayedSequenceCollection": { - "namespace": "refget", - "schema": "ArrayedSequenceCollection", - "url": "refget/ArrayedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "RawSeqCol": { - "namespace": "refget", - "schema": "RawSeqCol", - "url": "refget/RawSeqCol.yaml", - "description": "Schema for List of ASDs" - }, - "TASeqCol": { - "namespace": "refget", - "schema": "TASeqCol", - "url": "refget/TASeqCol.yaml", - "description": "TAseqcol" - }, - "CustomAnnotatedArrayedSequenceCollection": { - "namespace": "refget", - "schema": "CustomAnnotatedArrayedSequenceCollection", - "url": "refget/CustomAnnotatedArrayedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "SeqColArraySet": { - "namespace": "refget", - "schema": "SeqColArraySet", - "url": "refget/SeqColArraySet.yaml", - "description": "SeqColArraySet" - }, - "AnnotatedArrayedSequenceCollection": { - "namespace": "refget", - "schema": "AnnotatedArrayedSequenceCollection", - "url": "refget/AnnotatedArrayedSequenceCollection.yaml", - "description": "A collection of sequences" - }, - "AnnotatedSequenceList": { - "namespace": "refget", - "schema": "AnnotatedSequenceList", - "url": "refget/AnnotatedSequenceList.yaml", - "description": "Schema for List of ASDs" - } -} \ No newline at end of file diff --git a/docs/refget/sequence.yaml b/docs/refget/sequence.yaml deleted file mode 100644 index fe33ead..0000000 --- a/docs/refget/sequence.yaml +++ /dev/null @@ -1,8 +0,0 @@ -description: "Schema for a single raw sequence" -type: object -properties: - sequence: - type: string - description: "Actual sequence content" -required: - - sequence \ No newline at end of file