From 536db58f8aaefc2e344604e384b68fa1d4556db4 Mon Sep 17 00:00:00 2001 From: Jose1277 Date: Sat, 15 Jun 2024 12:39:09 -0300 Subject: [PATCH] Scraping do dia --- .../client/dist/assets/example-CTDXWt2y.js | 17 +++++ projeto/client/dist/assets/main-BPvgi06w.css | 1 + projeto/client/dist/assets/main-K8SLopvA.js | 51 +++++++++++++ projeto/client/dist/assets/react-CHdo91hT.svg | 1 + projeto/server/SQL/Conceitual_1.brM3 | Bin 0 -> 63630 bytes "projeto/server/SQL/L\303\263gico_1.brM3" | Bin 0 -> 34013 bytes projeto/server/api/scraping.route.js | 4 +- .../repositories/scraping.repository.js | 69 ++++++++++++++---- 8 files changed, 125 insertions(+), 18 deletions(-) create mode 100644 projeto/client/dist/assets/example-CTDXWt2y.js create mode 100644 projeto/client/dist/assets/main-BPvgi06w.css create mode 100644 projeto/client/dist/assets/main-K8SLopvA.js create mode 100644 projeto/client/dist/assets/react-CHdo91hT.svg create mode 100644 projeto/server/SQL/Conceitual_1.brM3 create mode 100644 "projeto/server/SQL/L\303\263gico_1.brM3" diff --git a/projeto/client/dist/assets/example-CTDXWt2y.js b/projeto/client/dist/assets/example-CTDXWt2y.js new file mode 100644 index 0000000..554713c --- /dev/null +++ b/projeto/client/dist/assets/example-CTDXWt2y.js @@ -0,0 +1,17 @@ +function L(e,t){for(var o=0;or[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function U(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var k={exports:{}},S={},$={exports:{}},s={};/** + * @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 h=Symbol.for("react.element"),q=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),J=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),G=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),w=Symbol.iterator;function Q(e){return e===null||typeof e!="object"?null:(e=w&&e[w]||e["@@iterator"],typeof e=="function"?e:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,I={};function d(e,t,o){this.props=e,this.context=t,this.refs=I,this.updater=o||C}d.prototype.isReactComponent={};d.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")};d.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function T(){}T.prototype=d.prototype;function E(e,t,o){this.props=e,this.context=t,this.refs=I,this.updater=o||C}var j=E.prototype=new T;j.constructor=E;P(j,d.prototype);j.isPureReactComponent=!0;var O=Array.isArray,A=Object.prototype.hasOwnProperty,b={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function N(e,t,o){var r,u={},n=null,c=null;if(t!=null)for(r in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(n=""+t.key),t)A.call(t,r)&&!D.hasOwnProperty(r)&&(u[r]=t[r]);var l=arguments.length-2;if(l===1)u.children=o;else if(1{fetch("http://localhost:8000/api/example").then(n=>n.json()).then(n=>{console.log(n),t(n)}).catch(n=>console.error("Error fetching examples:",n))},[]),y.useEffect(()=>{document.title="Example Page"},[]);let u=async()=>{try{const c=await(await fetch("http://localhost:8000/api/example/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({example:o})})).json();console.log("POST response:",c),t([...e,c]),r("")}catch(n){console.error("Error posting example:",n)}};return p.jsxs("div",{children:[p.jsx("h1",{children:"Example"}),p.jsxs("div",{children:[p.jsx("input",{type:"text",value:o,onChange:n=>r(n.target.value),placeholder:"Enter a new example"}),p.jsx("button",{onClick:u,children:"Submit"})]}),Array.isArray(e)?e.map(n=>p.jsx("div",{children:p.jsx("ul",{children:p.jsx("li",{children:n.example})})},n.exampleID)):p.jsx("p",{children:"No examples found."})]})}export{fe as E,le as R,re as a,p as j,y as r}; diff --git a/projeto/client/dist/assets/main-BPvgi06w.css b/projeto/client/dist/assets/main-BPvgi06w.css new file mode 100644 index 0000000..096eb41 --- /dev/null +++ b/projeto/client/dist/assets/main-BPvgi06w.css @@ -0,0 +1 @@ +:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}} diff --git a/projeto/client/dist/assets/main-K8SLopvA.js b/projeto/client/dist/assets/main-K8SLopvA.js new file mode 100644 index 0000000..38c2005 --- /dev/null +++ b/projeto/client/dist/assets/main-K8SLopvA.js @@ -0,0 +1,51 @@ +import{r as z,R as rc,j as Q,E as lc,a as ic}from"./example-CTDXWt2y.js";var Ql={},Yu={exports:{}},ye={},Xu={exports:{}},Gu={};/** + * @license React + * scheduler.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. + */(function(e){function t(C,L){var T=C.length;C.push(L);e:for(;0>>1,G=C[H];if(0>>1;Hl(yl,T))gtl(bn,yl)?(C[H]=bn,C[gt]=T,H=gt):(C[H]=yl,C[vt]=T,H=vt);else if(gtl(bn,T))C[H]=bn,C[gt]=T,H=gt;else break e}}return L}function l(C,L){var T=C.sortIndex-L.sortIndex;return T!==0?T:C.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],h=1,p=null,m=3,y=!1,w=!1,S=!1,x=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(C){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=C)r(c),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(c)}}function v(C){if(S=!1,d(C),!w)if(n(s)!==null)w=!0,vl(k);else{var L=n(c);L!==null&&gl(v,L.startTime-C)}}function k(C,L){w=!1,S&&(S=!1,f(N),N=-1),y=!0;var T=m;try{for(d(L),p=n(s);p!==null&&(!(p.expirationTime>L)||C&&!_e());){var H=p.callback;if(typeof H=="function"){p.callback=null,m=p.priorityLevel;var G=H(p.expirationTime<=L);L=e.unstable_now(),typeof G=="function"?p.callback=G:p===n(s)&&r(s),d(L)}else r(s);p=n(s)}if(p!==null)var qn=!0;else{var vt=n(c);vt!==null&&gl(v,vt.startTime-L),qn=!1}return qn}finally{p=null,m=T,y=!1}}var P=!1,_=null,N=-1,W=5,R=-1;function _e(){return!(e.unstable_now()-RC||125H?(C.sortIndex=T,t(c,C),n(s)===null&&C===n(c)&&(S?(f(N),N=-1):S=!0,gl(v,T-H))):(C.sortIndex=G,t(s,C),w||y||(w=!0,vl(k))),C},e.unstable_shouldYield=_e,e.unstable_wrapCallback=function(C){var L=m;return function(){var T=m;m=L;try{return C.apply(this,arguments)}finally{m=T}}}})(Gu);Xu.exports=Gu;var oc=Xu.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 uc=z,ge=oc;function g(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"),$l=Object.prototype.hasOwnProperty,sc=/^[: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]*$/,Fo={},Oo={};function ac(e){return $l.call(Oo,e)?!0:$l.call(Fo,e)?!1:sc.test(e)?Oo[e]=!0:(Fo[e]=!0,!1)}function cc(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 fc(e,t,n,r){if(t===null||typeof t>"u"||cc(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 ue(e,t,n,r,l,i,o){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=i,this.removeEmptyString=o}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[e]=new ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ee[t]=new ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[e]=new ue(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){ee[e]=new ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ai=/[\-:]([a-z])/g;function Wi(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(Ai,Wi);ee[t]=new ue(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(Ai,Wi);ee[t]=new ue(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(Ai,Wi);ee[t]=new ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ee[e]=new ue(e,1,!1,e.toLowerCase(),null,!1,!1)});ee.xlinkHref=new ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ee[e]=new ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hi(e,t,n,r){var l=ee.hasOwnProperty(t)?ee[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var s=` +`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Sl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yn(e):""}function dc(e){switch(e.tag){case 5:return yn(e.type);case 16:return yn("Lazy");case 13:return yn("Suspense");case 19:return yn("SuspenseList");case 0:case 2:case 15:return e=kl(e.type,!1),e;case 11:return e=kl(e.type.render,!1),e;case 1:return e=kl(e.type,!0),e;default:return""}}function Gl(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 Ft:return"Fragment";case It:return"Portal";case Kl:return"Profiler";case Qi:return"StrictMode";case Yl:return"Suspense";case Xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qu:return(e.displayName||"Context")+".Consumer";case Ju:return(e._context.displayName||"Context")+".Provider";case $i:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ki:return t=e.displayName||null,t!==null?t:Gl(e.type)||"Memo";case Ze:t=e._payload,e=e._init;try{return Gl(e(t))}catch{}}return null}function pc(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 Gl(t);case 8:return t===Qi?"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 ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function es(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hc(e){var t=es(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function tr(e){e._valueTracker||(e._valueTracker=hc(e))}function ts(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=es(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _r(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 Zl(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function jo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ft(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 ns(e,t){t=t.checked,t!=null&&Hi(e,"checked",t,!1)}function Jl(e,t){ns(e,t);var n=ft(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")?ql(e,t.type,n):t.hasOwnProperty("defaultValue")&&ql(e,t.type,ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Uo(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 ql(e,t,n){(t!=="number"||_r(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var wn=Array.isArray;function $t(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=nr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var En={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},mc=["Webkit","ms","Moz","O"];Object.keys(En).forEach(function(e){mc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),En[t]=En[e]})});function os(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||En.hasOwnProperty(e)&&En[e]?(""+t).trim():t+"px"}function us(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=os(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var vc=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 ti(e,t){if(t){if(vc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function ni(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 ri=null;function Yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var li=null,Kt=null,Yt=null;function Ao(e){if(e=Zn(e)){if(typeof li!="function")throw Error(g(280));var t=e.stateNode;t&&(t=nl(t),li(e.stateNode,e.type,t))}}function ss(e){Kt?Yt?Yt.push(e):Yt=[e]:Kt=e}function as(){if(Kt){var e=Kt,t=Yt;if(Yt=Kt=null,Ao(e),t)for(e=0;e>>=0,e===0?32:31-(Nc(e)/zc|0)|0}var rr=64,lr=4194304;function Sn(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 Tr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Sn(u):(i&=o,i!==0&&(r=Sn(i)))}else o=n&~l,o!==0?r=Sn(o):i!==0&&(r=Sn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&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 Xn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Re(t),e[t]=n}function Mc(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=Cn),Zo=" ",Jo=!1;function Ls(e,t){switch(e){case"keyup":return uf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ts(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ot=!1;function af(e,t){switch(e){case"compositionend":return Ts(t);case"keypress":return t.which!==32?null:(Jo=!0,Zo);case"textInput":return e=t.data,e===Zo&&Jo?null:e;default:return null}}function cf(e,t){if(Ot)return e==="compositionend"||!to&&Ls(e,t)?(e=Ns(),gr=qi=et=null,Ot=!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=tu(n)}}function Fs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Os(){for(var e=window,t=_r();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_r(e.document)}return t}function no(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 wf(e){var t=Os(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Fs(n.ownerDocument.documentElement,n)){if(r!==null&&no(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,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=nu(n,i);var o=nu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Dt=null,ci=null,_n=null,fi=!1;function ru(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;fi||Dt==null||Dt!==_r(r)||(r=Dt,"selectionStart"in r&&no(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}),_n&&Un(_n,r)||(_n=r,r=Ir(ci,"onSelect"),0Bt||(e.current=gi[Bt],gi[Bt]=null,Bt--)}function F(e,t){Bt++,gi[Bt]=e.current,e.current=t}var dt={},le=ht(dt),ce=ht(!1),Pt=dt;function bt(e,t){var n=e.type.contextTypes;if(!n)return dt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function fe(e){return e=e.childContextTypes,e!=null}function Or(){D(ce),D(le)}function cu(e,t,n){if(le.current!==dt)throw Error(g(168));F(le,t),F(ce,n)}function Qs(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(g(108,pc(e)||"Unknown",l));return V({},n,r)}function Dr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dt,Pt=le.current,F(le,e),F(ce,ce.current),!0}function fu(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=Qs(e,t,Pt),r.__reactInternalMemoizedMergedChildContext=e,D(ce),D(le),F(le,e)):D(ce),F(ce,n)}var Ve=null,rl=!1,Ol=!1;function $s(e){Ve===null?Ve=[e]:Ve.push(e)}function Rf(e){rl=!0,$s(e)}function mt(){if(!Ol&&Ve!==null){Ol=!0;var e=0,t=I;try{var n=Ve;for(I=1;e>=o,l-=o,Ae=1<<32-Re(t)+l|n<N?(W=_,_=null):W=_.sibling;var R=m(f,_,d[N],v);if(R===null){_===null&&(_=W);break}e&&_&&R.alternate===null&&t(f,_),a=i(R,a,N),P===null?k=R:P.sibling=R,P=R,_=W}if(N===d.length)return n(f,_),j&&yt(f,N),k;if(_===null){for(;NN?(W=_,_=null):W=_.sibling;var _e=m(f,_,R.value,v);if(_e===null){_===null&&(_=W);break}e&&_&&_e.alternate===null&&t(f,_),a=i(_e,a,N),P===null?k=_e:P.sibling=_e,P=_e,_=W}if(R.done)return n(f,_),j&&yt(f,N),k;if(_===null){for(;!R.done;N++,R=d.next())R=p(f,R.value,v),R!==null&&(a=i(R,a,N),P===null?k=R:P.sibling=R,P=R);return j&&yt(f,N),k}for(_=r(f,_);!R.done;N++,R=d.next())R=y(_,f,N,R.value,v),R!==null&&(e&&R.alternate!==null&&_.delete(R.key===null?N:R.key),a=i(R,a,N),P===null?k=R:P.sibling=R,P=R);return e&&_.forEach(function(sn){return t(f,sn)}),j&&yt(f,N),k}function x(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Ft&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case er:e:{for(var k=d.key,P=a;P!==null;){if(P.key===k){if(k=d.type,k===Ft){if(P.tag===7){n(f,P.sibling),a=l(P,d.props.children),a.return=f,f=a;break e}}else if(P.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Ze&&hu(k)===P.type){n(f,P.sibling),a=l(P,d.props),a.ref=mn(f,P,d),a.return=f,f=a;break e}n(f,P);break}else t(f,P);P=P.sibling}d.type===Ft?(a=Ct(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=Pr(d.type,d.key,d.props,null,f.mode,v),v.ref=mn(f,a,d),v.return=f,f=v)}return o(f);case It:e:{for(P=d.key;a!==null;){if(a.key===P)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Hl(d,f.mode,v),a.return=f,f=a}return o(f);case Ze:return P=d._init,x(f,a,P(d._payload),v)}if(wn(d))return w(f,a,d,v);if(cn(d))return S(f,a,d,v);fr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=Wl(d,f.mode,v),a.return=f,f=a),o(f)):n(f,a)}return x}var tn=Gs(!0),Zs=Gs(!1),Br=ht(null),Vr=null,Wt=null,oo=null;function uo(){oo=Wt=Vr=null}function so(e){var t=Br.current;D(Br),e._currentValue=t}function Si(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 Gt(e,t){Vr=e,oo=Wt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ae=!0),e.firstContext=null)}function Ce(e){var t=e._currentValue;if(oo!==e)if(e={context:e,memoizedValue:t,next:null},Wt===null){if(Vr===null)throw Error(g(308));Wt=e,Vr.dependencies={lanes:0,firstContext:e}}else Wt=Wt.next=e;return t}var kt=null;function ao(e){kt===null?kt=[e]:kt.push(e)}function Js(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,ao(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ke(e,r)}function Ke(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 Je=!1;function co(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qs(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 He(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ut(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ke(e,n)}return l=r.interleaved,l===null?(t.next=t,ao(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ke(e,n)}function wr(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,Gi(e,n)}}function mu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,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 Ar(e,t,n,r){var l=e.updateQueue;Je=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==o&&(u===null?h.firstBaseUpdate=c:u.next=c,h.lastBaseUpdate=s))}if(i!==null){var p=l.baseState;o=0,h=c=s=null,u=i;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 w=e,S=u;switch(m=t,y=n,S.tag){case 1:if(w=S.payload,typeof w=="function"){p=w.call(y,p,m);break e}p=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,m=typeof w=="function"?w.call(y,p,m):w,m==null)break e;p=V({},p,m);break e;case 2:Je=!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?(c=h=y,s=p):h=h.next=y,o|=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=p),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);zt|=o,e.lanes=o,e.memoizedState=p}}function vu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=jl.transition;jl.transition={};try{e(!1),t()}finally{I=n,jl.transition=r}}function ma(){return Pe().memoizedState}function Of(e,t,n){var r=at(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},va(e))ga(t,n);else if(n=Js(e,t,n,r),n!==null){var l=oe();Me(n,e,r,l),ya(n,t,r)}}function Df(e,t,n){var r=at(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(va(e))ga(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,o)){var s=t.interleaved;s===null?(l.next=l,ao(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Js(e,t,l,r),n!==null&&(l=oe(),Me(n,e,r,l),ya(n,t,r))}}function va(e){var t=e.alternate;return e===B||t!==null&&t===B}function ga(e,t){Nn=Hr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ya(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Gi(e,n)}}var Qr={readContext:Ce,useCallback:te,useContext:te,useEffect:te,useImperativeHandle:te,useInsertionEffect:te,useLayoutEffect:te,useMemo:te,useReducer:te,useRef:te,useState:te,useDebugValue:te,useDeferredValue:te,useTransition:te,useMutableSource:te,useSyncExternalStore:te,useId:te,unstable_isNewReconciler:!1},jf={readContext:Ce,useCallback:function(e,t){return Oe().memoizedState=[e,t===void 0?null:t],e},useContext:Ce,useEffect:yu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,kr(4194308,4,ca.bind(null,t,e),n)},useLayoutEffect:function(e,t){return kr(4194308,4,e,t)},useInsertionEffect:function(e,t){return kr(4,2,e,t)},useMemo:function(e,t){var n=Oe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oe();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=Of.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Oe();return e={current:e},t.memoizedState=e},useState:gu,useDebugValue:wo,useDeferredValue:function(e){return Oe().memoizedState=e},useTransition:function(){var e=gu(!1),t=e[0];return e=Ff.bind(null,e[1]),Oe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,l=Oe();if(j){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),J===null)throw Error(g(349));Nt&30||na(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,yu(la.bind(null,r,i,e),[e]),r.flags|=2048,Kn(9,ra.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Oe(),t=J.identifierPrefix;if(j){var n=We,r=Ae;n=(r&~(1<<32-Re(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[De]=t,e[An]=r,za(e,t,!1,!1),t.stateNode=e;e:{switch(o=ni(n,r),n){case"dialog":O("cancel",e),O("close",e),l=r;break;case"iframe":case"object":case"embed":O("load",e),l=r;break;case"video":case"audio":for(l=0;lln&&(t.flags|=128,r=!0,vn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Wr(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!j)return ne(t),null}else 2*$()-i.renderingStartTime>ln&&n!==1073741824&&(t.flags|=128,r=!0,vn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=$(),t.sibling=null,n=U.current,F(U,r?n&1|2:n&1),t):(ne(t),null);case 22:case 23:return Po(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?he&1073741824&&(ne(t),t.subtreeFlags&6&&(t.flags|=8192)):ne(t),null;case 24:return null;case 25:return null}throw Error(g(156,t.tag))}function $f(e,t){switch(lo(t),t.tag){case 1:return fe(t.type)&&Or(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nn(),D(ce),D(le),ho(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return po(t),null;case 13:if(D(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));en()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return D(U),null;case 4:return nn(),null;case 10:return so(t.type._context),null;case 22:case 23:return Po(),null;case 24:return null;default:return null}}var pr=!1,re=!1,Kf=typeof WeakSet=="function"?WeakSet:Set,E=null;function Ht(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){A(e,t,r)}else n.current=null}function Li(e,t,n){try{n()}catch(r){A(e,t,r)}}var Lu=!1;function Yf(e,t){if(di=Rr,e=Os(),no(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,c=0,h=0,p=e,m=null;t:for(;;){for(var y;p!==n||l!==0&&p.nodeType!==3||(u=o+l),p!==i||r!==0&&p.nodeType!==3||(s=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(y=p.firstChild)!==null;)m=p,p=y;for(;;){if(p===e)break t;if(m===n&&++c===l&&(u=o),m===i&&++h===r&&(s=o),(y=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(pi={focusedElem:e,selectionRange:n},Rr=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,x=w.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:ze(t.type,S),x);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(v){A(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return w=Lu,Lu=!1,w}function zn(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 i=l.destroy;l.destroy=void 0,i!==void 0&&Li(t,n,i)}l=l.next}while(l!==r)}}function ol(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 Ti(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 Ra(e){var t=e.alternate;t!==null&&(e.alternate=null,Ra(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[De],delete t[An],delete t[vi],delete t[Lf],delete t[Tf])),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 Ma(e){return e.tag===5||e.tag===3||e.tag===4}function Tu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ma(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 Ri(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=Fr));else if(r!==4&&(e=e.child,e!==null))for(Ri(e,t,n),e=e.sibling;e!==null;)Ri(e,t,n),e=e.sibling}function Mi(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(Mi(e,t,n),e=e.sibling;e!==null;)Mi(e,t,n),e=e.sibling}var q=null,Le=!1;function Ge(e,t,n){for(n=n.child;n!==null;)Ia(e,t,n),n=n.sibling}function Ia(e,t,n){if(je&&typeof je.onCommitFiberUnmount=="function")try{je.onCommitFiberUnmount(qr,n)}catch{}switch(n.tag){case 5:re||Ht(n,t);case 6:var r=q,l=Le;q=null,Ge(e,t,n),q=r,Le=l,q!==null&&(Le?(e=q,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):q.removeChild(n.stateNode));break;case 18:q!==null&&(Le?(e=q,n=n.stateNode,e.nodeType===8?Fl(e.parentNode,n):e.nodeType===1&&Fl(e,n),Dn(e)):Fl(q,n.stateNode));break;case 4:r=q,l=Le,q=n.stateNode.containerInfo,Le=!0,Ge(e,t,n),q=r,Le=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Li(n,t,o),l=l.next}while(l!==r)}Ge(e,t,n);break;case 1:if(!re&&(Ht(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){A(n,t,u)}Ge(e,t,n);break;case 21:Ge(e,t,n);break;case 22:n.mode&1?(re=(r=re)||n.memoizedState!==null,Ge(e,t,n),re=r):Ge(e,t,n);break;default:Ge(e,t,n)}}function Ru(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Kf),t.forEach(function(r){var l=nd.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ne(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=$()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Gf(r/1960))-r,10e?16:e,tt===null)var r=!1;else{if(e=tt,tt=null,Yr=0,M&6)throw Error(g(331));var l=M;for(M|=4,E=e.current;E!==null;){var i=E,o=i.child;if(E.flags&16){var u=i.deletions;if(u!==null){for(var s=0;s$()-xo?xt(e,0):Eo|=n),de(e,t)}function Aa(e,t){t===0&&(e.mode&1?(t=lr,lr<<=1,!(lr&130023424)&&(lr=4194304)):t=1);var n=oe();e=Ke(e,t),e!==null&&(Xn(e,t,n),de(e,n))}function td(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Aa(e,n)}function nd(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(g(314))}r!==null&&r.delete(t),Aa(e,n)}var Wa;Wa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ce.current)ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ae=!1,Hf(e,t,n);ae=!!(e.flags&131072)}else ae=!1,j&&t.flags&1048576&&Ks(t,Ur,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Er(e,t),e=t.pendingProps;var l=bt(t,le.current);Gt(t,n),l=vo(null,t,r,e,l,n);var i=go();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,fe(r)?(i=!0,Dr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,co(t),l.updater=il,t.stateNode=l,l._reactInternals=t,Ei(t,r,e,n),t=Pi(null,t,r,!0,i,n)):(t.tag=0,j&&i&&ro(t),ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Er(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=ld(r),e=ze(r,e),l){case 0:t=Ci(null,t,r,e,n);break e;case 1:t=_u(null,t,r,e,n);break e;case 11:t=Cu(null,t,r,e,n);break e;case 14:t=Pu(null,t,r,ze(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Ci(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),_u(e,t,r,l,n);case 3:e:{if(Pa(t),e===null)throw Error(g(387));r=t.pendingProps,i=t.memoizedState,l=i.element,qs(e,t),Ar(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=rn(Error(g(423)),t),t=Nu(e,t,r,n,l);break e}else if(r!==l){l=rn(Error(g(424)),t),t=Nu(e,t,r,n,l);break e}else for(me=ot(t.stateNode.containerInfo.firstChild),ve=t,j=!0,Te=null,n=Zs(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(en(),r===l){t=Ye(e,t,n);break e}ie(e,t,r,n)}t=t.child}return t;case 5:return bs(t),e===null&&wi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,hi(r,l)?o=null:i!==null&&hi(r,i)&&(t.flags|=32),Ca(e,t),ie(e,t,o,n),t.child;case 6:return e===null&&wi(t),null;case 13:return _a(e,t,n);case 4:return fo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tn(t,null,r,n):ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Cu(e,t,r,l,n);case 7:return ie(e,t,t.pendingProps,n),t.child;case 8:return ie(e,t,t.pendingProps.children,n),t.child;case 12:return ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,F(Br,r._currentValue),r._currentValue=o,i!==null)if(Ie(i.value,o)){if(i.children===l.children&&!ce.current){t=Ye(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=He(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?s.next=s:(s.next=h.next,h.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Si(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(g(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Si(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Gt(t,n),l=Ce(l),r=r(l),t.flags|=1,ie(e,t,r,n),t.child;case 14:return r=t.type,l=ze(r,t.pendingProps),l=ze(r.type,l),Pu(e,t,r,l,n);case 15:return Ea(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Er(e,t),t.tag=1,fe(r)?(e=!0,Dr(t)):e=!1,Gt(t,n),wa(t,r,l),Ei(t,r,l,n),Pi(null,t,r,!0,e,n);case 19:return Na(e,t,n);case 22:return xa(e,t,n)}throw Error(g(156,t.tag))};function Ha(e,t){return vs(e,t)}function rd(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 Ee(e,t,n,r){return new rd(e,t,n,r)}function No(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ld(e){if(typeof e=="function")return No(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$i)return 11;if(e===Ki)return 14}return 2}function ct(e,t){var n=e.alternate;return n===null?(n=Ee(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 Pr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")No(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ft:return Ct(n.children,l,i,t);case Qi:o=8,l|=8;break;case Kl:return e=Ee(12,n,t,l|2),e.elementType=Kl,e.lanes=i,e;case Yl:return e=Ee(13,n,t,l),e.elementType=Yl,e.lanes=i,e;case Xl:return e=Ee(19,n,t,l),e.elementType=Xl,e.lanes=i,e;case bu:return sl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ju:o=10;break e;case qu:o=9;break e;case $i:o=11;break e;case Ki:o=14;break e;case Ze:o=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Ee(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Ct(e,t,n,r){return e=Ee(7,e,r,t),e.lanes=n,e}function sl(e,t,n,r){return e=Ee(22,e,r,t),e.elementType=bu,e.lanes=n,e.stateNode={isHidden:!1},e}function Wl(e,t,n){return e=Ee(6,e,null,t),e.lanes=n,e}function Hl(e,t,n){return t=Ee(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function id(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=xl(0),this.expirationTimes=xl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function zo(e,t,n,r,l,i,o,u,s){return e=new id(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ee(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},co(i),e}function od(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ya)}catch(e){console.error(e)}}Ya(),Yu.exports=ye;var fd=Yu.exports,Bu=fd;Ql.createRoot=Bu.createRoot,Ql.hydrateRoot=Bu.hydrateRoot;/** + * @remix-run/router v1.16.1 + * + * 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 Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Xa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function pd(){return Math.random().toString(36).substr(2,8)}function Au(e,t){return{usr:e.state,key:e.key,idx:t}}function ji(e,t,n,r){return n===void 0&&(n=null),Zr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pl(t):t,{state:n,key:t&&t.key||r||pd()})}function Ga(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 pl(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 hd(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=nt.Pop,s=null,c=h();c==null&&(c=0,o.replaceState(Zr({},o.state,{idx:c}),""));function h(){return(o.state||{idx:null}).idx}function p(){u=nt.Pop;let x=h(),f=x==null?null:x-c;c=x,s&&s({action:u,location:S.location,delta:f})}function m(x,f){u=nt.Push;let a=ji(S.location,x,f);c=h()+1;let d=Au(a,c),v=S.createHref(a);try{o.pushState(d,"",v)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(v)}i&&s&&s({action:u,location:S.location,delta:1})}function y(x,f){u=nt.Replace;let a=ji(S.location,x,f);c=h();let d=Au(a,c),v=S.createHref(a);o.replaceState(d,"",v),i&&s&&s({action:u,location:S.location,delta:0})}function w(x){let f=l.location.origin!=="null"?l.location.origin:l.location.href,a=typeof x=="string"?x:Ga(x);return a=a.replace(/ $/,"%20"),pe(f,"No window.location.(origin|href) available to create URL for href: "+a),new URL(a,f)}let S={get action(){return u},get location(){return e(l,o)},listen(x){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(Vu,p),s=x,()=>{l.removeEventListener(Vu,p),s=null}},createHref(x){return t(l,x)},createURL:w,encodeLocation(x){let f=w(x);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:y,go(x){return o.go(x)}};return S}var Wu;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Wu||(Wu={}));function md(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?pl(t):t,l=qa(r.pathname||"/",n);if(l==null)return null;let i=Za(e);vd(i);let o=null;for(let u=0;o==null&&u{let s={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(pe(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 c=Jt([r,s.relativePath]),h=n.concat(s);i.children&&i.children.length>0&&(pe(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Za(i.children,t,h,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:xd(c,i.index),routesMeta:h})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let s of Ja(i.path))l(i,o,s)}),t}function Ja(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=Ja(r.join("/")),u=[];return u.push(...o.map(s=>s===""?i:[i,s].join("/"))),l&&u.push(...o),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function vd(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Cd(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const gd=/^:[\w-]+$/,yd=3,wd=2,Sd=1,kd=10,Ed=-2,Hu=e=>e==="*";function xd(e,t){let n=e.split("/"),r=n.length;return n.some(Hu)&&(r+=Ed),t&&(r+=wd),n.filter(l=>!Hu(l)).reduce((l,i)=>l+(gd.test(i)?yd:i===""?Sd:kd),r)}function Cd(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 Pd(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{let{paramName:m,isOptional:y}=h;if(m==="*"){let S=u[p]||"";o=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const w=u[p];return y&&!w?c[m]=void 0:c[m]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:o,pattern:e}}function Nd(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Xa(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,(o,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 zd(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Xa(!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 qa(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)||"/"}const Jt=e=>e.join("/").replace(/\/\/+/g,"/"),Ld=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Td(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ba=["post","put","patch","delete"];new Set(ba);const Rd=["get",...ba];new Set(Rd);/** + * React Router v6.23.1 + * + * 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 Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},x,{params:Object.assign({},u,x.params),pathname:Jt([s,l.encodeLocation?l.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?s:Jt([s,l.encodeLocation?l.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),i,n,r);return t&&S?z.createElement(hl.Provider,{value:{location:Jr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:nt.Pop}},S):S}function jd(){let e=$d(),t=Td(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 z.createElement(z.Fragment,null,z.createElement("h2",null,"Unexpected Application Error!"),z.createElement("h3",{style:{fontStyle:"italic"}},t),n?z.createElement("pre",{style:l},n):null,null)}const Ud=z.createElement(jd,null);class Bd extends z.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?z.createElement(ml.Provider,{value:this.props.routeContext},z.createElement(tc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Vd(e){let{routeContext:t,match:n,children:r}=e,l=z.useContext(Md);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),z.createElement(ml.Provider,{value:t},r)}function Ad(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let o=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let h=o.findIndex(p=>p.route.id&&(u==null?void 0:u[p.route.id])!==void 0);h>=0||pe(!1),o=o.slice(0,Math.min(o.length,h+1))}let s=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((h,p,m)=>{let y,w=!1,S=null,x=null;n&&(y=u&&p.route.id?u[p.route.id]:void 0,S=p.route.errorElement||Ud,s&&(c<0&&m===0?(w=!0,x=null):c===m&&(w=!0,x=p.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,m+1)),a=()=>{let d;return y?d=S:w?d=x:p.route.Component?d=z.createElement(p.route.Component,null):p.route.element?d=p.route.element:d=h,z.createElement(Vd,{match:p,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:d})};return n&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?z.createElement(Bd,{location:n.location,revalidation:n.revalidation,component:S,error:y,children:a(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):a()},null)}var Ui=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}(Ui||{});function Wd(e){let t=z.useContext(Id);return t||pe(!1),t}function Hd(e){let t=z.useContext(ml);return t||pe(!1),t}function Qd(e){let t=Hd(),n=t.matches[t.matches.length-1];return n.route.id||pe(!1),n.route.id}function $d(){var e;let t=z.useContext(tc),n=Wd(Ui.UseRouteError),r=Qd(Ui.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Bi(e){pe(!1)}function Kd(e){let{basename:t="/",children:n=null,location:r,navigationType:l=nt.Pop,navigator:i,static:o=!1,future:u}=e;Mo()&&pe(!1);let s=t.replace(/^\/*/,"/"),c=z.useMemo(()=>({basename:s,navigator:i,static:o,future:Jr({v7_relativeSplatPath:!1},u)}),[s,u,i,o]);typeof r=="string"&&(r=pl(r));let{pathname:h="/",search:p="",hash:m="",state:y=null,key:w="default"}=r,S=z.useMemo(()=>{let x=qa(h,s);return x==null?null:{location:{pathname:x,search:p,hash:m,state:y,key:w},navigationType:l}},[s,h,p,m,y,w,l]);return S==null?null:z.createElement(ec.Provider,{value:c},z.createElement(hl.Provider,{children:n,value:S}))}function Yd(e){let{children:t,location:n}=e;return Od(Vi(t),n)}new Promise(()=>{});function Vi(e,t){t===void 0&&(t=[]);let n=[];return z.Children.forEach(e,(r,l)=>{if(!z.isValidElement(r))return;let i=[...t,l];if(r.type===z.Fragment){n.push.apply(n,Vi(r.props.children,i));return}r.type!==Bi&&pe(!1),!r.props.index||!r.props.children||pe(!1);let o={id:r.props.id||i.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&&(o.children=Vi(r.props.children,i)),n.push(o)}),n}/** + * React Router DOM v6.23.1 + * + * 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 + */const Xd="6";try{window.__reactRouterVersion=Xd}catch{}const Gd="startTransition",Qu=rc[Gd];function Zd(e){let{basename:t,children:n,future:r,window:l}=e,i=z.useRef();i.current==null&&(i.current=dd({window:l,v5Compat:!0}));let o=i.current,[u,s]=z.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},h=z.useCallback(p=>{c&&Qu?Qu(()=>s(p)):s(p)},[s,c]);return z.useLayoutEffect(()=>o.listen(h),[o,h]),z.createElement(Kd,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o,future:r})}var $u;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})($u||($u={}));var Ku;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ku||(Ku={}));const Jd="/assets/react-CHdo91hT.svg",qd="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20aria-hidden='true'%20role='img'%20class='iconify%20iconify--logos'%20width='31.88'%20height='32'%20preserveAspectRatio='xMidYMid%20meet'%20viewBox='0%200%20256%20257'%3e%3cdefs%3e%3clinearGradient%20id='IconifyId1813088fe1fbc01fb466'%20x1='-.828%25'%20x2='57.636%25'%20y1='7.652%25'%20y2='78.411%25'%3e%3cstop%20offset='0%25'%20stop-color='%2341D1FF'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%23BD34FE'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20id='IconifyId1813088fe1fbc01fb467'%20x1='43.376%25'%20x2='50.316%25'%20y1='2.242%25'%20y2='89.03%25'%3e%3cstop%20offset='0%25'%20stop-color='%23FFEA83'%3e%3c/stop%3e%3cstop%20offset='8.333%25'%20stop-color='%23FFDD35'%3e%3c/stop%3e%3cstop%20offset='100%25'%20stop-color='%23FFA800'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23IconifyId1813088fe1fbc01fb466)'%20d='M255.153%2037.938L134.897%20252.976c-2.483%204.44-8.862%204.466-11.382.048L.875%2037.958c-2.746-4.814%201.371-10.646%206.827-9.67l120.385%2021.517a6.537%206.537%200%200%200%202.322-.004l117.867-21.483c5.438-.991%209.574%204.796%206.877%209.62Z'%3e%3c/path%3e%3cpath%20fill='url(%23IconifyId1813088fe1fbc01fb467)'%20d='M185.432.063L96.44%2017.501a3.268%203.268%200%200%200-2.634%203.014l-5.474%2092.456a3.268%203.268%200%200%200%203.997%203.378l24.777-5.718c2.318-.535%204.413%201.507%203.936%203.838l-7.361%2036.047c-.495%202.426%201.782%204.5%204.151%203.78l15.304-4.649c2.372-.72%204.652%201.36%204.15%203.788l-11.698%2056.621c-.732%203.542%203.979%205.473%205.943%202.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505%204.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z'%3e%3c/path%3e%3c/svg%3e";function bd(){const[e,t]=z.useState(0);return Q.jsxs(Q.Fragment,{children:[Q.jsxs("div",{children:[Q.jsx("a",{href:"https://vitejs.dev",target:"_blank",children:Q.jsx("img",{src:qd,className:"logo",alt:"Vite logo"})}),Q.jsx("a",{href:"https://react.dev",target:"_blank",children:Q.jsx("img",{src:Jd,className:"logo react",alt:"React logo"})})]}),Q.jsx("h1",{children:"Vite + React"}),Q.jsxs("div",{className:"card",children:[Q.jsxs("button",{onClick:()=>t(n=>n+1),children:["count is ",e]}),Q.jsxs("p",{children:["Edit ",Q.jsx("code",{children:"src/pages/Home.jsx"})," and save to test HMR"]})]}),Q.jsx("p",{className:"read-the-docs",children:"Click on the Vite and React logos to learn more"})]})}function ep(){return Q.jsx(Zd,{children:Q.jsxs(Yd,{children:[Q.jsx(Bi,{path:"/",element:Q.jsx(bd,{})}),Q.jsx(Bi,{path:"/example",element:Q.jsx(lc,{})})]})})}Ql.createRoot(document.getElementById("root")).render(Q.jsx(ic.StrictMode,{children:Q.jsx(ep,{})})); diff --git a/projeto/client/dist/assets/react-CHdo91hT.svg b/projeto/client/dist/assets/react-CHdo91hT.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/projeto/client/dist/assets/react-CHdo91hT.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/projeto/server/SQL/Conceitual_1.brM3 b/projeto/server/SQL/Conceitual_1.brM3 new file mode 100644 index 0000000000000000000000000000000000000000..e4c400a5cb310384b183934158fc8f41417ec207 GIT binary patch literal 63630 zcmeHw378yJwg0W|ndzDA8(|G3vO_XiSu}noo#{!^Fj<%x;4wjx%5-I>p{IN3u1O~F zjDaW$JViiM1QcbH<*|wzPyIv`S>=x)Zt(E$0)i-fi2C>8aMP;uBu5UGfBPg zG2d5b`c|EL>)dnCz4v!c-Ku-XYpT9fRPX67&ubNg2gTKvJZ;+ihgc0X^4Txn+xe>d}YZGyaLU_3LA*KCSAKoyiqxHMTXC z?p)KpKH1sX-lm#b)~s5!zGcno(*m?GUKm?#1>v( zJXloIob6FzR%+@=&%Alq&tvM~v`TaqOg)!QrB(fUGuwSmS~YFdOGdlVJy7UU2{c*{ z+9RzRdW~$4+1sVYW=pFI10^F>*ply3^?d`G!a$d5C>naM+dwH>vKg~CrRvTr6#ClK z#L7*{zP3;@)g((!eTzAFZ6TXC(bVJGvL#bb8EMnVgJU0yW5CSj<|d0peJd}6ZA?dZ z5k+LXt;Vifr)m{J4aHzDn_!2gnpnNpa-2XJO`8fuqot556kU?Y8A_7PZ*nMgzqX7~ zGV;BJxyuX1KD{+(^ci_mFM@M&mcn)zIiovU$iv=CymdW_=raaNErmWkUp?1YfK{f7 z`WEsuwyDN`NKW!P7IYeptUQt~7M0QuaJU?mTNt9Wu>Arb8T6u8covN0Ywys;7SO z*z=b!mmWD@&t>zyI-9hxzBjF0>CJ5_AtR6>4GZ1un<!~eJU;EMS69bNv66~ zlaa}qG-abpjmsNG2K`jetu;&NiTOe%+l~HN>Md+pQ|zHA>r}&9S{gdl{_AX8kyB1v zuJ1GkO?v>9gh*z>$}nQKNl#2kPoUkU3}J!kj45m^8O6l})pT0}minzujcQCVS^p%|$F3~B zPeW@>ue6pZ!&cZEw_SDbzNH;!#MIa>wNH}6zn(mMpkx}!0TZ)Qw!4sqO{dU8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M4yn}1-DuoPRBor8eZcaYPWbUVF*RYis?&3u z^e*g1im{pROQuz0PbOP5FjI7?CiH?#)_^&5seSCsicMC_065*uF$uI1?-h`pDLkgf?6K!g$ zEksM9SQeptX|jE(HJ@oIU`DCQ(_vyVbzW*PMQk!kqt#s)*ibUtZN2F)kG}GkfBw$0 z+Ymhq_fucgK6vSuuXvi=xJA>QD184)+m!7sWg~$b&fLH7@jos=7o3EB;5yT5*Q8pz z%D>X9R-j#YuA{XxS#Gqn8Y5O(=s;6|5hZWV7XHQlbw(Ob(Qv6vFZK)+(Z-XQq7CaQ zG;r3$smb=K*3!8HMlpkPo-OIqs?J2yVFpT@hP4v9ew}LCxYab$eR>bfF}7|Q2aUd- z)j%VnOC(t^+DO_!`om<@e!8djW!&@E`M>|#W%s@ChZydm8ZeGR+_V~J{je+xU0_+E tm@$gZ=5t5{1EZ9tI?OgOOT%-^_Yk`(|F#AzY;jkQLApF#FKC|k{{hNTtY-iK literal 0 HcmV?d00001 diff --git "a/projeto/server/SQL/L\303\263gico_1.brM3" "b/projeto/server/SQL/L\303\263gico_1.brM3" new file mode 100644 index 0000000000000000000000000000000000000000..06341608bd17d120004135593d6c69645ec0c088 GIT binary patch literal 34013 zcmeHw3zTF>d0yRq&2wk=y^_#lfJM=3XZE3$u$RF0bl;x6+J0?!&#ZPNpV8gv-r1IV zx|{AhyR%Co5F&;H#Nw%hS3(d36cmY|h~y;lIYu%zwj?ZbjEOPwAtAQG0z%9Y2-`vV zzQ69h{g~d_hgfAf**>T1R@JTg>#x85`s=U1>Q+7ULltf|)NAHzRi{y_*u`37+^*Nk zwdVNLlHDlUS-aSMxe1;njaVuaEkvg* zwIP;C=jY;9z7S2vtms_QOcX4&zALtn$y#a%ku!4%D{sXzmRe)RtwJU@7mKE{nY^Xe zc7*2&*`ykcWm2iRSjNkA3W~0gWM;fD7fWUHF1^-vL;{=}-!Ji*+?0fGQ|sm{cC%S( z#%o?(QOa#?4Hx5kwA%oiDpf0%DvlaU`jn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ZaiZH${EYAYLe)NdwG48uAX}WETElIs+&J0IOM# z`3e>b3vmxR3g^R05GalvUYCh!X%;i{9;t>i82=0Y;1b9{phPl>gy0tx1`2SX4C!th z%49h_283BMIY=O2A*>RH%TOpIUAUi*WHbv3^l2~nejp2d1B7Eb`oWIEDZ^Pa7Xx>? zf^F0dq9(k|3sr27p-2PicqzQjJ>q%2I)$?tX;j>U10qUQVVr0bPz<}mcbI8 z@fl$n86oq9c-)-P%FB=&(AvvTetNRiR|gP+Y9zo$eZR+Y!TdDj_duK88Oa~Y7feJB zX^&ggFz$V02OW|p3zF_y*k`6$?{##pz!*$ia$XhP)UdQn*093_OAQOhLm3vEc)*gM7@1axHPwY=A-z!;w(5Z`vPEaab$G zLPQ_h3Q*JO{prj>9hEkzT(;anfp1(U sBdP^xFB&6|85bF{XM_%+mo5Vs40Pk$QF-OSKDWn { +router.get('/scraping1', async (req, res) => { try { - let response = await scrapingRepository.getScraping(); + let response = await scrapingRepository.scrapingUrl1(); res.send(response); } catch (error) { res.status(500).send({ error: error.message }); diff --git a/projeto/server/repositories/scraping.repository.js b/projeto/server/repositories/scraping.repository.js index c88c6b4..120fc77 100644 --- a/projeto/server/repositories/scraping.repository.js +++ b/projeto/server/repositories/scraping.repository.js @@ -1,30 +1,67 @@ const axios = require('axios'); const cheerio = require('cheerio'); -const url = 'https://mantosdofutebol.com.br/guia-de-jogos-tv-hoje-ao-vivo/'; +const url1 = 'https://mantosdofutebol.com.br/guia-de-jogos-tv-hoje-ao-vivo/'; + +function formatDate(date) { + const day = String(date.getDate()).padStart(2, '0'); + const month = String(date.getMonth() + 1).padStart(2, '0'); + const year = date.getFullYear(); + return `${day}-${month}-${year}`; +} + +function getURLForDate(date) { + const formattedDate = formatDate(date); + return `https://ge.globo.com/agenda/#/futebol/${formattedDate}`; +} class ScrapingRepository { - async getScraping() { + + /* este scraping coleta os dados de um site que contém informações sobre jogos de futebol que serão transmitidos na TV no dia atual */ + async scrapingUrl1() { try { - const results = []; - const { data } = await axios.get(url); - const $ = cheerio.load(data); - - $('h3').each((i, element) => { - const matchDetails = $(element).text().trim(); - if (matchDetails.includes('Brasileirão') && matchDetails.match(/Brasileirão\s*$/)) { - const channels = $(element).next('p').find('strong').text(); - results.push({ - matchDetails: matchDetails, - channels: channels.replace('Canais: ', '').trim() - }); + const response = await axios.get(url1); + const html = await response.data; + const $ = cheerio.load(html); + + const games = []; + $('h3').each((index, element) => { + const hTexto = $(element).text().trim(); + const proximoElemento = $(element).next('p'); + const pTexto = proximoElemento.text().trim(); + + if(/Brasileirão$/.test(hTexto)){ + const horaRegex = /(\d{2}h\d{2})/g; + const horaMatch = horaRegex.exec(hTexto); + const hora = horaMatch ? horaMatch[0] : null; + + const timeRegex = /(\w+)\s+x\s+(\p{L}+)/u; + const timesMatch = timeRegex.exec(hTexto); + const time1 = timesMatch ? timesMatch[1] : null; + const time2 = timesMatch ? timesMatch[2] : null; + + const canais = pTexto.match(/Canais:\s*(.+)/); + const canaisList = canais ? canais[1].split(' e ') : [null, null]; + const canal1 = canaisList[0]; + const canal2 = canaisList[1]; + + if(hora && time1 && time2 && canal1) { + games.push({ + hora: hora, + time1: time1, + time2: time2, + canal1: canal1, + canal2: canal2 + }); + } } }); - return results; + return games; } catch (error) { - throw new Error(error); + console.error(error); } } } + module.exports = new ScrapingRepository();