Spaces:
Running
Running
Mark Duppenthaler
commited on
Commit
Β·
b2f750c
1
Parent(s):
4d38e50
update build ports
Browse files
frontend/dist/assets/{index-BcDPtpHh.js β index-DHpVfhfA.js}
RENAMED
@@ -44,7 +44,7 @@ Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}
|
|
44 |
Licensed under the MIT License (MIT), see
|
45 |
http://jedwatson.github.io/classnames
|
46 |
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(a=i(a,r(u)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var u in a)t.call(a,u)&&a[u]&&(o=i(o,u));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(PP);var m$=PP.exports;const Z0=Xe(m$);var bw={};const g$="react-tooltip-core-styles",y$="react-tooltip-base-styles",Ew={core:!1,base:!1};function xw({css:e,id:t=y$,type:n="base",ref:r}){var i,a;if(!e||typeof document>"u"||Ew[n]||n==="core"&&typeof process<"u"&&(!((i=process==null?void 0:bw)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((a=process==null?void 0:bw)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=g$),r||(r={});const{insertAt:o}=r;if(document.getElementById(t))return;const u=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.id=t,s.type="text/css",o==="top"&&u.firstChild?u.insertBefore(s,u.firstChild):u.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e)),Ew[n]=!0}const ww=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:a="absolute",middlewares:o=[f$(Number(i)),h$({fallbackAxisSideDirection:"start"}),d$({padding:5})],border:u,arrowSize:s=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=o;return n?(l.push(p$({element:n,padding:5})),vw(e,t,{placement:r,strategy:a,middleware:l}).then(({x:c,y:f,placement:d,middlewareData:h})=>{var p,g;const b={left:`${c}px`,top:`${f}px`,border:u},{x:m,y:v}=(p=h.arrow)!==null&&p!==void 0?p:{x:0,y:0},E=(g={top:"bottom",right:"left",bottom:"top",left:"right"}[d.split("-")[0]])!==null&&g!==void 0?g:"bottom",S=u&&{borderBottom:u,borderRight:u};let x=0;if(u){const w=`${u}`.match(/(\d+)px/);x=w!=null&&w[1]?Number(w[1]):1}return{tooltipStyles:b,tooltipArrowStyles:{left:m!=null?`${m}px`:"",top:v!=null?`${v}px`:"",right:"",bottom:"",...S,[E]:`-${s/2+x}px`},place:d}})):vw(e,t,{placement:"bottom",strategy:a,middleware:l}).then(({x:c,y:f,placement:d})=>({tooltipStyles:{left:`${c}px`,top:`${f}px`},tooltipArrowStyles:{},place:d}))},Sw=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Tw=(e,t,n)=>{let r=null;const i=function(...a){const o=()=>{r=null};!r&&(e.apply(this,a),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},_w=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",J0=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((i,a)=>J0(i,t[a]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!_w(e)||!_w(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>J0(e[i],t[i]))},v$=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},Aw=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(v$(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},b$=typeof window<"u"?A.useLayoutEffect:A.useEffect,rr=e=>{e.current&&(clearTimeout(e.current),e.current=null)},E$="DEFAULT_TOOLTIP_ID",x$={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},w$=A.createContext({getTooltipData:()=>x$});function kP(e=E$){return A.useContext(w$).getTooltipData(e)}var No={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Km={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const S$=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:i="dark",anchorId:a,anchorSelect:o,place:u="top",offset:s=10,events:l=["hover"],openOnClick:c=!1,positionStrategy:f="absolute",middlewares:d,wrapper:h,delayShow:p=0,delayHide:g=0,float:b=!1,hidden:m=!1,noArrow:v=!1,clickable:E=!1,closeOnEsc:S=!1,closeOnScroll:x=!1,closeOnResize:w=!1,openEvents:T,closeEvents:O,globalCloseEvents:N,imperativeModeOnly:C,style:P,position:L,afterShow:H,afterHide:U,disableTooltip:F,content:V,contentWrapperRef:W,isOpen:B,defaultIsOpen:G=!1,setIsOpen:k,activeAnchor:ne,setActiveAnchor:J,border:R,opacity:ve,arrowColor:ke,arrowSize:te=8,role:X="tooltip"})=>{var Q;const j=A.useRef(null),ee=A.useRef(null),re=A.useRef(null),q=A.useRef(null),fe=A.useRef(null),[ue,ye]=A.useState({tooltipStyles:{},tooltipArrowStyles:{},place:u}),[pe,we]=A.useState(!1),[be,Re]=A.useState(!1),[Pe,Ye]=A.useState(null),Ue=A.useRef(!1),st=A.useRef(null),{anchorRefs:It,setActiveAnchor:en}=kP(t),K=A.useRef(!1),[se,Ee]=A.useState([]),_e=A.useRef(!1),He=c||l.includes("click"),mn=He||(T==null?void 0:T.click)||(T==null?void 0:T.dblclick)||(T==null?void 0:T.mousedown),_n=T?{...T}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!T&&He&&Object.assign(_n,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Gt=O?{...O}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!O&&He&&Object.assign(Gt,{mouseleave:!1,blur:!1,mouseout:!1});const qt=N?{...N}:{escape:S||!1,scroll:x||!1,resize:w||!1,clickOutsideAnchor:mn||!1};C&&(Object.assign(_n,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Gt,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(qt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),b$(()=>(_e.current=!0,()=>{_e.current=!1}),[]);const rt=he=>{_e.current&&(he&&Re(!0),setTimeout(()=>{_e.current&&(k==null||k(he),B===void 0&&we(he))},10))};A.useEffect(()=>{if(B===void 0)return()=>null;B&&Re(!0);const he=setTimeout(()=>{we(B)},10);return()=>{clearTimeout(he)}},[B]),A.useEffect(()=>{if(pe!==Ue.current)if(rr(fe),Ue.current=pe,pe)H==null||H();else{const he=(Ae=>{const Ie=Ae.match(/^([\d.]+)(ms|s)$/);if(!Ie)return 0;const[,Nt,nn]=Ie;return Number(Nt)*(nn==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));fe.current=setTimeout(()=>{Re(!1),Ye(null),U==null||U()},he+25)}},[pe]);const jt=he=>{ye(Ae=>J0(Ae,he)?Ae:he)},er=(he=p)=>{rr(re),be?rt(!0):re.current=setTimeout(()=>{rt(!0)},he)},tn=(he=g)=>{rr(q),q.current=setTimeout(()=>{K.current||rt(!1)},he)},bs=he=>{var Ae;if(!he)return;const Ie=(Ae=he.currentTarget)!==null&&Ae!==void 0?Ae:he.target;if(!(Ie!=null&&Ie.isConnected))return J(null),void en({current:null});p?er():rt(!0),J(Ie),en({current:Ie}),rr(q)},Co=()=>{E?tn(g||100):g?tn():rt(!1),rr(re)},Oo=({x:he,y:Ae})=>{var Ie;const Nt={getBoundingClientRect:()=>({x:he,y:Ae,width:0,height:0,top:Ae,left:he,right:he,bottom:Ae})};ww({place:(Ie=Pe==null?void 0:Pe.place)!==null&&Ie!==void 0?Ie:u,offset:s,elementReference:Nt,tooltipReference:j.current,tooltipArrowReference:ee.current,strategy:f,middlewares:d,border:R,arrowSize:te}).then(nn=>{jt(nn)})},Po=he=>{if(!he)return;const Ae=he,Ie={x:Ae.clientX,y:Ae.clientY};Oo(Ie),st.current=Ie},Es=he=>{var Ae;if(!pe)return;const Ie=he.target;Ie.isConnected&&(!((Ae=j.current)===null||Ae===void 0)&&Ae.contains(Ie)||[document.querySelector(`[id='${a}']`),...se].some(Nt=>Nt==null?void 0:Nt.contains(Ie))||(rt(!1),rr(re)))},af=Tw(bs,50),Ft=Tw(Co,50),tr=he=>{Ft.cancel(),af(he)},Te=()=>{af.cancel(),Ft()},ze=A.useCallback(()=>{var he,Ae;const Ie=(he=Pe==null?void 0:Pe.position)!==null&&he!==void 0?he:L;Ie?Oo(Ie):b?st.current&&Oo(st.current):ne!=null&&ne.isConnected&&ww({place:(Ae=Pe==null?void 0:Pe.place)!==null&&Ae!==void 0?Ae:u,offset:s,elementReference:ne,tooltipReference:j.current,tooltipArrowReference:ee.current,strategy:f,middlewares:d,border:R,arrowSize:te}).then(Nt=>{_e.current&&jt(Nt)})},[pe,ne,V,P,u,Pe==null?void 0:Pe.place,s,f,L,Pe==null?void 0:Pe.position,b,te]);A.useEffect(()=>{var he,Ae;const Ie=new Set(It);se.forEach(Qe=>{F!=null&&F(Qe)||Ie.add({current:Qe})});const Nt=document.querySelector(`[id='${a}']`);Nt&&!(F!=null&&F(Nt))&&Ie.add({current:Nt});const nn=()=>{rt(!1)},zr=Aw(ne),Vr=Aw(j.current);qt.scroll&&(window.addEventListener("scroll",nn),zr==null||zr.addEventListener("scroll",nn),Vr==null||Vr.addEventListener("scroll",nn));let gn=null;qt.resize?window.addEventListener("resize",nn):ne&&j.current&&(gn=c$(ne,j.current,ze,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const nr=Qe=>{Qe.key==="Escape"&&rt(!1)};qt.escape&&window.addEventListener("keydown",nr),qt.clickOutsideAnchor&&window.addEventListener("click",Es);const ht=[],ko=Qe=>!!(Qe!=null&&Qe.target&&(ne!=null&&ne.contains(Qe.target))),ED=Qe=>{pe&&ko(Qe)||bs(Qe)},xD=Qe=>{pe&&ko(Qe)&&Co()},GE=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],qE=["click","dblclick","mousedown","mouseup"];Object.entries(_n).forEach(([Qe,di])=>{di&&(GE.includes(Qe)?ht.push({event:Qe,listener:tr}):qE.includes(Qe)&&ht.push({event:Qe,listener:ED}))}),Object.entries(Gt).forEach(([Qe,di])=>{di&&(GE.includes(Qe)?ht.push({event:Qe,listener:Te}):qE.includes(Qe)&&ht.push({event:Qe,listener:xD}))}),b&&ht.push({event:"pointermove",listener:Po});const YE=()=>{K.current=!0},KE=()=>{K.current=!1,Co()},XE=E&&(Gt.mouseout||Gt.mouseleave);return XE&&((he=j.current)===null||he===void 0||he.addEventListener("mouseover",YE),(Ae=j.current)===null||Ae===void 0||Ae.addEventListener("mouseout",KE)),ht.forEach(({event:Qe,listener:di})=>{Ie.forEach(vm=>{var xs;(xs=vm.current)===null||xs===void 0||xs.addEventListener(Qe,di)})}),()=>{var Qe,di;qt.scroll&&(window.removeEventListener("scroll",nn),zr==null||zr.removeEventListener("scroll",nn),Vr==null||Vr.removeEventListener("scroll",nn)),qt.resize?window.removeEventListener("resize",nn):gn==null||gn(),qt.clickOutsideAnchor&&window.removeEventListener("click",Es),qt.escape&&window.removeEventListener("keydown",nr),XE&&((Qe=j.current)===null||Qe===void 0||Qe.removeEventListener("mouseover",YE),(di=j.current)===null||di===void 0||di.removeEventListener("mouseout",KE)),ht.forEach(({event:vm,listener:xs})=>{Ie.forEach(wD=>{var bm;(bm=wD.current)===null||bm===void 0||bm.removeEventListener(vm,xs)})})}},[ne,ze,be,It,se,T,O,N,He,p,g]),A.useEffect(()=>{var he,Ae;let Ie=(Ae=(he=Pe==null?void 0:Pe.anchorSelect)!==null&&he!==void 0?he:o)!==null&&Ae!==void 0?Ae:"";!Ie&&t&&(Ie=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Nt=new MutationObserver(nn=>{const zr=[],Vr=[];nn.forEach(gn=>{if(gn.type==="attributes"&&gn.attributeName==="data-tooltip-id"&&(gn.target.getAttribute("data-tooltip-id")===t?zr.push(gn.target):gn.oldValue===t&&Vr.push(gn.target)),gn.type==="childList"){if(ne){const nr=[...gn.removedNodes].filter(ht=>ht.nodeType===1);if(Ie)try{Vr.push(...nr.filter(ht=>ht.matches(Ie))),Vr.push(...nr.flatMap(ht=>[...ht.querySelectorAll(Ie)]))}catch{}nr.some(ht=>{var ko;return!!(!((ko=ht==null?void 0:ht.contains)===null||ko===void 0)&&ko.call(ht,ne))&&(Re(!1),rt(!1),J(null),rr(re),rr(q),!0)})}if(Ie)try{const nr=[...gn.addedNodes].filter(ht=>ht.nodeType===1);zr.push(...nr.filter(ht=>ht.matches(Ie))),zr.push(...nr.flatMap(ht=>[...ht.querySelectorAll(Ie)]))}catch{}}}),(zr.length||Vr.length)&&Ee(gn=>[...gn.filter(nr=>!Vr.includes(nr)),...zr])});return Nt.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Nt.disconnect()}},[t,o,Pe==null?void 0:Pe.anchorSelect,ne]),A.useEffect(()=>{ze()},[ze]),A.useEffect(()=>{if(!(W!=null&&W.current))return()=>null;const he=new ResizeObserver(()=>{setTimeout(()=>ze())});return he.observe(W.current),()=>{he.disconnect()}},[V,W==null?void 0:W.current]),A.useEffect(()=>{var he;const Ae=document.querySelector(`[id='${a}']`),Ie=[...se,Ae];ne&&Ie.includes(ne)||J((he=se[0])!==null&&he!==void 0?he:Ae)},[a,se,ne]),A.useEffect(()=>(G&&rt(!0),()=>{rr(re),rr(q)}),[]),A.useEffect(()=>{var he;let Ae=(he=Pe==null?void 0:Pe.anchorSelect)!==null&&he!==void 0?he:o;if(!Ae&&t&&(Ae=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),Ae)try{const Ie=Array.from(document.querySelectorAll(Ae));Ee(Ie)}catch{Ee([])}},[t,o,Pe==null?void 0:Pe.anchorSelect]),A.useEffect(()=>{re.current&&(rr(re),er(p))},[p]);const Mn=(Q=Pe==null?void 0:Pe.content)!==null&&Q!==void 0?Q:V,ka=pe&&Object.keys(ue.tooltipStyles).length>0;return A.useImperativeHandle(e,()=>({open:he=>{if(he!=null&&he.anchorSelect)try{document.querySelector(he.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${he.anchorSelect}" is not a valid CSS selector`)}Ye(he??null),he!=null&&he.delay?er(he.delay):rt(!0)},close:he=>{he!=null&&he.delay?tn(he.delay):rt(!1)},activeAnchor:ne,place:ue.place,isOpen:!!(be&&!m&&Mn&&ka)})),be&&!m&&Mn?M.createElement(h,{id:t,role:X,className:Z0("react-tooltip",No.tooltip,Km.tooltip,Km[i],n,`react-tooltip__place-${ue.place}`,No[ka?"show":"closing"],ka?"react-tooltip__show":"react-tooltip__closing",f==="fixed"&&No.fixed,E&&No.clickable),onTransitionEnd:he=>{rr(fe),pe||he.propertyName!=="opacity"||(Re(!1),Ye(null),U==null||U())},style:{...P,...ue.tooltipStyles,opacity:ve!==void 0&&ka?ve:void 0},ref:j},Mn,M.createElement(h,{className:Z0("react-tooltip-arrow",No.arrow,Km.arrow,r,v&&No.noArrow),style:{...ue.tooltipArrowStyles,background:ke?`linear-gradient(to right bottom, transparent 50%, ${ke} 50%)`:void 0,"--rt-arrow-size":`${te}px`},ref:ee})):null},T$=({content:e})=>M.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),$c=M.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:i,render:a,className:o,classNameArrow:u,variant:s="dark",place:l="top",offset:c=10,wrapper:f="div",children:d=null,events:h=["hover"],openOnClick:p=!1,positionStrategy:g="absolute",middlewares:b,delayShow:m=0,delayHide:v=0,float:E=!1,hidden:S=!1,noArrow:x=!1,clickable:w=!1,closeOnEsc:T=!1,closeOnScroll:O=!1,closeOnResize:N=!1,openEvents:C,closeEvents:P,globalCloseEvents:L,imperativeModeOnly:H=!1,style:U,position:F,isOpen:V,defaultIsOpen:W=!1,disableStyleInjection:B=!1,border:G,opacity:k,arrowColor:ne,arrowSize:J,setIsOpen:R,afterShow:ve,afterHide:ke,disableTooltip:te,role:X="tooltip"},Q)=>{const[j,ee]=A.useState(r),[re,q]=A.useState(i),[fe,ue]=A.useState(l),[ye,pe]=A.useState(s),[we,be]=A.useState(c),[Re,Pe]=A.useState(m),[Ye,Ue]=A.useState(v),[st,It]=A.useState(E),[en,K]=A.useState(S),[se,Ee]=A.useState(f),[_e,He]=A.useState(h),[mn,_n]=A.useState(g),[Gt,qt]=A.useState(null),[rt,jt]=A.useState(null),er=A.useRef(B),{anchorRefs:tn,activeAnchor:bs}=kP(e),Co=Ft=>Ft==null?void 0:Ft.getAttributeNames().reduce((tr,Te)=>{var ze;return Te.startsWith("data-tooltip-")&&(tr[Te.replace(/^data-tooltip-/,"")]=(ze=Ft==null?void 0:Ft.getAttribute(Te))!==null&&ze!==void 0?ze:null),tr},{}),Oo=Ft=>{const tr={place:Te=>{var ze;ue((ze=Te)!==null&&ze!==void 0?ze:l)},content:Te=>{ee(Te??r)},html:Te=>{q(Te??i)},variant:Te=>{var ze;pe((ze=Te)!==null&&ze!==void 0?ze:s)},offset:Te=>{be(Te===null?c:Number(Te))},wrapper:Te=>{var ze;Ee((ze=Te)!==null&&ze!==void 0?ze:f)},events:Te=>{const ze=Te==null?void 0:Te.split(" ");He(ze??h)},"position-strategy":Te=>{var ze;_n((ze=Te)!==null&&ze!==void 0?ze:g)},"delay-show":Te=>{Pe(Te===null?m:Number(Te))},"delay-hide":Te=>{Ue(Te===null?v:Number(Te))},float:Te=>{It(Te===null?E:Te==="true")},hidden:Te=>{K(Te===null?S:Te==="true")},"class-name":Te=>{qt(Te)}};Object.values(tr).forEach(Te=>Te(null)),Object.entries(Ft).forEach(([Te,ze])=>{var Mn;(Mn=tr[Te])===null||Mn===void 0||Mn.call(tr,ze)})};A.useEffect(()=>{ee(r)},[r]),A.useEffect(()=>{q(i)},[i]),A.useEffect(()=>{ue(l)},[l]),A.useEffect(()=>{pe(s)},[s]),A.useEffect(()=>{be(c)},[c]),A.useEffect(()=>{Pe(m)},[m]),A.useEffect(()=>{Ue(v)},[v]),A.useEffect(()=>{It(E)},[E]),A.useEffect(()=>{K(S)},[S]),A.useEffect(()=>{_n(g)},[g]),A.useEffect(()=>{er.current!==B&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[B]),A.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:B==="core",disableBase:B}}))},[]),A.useEffect(()=>{var Ft;const tr=new Set(tn);let Te=n;if(!Te&&e&&(Te=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),Te)try{document.querySelectorAll(Te).forEach(Ae=>{tr.add({current:Ae})})}catch{console.warn(`[react-tooltip] "${Te}" is not a valid CSS selector`)}const ze=document.querySelector(`[id='${t}']`);if(ze&&tr.add({current:ze}),!tr.size)return()=>null;const Mn=(Ft=rt??ze)!==null&&Ft!==void 0?Ft:bs.current,ka=new MutationObserver(Ae=>{Ae.forEach(Ie=>{var Nt;if(!Mn||Ie.type!=="attributes"||!(!((Nt=Ie.attributeName)===null||Nt===void 0)&&Nt.startsWith("data-tooltip-")))return;const nn=Co(Mn);Oo(nn)})}),he={attributes:!0,childList:!1,subtree:!1};if(Mn){const Ae=Co(Mn);Oo(Ae),ka.observe(Mn,he)}return()=>{ka.disconnect()}},[tn,bs,rt,t,n]),A.useEffect(()=>{U!=null&&U.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),G&&!Sw("border",`${G}`)&&console.warn(`[react-tooltip] "${G}" is not a valid \`border\`.`),U!=null&&U.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),k&&!Sw("opacity",`${k}`)&&console.warn(`[react-tooltip] "${k}" is not a valid \`opacity\`.`)},[]);let Po=d;const Es=A.useRef(null);if(a){const Ft=a({content:(rt==null?void 0:rt.getAttribute("data-tooltip-content"))||j||null,activeAnchor:rt});Po=Ft?M.createElement("div",{ref:Es,className:"react-tooltip-content-wrapper"},Ft):null}else j&&(Po=j);re&&(Po=M.createElement(T$,{content:re}));const af={forwardRef:Q,id:e,anchorId:t,anchorSelect:n,className:Z0(o,Gt),classNameArrow:u,content:Po,contentWrapperRef:Es,place:fe,variant:ye,offset:we,wrapper:se,events:_e,openOnClick:p,positionStrategy:mn,middlewares:b,delayShow:Re,delayHide:Ye,float:st,hidden:en,noArrow:x,clickable:w,closeOnEsc:T,closeOnScroll:O,closeOnResize:N,openEvents:C,closeEvents:P,globalCloseEvents:L,imperativeModeOnly:H,style:U,position:F,isOpen:V,defaultIsOpen:W,border:G,opacity:k,arrowColor:ne,arrowSize:J,setIsOpen:R,afterShow:ve,afterHide:ke,disableTooltip:te,activeAnchor:rt,setActiveAnchor:Ft=>jt(Ft),role:X};return M.createElement(S$,{...af})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||xw({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||xw({css:`
|
47 |
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const Ma="
|
48 |
`),E=new Blob([v],{type:"text/csv"}),S=URL.createObjectURL(E),x=document.createElement("a");x.href=S,x.download="quality_metrics.csv",document.body.appendChild(x),x.click(),document.body.removeChild(x),URL.revokeObjectURL(S)}return e.length===0?null:_.jsxs("div",{className:"max-h-[80vh]",children:[_.jsx("div",{className:"flex justify-end",children:_.jsx("button",{className:"btn btn-ghost btn-circle",title:"Export CSV",onClick:g,children:_.jsx(I4,{className:"h-6 w-6"})})}),_.jsxs("table",{className:"table w-full min-w-max border-gray-700 border",children:[_.jsx("thead",{children:_.jsxs("tr",{children:[_.jsx("th",{className:"sticky left-0 top-0 bg-base-100 z-20 border-gray-700 border",children:"Quality Metric"}),h.map(b=>{const m=o&&o.model===b,v=m?o.direction:void 0;return _.jsxs("th",{className:"sticky top-0 bg-base-100 z-10 text-center text-xs border-gray-700 border cursor-pointer select-none",onClick:()=>d(b),title:m?v==="asc"?"Sort descending":"Clear sort":"Sort by this column",children:[s&&c.current.getModelAlias(b)||b,_.jsx("span",{className:"ml-1",children:m?v==="asc"?"β":"β":"β
"})]},`quality-${b}`)})]})}),_.jsx("tbody",{children:p.map(b=>{const m=r.find(S=>S.metric===b);if(!m)return null;const v=i&&i.metric===b,E=v?i.direction:void 0;return _.jsxs("tr",{className:"hover:bg-base-100 hover:z-30 relative",children:[_.jsx("td",{className:"sticky left-0 bg-base-100 z-10 hover:z-40 border-gray-700 border cursor-pointer select-none pr-4",onClick:()=>f(b),title:v?E==="asc"?"Sort descending":"Clear sort":"Sort by this row (sorts columns)",children:_.jsxs("div",{className:"flex items-center",children:[_.jsx("span",{className:"inline-block",children:b}),_.jsx(pp,{metricName:b}),_.jsx("span",{className:"ml-auto",children:v?E==="asc"?"β":"β":"β"})]})}),h.map(S=>{const x=m[S];return _.jsx("td",{className:"text-center border-gray-700 border hover:z-40 relative",children:isNaN(Number(x))?x:Number(Number(x).toFixed(3))},`quality-${b}-${S}`)})]},`quality-${b}`)})})]})]})};/**
|
49 |
* table-core
|
50 |
*
|
|
|
44 |
Licensed under the MIT License (MIT), see
|
45 |
http://jedwatson.github.io/classnames
|
46 |
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(a=i(a,r(u)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var u in a)t.call(a,u)&&a[u]&&(o=i(o,u));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(PP);var m$=PP.exports;const Z0=Xe(m$);var bw={};const g$="react-tooltip-core-styles",y$="react-tooltip-base-styles",Ew={core:!1,base:!1};function xw({css:e,id:t=y$,type:n="base",ref:r}){var i,a;if(!e||typeof document>"u"||Ew[n]||n==="core"&&typeof process<"u"&&(!((i=process==null?void 0:bw)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((a=process==null?void 0:bw)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=g$),r||(r={});const{insertAt:o}=r;if(document.getElementById(t))return;const u=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.id=t,s.type="text/css",o==="top"&&u.firstChild?u.insertBefore(s,u.firstChild):u.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e)),Ew[n]=!0}const ww=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:a="absolute",middlewares:o=[f$(Number(i)),h$({fallbackAxisSideDirection:"start"}),d$({padding:5})],border:u,arrowSize:s=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=o;return n?(l.push(p$({element:n,padding:5})),vw(e,t,{placement:r,strategy:a,middleware:l}).then(({x:c,y:f,placement:d,middlewareData:h})=>{var p,g;const b={left:`${c}px`,top:`${f}px`,border:u},{x:m,y:v}=(p=h.arrow)!==null&&p!==void 0?p:{x:0,y:0},E=(g={top:"bottom",right:"left",bottom:"top",left:"right"}[d.split("-")[0]])!==null&&g!==void 0?g:"bottom",S=u&&{borderBottom:u,borderRight:u};let x=0;if(u){const w=`${u}`.match(/(\d+)px/);x=w!=null&&w[1]?Number(w[1]):1}return{tooltipStyles:b,tooltipArrowStyles:{left:m!=null?`${m}px`:"",top:v!=null?`${v}px`:"",right:"",bottom:"",...S,[E]:`-${s/2+x}px`},place:d}})):vw(e,t,{placement:"bottom",strategy:a,middleware:l}).then(({x:c,y:f,placement:d})=>({tooltipStyles:{left:`${c}px`,top:`${f}px`},tooltipArrowStyles:{},place:d}))},Sw=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Tw=(e,t,n)=>{let r=null;const i=function(...a){const o=()=>{r=null};!r&&(e.apply(this,a),r=setTimeout(o,t))};return i.cancel=()=>{r&&(clearTimeout(r),r=null)},i},_w=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",J0=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((i,a)=>J0(i,t[a]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!_w(e)||!_w(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>J0(e[i],t[i]))},v$=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},Aw=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(v$(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},b$=typeof window<"u"?A.useLayoutEffect:A.useEffect,rr=e=>{e.current&&(clearTimeout(e.current),e.current=null)},E$="DEFAULT_TOOLTIP_ID",x$={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},w$=A.createContext({getTooltipData:()=>x$});function kP(e=E$){return A.useContext(w$).getTooltipData(e)}var No={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Km={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const S$=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:i="dark",anchorId:a,anchorSelect:o,place:u="top",offset:s=10,events:l=["hover"],openOnClick:c=!1,positionStrategy:f="absolute",middlewares:d,wrapper:h,delayShow:p=0,delayHide:g=0,float:b=!1,hidden:m=!1,noArrow:v=!1,clickable:E=!1,closeOnEsc:S=!1,closeOnScroll:x=!1,closeOnResize:w=!1,openEvents:T,closeEvents:O,globalCloseEvents:N,imperativeModeOnly:C,style:P,position:L,afterShow:H,afterHide:U,disableTooltip:F,content:V,contentWrapperRef:W,isOpen:B,defaultIsOpen:G=!1,setIsOpen:k,activeAnchor:ne,setActiveAnchor:J,border:R,opacity:ve,arrowColor:ke,arrowSize:te=8,role:X="tooltip"})=>{var Q;const j=A.useRef(null),ee=A.useRef(null),re=A.useRef(null),q=A.useRef(null),fe=A.useRef(null),[ue,ye]=A.useState({tooltipStyles:{},tooltipArrowStyles:{},place:u}),[pe,we]=A.useState(!1),[be,Re]=A.useState(!1),[Pe,Ye]=A.useState(null),Ue=A.useRef(!1),st=A.useRef(null),{anchorRefs:It,setActiveAnchor:en}=kP(t),K=A.useRef(!1),[se,Ee]=A.useState([]),_e=A.useRef(!1),He=c||l.includes("click"),mn=He||(T==null?void 0:T.click)||(T==null?void 0:T.dblclick)||(T==null?void 0:T.mousedown),_n=T?{...T}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!T&&He&&Object.assign(_n,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Gt=O?{...O}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!O&&He&&Object.assign(Gt,{mouseleave:!1,blur:!1,mouseout:!1});const qt=N?{...N}:{escape:S||!1,scroll:x||!1,resize:w||!1,clickOutsideAnchor:mn||!1};C&&(Object.assign(_n,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Gt,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(qt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),b$(()=>(_e.current=!0,()=>{_e.current=!1}),[]);const rt=he=>{_e.current&&(he&&Re(!0),setTimeout(()=>{_e.current&&(k==null||k(he),B===void 0&&we(he))},10))};A.useEffect(()=>{if(B===void 0)return()=>null;B&&Re(!0);const he=setTimeout(()=>{we(B)},10);return()=>{clearTimeout(he)}},[B]),A.useEffect(()=>{if(pe!==Ue.current)if(rr(fe),Ue.current=pe,pe)H==null||H();else{const he=(Ae=>{const Ie=Ae.match(/^([\d.]+)(ms|s)$/);if(!Ie)return 0;const[,Nt,nn]=Ie;return Number(Nt)*(nn==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));fe.current=setTimeout(()=>{Re(!1),Ye(null),U==null||U()},he+25)}},[pe]);const jt=he=>{ye(Ae=>J0(Ae,he)?Ae:he)},er=(he=p)=>{rr(re),be?rt(!0):re.current=setTimeout(()=>{rt(!0)},he)},tn=(he=g)=>{rr(q),q.current=setTimeout(()=>{K.current||rt(!1)},he)},bs=he=>{var Ae;if(!he)return;const Ie=(Ae=he.currentTarget)!==null&&Ae!==void 0?Ae:he.target;if(!(Ie!=null&&Ie.isConnected))return J(null),void en({current:null});p?er():rt(!0),J(Ie),en({current:Ie}),rr(q)},Co=()=>{E?tn(g||100):g?tn():rt(!1),rr(re)},Oo=({x:he,y:Ae})=>{var Ie;const Nt={getBoundingClientRect:()=>({x:he,y:Ae,width:0,height:0,top:Ae,left:he,right:he,bottom:Ae})};ww({place:(Ie=Pe==null?void 0:Pe.place)!==null&&Ie!==void 0?Ie:u,offset:s,elementReference:Nt,tooltipReference:j.current,tooltipArrowReference:ee.current,strategy:f,middlewares:d,border:R,arrowSize:te}).then(nn=>{jt(nn)})},Po=he=>{if(!he)return;const Ae=he,Ie={x:Ae.clientX,y:Ae.clientY};Oo(Ie),st.current=Ie},Es=he=>{var Ae;if(!pe)return;const Ie=he.target;Ie.isConnected&&(!((Ae=j.current)===null||Ae===void 0)&&Ae.contains(Ie)||[document.querySelector(`[id='${a}']`),...se].some(Nt=>Nt==null?void 0:Nt.contains(Ie))||(rt(!1),rr(re)))},af=Tw(bs,50),Ft=Tw(Co,50),tr=he=>{Ft.cancel(),af(he)},Te=()=>{af.cancel(),Ft()},ze=A.useCallback(()=>{var he,Ae;const Ie=(he=Pe==null?void 0:Pe.position)!==null&&he!==void 0?he:L;Ie?Oo(Ie):b?st.current&&Oo(st.current):ne!=null&&ne.isConnected&&ww({place:(Ae=Pe==null?void 0:Pe.place)!==null&&Ae!==void 0?Ae:u,offset:s,elementReference:ne,tooltipReference:j.current,tooltipArrowReference:ee.current,strategy:f,middlewares:d,border:R,arrowSize:te}).then(Nt=>{_e.current&&jt(Nt)})},[pe,ne,V,P,u,Pe==null?void 0:Pe.place,s,f,L,Pe==null?void 0:Pe.position,b,te]);A.useEffect(()=>{var he,Ae;const Ie=new Set(It);se.forEach(Qe=>{F!=null&&F(Qe)||Ie.add({current:Qe})});const Nt=document.querySelector(`[id='${a}']`);Nt&&!(F!=null&&F(Nt))&&Ie.add({current:Nt});const nn=()=>{rt(!1)},zr=Aw(ne),Vr=Aw(j.current);qt.scroll&&(window.addEventListener("scroll",nn),zr==null||zr.addEventListener("scroll",nn),Vr==null||Vr.addEventListener("scroll",nn));let gn=null;qt.resize?window.addEventListener("resize",nn):ne&&j.current&&(gn=c$(ne,j.current,ze,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const nr=Qe=>{Qe.key==="Escape"&&rt(!1)};qt.escape&&window.addEventListener("keydown",nr),qt.clickOutsideAnchor&&window.addEventListener("click",Es);const ht=[],ko=Qe=>!!(Qe!=null&&Qe.target&&(ne!=null&&ne.contains(Qe.target))),ED=Qe=>{pe&&ko(Qe)||bs(Qe)},xD=Qe=>{pe&&ko(Qe)&&Co()},GE=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],qE=["click","dblclick","mousedown","mouseup"];Object.entries(_n).forEach(([Qe,di])=>{di&&(GE.includes(Qe)?ht.push({event:Qe,listener:tr}):qE.includes(Qe)&&ht.push({event:Qe,listener:ED}))}),Object.entries(Gt).forEach(([Qe,di])=>{di&&(GE.includes(Qe)?ht.push({event:Qe,listener:Te}):qE.includes(Qe)&&ht.push({event:Qe,listener:xD}))}),b&&ht.push({event:"pointermove",listener:Po});const YE=()=>{K.current=!0},KE=()=>{K.current=!1,Co()},XE=E&&(Gt.mouseout||Gt.mouseleave);return XE&&((he=j.current)===null||he===void 0||he.addEventListener("mouseover",YE),(Ae=j.current)===null||Ae===void 0||Ae.addEventListener("mouseout",KE)),ht.forEach(({event:Qe,listener:di})=>{Ie.forEach(vm=>{var xs;(xs=vm.current)===null||xs===void 0||xs.addEventListener(Qe,di)})}),()=>{var Qe,di;qt.scroll&&(window.removeEventListener("scroll",nn),zr==null||zr.removeEventListener("scroll",nn),Vr==null||Vr.removeEventListener("scroll",nn)),qt.resize?window.removeEventListener("resize",nn):gn==null||gn(),qt.clickOutsideAnchor&&window.removeEventListener("click",Es),qt.escape&&window.removeEventListener("keydown",nr),XE&&((Qe=j.current)===null||Qe===void 0||Qe.removeEventListener("mouseover",YE),(di=j.current)===null||di===void 0||di.removeEventListener("mouseout",KE)),ht.forEach(({event:vm,listener:xs})=>{Ie.forEach(wD=>{var bm;(bm=wD.current)===null||bm===void 0||bm.removeEventListener(vm,xs)})})}},[ne,ze,be,It,se,T,O,N,He,p,g]),A.useEffect(()=>{var he,Ae;let Ie=(Ae=(he=Pe==null?void 0:Pe.anchorSelect)!==null&&he!==void 0?he:o)!==null&&Ae!==void 0?Ae:"";!Ie&&t&&(Ie=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const Nt=new MutationObserver(nn=>{const zr=[],Vr=[];nn.forEach(gn=>{if(gn.type==="attributes"&&gn.attributeName==="data-tooltip-id"&&(gn.target.getAttribute("data-tooltip-id")===t?zr.push(gn.target):gn.oldValue===t&&Vr.push(gn.target)),gn.type==="childList"){if(ne){const nr=[...gn.removedNodes].filter(ht=>ht.nodeType===1);if(Ie)try{Vr.push(...nr.filter(ht=>ht.matches(Ie))),Vr.push(...nr.flatMap(ht=>[...ht.querySelectorAll(Ie)]))}catch{}nr.some(ht=>{var ko;return!!(!((ko=ht==null?void 0:ht.contains)===null||ko===void 0)&&ko.call(ht,ne))&&(Re(!1),rt(!1),J(null),rr(re),rr(q),!0)})}if(Ie)try{const nr=[...gn.addedNodes].filter(ht=>ht.nodeType===1);zr.push(...nr.filter(ht=>ht.matches(Ie))),zr.push(...nr.flatMap(ht=>[...ht.querySelectorAll(Ie)]))}catch{}}}),(zr.length||Vr.length)&&Ee(gn=>[...gn.filter(nr=>!Vr.includes(nr)),...zr])});return Nt.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Nt.disconnect()}},[t,o,Pe==null?void 0:Pe.anchorSelect,ne]),A.useEffect(()=>{ze()},[ze]),A.useEffect(()=>{if(!(W!=null&&W.current))return()=>null;const he=new ResizeObserver(()=>{setTimeout(()=>ze())});return he.observe(W.current),()=>{he.disconnect()}},[V,W==null?void 0:W.current]),A.useEffect(()=>{var he;const Ae=document.querySelector(`[id='${a}']`),Ie=[...se,Ae];ne&&Ie.includes(ne)||J((he=se[0])!==null&&he!==void 0?he:Ae)},[a,se,ne]),A.useEffect(()=>(G&&rt(!0),()=>{rr(re),rr(q)}),[]),A.useEffect(()=>{var he;let Ae=(he=Pe==null?void 0:Pe.anchorSelect)!==null&&he!==void 0?he:o;if(!Ae&&t&&(Ae=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),Ae)try{const Ie=Array.from(document.querySelectorAll(Ae));Ee(Ie)}catch{Ee([])}},[t,o,Pe==null?void 0:Pe.anchorSelect]),A.useEffect(()=>{re.current&&(rr(re),er(p))},[p]);const Mn=(Q=Pe==null?void 0:Pe.content)!==null&&Q!==void 0?Q:V,ka=pe&&Object.keys(ue.tooltipStyles).length>0;return A.useImperativeHandle(e,()=>({open:he=>{if(he!=null&&he.anchorSelect)try{document.querySelector(he.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${he.anchorSelect}" is not a valid CSS selector`)}Ye(he??null),he!=null&&he.delay?er(he.delay):rt(!0)},close:he=>{he!=null&&he.delay?tn(he.delay):rt(!1)},activeAnchor:ne,place:ue.place,isOpen:!!(be&&!m&&Mn&&ka)})),be&&!m&&Mn?M.createElement(h,{id:t,role:X,className:Z0("react-tooltip",No.tooltip,Km.tooltip,Km[i],n,`react-tooltip__place-${ue.place}`,No[ka?"show":"closing"],ka?"react-tooltip__show":"react-tooltip__closing",f==="fixed"&&No.fixed,E&&No.clickable),onTransitionEnd:he=>{rr(fe),pe||he.propertyName!=="opacity"||(Re(!1),Ye(null),U==null||U())},style:{...P,...ue.tooltipStyles,opacity:ve!==void 0&&ka?ve:void 0},ref:j},Mn,M.createElement(h,{className:Z0("react-tooltip-arrow",No.arrow,Km.arrow,r,v&&No.noArrow),style:{...ue.tooltipArrowStyles,background:ke?`linear-gradient(to right bottom, transparent 50%, ${ke} 50%)`:void 0,"--rt-arrow-size":`${te}px`},ref:ee})):null},T$=({content:e})=>M.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),$c=M.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:i,render:a,className:o,classNameArrow:u,variant:s="dark",place:l="top",offset:c=10,wrapper:f="div",children:d=null,events:h=["hover"],openOnClick:p=!1,positionStrategy:g="absolute",middlewares:b,delayShow:m=0,delayHide:v=0,float:E=!1,hidden:S=!1,noArrow:x=!1,clickable:w=!1,closeOnEsc:T=!1,closeOnScroll:O=!1,closeOnResize:N=!1,openEvents:C,closeEvents:P,globalCloseEvents:L,imperativeModeOnly:H=!1,style:U,position:F,isOpen:V,defaultIsOpen:W=!1,disableStyleInjection:B=!1,border:G,opacity:k,arrowColor:ne,arrowSize:J,setIsOpen:R,afterShow:ve,afterHide:ke,disableTooltip:te,role:X="tooltip"},Q)=>{const[j,ee]=A.useState(r),[re,q]=A.useState(i),[fe,ue]=A.useState(l),[ye,pe]=A.useState(s),[we,be]=A.useState(c),[Re,Pe]=A.useState(m),[Ye,Ue]=A.useState(v),[st,It]=A.useState(E),[en,K]=A.useState(S),[se,Ee]=A.useState(f),[_e,He]=A.useState(h),[mn,_n]=A.useState(g),[Gt,qt]=A.useState(null),[rt,jt]=A.useState(null),er=A.useRef(B),{anchorRefs:tn,activeAnchor:bs}=kP(e),Co=Ft=>Ft==null?void 0:Ft.getAttributeNames().reduce((tr,Te)=>{var ze;return Te.startsWith("data-tooltip-")&&(tr[Te.replace(/^data-tooltip-/,"")]=(ze=Ft==null?void 0:Ft.getAttribute(Te))!==null&&ze!==void 0?ze:null),tr},{}),Oo=Ft=>{const tr={place:Te=>{var ze;ue((ze=Te)!==null&&ze!==void 0?ze:l)},content:Te=>{ee(Te??r)},html:Te=>{q(Te??i)},variant:Te=>{var ze;pe((ze=Te)!==null&&ze!==void 0?ze:s)},offset:Te=>{be(Te===null?c:Number(Te))},wrapper:Te=>{var ze;Ee((ze=Te)!==null&&ze!==void 0?ze:f)},events:Te=>{const ze=Te==null?void 0:Te.split(" ");He(ze??h)},"position-strategy":Te=>{var ze;_n((ze=Te)!==null&&ze!==void 0?ze:g)},"delay-show":Te=>{Pe(Te===null?m:Number(Te))},"delay-hide":Te=>{Ue(Te===null?v:Number(Te))},float:Te=>{It(Te===null?E:Te==="true")},hidden:Te=>{K(Te===null?S:Te==="true")},"class-name":Te=>{qt(Te)}};Object.values(tr).forEach(Te=>Te(null)),Object.entries(Ft).forEach(([Te,ze])=>{var Mn;(Mn=tr[Te])===null||Mn===void 0||Mn.call(tr,ze)})};A.useEffect(()=>{ee(r)},[r]),A.useEffect(()=>{q(i)},[i]),A.useEffect(()=>{ue(l)},[l]),A.useEffect(()=>{pe(s)},[s]),A.useEffect(()=>{be(c)},[c]),A.useEffect(()=>{Pe(m)},[m]),A.useEffect(()=>{Ue(v)},[v]),A.useEffect(()=>{It(E)},[E]),A.useEffect(()=>{K(S)},[S]),A.useEffect(()=>{_n(g)},[g]),A.useEffect(()=>{er.current!==B&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[B]),A.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:B==="core",disableBase:B}}))},[]),A.useEffect(()=>{var Ft;const tr=new Set(tn);let Te=n;if(!Te&&e&&(Te=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),Te)try{document.querySelectorAll(Te).forEach(Ae=>{tr.add({current:Ae})})}catch{console.warn(`[react-tooltip] "${Te}" is not a valid CSS selector`)}const ze=document.querySelector(`[id='${t}']`);if(ze&&tr.add({current:ze}),!tr.size)return()=>null;const Mn=(Ft=rt??ze)!==null&&Ft!==void 0?Ft:bs.current,ka=new MutationObserver(Ae=>{Ae.forEach(Ie=>{var Nt;if(!Mn||Ie.type!=="attributes"||!(!((Nt=Ie.attributeName)===null||Nt===void 0)&&Nt.startsWith("data-tooltip-")))return;const nn=Co(Mn);Oo(nn)})}),he={attributes:!0,childList:!1,subtree:!1};if(Mn){const Ae=Co(Mn);Oo(Ae),ka.observe(Mn,he)}return()=>{ka.disconnect()}},[tn,bs,rt,t,n]),A.useEffect(()=>{U!=null&&U.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),G&&!Sw("border",`${G}`)&&console.warn(`[react-tooltip] "${G}" is not a valid \`border\`.`),U!=null&&U.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),k&&!Sw("opacity",`${k}`)&&console.warn(`[react-tooltip] "${k}" is not a valid \`opacity\`.`)},[]);let Po=d;const Es=A.useRef(null);if(a){const Ft=a({content:(rt==null?void 0:rt.getAttribute("data-tooltip-content"))||j||null,activeAnchor:rt});Po=Ft?M.createElement("div",{ref:Es,className:"react-tooltip-content-wrapper"},Ft):null}else j&&(Po=j);re&&(Po=M.createElement(T$,{content:re}));const af={forwardRef:Q,id:e,anchorId:t,anchorSelect:n,className:Z0(o,Gt),classNameArrow:u,content:Po,contentWrapperRef:Es,place:fe,variant:ye,offset:we,wrapper:se,events:_e,openOnClick:p,positionStrategy:mn,middlewares:b,delayShow:Re,delayHide:Ye,float:st,hidden:en,noArrow:x,clickable:w,closeOnEsc:T,closeOnScroll:O,closeOnResize:N,openEvents:C,closeEvents:P,globalCloseEvents:L,imperativeModeOnly:H,style:U,position:F,isOpen:V,defaultIsOpen:W,border:G,opacity:k,arrowColor:ne,arrowSize:J,setIsOpen:R,afterShow:ve,afterHide:ke,disableTooltip:te,activeAnchor:rt,setActiveAnchor:Ft=>jt(Ft),role:X};return M.createElement(S$,{...af})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||xw({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||xw({css:`
|
47 |
+
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const Ma="";console.log(`API Server URL: ${Ma}`);class qn{static async fetchIndex(){const t=await fetch(Ma+"/");if(!t.ok)throw new Error("Failed to fetch index.html");return t.text()}static async fetchStaticFile(t){const n=await fetch(`${Ma}/${t}`);if(!n.ok)throw new Error(`Failed to fetch ${t}`);return n.text()}static fetchExamplesByType(t){return fetch(`${Ma}/examples/${t}`).then(n=>{if(!n.ok)throw new Error(`Failed to fetch examples of type ${t}`);return n.json()})}static getProxiedUrl(t,n=!1){return n?`${Ma}/proxy/${encodeURIComponent(t)}`:t}static async fetchDatasets(){const t=await fetch(Ma+"/datasets");if(!t.ok)throw new Error("Failed to fetch datasets");return t.json()}static async fetchDescriptions(){const t=await fetch(Ma+"/descriptions");if(!t.ok)throw new Error("Failed to fetch descriptions");return t.json()}}const Ua=class Ua{constructor(){Hi(this,"descriptions",{});Hi(this,"modelDescriptions",{});Hi(this,"metricDescriptions",{});Hi(this,"datasetDescriptions",{});Hi(this,"loaded",!1);Hi(this,"loadingPromise",null)}static getInstance(){return Ua.instance||(Ua.instance=new Ua),Ua.instance}async load(){if(!this.loaded)return this.loadingPromise?this.loadingPromise:(this.loadingPromise=qn.fetchDescriptions().then(t=>{this.descriptions=t.descriptions||{},this.modelDescriptions=t.model_descriptions||{},this.metricDescriptions=t.metric_descriptions||{},this.datasetDescriptions=t.dataset_descriptions||{},this.loaded=!0}),this.loadingPromise)}getDescriptionFullName(t){var n;return(n=this.descriptions[t])==null?void 0:n.full_name}getDescription(t){var n;return(n=this.descriptions[t])==null?void 0:n.description}getDescriptionUrl(t){var n;return(n=this.descriptions[t])==null?void 0:n.link}getModelAlias(t){var n;return(n=this.modelDescriptions[t])==null?void 0:n.alias}getModelDescription(t){var n;return(n=this.modelDescriptions[t])==null?void 0:n.description}getModelFullName(t){var n;return(n=this.modelDescriptions[t])==null?void 0:n.full_name}getModelPaperUrl(t){var n;return(n=this.modelDescriptions[t])==null?void 0:n.paper_link}getModelGithubUrl(t){var n;return(n=this.modelDescriptions[t])==null?void 0:n.github_link}getModelMessageSize(t){var n;return(n=this.modelDescriptions[t])==null?void 0:n.message_size}getMetricDescription(t){var n;return(n=this.metricDescriptions[t])==null?void 0:n.description}getMetricFullName(t){var n;return(n=this.metricDescriptions[t])==null?void 0:n.full_name}getMetricUrl(t){var n;return(n=this.metricDescriptions[t])==null?void 0:n.link}getDatasetDescription(t){var n;return(n=this.datasetDescriptions[t])==null?void 0:n.description}getDatasetFullName(t){var n;return(n=this.datasetDescriptions[t])==null?void 0:n.full_name}getDatasetPaperUrl(t){var n;return(n=this.datasetDescriptions[t])==null?void 0:n.paper_link}getDatasetGithubUrl(t){var n;return(n=this.datasetDescriptions[t])==null?void 0:n.github_link}};Hi(Ua,"instance",null);let bn=Ua;const _$=({datasetName:e})=>{const[t,n]=A.useState(!1),r=A.useRef(bn.getInstance());A.useEffect(()=>{r.current.load().then(()=>n(!0))},[]);const i=r.current.getDatasetFullName(e)||e,a=r.current.getDatasetDescription(e),o=r.current.getDatasetPaperUrl(e),u=r.current.getDatasetGithubUrl(e);return a?_.jsxs(_.Fragment,{children:[_.jsx("span",{className:"ml-1 cursor-pointer","data-tooltip-id":`tooltip-dataset-${e}`,tabIndex:0,"aria-label":`Show info for ${e}`,role:"button",children:_.jsx(tb,{className:"h-4 w-4 text-blue-400 hover:text-blue-600"})}),_.jsx($c,{id:`tooltip-dataset-${e}`,place:"top",className:"z-[10000] max-w-xs !opacity-100 bg-base-100 text-base-content",style:{boxShadow:"0 0 10px rgba(0,0,0,0.2)",zIndex:1e4},openOnClick:!1,clickable:!0,delayHide:200,positionStrategy:"fixed",children:_.jsxs("div",{className:"p-2 text-xs text-left relative z-[10000]",children:[_.jsx("div",{className:"font-semibold mb-1",children:i}),_.jsx("div",{className:"mb-2 whitespace-pre-line",children:a||"No description available."}),_.jsxs("div",{className:"flex space-x-4",children:[o&&_.jsx("div",{children:_.jsxs("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"text-blue-400 hover:text-blue-300 underline flex items-center",children:[_.jsx(eb,{className:"h-3 w-3 mr-1"}),"Paper"]})}),u&&_.jsx("div",{children:_.jsxs("a",{href:u,target:"_blank",rel:"noopener noreferrer",className:"text-blue-400 hover:text-blue-300 underline flex items-center",children:[_.jsx(yP,{className:"h-3 w-3 mr-1"}),"GitHub"]})})]})]})})]}):null},A$=({datasetNames:e,selectedDatasetName:t,onDatasetNameChange:n})=>_.jsx("div",{className:"",children:_.jsxs("fieldset",{className:"fieldset w-full p-4 rounded border border-gray-700 bg-base-200",children:[_.jsx("legend",{className:"fieldset-legend font-semibold",children:"Dataset"}),_.jsx("div",{className:"flex flex-wrap gap-2",children:e.map(r=>_.jsxs("label",{className:"flex items-center cursor-pointer",children:[_.jsx("input",{type:"radio",name:"dataset",className:"radio radio-sm",checked:t===r,onChange:()=>n(r)}),_.jsx("span",{className:"text-sm ml-2",children:r}),_.jsx(_$,{datasetName:r})]},r))})]})});function C$({title:e,titleId:t,...n},r){return A.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?A.createElement("title",{id:t},e):null,A.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v11.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 1 1 1.06-1.06l3.22 3.22V3a.75.75 0 0 1 .75-.75Zm-9 13.5a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"}))}const O$=A.forwardRef(C$),pp=({metricName:e})=>{const[t,n]=A.useState(!1),r=A.useRef(bn.getInstance());A.useEffect(()=>{r.current.load().then(()=>n(!0))},[]);const i=r.current.getMetricFullName(e)||e,a=r.current.getMetricDescription(e),o=r.current.getMetricUrl(e);return a?_.jsxs(_.Fragment,{children:[_.jsx("span",{className:"ml-1 cursor-pointer","data-tooltip-id":`tooltip-metric-${e}`,tabIndex:0,"aria-label":`Show info for ${e}`,role:"button",children:_.jsx(tb,{className:"h-4 w-4 text-blue-400 hover:text-blue-600"})}),_.jsx($c,{id:`tooltip-metric-${e}`,place:"top",className:"z-[10000] max-w-xs !opacity-100 bg-base-100 text-base-content",style:{boxShadow:"0 0 10px rgba(0,0,0,0.2)",zIndex:1e4},positionStrategy:"fixed",clickable:!0,children:_.jsxs("div",{className:"p-2 text-xs text-left relative z-[10000]",children:[_.jsx("div",{className:"font-semibold mb-1",children:i}),_.jsx("div",{className:"whitespace-pre-line mb-2",children:a}),o&&_.jsx("div",{children:_.jsxs("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"text-blue-400 hover:text-blue-300 underline flex items-center",children:[_.jsx(eb,{className:"h-3 w-3 mr-1"}),"Link"]})})]})})]}):null},P$=({qualityMetrics:e,tableHeader:t,selectedModels:n,tableRows:r})=>{const[i,a]=A.useState(null),[o,u]=A.useState(null),[s,l]=A.useState(!1),c=A.useRef(bn.getInstance());A.useEffect(()=>{c.current.load().then(()=>l(!0))},[]);const f=b=>{a(m=>!m||m.metric!==b?{metric:b,direction:"asc"}:m.direction==="asc"?{metric:b,direction:"desc"}:null)},d=b=>{u(m=>!m||m.model!==b?{model:b,direction:"asc"}:m.direction==="asc"?{model:b,direction:"desc"}:null)};let h=t.filter(b=>n.has(b));i&&(h=[...h].sort((b,m)=>{const v=r.find(x=>x.metric===i.metric);if(!v)return 0;const E=Number(v[b]),S=Number(v[m]);return isNaN(E)&&isNaN(S)?0:isNaN(E)?1:isNaN(S)?-1:i.direction==="asc"?E-S:S-E}));let p=[...e];o&&(p=[...p].sort((b,m)=>{const v=r.find(w=>w.metric===b),E=r.find(w=>w.metric===m);if(!v||!E)return 0;const S=Number(v[o.model]),x=Number(E[o.model]);return isNaN(S)&&isNaN(x)?0:isNaN(S)?1:isNaN(x)?-1:o.direction==="asc"?S-x:x-S}));function g(){const b=["Quality Metric",...h.map(w=>s&&c.current.getModelAlias(w)||w)],m=p.map(w=>{const T=r.find(O=>O.metric===w);return T?[w,...h.map(O=>{const N=T[O];return isNaN(Number(N))?N:Number(Number(N).toFixed(3))})]:null}).filter(w=>!!w),v=[b,...m].map(w=>w.map(T=>`"${String(T).replace(/"/g,'""')}"`).join(",")).join(`
|
48 |
`),E=new Blob([v],{type:"text/csv"}),S=URL.createObjectURL(E),x=document.createElement("a");x.href=S,x.download="quality_metrics.csv",document.body.appendChild(x),x.click(),document.body.removeChild(x),URL.revokeObjectURL(S)}return e.length===0?null:_.jsxs("div",{className:"max-h-[80vh]",children:[_.jsx("div",{className:"flex justify-end",children:_.jsx("button",{className:"btn btn-ghost btn-circle",title:"Export CSV",onClick:g,children:_.jsx(I4,{className:"h-6 w-6"})})}),_.jsxs("table",{className:"table w-full min-w-max border-gray-700 border",children:[_.jsx("thead",{children:_.jsxs("tr",{children:[_.jsx("th",{className:"sticky left-0 top-0 bg-base-100 z-20 border-gray-700 border",children:"Quality Metric"}),h.map(b=>{const m=o&&o.model===b,v=m?o.direction:void 0;return _.jsxs("th",{className:"sticky top-0 bg-base-100 z-10 text-center text-xs border-gray-700 border cursor-pointer select-none",onClick:()=>d(b),title:m?v==="asc"?"Sort descending":"Clear sort":"Sort by this column",children:[s&&c.current.getModelAlias(b)||b,_.jsx("span",{className:"ml-1",children:m?v==="asc"?"β":"β":"β
"})]},`quality-${b}`)})]})}),_.jsx("tbody",{children:p.map(b=>{const m=r.find(S=>S.metric===b);if(!m)return null;const v=i&&i.metric===b,E=v?i.direction:void 0;return _.jsxs("tr",{className:"hover:bg-base-100 hover:z-30 relative",children:[_.jsx("td",{className:"sticky left-0 bg-base-100 z-10 hover:z-40 border-gray-700 border cursor-pointer select-none pr-4",onClick:()=>f(b),title:v?E==="asc"?"Sort descending":"Clear sort":"Sort by this row (sorts columns)",children:_.jsxs("div",{className:"flex items-center",children:[_.jsx("span",{className:"inline-block",children:b}),_.jsx(pp,{metricName:b}),_.jsx("span",{className:"ml-auto",children:v?E==="asc"?"β":"β":"β"})]})}),h.map(S=>{const x=m[S];return _.jsx("td",{className:"text-center border-gray-700 border hover:z-40 relative",children:isNaN(Number(x))?x:Number(Number(x).toFixed(3))},`quality-${b}-${S}`)})]},`quality-${b}`)})})]})]})};/**
|
49 |
* table-core
|
50 |
*
|
frontend/dist/index.html
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
<title>π₯ Omni Seal Bench Watermarking Leaderboard</title>
|
8 |
-
<script type="module" crossorigin src="/assets/index-
|
9 |
<link rel="stylesheet" crossorigin href="/assets/index-stFRue7K.css">
|
10 |
</head>
|
11 |
<body>
|
|
|
5 |
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
<title>π₯ Omni Seal Bench Watermarking Leaderboard</title>
|
8 |
+
<script type="module" crossorigin src="/assets/index-DHpVfhfA.js"></script>
|
9 |
<link rel="stylesheet" crossorigin href="/assets/index-stFRue7K.css">
|
10 |
</head>
|
11 |
<body>
|