From 28d4bb1d80bb555a04665af6ece6ed34881a4ca4 Mon Sep 17 00:00:00 2001 From: Lianhao Zheng Date: Wed, 6 Nov 2024 23:55:35 -0600 Subject: [PATCH] fixed main.yml --- .github/workflows/main.yml | 2 +- OHours/.gitignore | 2 - OHours/dist/404.html | 33 --------- OHours/dist/assets/back-BLN-uxUa.js | 6 -- .../dist/assets/createLucideIcon-BVwf0bP4.js | 21 ------ OHours/dist/assets/index-CF3V3EkY.js | 68 ------------------- OHours/dist/assets/index-Dedcbaii.css | 1 - OHours/dist/assets/landingPage-D6m0dS6O.js | 1 - OHours/dist/assets/login_form-CvxyFk42.js | 1 - OHours/dist/assets/pmQueue-ZCad6KIG.js | 1 - OHours/dist/assets/react-CHdo91hT.svg | 1 - OHours/dist/assets/staffLoginPage-CaOHgJfb.js | 6 -- .../dist/assets/studentCodePage-BSG0zGk7.js | 2 - .../dist/assets/studentSubmitPage-DjJDzmnm.js | 1 - OHours/dist/assets/waitroom-S4necMnD.js | 1 - OHours/dist/index.html | 14 ---- OHours/dist/vite.svg | 1 - 17 files changed, 1 insertion(+), 161 deletions(-) delete mode 100644 OHours/dist/404.html delete mode 100644 OHours/dist/assets/back-BLN-uxUa.js delete mode 100644 OHours/dist/assets/createLucideIcon-BVwf0bP4.js delete mode 100644 OHours/dist/assets/index-CF3V3EkY.js delete mode 100644 OHours/dist/assets/index-Dedcbaii.css delete mode 100644 OHours/dist/assets/landingPage-D6m0dS6O.js delete mode 100644 OHours/dist/assets/login_form-CvxyFk42.js delete mode 100644 OHours/dist/assets/pmQueue-ZCad6KIG.js delete mode 100644 OHours/dist/assets/react-CHdo91hT.svg delete mode 100644 OHours/dist/assets/staffLoginPage-CaOHgJfb.js delete mode 100644 OHours/dist/assets/studentCodePage-BSG0zGk7.js delete mode 100644 OHours/dist/assets/studentSubmitPage-DjJDzmnm.js delete mode 100644 OHours/dist/assets/waitroom-S4necMnD.js delete mode 100644 OHours/dist/index.html delete mode 100644 OHours/dist/vite.svg diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6fa4df4d..ad2b59d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '21' + node-version: "22" - run: npm install - run: npm run build --if-present - run: npm test diff --git a/OHours/.gitignore b/OHours/.gitignore index 41224ea9..b5851ca5 100644 --- a/OHours/.gitignore +++ b/OHours/.gitignore @@ -33,8 +33,6 @@ stats.html .firebase -src/firebase/firebase.js - node_modules/ dist diff --git a/OHours/dist/404.html b/OHours/dist/404.html deleted file mode 100644 index 829eda8f..00000000 --- a/OHours/dist/404.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - Page Not Found - - - - -
-

404

-

Page Not Found

-

The specified file was not found on this website. Please check the URL for mistakes and try again.

-

Why am I seeing this?

-

This page was generated by the Firebase Command-Line Interface. To modify it, edit the 404.html file in your project's configured public directory.

