PageSourceSearch

https://myhealthlnk.com/static/js/async/5852.55a20fc060.js

js myhealthlnk.com collected 2026-09-24 14:51:14 UTC 13,599 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[5852],{7247(e,t,o){o.d(t,{A:()=>d});var i=o(74848),n=o(96540),r=o(40961),l=o(67247);let d=({children:e,wrapperElement:t="div",wrapperElementId:o="divId",inputRef:d,type:s,DropdownDirection:c="auto",wrapperName:w="",openInCenter:u=!1,glassDesign:a=!1})=>{let[h,p]=(0,n.useState)(null),[f,g]=(0,n.useState)(0),[m,v]=(0,n.useState)(0),b=(0,n.useRef)(null),[k,E]=(0,n.useState)({top:0,left:0}),W=l.Wp.CheckIsProApp(),[C,x]=(0,n.useState)(e?.props?.children?.length);return((0,n.useLayoutEffect)(()=>{if(!h||!h.firstElementChild)return;let e=h.firstElementChild,t=e?.getBoundingClientRect(),o=0,i=h.children;for(let e=0;e<i.length;e++)o+=i[e].scrollHeight;g(o),v(t?.width||700)},[h,o,e]),(0,n.useLayoutEffect)(()=>{E((()=>{let t,i,r;if(!d?.current)return{top:0,left:0};let h=d?.current?.getBoundingClientRect();if(!h||!h?.width&&!h.height)return{top:0,left:0};let p=85*!!a,g=window.innerHeight-h.bottom-(("threedotmenu"===o||"NestedDropdownPortal"===o)&&W?85:0)-p,v=h.top-p;if("ColorPicker"===o)t=420;else if("threedotmenu"===o||"threedotmenu"===w)t=36*(C||0)+10;else if("daterpicker"===o)t=340;else if("timepicker"===o||o.startsWith("timepicker-"))t=160;else if("dropdownmenu"===o)t=36*(e?.props?.children[0].length||0)+32;else if("NestedDropdownPortal"===o)t=38*(C||0)+8;else if("phonecountry"===o)t=257;else if("inputtogglemenu"===o){let o=e?.props?.children?.[1],i=(o?n.Children.toArray(o.props?.children).filter(Boolean):[]).length;t=i>0?41.8*i+53.6:179}else t="dotphrase-portal"===o?38*(C||0)+60:"gif-picker-portal"===o?370:"emoji-picker-portal"===o?369:u&&"daterangepicker"===o?490:258;let b=f||t,k=h.left,E=window.innerWidth-h.right,x=m||700,M=h.left+window.scrollX,y=!1;if(s===l.IU.addressSuggestions){let e=window.innerHeight,t=e/3,o=2*e/3,n=h.top<t,r=h.top>=t&&h.top<=o;i=h.top>o?h.top+window.scrollY-b:r||n||g>=b?h.bottom+window.scrollY:v>=b?h.top+window.scrollY-b:h.bottom+window.scrollY}else s===l.IU.timePickerRight?i=g<b&&v>=b?h.top+window.scrollY-b:h.bottom+window.scrollY:g>=b?i=h.bottom+window.scrollY:v>=b?i=h.top+window.scrollY-b:u&&("daterangepicker"===o||"daterpicker"===o)?(i=window.scrollY+Math.max(0,(window.innerHeight-b)/2),y=!0):i=h.bottom+window.scrollY;if("dotphrase-portal"===o){let e=f||38*(C||0)+20,t=m||320,o=window.innerWidth-h.left;h.right;let i=window.innerHeight-h.bottom;h.top;let n=i>=e?h.bottom+window.scrollY:h.top+window.scrollY-e-16,r=o>=t?h.left+window.scrollX:h.right+window.scrollX-t;return r=Math.max(window.scrollX+8,Math.min(r,window.scrollX+window.innerWidth-t-8)),{top:n=Math.max(window.scrollY+8,Math.min(n,window.scrollY+window.innerHeight-e-8)),left:r}}if(("daterangepicker"===o||"daterpicker"===o||"phonecountry"===o)&&s===l.IU.dateRangePickerAutoPosition)if(u&&y)M=window.scrollX+Math.max(0,(window.innerWidth-x)/2),r=void 0;else if(E+h?.width>=x)M=h.left+window.scrollX,r=void 0;else if(k+h?.width>=x)r=window.innerWidth-(h.right+window.scrollX),M=void 0;else{let e=window.innerWidth;h.left<e/2?(M=window.scrollX,r=void 0):"phonecountry"===o?r=void 0:(r=0,M=void 0)}else if("phonecountry"===o&&s===l.IU.phonecountry)E>=328?(M=h.left+window.scrollX,r=void 0):k>=328?(r=window.innerWidth-(h.right+window.scrollX),M=void 0):E>=k?(M=h.left+window.scrollX,r=void 0):(r=window.innerWidth-(h.right+window.scrollX),M=void 0);else switch(s){case l.IU.action:M=k<E?h.left+window.scrollX:window.innerWidth-E-(h?.width||328);break;case l.IU.timePickerRight:h?.width;let R=window.innerWidth,X=navigator.userAgent,Y=/^((?!chrome|android).)*safari/i.test(X),L=navigator.platform.toUpperCase().indexOf("MAC")>=0;r=R-(h.right+window.scrollX+(Y||L?0:10));break;case l.IU.threeDotmenu:i=g<b&&v>=b?h.top+window.scrollY-b:h.bottom+window.scrollY;let I=window.visualViewport?.width??document.documentElement.clientWidth??window.innerWidth,P=m||0,T=h.right>=P,B=I-h.left>=P;("left"===c?!P||B||!T:P&&!T&&B)?(M=h.left+window.scrollX,r=void 0):(r=Math.round(I-h.right),M=void 0);break;case l.IU.smileyPicker:M=h.right+window.scrollX-240;break;case l.IU.tableGrid:{let e=window.scrollX+8,t=window.scrollX+window.innerWidth-8,o=window.visualVie
1wport,n=o?window.innerHeight-o.height:0;i=null!=o&&n>80?h.top+window.scrollY-b:g>=b?h.bottom+window.scrollY:v>=b?h.top+window.scrollY-b:g>=v?h.bottom+window.scrollY:h.top+window.scrollY-b,M=E>=x?h.left+window.scrollX:k>=x?h.right+window.scrollX-x:Math.max(e,Math.min(h.left+window.scrollX,t-x));break}case l.IU.dateRangePickerRight:r=window.innerWidth-(h.right+window.scrollX);break;case l.IU.gifPicker:{let e=window.innerWidth-h.left,t=h.right;M=e>=343?h.left+window.scrollX:t>=343?h.right+window.scrollX-335:window.scrollX+Math.max(8,Math.min(h.left,window.innerWidth-335-8));break}case l.IU.emojiPicker:{let e=b||369;i=g>=e+4?h.bottom+window.scrollY+4:v>=e+4?h.top+window.scrollY-e-4:g>v?h.bottom+window.scrollY+4:h.top+window.scrollY-e-4;let t=h.left+window.scrollX;t+360>window.innerWidth+window.scrollX-8&&(t=window.innerWidth+window.scrollX-360-8),t<window.scrollX+8&&(t=window.scrollX+8),M=t;break}default:M=h.left+window.scrollX}if("dropdownmenu"===o&&c&&"auto"!==c){let e,t=window.innerHeight-h.bottom,o=h.top;return"right"===c?e=h.right+window.scrollX:"left"===c&&(e=h.left-h.width+window.scrollX),{top:t>=b?h.top+window.scrollY:o>=b?h.bottom+window.scrollY-b:h.top+window.scrollY,left:e}}return void 0!==r?{top:i,right:r}:{top:i,left:M}})())},[d,f,s,o,e]),(0,n.useEffect)(()=>{let e=b.current;if(!e||!e.firstElementChild)return;let t=()=>{let t=e.firstElementChild,o=t?.getBoundingClientRect(),i=0,n=e.children;for(let e=0;e<n.length;e++)i+=n[e].offsetHeight;g(i),v(o?.width||700)};t();let o=new ResizeObserver(t),i=new MutationObserver(t);return o.observe(e),i.observe(e,{childList:!0,subtree:!0}),()=>{o.disconnect(),i.disconnect()}},[e,o,s]),(0,n.useEffect)(()=>{let e,i=document.getElementById(o);i||((e=document.createElement(t)).setAttribute("id",o),""!==o&&("Popup-change-log-popup"===o&&e.setAttribute("data-identity","history"),"Popup-renter-popup"===o&&e.setAttribute("data-identity","sub-history")),document.body.appendChild(e),i=e),b.current=i,p(i);try{let e=d?.current??null,t=e?e.closest("[data-popup-id]"):null,o=t?.getAttribute("data-popup-id");o?i.setAttribute("data-parent-popup-id",o):i.removeAttribute("data-parent-popup-id")}catch{}return()=>{i&&document.body.contains(i)&&document.body.removeChild(i)}},[o,t]),null===h)?null:(0,r.createPortal)((0,i.jsx)("div",{style:{position:"absolute",...k,..."dropdownmenu"===o||"table-grid-portal"===o||"threedotmenu"===o||"threedotmenu"===w||"emoji-picker-portal"===o||"gif-picker-portal"===o?{zIndex:9999}:{}},children:e}),h)}},94089(e,t,o){o.r(t),o.d(t,{default:()=>d});var i=o(74848),n=o(96540),r=o(40961),l=o(67247);let d=({TooltipText:e,Children:t,ScreenTitleForMobile:o,Html:d=!0,TextAlign:s="center",BeakPoint:c="Down",BeakPosition:w="Middle",Duration:u=2e3,ShowHover:a=!0,TriggerTooltip:h=!1,OnTooltipClose:p,FullWidth:f=!1,TooltipRender:g="inline",MaxWidth:m,FullHeight:v=!1,ForceWebRender:b=!1})=>{let[k,E]=(0,n.useState)("top-center"),[W,C]=(0,n.useState)(!1),x=(0,n.useRef)(null),M=(0,n.useRef)(null),y=(0,n.useRef)(null),R=(0,n.useRef)(null),X=(0,n.useRef)(!1),[Y,L]=(0,n.useState)({top:0,left:0}),I=l.Wp.CheckIsFromProAppWithoutState()&&!b,P=l.Wp.CheckIsFromIpadAndroidTabWithoutParm(),T=a&&!P,B=(0,n.useRef)([]),A=e=>{let t=getComputedStyle(e),o=t.overflowY,i=t.overflowX;return/(auto|scroll|overlay)/.test(o)||/(auto|scroll|overlay)/.test(i)},S=(0,n.useCallback)(e=>{let t=[],o=e?.parentElement||null;for(;o;)A(o)&&t.push(o),o=o.parentElement;return t.push(document.scrollingElement||document.documentElement),t},[]);(0,n.useEffect)(()=>(y.current&&(clearTimeout(y.current),y.current=null),!a&&h?(C(!0),u>0&&(y.current=setTimeout(()=>{C(!1),p&&p()},u))):C(!1),()=>{y.current&&(clearTimeout(y.current),y.current=null)}),[h,u,p,a]),(0,n.useEffect)(()=>{if("portal"!==g&&W&&x.current&&M.current){let e=x.current.getBoundingClientRect(),t=M.current.getBoundingClientRect(),o=window.innerWidth,i=window.innerHeight,n=t.top>=e.height,r=i-t.bottom>=e.height,l=t.left>=e.width,d=o-t.right>=e.width;n?E("top-center"):r?E("bottom-center"):l?E("left"):d?E("right"):E("bottom-center")}},[W,g]),(0,n.useEffect)(()=>{if("inline"!==g&&W&&M.current){let e=M.current.getBoundingClientRect(),t=x.current?.getBoundingClientRect().width??200,o=x.current?.getBoundingClientRect().height??40,i=window.innerWidth,n=window.innerHeight,r=e.top>=o+8,l=n-e.bottom>=o+8,d=e.left>=t+8,s=i-e.right>=t+8;r?E("top-center"):l?E("bottom-center"):d?E("left"):s?E("right"):E("bottom-center")}},[W,g]);let U=()=>
1{if(!M.current||!x.current)return"Middle";let e=M.current.getBoundingClientRect(),t=x.current.getBoundingClientRect(),o=window.innerWidth,i=t.width||200,n=e.left+e.width/2,r=n-i/2,l=o-(n+i/2);return r>=20&&l>=20?"Middle":r<20?"Left":l<20?"Right":"Middle"};(0,n.useEffect)(()=>{let e=w;"Auto"===w&&(e=U()),"Down"===c&&"Middle"===e?E("bottom-center"):"Down"===c&&"Left"===e?E("bottom-left"):"Down"===c&&"Right"===e?E("bottom-right"):"Up"===c&&"Left"===e?E("top-left"):"Up"===c&&"Right"===e&&E("top-right")},[c,w,k,W]),(0,n.useEffect)(()=>{if("Auto"!==w)return;let e=()=>{if(W){let e=U();"Down"===c&&"Middle"===e?E("bottom-center"):"Down"===c&&"Left"===e?E("bottom-left"):"Down"===c&&"Right"===e?E("bottom-right"):"Up"===c&&"Left"===e?E("top-left"):"Up"===c&&"Right"===e&&E("top-right")}};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[w,c,W,window.innerWidth]);let H=(0,n.useCallback)(()=>{if("inline"===g||!W||"Auto"!==w||!x.current||!M.current)return;let e=x.current.getBoundingClientRect(),t=M.current.getBoundingClientRect(),o=window.innerWidth,i=t.left,n=o-t.right,r=e.width;return n<r&&n<i?`${i+30}px`:i<r&&i<n?`${n+30}px`:void 0},[g,W,w]),D=(0,n.useCallback)(()=>{if("inline"===g||!W||!x.current||!M.current)return;let e=x.current.getBoundingClientRect(),t=M.current.getBoundingClientRect(),o=0,i=0,n=t.left+t.width/2,r=t.top+t.height/2;switch(k){case"top-center":o=t.top-e.height-8,i=n-e.width/2;break;case"bottom-center":o=t.bottom+8,i=n-e.width/2;break;case"left":o=r-e.height/2,i=t.left-e.width-8;break;case"right":o=r-e.height/2,i=t.right+8;break;case"top-left":o=t.top-e.height-8,i=t.left-10;break;case"top-right":o=t.top-e.height-8,i=t.right-e.width+10;break;case"bottom-left":o=t.bottom+8,i=t.left-10;break;case"bottom-right":o=t.bottom+8,i=t.right-e.width+10}let l=window.innerWidth,d=window.innerHeight,s=Math.max(8,Math.min(i,l-e.width-8)),c=Math.max(8,Math.min(o,d-e.height-8)),w=`${n-s}px`;L({top:c,left:s,maxWidth:H(),beakLeft:w})},[g,W,k,H]);(0,n.useLayoutEffect)(()=>{"portal"===g&&D()},[W,k,w,g,D]),(0,n.useEffect)(()=>{if("inline"===g||!W)return;let e=S(M.current);B.current=e;let t=()=>D();return e.forEach(e=>e.addEventListener("scroll",t,{passive:!0})),window.addEventListener("resize",t),t(),()=>{e.forEach(e=>e.removeEventListener("scroll",t)),window.removeEventListener("resize",t)}},[W,k,w,g,D,S]),(0,n.useEffect)(()=>{if(!W)return;let e=S(M.current),t=()=>{X.current=!0,C(!1),p&&p()};return e.forEach(e=>e.addEventListener("scroll",t,{passive:!0})),window.addEventListener("scroll",t,{passive:!0}),()=>{e.forEach(e=>e.removeEventListener("scroll",t)),window.removeEventListener("scroll",t)}},[W,S,p]);let $=e=>new DOMParser().parseFromString(e,"text/html").body.textContent||"";(0,n.useEffect)(()=>{let e=e=>{P&&M.current&&!M.current.contains(e.target)&&C(!1)};if(P)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[P]),(0,n.useEffect)(()=>{if("portal"!==g&&!m&&W&&x.current&&M.current&&"Auto"===w){let e=x.current,t=e.getBoundingClientRect(),o=M.current.getBoundingClientRect(),i=window.innerWidth,n=o.left,r=i-o.right;e.style.maxWidth="none";let l=t.width;r<l&&r<n?e.style.maxWidth=`${n+30}px`:n<l&&n<r&&(e.style.maxWidth=`${r+30}px`)}},[W,k,g,m]);let j=()=>{R.current&&(window.clearTimeout(R.current),R.current=null)},N=()=>{T&&"inline"!==g&&(j(),C(!0))},_=()=>{T&&"inline"!==g&&(j(),R.current=window.setTimeout(()=>C(!1),10))};(0,n.useEffect)(()=>()=>j(),[]);let z=()=>{!P&&a&&(X.current=!1,C(!0))},F="portal"===g&&T?{onMouseEnter:N,onMouseLeave:_,onMouseMove:()=>{X.current&&N()}}:{onMouseEnter:z,onMouseLeave:()=>{!P&&a&&(X.current=!1,C(!1))},onMouseMove:()=>{X.current&&z()}};return(0,i.jsxs)("div",{className:`vg-group vg-tooltip-group ${v?"vg-tooltip-fullheight":""}`,children:[(0,i.jsxs)("div",{className:`vg-tooltip vg-tooltip-${k} ${f?"vg-tooltip-fullwidth":""} ${"portal"===g?"vg-tooltip-portal-trigger":""}`,ref:M,...F,onPointerUp:i=>{if(i.preventDefault(),i.stopPropagation(),a&&(P&&!I&&C(!0),I&&e)){var r={};r.message=e,r.messageType=0,r.screenTitle=n.isValidElement(t)?o||"Info":$(e),r.screenType=0,r.navType=51,r.action="",l.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(r))}},children:["inline"===g&&e&&W&&(0,i.jsx)("div",{className:`vg-tooltip-sms vg-text-${s}`,ref:x,style:m?{maxWidth:m}:void 0,children:d?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&$(e)}),t]}),"portal"===g&&e&&W&&(0,r.createPortal)((0,i.jsx)("div",{className:`vg-tooltip vg-tooltip-portal vg-tooltip-${k} ${f?"vg-tooltip-fullwidth":""}`,children:(0,i.jsx)("div",{className:`vg-tooltip-sms vg-text-${s}
1`,ref:x,style:{position:"fixed",top:Y.top,left:Y.left,maxWidth:m||Y.maxWidth,zIndex:9999,visibility:0===Y.left&&0===Y.top?"hidden":"visible","--beak-left":Y.beakLeft||"50%"},onMouseEnter:N,onMouseLeave:_,children:d?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&$(e)})}),document.body)]})}}}]);

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.