PageSourceSearch

https://mobilal-ecg-echo-screening.hf.space/static/js/8237.210a5ac4.chunk.js

js mobilal-ecg-echo-screening.hf.space collected 2026-10-03 17:08:01 UTC 15,394 bytes, 1 lines download raw bytes

vendor: 6,839 bytes, line 1
1"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[8237],{78237:(e,o,l)=>{l.r(o),l.d(o,{default:()=>w});var t=l(58878),n=l(8151),i=l(43978),r=l(29669),s=l(22044),c=l(25571),a=l(34752),d=l(37638),p=l.n(d),u=l(58144),h=l(67253),m=l(84996);function f(e,o,l){return e=function(e,o){return(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll("#000032",(0,u.$E)(o))).replaceAll("#000033",(0,u.pf)(o))).replaceAll("#000034",(0,u.iq)(o)?o.colors.blue80:o.colors.blue40)).replaceAll("#000035",(0,u.V9)(o))).replaceAll("#000036",(0,u.lH)(o))).replaceAll("#000037",(0,u.ZA)(o))).replaceAll("#000038",o.colors.bgColor)).replaceAll("#000039",o.colors.fadedText05)).replaceAll("#000040",o.colors.bgMix)}(e,o),e=function(e,o,l){const t="#000001",n="#000002",i="#000003",r="#000004",s="#000005",c="#000006",a="#000007",d="#000008",p="#000009",h="#000010";if("streamlit"===l){const l=(0,u.c6)(o);e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(t,l[0])).replaceAll(n,l[1])).replaceAll(i,l[2])).replaceAll(r,l[3])).replaceAll(s,l[4])).replaceAll(c,l[5])).replaceAll(a,l[6])).replaceAll(d,l[7])).replaceAll(p,l[8])).replaceAll(h,l[9])}else e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(t,"#636efa")).replaceAll(n,"#EF553B")).replaceAll(i,"#00cc96")).replaceAll(r,"#ab63fa")).replaceAll(s,"#FFA15A")).replaceAll(c,"#19d3f3")).replaceAll(a,"#FF6692")).replaceAll(d,"#B6E880")).replaceAll(p,"#FF97FF")).replaceAll(h,"#FECB52");return e}(e,o,l),e=function(e,o,l){const t="#000011",n="#000012",i="#000013",r="#000014",s="#000015",c="#000016",a="#000017",d="#000018",p="#000019",h="#000020";if("streamlit"===l){const l=(0,u.rp)(o);e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(t,l[0])).replaceAll(n,l[1])).replaceAll(i,l[2])).replaceAll(r,l[3])).replaceAll(s,l[4])).replaceAll(c,l[5])).replaceAll(a,l[6])).replaceAll(d,l[7])).replaceAll(p,l[8])).replaceAll(h,l[9])}else e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(t,"#0d0887")).replaceAll(n,"#46039f")).replaceAll(i,"#7201a8")).replaceAll(r,"#9c179e")).replaceAll(s,"#bd3786")).replaceAll(c,"#d8576b")).replaceAll(a,"#ed7953")).replaceAll(d,"#fb9f3a")).replaceAll(p,"#fdca26")).replaceAll(h,"#f0f921");return e}(e,o,l),e=function(e,o,l){const t="#000021",n="#000022",i="#000023",r="#000024",s="#000025",c="#000026",a="#000027",d="#000028",p="#000029",h="#000030",m="#000031";if("streamlit"===l){const l=(0,u.vk)(o);e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(t,l[0])).replaceAll(n,l[1])).replaceAll(i,l[2])).replaceAll(r,l[3])).replaceAll(s,l[4])).replaceAll(c,l[5])).replaceAll(a,l[6])).replaceAll(d,l[7])).replaceAll(p,l[8])).replaceAll(h,l[9])).replaceAll(m,l[10])}else e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll(t,"#8e0152")).replaceAll(n,"#c51b7d")).replaceAll(i,"#de77ae")).replaceAll(r,"#f1b6da")).replaceAll(s,"#fde0ef")).replaceAll(c,"#f7f7f7")).replaceAll(a,"#e6f5d0")).replaceAll(d,"#b8e186")).replaceAll(p,"#7fbc41")).replaceAll(h,"#4d9221")).replaceAll(m,"#276419");return e}(e,o,l),e}function g(e,o){try{!function(e,o){const{genericFonts:l,colors:t,fontSizes:n}=o,i={font:{color:(0,u.lH)(o),family:l.bodyFont,size:n.twoSmPx},title:{color:t.headingColor,subtitleColor:t.bodyText,font:{family:l.headingFont,size:n.mdPx,color:t.headingColor},pad:{l:o.spacing.twoXSPx},xanchor:"left",x:0},legend:{title:{font:{size:n.twoSmPx,color:(0,u.lH)(o)},side:"top"},valign:"top",bordercolor:t.transparent,borderwidth:o.spacing.nonePx,font:{size:n.twoSmPx,color:(0,u.ZA)(o)}},paper_bgcolor:t.bgColor,plot_bgcolor:t.bgColor,yaxis:{ticklabelposition:"outside",zerolinecolor:(0,u.V9)(o),title:{font:{color:(0,u.lH)(o),size:n.smPx},standoff:o.spacing.twoXLPx},tickcolor:(0,u.V9)(o),tickfont:{color:(0,u.lH)(o),size:n.twoSmPx},gridcolor:(0,u.V9)(o),minor:{gridcolor:(0,u.V9)(o)},automargin:!0},xaxis:{zerolinecolor:(0,u.V9)(o),gridcolor:(0,u.V9)(o),showgrid:!1,tickfont:{color:(0,u.lH)(o),size:n.twoSmPx},tickcolor:(0,u.V9)(o),title:{font:{color:(0,u.lH)(o),size:n.smPx},standoff:o.spacing.xlPx},minor:{gridcolor:(0,u.V9)(o)},zeroline:!1,automargin:!0,rangeselector:{bgcolor:t.bgColor,bordercolor:(0,u.V9)(o),borderwidth:1,x:0}},margin:{pad:o.spacing.smPx,r:o.spacing.nonePx,l:o.spacing.nonePx},hoverlabel:{bgcolor:t.bgColor,bordercolor:t.borderColor,font:{color:(0,u.lH)(o),family:l.bodyFont,size:n.twoSmPx}},coloraxis:{colorbar:{thickness:16,xpad:o.spacing.twoXLPx,ticklabelposition:"outside",outlinecolor:t.transparent,outlinewidth:8,len:.75,y:.5745,title:{font:{color:(0,u.lH)(o),size:n.smPx}},tickfont:{color:(0,u.lH)(o),size:n.twoSmPx}}},ternary:{gridcolor:(0,u.lH)(o),bgcolor:t.bgColor,title:{font:{family:l.bodyFont,size:n.smPx}},color:(0,u.lH)(o),aaxis:{gridcolor:(0,u.lH)(o),linecolor:(0,u.lH)(o),tickfont:{family:l.bodyFont,size:n.twoSmPx}},baxis:{linecolor:(0,u.lH)(o),gridcolor:(0,u.lH)(o),tickfont:{family:l.bodyFont,size:n.twoSmPx}},caxis:{linecolor:(0,u.lH)(o),gridcolor:(0,u.lH)(o),tickfont:{family:l.bodyFont,size:n.twoSmPx}}}};p()(e,i)}(e.layout.template.layout,o)}catch(l){const e=(0,h.$)(l);(0,m.vV)(e)}"title"in e.layout&&(e.layout.title=p()(e.layout.title,{text:`<b>${e.layout.title.text}</b>`}))}var y=l(90782);const x={width:600,height:470,name:"fullscreen-expand",path:"M32 32C14.3 32 0 46.3 0 64v96c0 17.7 14.3 32 32 32s32-14.3 32-32V96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V352zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H320zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V352z"},v={width:600,height:470,name:"fullscreen-collapse",path:"M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V64zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32H96v64c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32H32zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V64zM320 320c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320z"};function A(e,o,l){const t=JSON.parse(f(JSON.stringify(e),l,o));return"streamlit"===o?g(t,l):t.layout=function(e,o){const{colors:l,genericFonts:t}=o,n={font:{color:l.bodyText,family:t.bodyFont},paper_bgcolor:l.bgColor,plot_bgcolor:l.secondaryBg};return{...e,font:{...n.font,...e.font},paper_bgcolor:e.paper_bgcolor||n.paper_bgcolor,plot_bgcolor:e.plot_bgcolor||n.plot_bgcolor}}(t.layout,l),t}function b(e,o,l,t){if(!e)return;const n={selection:{points:[],point_indices:[],box:[],lasso:[]}},i=new Set,s=[],a=[],d=[],{selections:p,points:u}=e;if(u&&u.forEach((function(e){d.push({...e,legendgroup:e.data.legendgroup||void 0,data:void 0,fullData:void 0}),(0,c.se)(e.pointIndex)&&i.add(e.pointIndex),(0,c.se)(e.pointIndices)&&e.pointIndices.length>
10&&e.pointIndices.forEach((e=>i.add(e)))})),p&&p.forEach((e=>{if("rect"===e.type){const o=function(e){return"x0"in e&&"x1"in e&&"y0"in e&&"y1"in e?{x:[e.x0,e.x1],y:[e.y0,e.y1]}:{x:[],y:[]}}(e),l={xref:e.xref,yref:e.yref,x:o.x,y:o.y};s.push(l)}if("path"===e.type){const o=function(e){if(""===e)return{x:[],y:[]};const o=e.replace("M","").replace("Z","").split("L"),l=[],t=[];return o.forEach((e=>{const[o,n]=e.split(",").map(Number);l.push(o),t.push(n)})),{x:l,y:t}}(e.path),l={xref:e.xref,yref:e.yref,x:o.x,y:o.y};a.push(l)}})),n.selection.point_indices=Array.from(i),n.selection.points=d.map((e=>(0,c.wJ)(e))),n.selection.box=s,n.selection.lasso=a,n.selection.box.length>0&&!l.selectionMode.includes(r.P_.SelectionMode.BOX))return;if(n.selection.lasso.length>0&&!l.selectionMode.includes(r.P_.SelectionMode.LASSO))return;const h=o.getStringValue(l),m=JSON.stringify(n);h!==m&&o.setStringValue(l,m,{fromUi:!0},t)}const w=(0,s.A)((function(e){var o,l,s,c,d;let{element:p,width:u,height:h,widgetMgr:m,disabled:f,fragmentId:g,isFullScreen:w,expand:S,collapse:z,disableFullscreenMode:F}=e;const C=(0,n.u)(),M=(0,t.useMemo)((()=>p.spec?JSON.parse(p.spec):{layout:{},data:[],frames:void 0}),[p.id,p.spec]),[P,H]=(0,t.useState)((()=>{const e=m.getElementState(p.id,"figure");return e||A(M,p.theme,C)})),k=p.selectionMode.length>0&&!f,I=k&&p.selectionMode.includes(r.P_.SelectionMode.LASSO),V=k&&p.selectionMode.includes(r.P_.SelectionMode.BOX),E=k&&p.selectionMode.includes(r.P_.SelectionMode.POINTS),_=(0,t.useMemo)((()=>{if(!p.config)return{};const e=JSON.parse(p.config);var o;F||(e.modeBarButtonsToAdd=[{name:w?"Close fullscreen":"Fullscreen",icon:w?v:x,click:()=>{w&&z?z():S&&S()}},...null!==(o=e.modeBarButtonsToAdd)&&void 0!==o?o:[]]);if(!e.modeBarButtonsToRemove){e.displaylogo=!1;const o=["sendDataToCloud"];k?(I||o.push("lasso2d"),V||o.push("select2d")):o.push("lasso2d","select2d"),e.modeBarButtonsToRemove=o}return e}),[p.id,p.config,w,F,k,I,V,z,S]);(0,t.useEffect)((()=>{H((e=>A(e,p.theme,C)))}),[p.id,C,p.theme]),(0,t.useEffect)((()=>{let e=M.layout.clickmode,o=M.layout.hovermode,l=M.layout.dragmode;f?(e="none",l="pan"):k&&(M.layout.clickmode||(e=E?"event+select":"none"),M.layout.hovermode||(o="closest"),M.layout.dragmode||(l=E?"pan":V?"select":I?"lasso":"pan")),H((t=>t.layout.clickmode===e&&t.layout.hovermode===o&&t.layout.dragmode===l?t:{...t,layout:{...t.layout,clickmode:e,hovermode:o,dragmode:l}}))}),[p.id,k,E,V,I,f]);let L=-1===u?null===(o=P.layout)||void 0===o?void 0:o.width:Math.max(p.useContainerWidth?u:Math.min(null!==(l=M.layout.width)&&void 0!==l?l:u,u),150),T=M.layout.height;w&&(L=u,T=h),P.layout.height===T&&P.layout.width===L||H((e=>({...e,layout:{...e.layout,height:T,width:L}})));const W=(0,t.useCallback)((e=>{b(e,m,p,g)}),[p.id,m,g]),B=(0,t.useCallback)((function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];!function(e,o,l){const t=e.getStringValue(o),n=JSON.stringify({selection:{points:[],point_indices:[],box:[],lasso:[]}});t!==n&&e.setStringValue(o,n,{fromUi:!0},l)}(m,p,g),e&&setTimeout((()=>{H((e=>({...e,data:e.data.map((e=>({...e,selectedpoints:null}))),layout:{...e.layout,selections:[]}})))}),50)}),[p.id,m,g]);return(0,t.useEffect)((()=>{if(!p.formId||!k)return;const e=new a.o;return e.manageFormClearListener(m,p.formId,B),()=>{e.disconnect()}}),[p.formId,m,k,B]),(0,t.useEffect)((()=>{var e,o,l;if(!k)return;let t;t="select"===(null===(e=P.layout)||void 0===e?void 0:e.dragmode)||"lasso"===(null===(o=P.layout)||void 0===o?void 0:o.dragmode)?"event":E?"event+select":"none",(null===(l=P.layout)||void 0===l?void 0:l.clickmode)!==t&&H((e=>({...e,layout:{...e.layout,clickmode:t}})))}),[null===(s=P.layout)||void 0===s?void 0:s.dragmode]),(0,y.jsx)("div",{className:"stPlotlyChart","data-testid":"stPlotlyChart",children:(0,y.jsx)(i.A,{data:P.data,layout:P.layout,config:_,frames:null!==(c=P.frames)&&void 0!==c?c:void 0,style:{visibility:void 0===(null===(d=P.layout)||void 0===d?void 0:d.width)?"hidden":void 0},onSelected:k?W:()=>{},onDoubleClick:k?()=>B():void 0,onDeselect:k?()=>{B(!1)}:void 0,onInitialized:e=>{m.setElementState(p.id,"figure",e)},onUpdate:e=>{m.setElementState(p.id,"figure",e),H(e)}},w?"fullscreen":"original")})}),!0)},22044:(e,o,l)=>{l.d(o,{A:()=>y});var t=l(58878),n=l(53124),i=l.n(n),r=l(8151),s=l(41514),c=l(67214),a=l(64611),d=l(84152),p=l(89653);const u=(0,p.A)("button",{target:"e1vs0wn31"})((e=>{let{isExpanded:o,theme:l}=e;const t=o?{right:"0.4rem",top:"0.5rem",backgroundColor:"transparent"}:{right:"-3.0rem",top:"-0.375rem",opacity:0,transform:"scale(0)",backgroundColor:l.colors.lightenedBg05};return{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",zIndex:l.zIndices.sidebar+1,height:"2.5rem",width:"2.5rem",transition:"opacity 300ms 150ms, transform 300ms 150ms",border:"none",color:l.colors.fadedText60,borderRadius:"50%",...t,"&:focus":{outline:"none"},"&:active, &:focus-visible, &:hover":{opacity:1,outline:"none",transform:"scale(1)",color:l.colors.bodyText,transition:"none"}}}),""),h=(0,p.A)("div",{target:"e1vs0wn30"})((e=>{let{theme:o,isExpanded:l}=e;return{"&:hover":{[u]:{opacity:1,transform:"scale(1)",transition:"none"}},...l?{position:"fixed",top:0,left:0,bottom:0,right:0,background:o.colors.bgColor,zIndex:o.zIndices.fullscreenWrapper,padding:o.spacing.md,paddingTop:o.sizes.fullScreenHeaderHeight,overflow:["auto","overlay"],display:"flex",alignItems:"center",justifyContent:"center"}:{}}}),"");var m=l(90782);class f extends t.PureComponent{constructor(e){super(e),this.context=void 0,this.controlKeys=e=>{const{expanded:o}=this.state;
127===e.keyCode&&o&&this.zoomOut()},this.zoomIn=()=>{document.body.style.overflow="hidden",this.context.setFullScreen(!0),this.setState({expanded:!0})},this.zoomOut=()=>{document.body.style.overflow="unset",this.context.setFullScreen(!1),this.setState({expanded:!1})},this.convertScssRemValueToPixels=e=>parseFloat(e)*parseFloat(getComputedStyle(document.documentElement).fontSize),this.getWindowDimensions=()=>{const e=this.convertScssRemValueToPixels(this.props.theme.spacing.md),o=this.convertScssRemValueToPixels(this.props.theme.sizes.fullScreenHeaderHeight);return{fullWidth:window.innerWidth-2*e,fullHeight:window.innerHeight-(e+o)}},this.updateWindowDimensions=()=>{this.setState(this.getWindowDimensions())},this.state={expanded:!1,...this.getWindowDimensions()}}componentDidMount(){window.addEventListener("resize",this.updateWindowDimensions),document.addEventListener("keydown",this.controlKeys,!1)}componentWillUnmount(){window.removeEventListener("resize",this.updateWindowDimensions),document.removeEventListener("keydown",this.controlKeys,!1)}render(){const{expanded:e,fullWidth:o,fullHeight:l}=this.state,{children:t,width:n,height:i,disableFullscreenMode:r}=this.props;let d=s.u,p=this.zoomIn,f="View fullscreen";return e&&(d=c.Q,p=this.zoomOut,f="Exit fullscreen"),(0,m.jsxs)(h,{isExpanded:e,"data-testid":"stFullScreenFrame",children:[!r&&(0,m.jsx)(u,{"data-testid":"StyledFullScreenButton",onClick:p,title:f,isExpanded:e,children:(0,m.jsx)(a.A,{content:d})}),t(e?{width:o,height:l,expanded:e,expand:this.zoomIn,collapse:this.zoomOut}:{width:n,height:i,expanded:e,expand:this.zoomIn,collapse:this.zoomOut})]})}}f.contextType=d.n;const g=(0,r.b)(f);const y=function(e){let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];class l extends t.PureComponent{constructor(){super(...arguments),this.render=()=>{const{width:l,height:t,disableFullscreenMode:n}=this.props;return(0,m.jsx)(g,{width:l,height:t,disableFullscreenMode:o||n,children:o=>{let{width:l,height:t,expanded:n,expand:i,collapse:r}=o;return(0,m.jsx)(e,{...this.props,width:l,height:t,isFullScreen:n,expand:i,collapse:r})}})}}}return l.displayName=`withFullScreenWrapper(${e.displayName||e.name})`,i()(l,e)}},34752:(e,o,l)=>{l.d(o,{X:()=>r,o:()=>i});var t=l(58878),n=l(25571);class i{constructor(){this.formClearListener=void 0,this.lastWidgetMgr=void 0,this.lastFormId=void 0}manageFormClearListener(e,o,l){(0,n.se)(this.formClearListener)&&this.lastWidgetMgr===e&&this.lastFormId===o||(this.disconnect(),(0,n._L)(o)&&(this.formClearListener=e.addFormClearedListener(o,l),this.lastWidgetMgr=e,this.lastFormId=o))}disconnect(){var e;null===(e=this.formClearListener)||void 0===e||e.disconnect(),this.formClearListener=void 0,this.lastWidgetMgr=void 0,this.lastFormId=void 0}}function r(e){let{element:o,widgetMgr:l,onFormCleared:i}=e;(0,t.useEffect)((()=>{if(!(0,n._L)(o.formId))return;const e=l.addFormClearedListener(o.formId,i);return()=>{e.disconnect()}}),[o,l,i])}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.