-
- - diff --git a/OHours/dist/assets/back-BLN-uxUa.js b/OHours/dist/assets/back-BLN-uxUa.js deleted file mode 100644 index 350b63f7..00000000 --- a/OHours/dist/assets/back-BLN-uxUa.js +++ /dev/null @@ -1,6 +0,0 @@ -import{j as e,L as t}from"./index-CF3V3EkY.js";import{c as n}from"./createLucideIcon-BVwf0bP4.js";/** - * @license lucide-react v0.447.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const o=n("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);function a(){return e.jsxs(t,{to:"..",relative:"path",className:"inline-flex items-center gap-2 px-4 py-2 text-sm font-medium text-gray-700 transition-colors rounded-lg hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200",children:[e.jsx(o,{className:"w-4 h-4"}),"Back"]})}export{a as B}; diff --git a/OHours/dist/assets/createLucideIcon-BVwf0bP4.js b/OHours/dist/assets/createLucideIcon-BVwf0bP4.js deleted file mode 100644 index 6aba68c0..00000000 --- a/OHours/dist/assets/createLucideIcon-BVwf0bP4.js +++ /dev/null @@ -1,21 +0,0 @@ -import{r as n}from"./index-CF3V3EkY.js";/** - * @license lucide-react v0.447.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const w=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),c=(...e)=>e.filter((r,t,o)=>!!r&&o.indexOf(r)===t).join(" ");/** - * @license lucide-react v0.447.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var f={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** - * @license lucide-react v0.447.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const p=n.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:s="",children:a,iconNode:i,...l},u)=>n.createElement("svg",{ref:u,...f,width:r,height:r,stroke:e,strokeWidth:o?Number(t)*24/Number(r):t,className:c("lucide",s),...l},[...i.map(([m,d])=>n.createElement(m,d)),...Array.isArray(a)?a:[a]]));/** - * @license lucide-react v0.447.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const h=(e,r)=>{const t=n.forwardRef(({className:o,...s},a)=>n.createElement(p,{ref:a,iconNode:r,className:c(`lucide-${w(e)}`,o),...s}));return t.displayName=`${e}`,t};export{h as c}; diff --git a/OHours/dist/assets/index-CF3V3EkY.js b/OHours/dist/assets/index-CF3V3EkY.js deleted file mode 100644 index 24c329e2..00000000 --- a/OHours/dist/assets/index-CF3V3EkY.js +++ /dev/null @@ -1,68 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/studentCodePage-BSG0zGk7.js","assets/back-BLN-uxUa.js","assets/createLucideIcon-BVwf0bP4.js","assets/staffLoginPage-CaOHgJfb.js","assets/login_form-CvxyFk42.js","assets/studentSubmitPage-DjJDzmnm.js"])))=>i.map(i=>d[i]); -function Qc(e,t){for(var n=0;nr[l]})}}}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 l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ss={exports:{}},hl={},ks={exports:{}},T={};/** - * @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 or=Symbol.for("react.element"),Yc=Symbol.for("react.portal"),Xc=Symbol.for("react.fragment"),Gc=Symbol.for("react.strict_mode"),Zc=Symbol.for("react.profiler"),Jc=Symbol.for("react.provider"),qc=Symbol.for("react.context"),bc=Symbol.for("react.forward_ref"),ef=Symbol.for("react.suspense"),tf=Symbol.for("react.memo"),nf=Symbol.for("react.lazy"),tu=Symbol.iterator;function rf(e){return e===null||typeof e!="object"?null:(e=tu&&e[tu]||e["@@iterator"],typeof e=="function"?e:null)}var Es={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xs=Object.assign,Cs={};function pn(e,t,n){this.props=e,this.context=t,this.refs=Cs,this.updater=n||Es}pn.prototype.isReactComponent={};pn.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")};pn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _s(){}_s.prototype=pn.prototype;function li(e,t,n){this.props=e,this.context=t,this.refs=Cs,this.updater=n||Es}var oi=li.prototype=new _s;oi.constructor=li;xs(oi,pn.prototype);oi.isPureReactComponent=!0;var nu=Array.isArray,Ps=Object.prototype.hasOwnProperty,ii={current:null},Ns={key:!0,ref:!0,__self:!0,__source:!0};function Ls(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Ps.call(t,r)&&!Ns.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,J=C[Q];if(0>>1;Ql(Il,R))Etl(dr,Il)?(C[Q]=dr,C[Et]=R,Q=Et):(C[Q]=Il,C[kt]=R,Q=kt);else if(Etl(dr,R))C[Q]=dr,C[Et]=R,Q=Et;else break e}}return z}function l(C,z){var R=C.sortIndex-z.sortIndex;return R!==0?R:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],h=1,d=null,m=3,y=!1,g=!1,w=!1,E=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(C){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=C)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function v(C){if(w=!1,p(C),!g)if(n(s)!==null)g=!0,Ol(k);else{var z=n(a);z!==null&&jl(v,z.startTime-C)}}function k(C,z){g=!1,w&&(w=!1,f(L),L=-1),y=!0;var R=m;try{for(p(z),d=n(s);d!==null&&(!(d.expirationTime>z)||C&&!Le());){var Q=d.callback;if(typeof Q=="function"){d.callback=null,m=d.priorityLevel;var J=Q(d.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?d.callback=J:d===n(s)&&r(s),p(z)}else r(s);d=n(s)}if(d!==null)var fr=!0;else{var kt=n(a);kt!==null&&jl(v,kt.startTime-z),fr=!1}return fr}finally{d=null,m=R,y=!1}}var P=!1,N=null,L=-1,H=5,O=-1;function Le(){return!(e.unstable_now()-OC||125Q?(C.sortIndex=R,t(a,C),n(s)===null&&C===n(a)&&(w?(f(L),L=-1):w=!0,jl(v,R-Q))):(C.sortIndex=J,t(s,C),g||y||(g=!0,Ol(k))),C},e.unstable_shouldYield=Le,e.unstable_wrapCallback=function(C){var z=m;return function(){var R=m;m=z;try{return C.apply(this,arguments)}finally{m=R}}}})(js);Os.exports=js;var vf=Os.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 yf=_,we=vf;function S(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"),so=Object.prototype.hasOwnProperty,gf=/^[: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]*$/,lu={},ou={};function wf(e){return so.call(ou,e)?!0:so.call(lu,e)?!1:gf.test(e)?ou[e]=!0:(lu[e]=!0,!1)}function Sf(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 kf(e,t,n,r){if(t===null||typeof t>"u"||Sf(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 ce(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(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){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var si=/[\-:]([a-z])/g;function ai(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(si,ai);ne[t]=new ce(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(si,ai);ne[t]=new ce(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(si,ai);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function ci(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` -`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nn(e):""}function Ef(e){switch(e.tag){case 5:return Nn(e.type);case 16:return Nn("Lazy");case 13:return Nn("Suspense");case 19:return Nn("SuspenseList");case 0:case 2:case 15:return e=Ul(e.type,!1),e;case 11:return e=Ul(e.type.render,!1),e;case 1:return e=Ul(e.type,!0),e;default:return""}}function po(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 Vt:return"Fragment";case At:return"Portal";case ao:return"Profiler";case fi:return"StrictMode";case co:return"Suspense";case fo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ds:return(e.displayName||"Context")+".Consumer";case Ms:return(e._context.displayName||"Context")+".Provider";case di:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case pi:return t=e.displayName||null,t!==null?t:po(e.type)||"Memo";case et:t=e._payload,e=e._init;try{return po(e(t))}catch{}}return null}function xf(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 po(t);case 8:return t===fi?"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 vt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Us(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cf(e){var t=Us(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 l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mr(e){e._valueTracker||(e._valueTracker=Cf(e))}function $s(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Us(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vr(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 ho(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function uu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=vt(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 Bs(e,t){t=t.checked,t!=null&&ci(e,"checked",t,!1)}function mo(e,t){Bs(e,t);var n=vt(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")?vo(e,t.type,n):t.hasOwnProperty("defaultValue")&&vo(e,t.type,vt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function su(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 vo(e,t,n){(t!=="number"||Vr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ln=Array.isArray;function bt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=vr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function An(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Tn={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},_f=["Webkit","ms","Moz","O"];Object.keys(Tn).forEach(function(e){_f.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Tn[t]=Tn[e]})});function Hs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Tn.hasOwnProperty(e)&&Tn[e]?(""+t).trim():t+"px"}function Qs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Hs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Pf=V({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 wo(e,t){if(t){if(Pf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function So(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 ko=null;function hi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Eo=null,en=null,tn=null;function fu(e){if(e=sr(e)){if(typeof Eo!="function")throw Error(S(280));var t=e.stateNode;t&&(t=wl(t),Eo(e.stateNode,e.type,t))}}function Ks(e){en?tn?tn.push(e):tn=[e]:en=e}function Ys(){if(en){var e=en,t=tn;if(tn=en=null,fu(e),t)for(e=0;e>>=0,e===0?32:31-(Ff(e)/Uf|0)|0}var yr=64,gr=4194304;function zn(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 Kr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=zn(u):(o&=i,o!==0&&(r=zn(o)))}else i=n&~l,i!==0?r=zn(i):o!==0&&(r=zn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===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 ir(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-je(t),e[t]=n}function Vf(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=jn),Su=" ",ku=!1;function pa(e,t){switch(e){case"keyup":return vd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ha(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wt=!1;function gd(e,t){switch(e){case"compositionend":return ha(t);case"keypress":return t.which!==32?null:(ku=!0,Su);case"textInput":return e=t.data,e===Su&&ku?null:e;default:return null}}function wd(e,t){if(Wt)return e==="compositionend"||!Ei&&pa(e,t)?(e=fa(),jr=wi=lt=null,Wt=!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=_u(n)}}function ga(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ga(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function wa(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vr(e.document)}return t}function xi(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 Ld(e){var t=wa(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ga(n.ownerDocument.documentElement,n)){if(r!==null&&xi(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 l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Pu(n,o);var i=Pu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,Ht=null,Lo=null,Mn=null,zo=!1;function Nu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zo||Ht==null||Ht!==Vr(r)||(r=Ht,"selectionStart"in r&&xi(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}),Mn&&Yn(Mn,r)||(Mn=r,r=Gr(Lo,"onSelect"),0Yt||(e.current=Mo[Yt],Mo[Yt]=null,Yt--)}function D(e,t){Yt++,Mo[Yt]=e.current,e.current=t}var yt={},ie=wt(yt),pe=wt(!1),Rt=yt;function un(e,t){var n=e.type.contextTypes;if(!n)return yt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Jr(){U(pe),U(ie)}function Iu(e,t,n){if(ie.current!==yt)throw Error(S(168));D(ie,t),D(pe,n)}function La(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,xf(e)||"Unknown",l));return V({},n,r)}function qr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yt,Rt=ie.current,D(ie,e),D(pe,pe.current),!0}function Mu(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=La(e,t,Rt),r.__reactInternalMemoizedMergedChildContext=e,U(pe),U(ie),D(ie,e)):U(pe),D(pe,n)}var We=null,Sl=!1,ql=!1;function za(e){We===null?We=[e]:We.push(e)}function Bd(e){Sl=!0,za(e)}function St(){if(!ql&&We!==null){ql=!0;var e=0,t=M;try{var n=We;for(M=1;e>=i,l-=i,He=1<<32-je(t)+l|n<L?(H=N,N=null):H=N.sibling;var O=m(f,N,p[L],v);if(O===null){N===null&&(N=H);break}e&&N&&O.alternate===null&&t(f,N),c=o(O,c,L),P===null?k=O:P.sibling=O,P=O,N=H}if(L===p.length)return n(f,N),$&&xt(f,L),k;if(N===null){for(;LL?(H=N,N=null):H=N.sibling;var Le=m(f,N,O.value,v);if(Le===null){N===null&&(N=H);break}e&&N&&Le.alternate===null&&t(f,N),c=o(Le,c,L),P===null?k=Le:P.sibling=Le,P=Le,N=H}if(O.done)return n(f,N),$&&xt(f,L),k;if(N===null){for(;!O.done;L++,O=p.next())O=d(f,O.value,v),O!==null&&(c=o(O,c,L),P===null?k=O:P.sibling=O,P=O);return $&&xt(f,L),k}for(N=r(f,N);!O.done;L++,O=p.next())O=y(N,f,L,O.value,v),O!==null&&(e&&O.alternate!==null&&N.delete(O.key===null?L:O.key),c=o(O,c,L),P===null?k=O:P.sibling=O,P=O);return e&&N.forEach(function(yn){return t(f,yn)}),$&&xt(f,L),k}function E(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Vt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case hr:e:{for(var k=p.key,P=c;P!==null;){if(P.key===k){if(k=p.type,k===Vt){if(P.tag===7){n(f,P.sibling),c=l(P,p.props.children),c.return=f,f=c;break e}}else if(P.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===et&&Uu(k)===P.type){n(f,P.sibling),c=l(P,p.props),c.ref=Cn(f,P,p),c.return=f,f=c;break e}n(f,P);break}else t(f,P);P=P.sibling}p.type===Vt?(c=zt(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Ar(p.type,p.key,p.props,null,f.mode,v),v.ref=Cn(f,c,p),v.return=f,f=v)}return i(f);case At:e:{for(P=p.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=l(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=io(p,f.mode,v),c.return=f,f=c}return i(f);case et:return P=p._init,E(f,c,P(p._payload),v)}if(Ln(p))return g(f,c,p,v);if(wn(p))return w(f,c,p,v);_r(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,p),c.return=f,f=c):(n(f,c),c=oo(p,f.mode,v),c.return=f,f=c),i(f)):n(f,c)}return E}var an=ja(!0),Ia=ja(!1),tl=wt(null),nl=null,Zt=null,Ni=null;function Li(){Ni=Zt=nl=null}function zi(e){var t=tl.current;U(tl),e._currentValue=t}function Uo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function rn(e,t){nl=e,Ni=Zt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(de=!0),e.firstContext=null)}function Pe(e){var t=e._currentValue;if(Ni!==e)if(e={context:e,memoizedValue:t,next:null},Zt===null){if(nl===null)throw Error(S(308));Zt=e,nl.dependencies={lanes:0,firstContext:e}}else Zt=Zt.next=e;return t}var Pt=null;function Ri(e){Pt===null?Pt=[e]:Pt.push(e)}function Ma(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Ri(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ge(e,r)}function Ge(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var tt=!1;function Ti(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Da(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ke(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ft(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ge(e,n)}return l=r.interleaved,l===null?(t.next=t,Ri(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ge(e,n)}function Mr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vi(e,n)}}function $u(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function rl(e,t,n,r){var l=e.updateQueue;tt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?o=a:i.next=a,i=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==i&&(u===null?h.firstBaseUpdate=a:u.next=a,h.lastBaseUpdate=s))}if(o!==null){var d=l.baseState;i=0,h=a=s=null,u=o;do{var m=u.lane,y=u.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:y,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,w=u;switch(m=t,y=n,w.tag){case 1:if(g=w.payload,typeof g=="function"){d=g.call(y,d,m);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=w.payload,m=typeof g=="function"?g.call(y,d,m):g,m==null)break e;d=V({},d,m);break e;case 2:tt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[u]:m.push(u))}else y={eventTime:y,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(a=h=y,s=d):h=h.next=y,i|=m;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;m=u,u=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(h===null&&(s=d),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);jt|=i,e.lanes=i,e.memoizedState=d}}function Bu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=eo.transition;eo.transition={};try{e(!1),t()}finally{M=n,eo.transition=r}}function ba(){return Ne().memoizedState}function Hd(e,t,n){var r=pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ec(e))tc(t,n);else if(n=Ma(e,t,n,r),n!==null){var l=se();Ie(n,e,r,l),nc(n,t,r)}}function Qd(e,t,n){var r=pt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ec(e))tc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Me(u,i)){var s=t.interleaved;s===null?(l.next=l,Ri(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Ma(e,t,l,r),n!==null&&(l=se(),Ie(n,e,r,l),nc(n,t,r))}}function ec(e){var t=e.alternate;return e===A||t!==null&&t===A}function tc(e,t){Dn=ol=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vi(e,n)}}var il={readContext:Pe,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},Kd={readContext:Pe,useCallback:function(e,t){return Fe().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Vu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fr(4194308,4,Xa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fr(4,2,e,t)},useMemo:function(e,t){var n=Fe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Fe();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=Hd.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var t=Fe();return e={current:e},t.memoizedState=e},useState:Au,useDebugValue:$i,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=Au(!1),t=e[0];return e=Wd.bind(null,e[1]),Fe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=A,l=Fe();if($){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));Ot&30||Ba(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Vu(Va.bind(null,r,o,e),[e]),r.flags|=2048,tr(9,Aa.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Fe(),t=b.identifierPrefix;if($){var n=Qe,r=He;n=(r&~(1<<32-je(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=bn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ue]=t,e[Zn]=r,dc(e,t,!1,!1),t.stateNode=e;e:{switch(i=So(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;ldn&&(t.flags|=128,r=!0,_n(o,!1),t.lanes=4194304)}else{if(!r)if(e=ll(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),_n(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return le(t),null}else 2*K()-o.renderingStartTime>dn&&n!==1073741824&&(t.flags|=128,r=!0,_n(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=B.current,D(B,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Qi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function ep(e,t){switch(_i(t),t.tag){case 1:return he(t.type)&&Jr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(),U(pe),U(ie),Ii(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ji(t),null;case 13:if(U(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));sn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(B),null;case 4:return cn(),null;case 10:return zi(t.type._context),null;case 22:case 23:return Qi(),null;case 24:return null;default:return null}}var Nr=!1,oe=!1,tp=typeof WeakSet=="function"?WeakSet:Set,x=null;function Jt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Yo(e,t,n){try{n()}catch(r){W(e,t,r)}}var bu=!1;function np(e,t){if(Ro=Yr,e=wa(),xi(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 l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,h=0,d=e,m=null;t:for(;;){for(var y;d!==n||l!==0&&d.nodeType!==3||(u=i+l),d!==o||r!==0&&d.nodeType!==3||(s=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(y=d.firstChild)!==null;)m=d,d=y;for(;;){if(d===e)break t;if(m===n&&++a===l&&(u=i),m===o&&++h===r&&(s=i),(y=d.nextSibling)!==null)break;d=m,m=d.parentNode}d=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(To={focusedElem:e,selectionRange:n},Yr=!1,x=t;x!==null;)if(t=x,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,x=e;else for(;x!==null;){t=x;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var w=g.memoizedProps,E=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:Re(t.type,w),E);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(v){W(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,x=e;break}x=t.return}return g=bu,bu=!1,g}function Fn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Yo(t,n,o)}l=l.next}while(l!==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 Xo(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 mc(e){var t=e.alternate;t!==null&&(e.alternate=null,mc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Zn],delete t[Io],delete t[Ud],delete t[$d])),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 vc(e){return e.tag===5||e.tag===3||e.tag===4}function es(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vc(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 Go(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=Zr));else if(r!==4&&(e=e.child,e!==null))for(Go(e,t,n),e=e.sibling;e!==null;)Go(e,t,n),e=e.sibling}function Zo(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(Zo(e,t,n),e=e.sibling;e!==null;)Zo(e,t,n),e=e.sibling}var ee=null,Te=!1;function be(e,t,n){for(n=n.child;n!==null;)yc(e,t,n),n=n.sibling}function yc(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(ml,n)}catch{}switch(n.tag){case 5:oe||Jt(n,t);case 6:var r=ee,l=Te;ee=null,be(e,t,n),ee=r,Te=l,ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),Qn(e)):Jl(ee,n.stateNode));break;case 4:r=ee,l=Te,ee=n.stateNode.containerInfo,Te=!0,be(e,t,n),ee=r,Te=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Yo(n,t,i),l=l.next}while(l!==r)}be(e,t,n);break;case 1:if(!oe&&(Jt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}be(e,t,n);break;case 21:be(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,be(e,t,n),oe=r):be(e,t,n);break;default:be(e,t,n)}}function ts(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tp),t.forEach(function(r){var l=fp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*lp(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,al=0,j&6)throw Error(S(331));var l=j;for(j|=4,x=e.current;x!==null;){var o=x,i=o.child;if(x.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sK()-Wi?Lt(e,0):Vi|=n),me(e,t)}function _c(e,t){t===0&&(e.mode&1?(t=gr,gr<<=1,!(gr&130023424)&&(gr=4194304)):t=1);var n=se();e=Ge(e,t),e!==null&&(ir(e,t,n),me(e,n))}function cp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_c(e,n)}function fp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),_c(e,n)}var Pc;Pc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)de=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return de=!1,qd(e,t,n);de=!!(e.flags&131072)}else de=!1,$&&t.flags&1048576&&Ra(t,el,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ur(e,t),e=t.pendingProps;var l=un(t,ie.current);rn(t,n),l=Di(null,t,r,e,l,n);var o=Fi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(o=!0,qr(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ti(t),l.updater=El,t.stateNode=l,l._reactInternals=t,Bo(t,r,e,n),t=Wo(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Ci(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ur(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=pp(r),e=Re(r,e),l){case 0:t=Vo(null,t,r,e,n);break e;case 1:t=Zu(null,t,r,e,n);break e;case 11:t=Xu(null,t,r,e,n);break e;case 14:t=Gu(null,t,r,Re(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Vo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Zu(e,t,r,l,n);case 3:e:{if(ac(t),e===null)throw Error(S(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Da(e,t),rl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=fn(Error(S(423)),t),t=Ju(e,t,r,n,l);break e}else if(r!==l){l=fn(Error(S(424)),t),t=Ju(e,t,r,n,l);break e}else for(ye=ct(t.stateNode.containerInfo.firstChild),ge=t,$=!0,Oe=null,n=Ia(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(sn(),r===l){t=Ze(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return Fa(t),e===null&&Fo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Oo(r,l)?i=null:o!==null&&Oo(r,o)&&(t.flags|=32),sc(e,t),ue(e,t,i,n),t.child;case 6:return e===null&&Fo(t),null;case 13:return cc(e,t,n);case 4:return Oi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=an(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Xu(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,D(tl,r._currentValue),r._currentValue=i,o!==null)if(Me(o.value,i)){if(o.children===l.children&&!pe.current){t=Ze(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ke(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var h=a.pending;h===null?s.next=s:(s.next=h.next,h.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Uo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(S(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Uo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,rn(t,n),l=Pe(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),Gu(e,t,r,l,n);case 15:return ic(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Ur(e,t),t.tag=1,he(r)?(e=!0,qr(t)):e=!1,rn(t,n),rc(t,r,l),Bo(t,r,l,n),Wo(null,t,r,!0,e,n);case 19:return fc(e,t,n);case 22:return uc(e,t,n)}throw Error(S(156,t.tag))};function Nc(e,t){return ea(e,t)}function dp(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 Ce(e,t,n,r){return new dp(e,t,n,r)}function Yi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pp(e){if(typeof e=="function")return Yi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===di)return 11;if(e===pi)return 14}return 2}function ht(e,t){var n=e.alternate;return n===null?(n=Ce(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 Ar(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Yi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Vt:return zt(n.children,l,o,t);case fi:i=8,l|=8;break;case ao:return e=Ce(12,n,t,l|2),e.elementType=ao,e.lanes=o,e;case co:return e=Ce(13,n,t,l),e.elementType=co,e.lanes=o,e;case fo:return e=Ce(19,n,t,l),e.elementType=fo,e.lanes=o,e;case Fs:return _l(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ms:i=10;break e;case Ds:i=9;break e;case di:i=11;break e;case pi:i=14;break e;case et:i=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ce(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function zt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function _l(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=Fs,e.lanes=n,e.stateNode={isHidden:!1},e}function oo(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function io(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hp(e,t,n,r,l){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=Bl(0),this.expirationTimes=Bl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Xi(e,t,n,r,l,o,i,u,s){return e=new hp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ce(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ti(o),e}function mp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Tc)}catch(e){console.error(e)}}Tc(),Ts.exports=Se;var Sp=Ts.exports,Oc,as=Sp;Oc=as.createRoot,as.hydrateRoot;const kp="modulepreload",Ep=function(e){return"/"+e},cs={},Ft=function(t,n,r){let l=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),u=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.allSettled(n.map(s=>{if(s=Ep(s),s in cs)return;cs[s]=!0;const a=s.endsWith(".css"),h=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${h}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":kp,a||(d.as="script"),d.crossOrigin="",d.href=s,u&&d.setAttribute("nonce",u),document.head.appendChild(d),a)return new Promise((m,y)=>{d.addEventListener("load",m),d.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${s}`)))})}))}function o(i){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=i,window.dispatchEvent(u),!u.defaultPrevented)throw i}return l.then(i=>{for(const u of i||[])u.status==="rejected"&&o(u.reason);return t().catch(o)})};/** - * @remix-run/router v1.19.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 rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function jc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Cp(){return Math.random().toString(36).substr(2,8)}function ds(e,t){return{usr:e.state,key:e.key,idx:t}}function ti(e,t,n,r){return n===void 0&&(n=null),rr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vn(t):t,{state:n,key:t&&t.key||r||Cp()})}function dl(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 vn(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 _p(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,u=it.Pop,s=null,a=h();a==null&&(a=0,i.replaceState(rr({},i.state,{idx:a}),""));function h(){return(i.state||{idx:null}).idx}function d(){u=it.Pop;let E=h(),f=E==null?null:E-a;a=E,s&&s({action:u,location:w.location,delta:f})}function m(E,f){u=it.Push;let c=ti(w.location,E,f);a=h()+1;let p=ds(c,a),v=w.createHref(c);try{i.pushState(p,"",v)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(v)}o&&s&&s({action:u,location:w.location,delta:1})}function y(E,f){u=it.Replace;let c=ti(w.location,E,f);a=h();let p=ds(c,a),v=w.createHref(c);i.replaceState(p,"",v),o&&s&&s({action:u,location:w.location,delta:0})}function g(E){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof E=="string"?E:dl(E);return c=c.replace(/ $/,"%20"),X(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let w={get action(){return u},get location(){return e(l,i)},listen(E){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(fs,d),s=E,()=>{l.removeEventListener(fs,d),s=null}},createHref(E){return t(l,E)},createURL:g,encodeLocation(E){let f=g(E);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:y,go(E){return i.go(E)}};return w}var ps;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ps||(ps={}));function Pp(e,t,n){return n===void 0&&(n="/"),Np(e,t,n,!1)}function Np(e,t,n,r){let l=typeof t=="string"?vn(t):t,o=qi(l.pathname||"/",n);if(o==null)return null;let i=Ic(e);Lp(i);let u=null;for(let s=0;u==null&&s{let s={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};s.relativePath.startsWith("/")&&(X(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=mt([r,s.relativePath]),h=n.concat(s);o.children&&o.children.length>0&&(X(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),Ic(o.children,t,h,a)),!(o.path==null&&!o.index)&&t.push({path:a,score:Mp(a,o.index),routesMeta:h})};return e.forEach((o,i)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))l(o,i);else for(let s of Mc(o.path))l(o,i,s)}),t}function Mc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=Mc(r.join("/")),u=[];return u.push(...i.map(s=>s===""?o:[o,s].join("/"))),l&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function Lp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Dp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const zp=/^:[\w-]+$/,Rp=3,Tp=2,Op=1,jp=10,Ip=-2,hs=e=>e==="*";function Mp(e,t){let n=e.split("/"),r=n.length;return n.some(hs)&&(r+=Ip),t&&(r+=Tp),n.filter(l=>!hs(l)).reduce((l,o)=>l+(zp.test(o)?Rp:o===""?Op:jp),r)}function Dp(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Fp(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let u=0;u{let{paramName:m,isOptional:y}=h;if(m==="*"){let w=u[d]||"";i=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const g=u[d];return y&&!g?a[m]=void 0:a[m]=(g||"").replace(/%2F/g,"/"),a},{}),pathname:o,pathnameBase:i,pattern:e}}function Up(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),jc(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=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function $p(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return jc(!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 qi(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 Bp(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?vn(e):e;return{pathname:n?n.startsWith("/")?n:Ap(n,t):t,search:Hp(r),hash:Qp(l)}}function Ap(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function uo(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 Vp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Dc(e,t){let n=Vp(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Fc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=vn(e):(l=rr({},e),X(!l.pathname||!l.pathname.includes("?"),uo("?","pathname","search",l)),X(!l.pathname||!l.pathname.includes("#"),uo("#","pathname","hash",l)),X(!l.search||!l.search.includes("#"),uo("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,u;if(i==null)u=n;else{let d=t.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),d-=1;l.pathname=m.join("/")}u=d>=0?t[d]:"/"}let s=Bp(l,u),a=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(a||h)&&(s.pathname+="/"),s}const mt=e=>e.join("/").replace(/\/\/+/g,"/"),Wp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Hp=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Qp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Kp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Uc=["post","put","patch","delete"];new Set(Uc);const Yp=["get",...Uc];new Set(Yp);/** - * React Router v6.26.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 lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),_.useCallback(function(a,h){if(h===void 0&&(h={}),!u.current)return;if(typeof a=="number"){r.go(a);return}let d=Fc(a,JSON.parse(i),o,h.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:mt([t,d.pathname])),(h.replace?r.replace:r.push)(d,h.state,h)},[t,r,i,o,e])}function Ac(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=_.useContext(Ut),{matches:l}=_.useContext($t),{pathname:o}=Tl(),i=JSON.stringify(Dc(l,r.v7_relativeSplatPath));return _.useMemo(()=>Fc(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function qp(e,t){return bp(e,t)}function bp(e,t,n,r){cr()||X(!1);let{navigator:l}=_.useContext(Ut),{matches:o}=_.useContext($t),i=o[o.length-1],u=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=Tl(),h;if(t){var d;let E=typeof t=="string"?vn(t):t;s==="/"||(d=E.pathname)!=null&&d.startsWith(s)||X(!1),h=E}else h=a;let m=h.pathname||"/",y=m;if(s!=="/"){let E=s.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(E.length).join("/")}let g=Pp(e,{pathname:y}),w=lh(g&&g.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:mt([s,l.encodeLocation?l.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?s:mt([s,l.encodeLocation?l.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,n,r);return t&&w?_.createElement(Rl.Provider,{value:{location:lr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:it.Pop}},w):w}function eh(){let e=sh(),t=Kp(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),n?_.createElement("pre",{style:l},n):null,null)}const th=_.createElement(eh,null);class nh extends _.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?_.createElement($t.Provider,{value:this.props.routeContext},_.createElement($c.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rh(e){let{routeContext:t,match:n,children:r}=e,l=_.useContext(bi);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),_.createElement($t.Provider,{value:t},r)}function lh(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let h=i.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id])!==void 0);h>=0||X(!1),i=i.slice(0,Math.min(i.length,h+1))}let s=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((h,d,m)=>{let y,g=!1,w=null,E=null;n&&(y=u&&d.route.id?u[d.route.id]:void 0,w=d.route.errorElement||th,s&&(a<0&&m===0?(g=!0,E=null):a===m&&(g=!0,E=d.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,m+1)),c=()=>{let p;return y?p=w:g?p=E:d.route.Component?p=_.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=h,_.createElement(rh,{match:d,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?_.createElement(nh,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:c(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):c()},null)}var Vc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Vc||{}),pl=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}(pl||{});function oh(e){let t=_.useContext(bi);return t||X(!1),t}function ih(e){let t=_.useContext(Xp);return t||X(!1),t}function uh(e){let t=_.useContext($t);return t||X(!1),t}function Wc(e){let t=uh(),n=t.matches[t.matches.length-1];return n.route.id||X(!1),n.route.id}function sh(){var e;let t=_.useContext($c),n=ih(pl.UseRouteError),r=Wc(pl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function ah(){let{router:e}=oh(Vc.UseNavigateStable),t=Wc(pl.UseNavigateStable),n=_.useRef(!1);return Bc(()=>{n.current=!0}),_.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,lr({fromRouteId:t},o)))},[e,t])}function Ae(e){X(!1)}function ch(e){let{basename:t="/",children:n=null,location:r,navigationType:l=it.Pop,navigator:o,static:i=!1,future:u}=e;cr()&&X(!1);let s=t.replace(/^\/*/,"/"),a=_.useMemo(()=>({basename:s,navigator:o,static:i,future:lr({v7_relativeSplatPath:!1},u)}),[s,u,o,i]);typeof r=="string"&&(r=vn(r));let{pathname:h="/",search:d="",hash:m="",state:y=null,key:g="default"}=r,w=_.useMemo(()=>{let E=qi(h,s);return E==null?null:{location:{pathname:E,search:d,hash:m,state:y,key:g},navigationType:l}},[s,h,d,m,y,g,l]);return w==null?null:_.createElement(Ut.Provider,{value:a},_.createElement(Rl.Provider,{children:n,value:w}))}function fh(e){let{children:t,location:n}=e;return qp(ni(t),n)}new Promise(()=>{});function ni(e,t){t===void 0&&(t=[]);let n=[];return _.Children.forEach(e,(r,l)=>{if(!_.isValidElement(r))return;let o=[...t,l];if(r.type===_.Fragment){n.push.apply(n,ni(r.props.children,o));return}r.type!==Ae&&X(!1),!r.props.index||!r.props.children||X(!1);let i={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&&(i.children=ni(r.props.children,o)),n.push(i)}),n}/** - * React Router DOM v6.26.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 ri(){return ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function ph(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hh(e,t){return e.button===0&&(!t||t==="_self")&&!ph(e)}const mh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],vh="6";try{window.__reactRouterVersion=vh}catch{}const yh="startTransition",vs=af[yh];function gh(e){let{basename:t,children:n,future:r,window:l}=e,o=_.useRef();o.current==null&&(o.current=xp({window:l,v5Compat:!0}));let i=o.current,[u,s]=_.useState({action:i.action,location:i.location}),{v7_startTransition:a}=r||{},h=_.useCallback(d=>{a&&vs?vs(()=>s(d)):s(d)},[s,a]);return _.useLayoutEffect(()=>i.listen(h),[i,h]),_.createElement(ch,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:i,future:r})}const wh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Sh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Th=_.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:u,target:s,to:a,preventScrollReset:h,unstable_viewTransition:d}=t,m=dh(t,mh),{basename:y}=_.useContext(Ut),g,w=!1;if(typeof a=="string"&&Sh.test(a)&&(g=a,wh))try{let p=new URL(window.location.href),v=a.startsWith("//")?new URL(p.protocol+a):new URL(a),k=qi(v.pathname,y);v.origin===p.origin&&k!=null?a=k+v.search+v.hash:w=!0}catch{}let E=Gp(a,{relative:l}),f=kh(a,{replace:i,state:u,target:s,preventScrollReset:h,relative:l,unstable_viewTransition:d});function c(p){r&&r(p),p.defaultPrevented||f(p)}return _.createElement("a",ri({},m,{href:g||E,onClick:w||o?r:c,ref:n,target:s}))});var ys;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ys||(ys={}));var gs;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(gs||(gs={}));function kh(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,s=Zp(),a=Tl(),h=Ac(e,{relative:i});return _.useCallback(d=>{if(hh(d,n)){d.preventDefault();let m=r!==void 0?r:dl(a)===dl(h);s(e,{replace:m,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:u})}},[a,s,h,r,l,n,e,o,i,u])}const Eh=Je.lazy(()=>Ft(()=>import("./landingPage-D6m0dS6O.js"),[])),xh=Je.lazy(()=>Ft(()=>import("./studentCodePage-BSG0zGk7.js"),__vite__mapDeps([0,1,2])));Je.lazy(()=>Ft(()=>import("./staffLoginPage-CaOHgJfb.js"),__vite__mapDeps([3,2])));const Ch=Je.lazy(()=>Ft(()=>import("./login_form-CvxyFk42.js"),__vite__mapDeps([4,1,2]))),ws=Je.lazy(()=>Ft(()=>import("./waitroom-S4necMnD.js"),[])),_h=Je.lazy(()=>Ft(()=>import("./studentSubmitPage-DjJDzmnm.js"),__vite__mapDeps([5,1,2]))),Ph=Je.lazy(()=>Ft(()=>import("./pmQueue-ZCad6KIG.js"),[])),Nh=()=>I.jsx("div",{className:"min-h-screen flex items-center justify-center",children:I.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-gray-900"})}),Lh=()=>I.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:I.jsxs("div",{className:"text-center",children:[I.jsx("h1",{className:"text-4xl font-bold text-gray-800 mb-4",children:"404"}),I.jsx("p",{className:"text-gray-600 mb-4",children:"Page not found"}),I.jsx("a",{href:"/",className:"text-blue-600 hover:text-blue-800 underline",children:"Return to Home"})]})});function zh(){return I.jsx(gh,{children:I.jsx(Je.Suspense,{fallback:I.jsx(Nh,{}),children:I.jsxs(fh,{children:[I.jsx(Ae,{path:"/",element:I.jsx(Eh,{})}),I.jsx(Ae,{path:"/student",element:I.jsx(xh,{})}),I.jsx(Ae,{path:"/staff",element:I.jsx(Ch,{})}),I.jsx(Ae,{path:"/submit",element:I.jsx(_h,{})}),I.jsx(Ae,{path:"/pmQ",element:I.jsx(Ph,{})}),I.jsx(Ae,{path:"/waitroom",element:I.jsx(ws,{})}),I.jsx(Ae,{path:"/student/:roomCode/waitroom/:submissionId",element:I.jsx(ws,{})}),I.jsx(Ae,{path:"*",element:I.jsx(Lh,{})})]})})})}function Rh(){return I.jsx(I.Fragment,{children:I.jsx(zh,{})})}Oc(document.getElementById("root")).render(I.jsx(_.StrictMode,{children:I.jsx(Rh,{})}));export{Th as L,I as j,_ as r,Zp as u}; diff --git a/OHours/dist/assets/index-Dedcbaii.css b/OHours/dist/assets/index-Dedcbaii.css deleted file mode 100644 index cee57837..00000000 --- a/OHours/dist/assets/index-Dedcbaii.css +++ /dev/null @@ -1 +0,0 @@ -#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.fixed{position:fixed}.relative{position:relative}.bottom-4{bottom:1rem}.left-1\/2{left:50%}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mt-10{margin-top:2.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-1\/2{height:50%}.h-12{height:3rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-\[90vh\]{height:90vh}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-12{width:3rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pr-2{padding-right:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-gray-100:hover{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.disabled\:bg-blue-300:disabled{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2 / span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\[\&_p\]\:leading-relaxed p{line-height:1.625} diff --git a/OHours/dist/assets/landingPage-D6m0dS6O.js b/OHours/dist/assets/landingPage-D6m0dS6O.js deleted file mode 100644 index 92f4edc0..00000000 --- a/OHours/dist/assets/landingPage-D6m0dS6O.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e,L as r}from"./index-CF3V3EkY.js";function s(){return e.jsxs("div",{className:"min-h-screen bg-gray-50 flex flex-col items-center justify-center p-4",children:[e.jsx("h1",{className:"text-4xl font-bold mb-8 text-gray-800",children:"OHours"}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-6 w-full max-w-2xl",children:[e.jsx(r,{to:"/staff",className:"flex-1 h-40 bg-white rounded-xl shadow-lg hover:shadow-xl transition-shadow duration-300 flex items-center justify-center border-2 border-gray-200 hover:border-blue-500 group no-underline",children:e.jsx("span",{className:"text-2xl font-semibold text-gray-700 group-hover:text-blue-600",children:"Staff"})}),e.jsx(r,{to:"/student",className:"flex-1 h-40 bg-white rounded-xl shadow-lg hover:shadow-xl transition-shadow duration-300 flex items-center justify-center border-2 border-gray-200 hover:border-blue-500 group no-underline",children:e.jsx("span",{className:"text-2xl font-semibold text-gray-700 group-hover:text-blue-600",children:"Student"})})]})]})}export{s as default}; diff --git a/OHours/dist/assets/login_form-CvxyFk42.js b/OHours/dist/assets/login_form-CvxyFk42.js deleted file mode 100644 index b027168f..00000000 --- a/OHours/dist/assets/login_form-CvxyFk42.js +++ /dev/null @@ -1 +0,0 @@ -import{u as d,r as a,j as e}from"./index-CF3V3EkY.js";import{B as c}from"./back-BLN-uxUa.js";import"./createLucideIcon-BVwf0bP4.js";const p=()=>{const l=d(),[t,u]=a.useState(""),[r,m]=a.useState(""),[o,n]=a.useState(""),i=s=>{s.preventDefault(),n(""),t.length<3||r.length<6?n("Username must be at least 3 characters and password at least 6 characters long."):(console.log("Login attempt",{username:t,password:r}),alert("Login form submitted"),l("/pmQ"))};return e.jsxs("div",{className:"max-w-md mx-auto mt-10 p-6 bg-white rounded-lg shadow-md",children:[e.jsx("div",{className:"w-full flex justify-start mb-6",children:e.jsx(c,{})}),e.jsx("h2",{className:"text-2xl font-semibold mb-6 text-center text-gray-800",children:"Peer Mentor Login"}),e.jsxs("form",{onSubmit:i,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"username",className:"block text-sm font-medium text-gray-700 mb-1",children:"Username"}),e.jsx("input",{type:"text",id:"username",value:t,onChange:s=>u(s.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-1 focus:ring-blue-500",required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-1",children:"Password"}),e.jsx("input",{type:"password",id:"password",value:r,onChange:s=>m(s.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-1 focus:ring-blue-500",required:!0})]}),o&&e.jsx("div",{className:"text-red-500 text-sm",children:o}),e.jsx("button",{type:"submit",className:"w-full py-2 px-4 bg-blue-500 text-white font-semibold rounded-md hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50",children:"Log In"})]})]})};export{p as default}; diff --git a/OHours/dist/assets/pmQueue-ZCad6KIG.js b/OHours/dist/assets/pmQueue-ZCad6KIG.js deleted file mode 100644 index cddd8dd4..00000000 --- a/OHours/dist/assets/pmQueue-ZCad6KIG.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e,u as v,r}from"./index-CF3V3EkY.js";function u({children:l,className:c=""}){return e.jsx("div",{className:` overflow-y-auto bg-white shadow rounded ${c}`,children:l})}function h({children:l,className:c=""}){return e.jsx("div",{className:`p-4 ${c}`,children:l})}function x({checked:l,onChange:c,className:a=""}){return e.jsx("input",{type:"checkbox",checked:l,onChange:c,className:`h-5 w-5 ${a}`})}function p({children:l,onClick:c,className:a=""}){return e.jsx("button",{onClick:c,className:`bg-blue-500 text-white py-2 px-4 rounded ${a}`,children:l})}const k=[{id:1,studentName:"John Doe",priorityNumber:"1",description:"Question about assignment 3",checked:!1},{id:2,studentName:"Jane Smith",priorityNumber:"2",description:"Needs help with coding problem",checked:!1},{id:3,studentName:"Bob Johnson",priorityNumber:"3",description:"Discussion about project proposal",checked:!1},{id:4,studentName:"Alice Brown",priorityNumber:"4",description:"Clarification on exam schedule",checked:!1},{id:5,studentName:"Charlie Davis",priorityNumber:"5",description:"Issues with installation of tools",checked:!1},{id:6,studentName:"Emily White",priorityNumber:"6",description:"Help with debugging code",checked:!1},{id:7,studentName:"Frank Harris",priorityNumber:"7",description:"Discussion about final project topic",checked:!1},{id:8,studentName:"Grace Lee",priorityNumber:"8",description:"Needs guidance on research paper",checked:!1}];function w({onLogout:l}){const c=v(),[a,g]=r.useState("CS392"),[i,d]=r.useState([]),[m,o]=r.useState(!1);r.useEffect(()=>{d(k)},[]);const f=s=>{d(i.map(t=>t.id===s?{...t,checked:!t.checked}:t));const n=i.map(t=>t.id===s?{...t,checked:!t.checked}:t);o(n.every(t=>t.checked))},N=()=>{const s=!m;o(s),d(i.map(n=>({...n,checked:s})))},j=()=>{c("/")},b=()=>{const s=i.filter(n=>!n.checked);d(s),o(!1)};return e.jsxs("div",{className:"h-[90vh] flex flex-col",children:[e.jsx("div",{className:"p-2 ",children:e.jsx(u,{children:e.jsxs(h,{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-semibold mb-1",children:"Room:"}),e.jsx("div",{className:"text-2xl font-bold",children:a})]}),e.jsx(p,{variant:"ghost",onClick:j,className:"flex items-center gap-2",children:"Logout"})]})})}),e.jsx("div",{className:" w-full h-1/2 flex-1 p-4 flex",children:e.jsx(u,{className:"w-full flex flex-col",children:e.jsxs(h,{className:"flex flex-col h-full",children:[e.jsxs("div",{className:"flex justify-between items-center mb-4",children:[e.jsx("div",{className:"text-sm font-semibold",children:"Queue"}),e.jsxs("div",{className:"flex items-center space-x-2",children:[e.jsx(x,{checked:m,onChange:N,id:"select-all"}),e.jsx("label",{htmlFor:"select-all",className:"text-sm text-gray-700 cursor-pointer",children:"Select All"})]})]}),e.jsx("div",{className:"flex-1 overflow-y-auto pr-2",children:e.jsx("div",{className:"space-y-2",children:i.map(s=>e.jsx(u,{children:e.jsxs(h,{className:"p-3",children:[e.jsxs("div",{className:"flex justify-between items-center mb-2",children:[e.jsxs("div",{className:"font-medium",children:[s.studentName," #",s.priorityNumber]}),e.jsx(x,{checked:s.checked,onChange:()=>f(s.id)})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm text-gray-500",children:"Description:"}),e.jsx("div",{className:"text-sm",children:s.description})]})]})},s.id))})})]})})}),e.jsx("div",{className:"p-4",children:e.jsx(p,{onClick:b,className:"fixed bottom-4 left-1/2 transform -translate-x-1/2",children:"Resolve"})})]})}export{w as default}; diff --git a/OHours/dist/assets/react-CHdo91hT.svg b/OHours/dist/assets/react-CHdo91hT.svg deleted file mode 100644 index 6c87de9b..00000000 --- a/OHours/dist/assets/react-CHdo91hT.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/OHours/dist/assets/staffLoginPage-CaOHgJfb.js b/OHours/dist/assets/staffLoginPage-CaOHgJfb.js deleted file mode 100644 index c4990869..00000000 --- a/OHours/dist/assets/staffLoginPage-CaOHgJfb.js +++ /dev/null @@ -1,6 +0,0 @@ -import{r as s,j as e}from"./index-CF3V3EkY.js";import{c as t}from"./createLucideIcon-BVwf0bP4.js";/** - * @license lucide-react v0.447.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const a=t("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);function l(){return s.useState("current"),e.jsx("div",{className:"min-h-screen bg-gray-50 p-6",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs("div",{className:"flex items-center justify-between mb-8",children:[e.jsx("h1",{className:"text-3xl font-bold text-gray-800",children:"Staff Dashboard"}),e.jsxs("button",{className:"flex items-center gap-2 px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700",children:[e.jsx(a,{size:20}),"Create Session"]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Current Sessions"}),e.jsx("div",{className:"space-y-4",children:e.jsx("div",{className:"p-4 border rounded-md",children:e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:"Office Hours - CS101"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Room: Virtual"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Time: 2:00 PM - 4:00 PM"})]}),e.jsx("span",{className:"px-2 py-1 text-sm bg-green-100 text-green-800 rounded-full",children:"Active"})]})})})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Student Queue"}),e.jsx("div",{className:"space-y-4",children:e.jsx("div",{className:"p-4 border rounded-md",children:e.jsx("p",{className:"text-gray-600",children:"No students currently in queue"})})})]}),e.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-6 md:col-span-2",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Quick Settings"}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsxs("button",{className:"p-4 border rounded-md hover:bg-gray-50 text-left",children:[e.jsx("h3",{className:"font-medium",children:"Generate Access Code"}),e.jsx("p",{className:"text-sm text-gray-600",children:"Create new student access code"})]}),e.jsxs("button",{className:"p-4 border rounded-md hover:bg-gray-50 text-left",children:[e.jsx("h3",{className:"font-medium",children:"Manage Schedule"}),e.jsx("p",{className:"text-sm text-gray-600",children:"View and edit office hours"})]}),e.jsxs("button",{className:"p-4 border rounded-md hover:bg-gray-50 text-left",children:[e.jsx("h3",{className:"font-medium",children:"Session History"}),e.jsx("p",{className:"text-sm text-gray-600",children:"View past sessions"})]})]})]})]})]})})}export{l as default}; diff --git a/OHours/dist/assets/studentCodePage-BSG0zGk7.js b/OHours/dist/assets/studentCodePage-BSG0zGk7.js deleted file mode 100644 index 6edcfc1a..00000000 --- a/OHours/dist/assets/studentCodePage-BSG0zGk7.js +++ /dev/null @@ -1,2 +0,0 @@ -import{r as d,u as m,j as e}from"./index-CF3V3EkY.js";import{B as g}from"./back-BLN-uxUa.js";import"./createLucideIcon-BVwf0bP4.js";const x=({children:s,className:a,...t})=>e.jsx("div",{role:"alert",className:`rounded-lg border p-4 ${a}`,...t,children:s}),b=({children:s,className:a,...t})=>e.jsx("div",{className:`text-sm [&_p]:leading-relaxed ${a}`,...t,children:s});function y(){const[s,a]=d.useState(""),[t,r]=d.useState({type:"",message:""}),[l,i]=d.useState(!1),n=m(),c=async o=>{o.preventDefault(),i(!0),r({type:"",message:""}),await new Promise(u=>setTimeout(u,1e3)),s.trim()!==""?(r({type:"success",message:"Code verified successfully!"}),n("/submit")):(r({type:"error",message:"Invalid code. Please try again."}),i(!1))};return e.jsx("div",{className:"min-h-screen bg-gray-50 p-6",children:e.jsxs("div",{className:"max-w-2xl mx-auto",children:[e.jsx("div",{className:"w-full flex justify-start mb-6",children:e.jsx(g,{})}),e.jsx("h1",{className:"text-3xl font-bold text-gray-800 mb-8",children:"Student Access"}),e.jsx("div",{className:"bg-white rounded-lg shadow-lg p-6",children:e.jsxs("form",{onSubmit:c,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"code",className:"block text-sm font-medium text-gray-700 mb-2",children:"Enter Access Code"}),e.jsx("input",{id:"code",type:"text",value:s,onChange:o=>a(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500",placeholder:"Enter your code here",required:!0})]}),t.message&&e.jsx(x,{className:t.type==="error"?"bg-red-50":"bg-green-50",children:e.jsx(b,{children:t.message})}),e.jsx("button",{type:"submit",disabled:l||!s,className:`w-full py-2 px-4 rounded-md text-white font-medium - ${l||!s?"bg-gray-400 cursor-not-allowed":"bg-blue-600 hover:bg-blue-700"}`,children:l?"Verifying...":"Submit"})]})})]})})}export{y as default}; diff --git a/OHours/dist/assets/studentSubmitPage-DjJDzmnm.js b/OHours/dist/assets/studentSubmitPage-DjJDzmnm.js deleted file mode 100644 index c777c8f3..00000000 --- a/OHours/dist/assets/studentSubmitPage-DjJDzmnm.js +++ /dev/null @@ -1 +0,0 @@ -import{u as d,r as s,j as e}from"./index-CF3V3EkY.js";import{B as b}from"./back-BLN-uxUa.js";import"./createLucideIcon-BVwf0bP4.js";function h(){const n=d(),[o,r]=s.useState(""),[a,i]=s.useState(""),[u,l]=s.useState(!1),m=async t=>{t.preventDefault(),l(!0),await new Promise(c=>setTimeout(c,1e3)),console.log("Submitted:",{name:o,question:a}),n("/waitroom")};return e.jsxs("div",{className:"max-w-3xl mx-auto mt-10 px-4",children:[e.jsx("div",{className:"w-full flex justify-start mb-6",children:e.jsx(b,{})}),e.jsx("h2",{className:"text-2xl font-bold text-center mb-8",children:"Submit Your Question"}),e.jsxs("form",{onSubmit:m,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"name",className:"block text-center mb-2",children:"Your Name:"}),e.jsx("input",{type:"text",id:"name",value:o,onChange:t=>r(t.target.value),className:"w-full p-2 border border-gray-200 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500",required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"question",className:"block text-center mb-2",children:"Your Question:"}),e.jsx("textarea",{id:"question",value:a,onChange:t=>i(t.target.value),className:"w-full p-2 border border-gray-200 rounded-lg shadow-sm h-40 focus:outline-none focus:ring-2 focus:ring-blue-500",required:!0})]}),e.jsx("button",{type:"submit",className:"w-full bg-blue-500 text-white py-3 rounded-lg hover:bg-blue-600 transition-colors disabled:bg-blue-300 text-lg font-medium",disabled:u,children:u?"Submitting...":"Submit Question"})]})]})}export{h as default}; diff --git a/OHours/dist/assets/waitroom-S4necMnD.js b/OHours/dist/assets/waitroom-S4necMnD.js deleted file mode 100644 index 6c4865ca..00000000 --- a/OHours/dist/assets/waitroom-S4necMnD.js +++ /dev/null @@ -1 +0,0 @@ -import{u as i,r as a,j as e}from"./index-CF3V3EkY.js";function m(){const r=i(),[s,l]=a.useState(2),[n,o]=a.useState(10);a.useEffect(()=>{const d=setInterval(()=>{l(t=>t>1?t-1:0),o(t=>t>5?t-5:0)},5e3);return()=>clearInterval(d)},[]);const c=()=>{window.confirm("Are you sure you want to leave the queue?")&&r("/")};return e.jsxs("div",{className:"min-h-screen bg-gray-100 flex flex-col items-center justify-center p-4 gap-8",children:[e.jsxs("div",{id:"main-card",className:"w-full max-w-md rounded-xl overflow-hidden shadow-lg bg-white",children:[e.jsx("div",{id:"card-header",className:"bg-blue-500 text-white px-6 py-4",children:e.jsxs("h1",{className:"text-3xl font-bold text-center",children:[" ","Jackie's CS 211 OH"]})}),e.jsx("div",{id:"card-content",className:"px-6 py-4 space-y-6",children:e.jsxs("div",{className:"text-center space-y-8 pt-4 pb-8",children:[e.jsxs("p",{className:"text-2xl font-semibold text-gray-600",children:[s," ",s===1?"person":"people"," ahead"]}),s==0&&n==0?e.jsx("p",{className:"text-3xl font-bold text-blue-500",children:"It's Your Turn!"}):e.jsxs("p",{className:"text-3xl font-bold text-gray-700",children:["ETA: ",n," minutes"]})]})})]}),e.jsx("button",{id:"leave-queue",onClick:c,className:"bg-gray-200 hover:bg-gray-400 text-gray-400 hover:text-gray-100 font-bold py-3 px-6 rounded-lg transition-colors duration-200",children:"Leave Queue"})]})}export{m as default}; diff --git a/OHours/dist/index.html b/OHours/dist/index.html deleted file mode 100644 index 3e3f8445..00000000 --- a/OHours/dist/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - OHours - - - - -
- - diff --git a/OHours/dist/vite.svg b/OHours/dist/vite.svg deleted file mode 100644 index e7b8dfb1..00000000 --- a/OHours/dist/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file