PageSourceSearch

https://runtheday.com/_next/static/chunks/8398-30744569fbaec94d.js

js runtheday.com collected 2026-10-01 13:52:01 UTC 4,710 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8398],{38398:function(r,e,t){t.d(e,{XS:function(){return O},ZP:function(){return S}});var o=t(1119),n=t(74610),i=t(2265),a=t(61994),l=t(20801),s=t(15988),u=t(27835),p=t(16210),c=t(37053),f=t(24801),v=t(2262),h=t(77636),d=t(60118),m=t(78826),P=t(76501),Z=t(8516),g=t(94143),b=t(50738);function y(r){return(0,b.ZP)("MuiPopover",r)}(0,g.Z)("MuiPopover",["root","paper"]);var w=t(57437),x=["onEntering"],E=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],z=["slotProps"];function k(r,e){var t=0;return"number"==typeof e?t=e:"center"===e?t=r.height/2:"bottom"===e&&(t=r.height),t}function C(r,e){var t=0;return"number"==typeof e?t=e:"center"===e?t=r.width/2:"right"===e&&(t=r.width),t}function T(r){return[r.horizontal,r.vertical].map(r=>"number"==typeof r?"".concat(r,"px"):r).join(" ")}function M(r){return"function"==typeof r?r():r}var R=r=>{var{classes:e}=r;return(0,l.Z)({root:["root"],paper:["paper"]},y,e)},N=(0,p.ZP)(P.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(r,e)=>e.root})({}),O=(0,p.ZP)(Z.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(r,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),S=i.forwardRef(function(r,e){var t,l,p,P=(0,c.i)({props:r,name:"MuiPopover"}),{action:Z,anchorEl:g,anchorOrigin:b={vertical:"top",horizontal:"left"},anchorPosition:y,anchorReference:S="anchorEl",children:H,className:L,container:j,elevation:W=8,marginThreshold:_=16,open:D,PaperProps:X={},slots:A,slotProps:B,transformOrigin:F={vertical:"top",horizontal:"left"},TransitionComponent:I=m.Z,transitionDuration:Y="auto",TransitionProps:{onEntering:q}={},disableScrollLock:G=!1}=P,J=(0,n.Z)(P.TransitionProps,x),K=(0,n.Z)(P,E),Q=null!=(t=null==B?void 0:B.paper)?t:X,U=i.useRef(),V=(0,d.Z)(U,Q.ref),$=(0,o.Z)({},P,{anchorOrigin:b,anchorReference:S,elevation:W,marginThreshold:_,externalPaperSlotProps:Q,transformOrigin:F,TransitionComponent:I,transitionDuration:Y,TransitionProps:J}),rr=R($),re=i.useCallback(()=>{if("anchorPosition"===S)return y;var r=M(g),e=(r&&1===r.nodeType?r:(0,v.Z)(U.current).body).getBoundingClientRect();return{top:e.top+k(e,b.vertical),left:e.left+C(e,b.horizontal)}},[g,b.horizontal,b.vertical,y,S]),rt=i.useCallback(r=>({vertical:k(r,F.vertical),horizontal:C(r,F.horizontal)}),[F.horizontal,F.vertical]),ro=i.useCallback(r=>{var e={width:r.offsetWidth,height:r.offsetHeight},t=rt(e);if("none"===S)return{top:null,left:null,transformOrigin:T(t)};var o=re(),n=o.top-t.vertical,i=o.left-t.horizontal,a=n+e.height,l=i+e.width,s=(0,h.Z)(M(g)),u=s.innerHeight-_,p=s.innerWidth-_;if(null!==_&&n<_){var c=n-_;n-=c,t.vertical+=c}else if(null!==_&&a>u){var f=a-u;n-=f,t.vertical+=f}if(null!==_&&i<_){var v=i-_;i-=v,t.horizontal+=v}else if(l>p){var d=l-p;i-=d,t.horizontal+=d}return{top:"".concat(Math.round(n),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:T(t)}},[g,S,re,rt,_]),[rn,ri]=i.useState(D),ra=i.useCallback(()=>{var r=U.current;if(r){var e=ro(r);null!==e.top&&(r.style.top=e.top),null!==e.left&&(r.style.left=e.left),r.style.transformOrigin=e.transformOrigin,ri(!0)}},[ro]);i.useEffect(()=>(G&&window.addEventListener("scroll",ra),()=>window.removeEventListener("scroll",ra)),[g,G,ra]),i.useEffect(()=>{D&&ra()}),i.useImperativeHandle(Z,()=>D?{updatePosition:()=>{ra()}}:null,[D,ra]),i.useEffect(()=>{if(D){var r=(0,f.Z)(()=>{ra()}),e=(0,h.Z)(g);return e.addEventListener("resize",r),()=>{r.clear(),e.removeEventListener("resize",r)}}},[g,D,ra]);var rl=Y;"auto"!==Y||I.muiSupportAuto||(rl=void 0);var rs=j||(g?(0,v.Z)(M(g)).body:void 0),ru=null!=(l=null==A?void 0:A.root)?l:N,rp=null!=(p=null==A?void 0:A.paper)?p:O,rc=(0,s.Z)({elementType:rp,externalSlotProps:(0,o.Z)({},Q,{style:rn?Q.style:(0,o.Z)({},Q.style,{opacity:0})}),additionalProps:{elevation:W,ref:V},ownerState:$,className:(0,a.Z)(rr.paper,null==Q?void 0:Q.className)}),rf=(0,s.Z)({elementType:ru,externalSlotProps:(null==B?void 0:B.root)||{},externalForwardedProps:K,additionalProps:{ref:e,slotProps:{backdrop:{invisible:!0}},container:rs,open:D},ownerState:$,className:(0,a.Z)(rr.root,L)}),{slotProps:rv}=rf,rh=(0,n.Z)(rf,z);return(0,w.jsx)(ru,(0,o.Z)({},rh,!(0,u.Z)(ru)&&{slotProps:rv,disableScrollLock:G},{children:(0,w.jsx)(I,(0,o.Z)({appear:!0,in:D,onEntering:(r,e)=>{q&&q(r,e),ra()},onExited:()=>{ri(!1)},timeout:rl},J,{children:(0,w.jsx)(rp,(0,o.Z)({},rc,{children:H}))}))}))})}}]);

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.