PageSourceSearch

https://ofw.ourfamilywizard.com/app/assets/requests-DfjiUeOb.js

js ourfamilywizard.com collected 2026-10-01 11:43:56 UTC 16,563 bytes, 1 lines download raw bytes

1import{as as bt,at as ft,r as i,au as St,af as z,j as f,s as j,ax as $t,ay as ht,aD as Nt,az as mt,aG as fo,ev as jt,aM as Ft,aT as Ht,aQ as rt,u as So,aJ as ut,aC as X,fE as ho,aL as mo,b as vo,h as yo,fF as xo,bu as Dt,bt as q,bs as Xt}from"./WarningIcon-hckcyQCq.js";import{a as go,K as wo}from"./DynamicDropdown-DSzCpNpi.js";import{M as Bo,E as Co}from"./EmptyResults-Cwc19cZ1.js";function To(o){return ft("MuiTab",o)}const x=bt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),Io=o=>{const{classes:t,textColor:r,fullWidth:c,wrapped:a,icon:d,label:b,selected:S,disabled:p}=o,m={root:["root",d&&b&&"labelIcon",`textColor${$t(r)}`,c&&"fullWidth",a&&"wrapped",S&&"selected",p&&"disabled"],icon:["iconWrapper","icon"]};return ht(m,To,t)},Eo=j(Nt,{name:"MuiTab",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${$t(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{[`& .${x.iconWrapper}`]:t.iconWrapper},{[`& .${x.icon}`]:t.icon}]}})(mt(({theme:o})=>({...o.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="top",style:{[`& > .${x.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="bottom",style:{[`& > .${x.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="start",style:{[`& > .${x.icon}`]:{marginRight:o.spacing(1)}}},{props:({ownerState:t,iconPosition:r})=>t.icon&&t.label&&r==="end",style:{[`& > .${x.icon}`]:{marginLeft:o.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${x.selected}`]:{opacity:1},[`&.${x.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(o.vars||o).palette.text.secondary,[`&.${x.selected}`]:{color:(o.vars||o).palette.primary.main},[`&.${x.disabled}`]:{color:(o.vars||o).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(o.vars||o).palette.text.secondary,[`&.${x.selected}`]:{color:(o.vars||o).palette.secondary.main},[`&.${x.disabled}`]:{color:(o.vars||o).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:o.typography.pxToRem(12)}}]}))),Jo=i.forwardRef(function(t,r){const c=St({props:t,name:"MuiTab"}),{className:a,disabled:d=!1,disableFocusRipple:b=!1,fullWidth:S,icon:p,iconPosition:m="top",indicator:v,label:y,onChange:h,onClick:B,onFocus:L,selected:C,selectionFollowsFocus:g,textColor:Q="inherit",value:E,wrapped:nt=!1,...P}=c,F={...c,disabled:d,disableFocusRipple:b,selected:C,icon:!!p,iconPosition:m,label:!!y,fullWidth:S,textColor:Q,wrapped:nt},V=Io(F),K=p&&y&&i.isValidElement(p)?i.cloneElement(p,{className:z(V.icon,p.props.className)}):p,J=M=>{!C&&h&&h(M,E),B&&B(M)},H=M=>{g&&!C&&h&&h(M,E),L&&L(M)};return f.jsxs(Eo,{focusRipple:!b,className:z(V.root,a),ref:r,role:"tab","aria-selected":C,disabled:d,onClick:J,onFocus:H,ownerState:F,tabIndex:C?0:-1,...P,children:[m==="top"||m==="start"?f.jsxs(i.Fragment,{children:[K,y]}):f.jsxs(i.Fragment,{children:[y,K]}),v]})});function Po(o){return(1+Math.sin(Math.PI*o-Math.PI/2))/2}function Mo(o,t,r,c={},a=()=>{}){const{ease:d=Po,duration:b=300}=c;let S=null;const p=t[o];let m=!1;const v=()=>{m=!0},y=h=>{if(m){a(new Error("Animation cancelled"));return}S===null&&(S=h);const B=Math.min(1,(h-S)/b);if(t[o]=d(B)*(r-p)+p,B>=1){requestAnimationFrame(()=>{a(null)});return}requestAnimationFrame(y)};return p===r?(a(new Error("Element already at target position")),v):(requestAnimationFrame(y),v)}const Ro={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function ko(o){const{onChange:t,...r}=o,c=i.useRef(),a=i.useRef(null),d=()=>{c.current=a.current.offsetHeight-a.current.clientHeight};return fo(()=>{const b=jt(()=>{const p=c.current;d(),p!==c.current&&t(c.current)}),S=Ft(a.current);return S.addEventListener("resize",b),()=>{b.clear(),S.removeEventListener("resize",b)}},[t]),i.useEffect(()=>{d(),t(c.current)},[t]),f.jsx("div",{style:Ro,...r,ref:a})}function Wo(o){return ft("MuiTabScrollButton",o)}const zo=bt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Lo=o=>{const{classes:t,orientation:r,disabled:c}=o;return ht({root:["root",r,c&&"disabled"]},Wo,t)},Ao=j(Nt,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.orientation&&t[r.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${zo.disabled}`]:{opacity:0}
1,variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),$o=i.forwardRef(function(t,r){const c=St({props:t,name:"MuiTabScrollButton"}),{className:a,slots:d={},slotProps:b={},direction:S,orientation:p,disabled:m,...v}=c,y=Ht(),h={isRtl:y,...c},B=Lo(h),L=d.StartScrollButtonIcon??go,C=d.EndScrollButtonIcon??wo,g=rt({elementType:L,externalSlotProps:b.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h}),Q=rt({elementType:C,externalSlotProps:b.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:h});return f.jsx(Ao,{component:"div",className:z(B.root,a),ref:r,role:null,ownerState:h,tabIndex:null,...v,style:{...v.style,...p==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${y?-90:90}deg)`}},children:S==="left"?f.jsx(L,{...g}):f.jsx(C,{...Q})})});function No(o){return ft("MuiTabs",o)}const pt=bt("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
1indicator"]),zt=(o,t)=>o===t?o.firstChild:t&&t.nextElementSibling?t.nextElementSibling:o.firstChild,Lt=(o,t)=>o===t?o.lastChild:t&&t.previousElementSibling?t.previousElementSibling:o.lastChild,lt=(o,t,r)=>{let c=!1,a=r(o,t);for(;a;){if(a===o.firstChild){if(c)return;c=!0}const d=a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||d)a=r(o,a);else{a.focus();return}}},jo=o=>{const{vertical:t,fixed:r,hideScrollbar:c,scrollableX:a,scrollableY:d,centered:b,scrollButtonsHideMobile:S,classes:p}=o;return ht({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",c&&"hideScrollbar",a&&"scrollableX",d&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",b&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",S&&"scrollButtonsHideMobile"],scrollableX:[a&&"scrollableX"],hideScrollbar:[c&&"hideScrollbar"]},No,p)},Fo=j("div",{name:"MuiTabs",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[{[`& .${pt.scrollButtons}`]:t.scrollButtons},{[`& .${pt.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(mt(({theme:o})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${pt.scrollButtons}`]:{[o.breakpoints.down("sm")]:{display:"none"}}}}]}))),Ho=j("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:o})=>o.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:o})=>o.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:o})=>o.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:o})=>o.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),Do=j("div",{name:"MuiTabs",slot:"List",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.list,t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:o})=>o.vertical,style:{flexDirection:"column"}},{props:({ownerState:o})=>o.centered,style:{justifyContent:"center"}}]}),Xo=j("span",{name:"MuiTabs",slot:"Indicator"})(mt(({theme:o})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:o.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(o.vars||o).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(o.vars||o).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),Vo=j(ko)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),At={},Zo=i.forwardRef(function(t,r){const c=St({props:t,name:"MuiTabs"}),a=So(),d=Ht(),{"aria-label":b,"aria-labelledby":S,action:p,centered:m=!1,children:v,className:y,component:h="div",allowScrollButtonsMobile:B=!1,indicatorColor:L="primary",onChange:C,orientation:g="horizontal",ScrollButtonComponent:Q,scrollButtons:E="auto",selectionFollowsFocus:nt,slots:P={},slotProps:F={},TabIndicatorProps:V={},TabScrollButtonProps:K={},textColor:J="primary",value:H,variant:M="standard",visibleScrollbar:st=!1,...Vt}=c,T=M==="scrollable",w=g==="vertical",U=w?"scrollTop":"scrollLeft",Z=w?"top":"left",_=w?"bottom":"right",at=w?"clientHeight":"clientWidth",O=w?"height":"width",R={...c,component:h,allowScrollButtonsMobile:B,indicatorColor:L,orientation:g,vertical:w,scrollButtons:E,textColor:J,variant:M,visibleScrollbar:st,fixed:!T,hideScrollbar:T&&!st,scrollableX:T&&!w,scrollableY:T&&w,centered:m&&!T,scrollButtonsHideMobile:!B},W=jo(R),Kt=rt({elementType:P.StartScrollButtonIcon,externalSlotProps:F.startScrollButtonIcon,ownerState:R}),Ut=rt({elementType:P.EndScrollButtonIcon,externalSlotProps:F.endScrollButtonIcon,ownerState:R}),[vt,Ot]=i.useState(!1),[A,yt]=i.useState(At),[xt,Yt]=i.useState(!1),[gt,Gt]=i.useState(!1),[wt,qt]=i.useState(!1),[Bt,Qt]=i.useState({overflow:"hidden",scrollbarWidth:0}),Ct=new Map,k=i.useRef(null),$=i.useRef(null),D={slots:P,slotProps:{indicator:V,scrollButtons:K,...F}},Tt=()=>{const e=k.current;let l;if(e){const s=e.getBoundingClientRect();l={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:s.top,bottom:s.bottom,left:s.left,right:s.right}}let n;if(e&&H!==!1){const s=$.current.children;if(s.length>0){const u=s[Ct.get(H)];n=u?u.getBoundingClientRect():null}}return{tabsMeta:l,tabMeta:n}},Y=ut(()=>{const{tabsMeta:e,tabMeta:l}=Tt();let n=0,s;w?(s="top",l&&e&&(n=l.top-e.top+e.scrollTop)):(s=d?"right":"left",l&&e&&(n=(d?-1:1)*(l[s]-e[s]+e.scrollLeft)));const u={[s]:n,[O]:l?l[O]:0};if(typeof A[s]!="number"||typeof A[O]!="number")yt(u);else{const I=Math.abs(A[s]-u[s]),N=Math.abs(A[O]-u[O]);(I>=1||N>=1)&&yt(u)}}),it=(e,{animation:l=!0}={})=>{l?Mo(U,k.current,e,{duration:a.transitions.duration.standard}):k.current[U]=e},It=e=>{let l=k.current[U];w?l+=e:l+=e*(d?-1:1),it(l)},Et=()=>{const e=k.current[at];let l=0;const n=Array.from($.current.children);for(let s=0;s<n.length;s+=1){const u=n[s];if(l+u[at]>e){s===0&&(l=e);break}l+=u[at]}return l},Jt=()=>{It(-1*Et())},Zt=()=>{It(Et())},[_t,{onChange:tt,...to}]=X("scrollbar",{className:z(W.scrollableX,W.hideScrollbar),elementType:Vo,shouldForwardComponentProp:!0,externalForwardedProps:D,ownerState:R}),oo=i.useCallback(e=>{tt==null||tt(e),Qt({overflow:null,scrollbarWidth:e})},[tt]),[Pt,Mt]=X("scrollButtons",{className:z(W.scrollButtons,K.className),elementType:$o,externalForwardedProps:D,ownerState:R,additionalProps:{orientation:g,slots:{StartScrollButtonIcon:P.startScrollButtonIcon||P.StartScrollButtonIcon,EndScrollButtonIcon:P.endScrollButtonIcon||P.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:Kt,endScrollButtonIcon:Ut}}}),eo=()=>{const e={};e.scrollbarSizeListener=T?f.jsx(_t,{...to,onChange:oo}):null;const n=T&&(E==="auto"&&(xt||gt)||E===!0);return e.scrollButtonStart=n?f.jsx(Pt,{direction:d?"right":"left",onClick:Jt,disabled:!xt,...Mt}):null,e.scrollButtonEnd=n?f.jsx(Pt,{direction:d?"left":"right",onClick:Zt,disabled:!gt,...Mt}):null,e},Rt=ut(e=>{const{tabsMeta:l,tabMeta:n}=Tt();if(!(!n||!l)){if(n[Z]<l[Z]){const s=l[U]+(n[Z]-l[Z]);it(s,{animation:e})}else if(n[_]>l[_]){const s=l[U]+(n[_]-l[_]);it(s,{animation:e})}}}),ot=ut(()=>{T&&E!==!1&&qt(!wt)});i.useEffect(()=>{const e=jt(()=>
1{k.current&&Y()});let l;const n=I=>{I.forEach(N=>{N.removedNodes.forEach(G=>{l==null||l.unobserve(G)}),N.addedNodes.forEach(G=>{l==null||l.observe(G)})}),e(),ot()},s=Ft(k.current);s.addEventListener("resize",e);let u;return typeof ResizeObserver<"u"&&(l=new ResizeObserver(e),Array.from($.current.children).forEach(I=>{l.observe(I)})),typeof MutationObserver<"u"&&(u=new MutationObserver(n),u.observe($.current,{childList:!0})),()=>{e.clear(),s.removeEventListener("resize",e),u==null||u.disconnect(),l==null||l.disconnect()}},[Y,ot]),i.useEffect(()=>{const e=Array.from($.current.children),l=e.length;if(typeof IntersectionObserver<"u"&&l>0&&T&&E!==!1){const n=e[0],s=e[l-1],u={root:k.current,threshold:.99},I=dt=>{Yt(!dt[0].isIntersecting)},N=new IntersectionObserver(I,u);N.observe(n);const G=dt=>{Gt(!dt[0].isIntersecting)},Wt=new IntersectionObserver(G,u);return Wt.observe(s),()=>{N.disconnect(),Wt.disconnect()}}},[T,E,wt,v==null?void 0:v.length]),i.useEffect(()=>{Ot(!0)},[]),i.useEffect(()=>{Y()}),i.useEffect(()=>{Rt(At!==A)},[Rt,A]),i.useImperativeHandle(p,()=>({updateIndicator:Y,updateScrollButtons:ot}),[Y,ot]);const[lo,ro]=X("indicator",{className:z(W.indicator,V.className),elementType:Xo,externalForwardedProps:D,ownerState:R,additionalProps:{style:A}}),kt=f.jsx(lo,{...ro});let et=0;const no=i.Children.map(v,e=>{if(!i.isValidElement(e))return null;const l=e.props.value===void 0?et:e.props.value;Ct.set(l,et);const n=l===H;return et+=1,i.cloneElement(e,{fullWidth:M==="fullWidth",indicator:n&&!vt&&kt,selected:n,selectionFollowsFocus:nt,onChange:C,textColor:J,value:l,...et===1&&H===!1&&!e.props.tabIndex?{tabIndex:0}:{}})}),so=e=>{if(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)return;const l=$.current,n=ho(mo(l));if((n==null?void 0:n.getAttribute("role"))!=="tab")return;let u=g==="horizontal"?"ArrowLeft":"ArrowUp",I=g==="horizontal"?"ArrowRight":"ArrowDown";switch(g==="horizontal"&&d&&(u="ArrowRight",I="ArrowLeft"),e.key){case u:e.preventDefault(),lt(l,n,Lt);break;case I:e.preventDefault(),lt(l,n,zt);break;case"Home":e.preventDefault(),lt(l,null,zt);break;case"End":e.preventDefault(),lt(l,null,Lt);break}},ct=eo(),[ao,io]=X("root",{ref:r,className:z(W.root,y),elementType:Fo,externalForwardedProps:{...D,...Vt,component:h},ownerState:R}),[co,uo]=X("scroller",{ref:k,className:W.scroller,elementType:Ho,externalForwardedProps:D,ownerState:R,additionalProps:{style:{overflow:Bt.overflow,[w?`margin${d?"Left":"Right"}`:"marginBottom"]:st?void 0:-Bt.scrollbarWidth}}}),[po,bo]=X("list",{ref:$,className:z(W.list,W.flexContainer),elementType:Do,externalForwardedProps:D,ownerState:R,getSlotProps:e=>({...e,onKeyDown:l=>{var n;so(l),(n=e.onKeyDown)==null||n.call(e,l)}})});return f.jsxs(ao,{...io,children:[ct.scrollButtonStart,ct.scrollbarSizeListener,f.jsxs(co,{...uo,children:[f.jsx(po,{"aria-label":b,"aria-labelledby":S,"aria-orientation":g==="vertical"?"vertical":null,role:"tablist",...bo,children:no}),vt&&kt]}),ct.scrollButtonEnd]})}),_o=()=>{const{t:o}=vo();return f.jsx(Bo,{children:f.jsx(yo,{width:"100%",children:f.jsx(Co,{title:o("Page Not Found (404)"),primaryAction:{buttonText:o("Back to Home"),onClick:()=>window.location.href="/ofw/home.form"},icon:xo,children:o("Sorry about that! The page you were looking for may have been moved or the address misspelled.")})})})};q({url:"/pub/v1/professional/lookup/referrals"});const Ko=q({url:"/pub/v2/professional/users",method:"POST"}),te=Xt(Ko),Uo=q({url:"/pub/v1/clara/sso-token"}),oe=Dt(Uo),Oo=q({url:"/pub/v1/custody-schedule-builder/sso-token"}),ee=Dt(Oo),Yo=q({url:"/pub/v1/admin/link/parents-to-pro",method:"POST"}),le=Xt(Yo);export{_o as N,Zo as T,Jo as a,ee as b,te as c,le as d,oe as u};

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.