PageSourceSearch

https://touchofgracewv.com/static/js/async/2465.53261c854e.js

js touchofgracewv.com collected 2026-10-02 00:58:30 UTC 25,316 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[2465],{28735(e,t,n){n.r(t),n.d(t,{default:()=>i});var o=n(74848);n(96540);var r=n(94089);let i=({BadgeText:e="Input Badge",BadgeVariation:t="",BadgeSize:n,Children:i,BadgeColorVariant:a,Tooltip:l=!1,TooltipMessage:s,OnClick:c,PrefixIcon:d,SuffixIcon:u,onPrefixIconClick:g,onSuffixIconClick:m})=>{let v="vg-badge",f=[v,`${v}--${n}`,`${v}-${t}`,"none"===t&&a?`${v}-color-${a}`:""].join(" ").trim(),h=e=>{c&&c(e)};return(0,o.jsx)(o.Fragment,{children:l?(0,o.jsx)(r.default,{BeakPoint:"Up",BeakPosition:"Middle",Duration:0,OnTooltipClose:()=>{},ShowHover:!0,TextAlign:"right",Html:!0,TooltipText:s,TooltipRender:"portal",Children:(0,o.jsxs)("div",{className:f,onClick:h,children:[d&&(0,o.jsx)("span",{className:"vg-badge__prefix-icon",onClick:e=>{e.stopPropagation(),g&&g(e)},style:g?{cursor:"pointer"}:void 0,children:d}),"custom"===t&&"string"==typeof i?(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:i}}):"custom"===t?i:e,u&&(0,o.jsx)("span",{className:"vg-badge__suffix-icon",onClick:e=>{e.stopPropagation(),m&&m(e)},style:m?{cursor:"pointer"}:void 0,children:u})]})}):(0,o.jsxs)("div",{className:f,onClick:h,style:c?{cursor:"pointer"}:void 0,children:[d&&(0,o.jsx)("span",{className:"vg-badge__prefix-icon",onClick:e=>{e.stopPropagation(),g&&g(e)},style:g?{cursor:"pointer"}:void 0,children:d}),"custom"===t&&"string"==typeof i?(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:i}}):"custom"===t?i:e,u&&(0,o.jsx)("span",{className:"vg-badge__suffix-icon",onClick:e=>{e.stopPropagation(),m&&m(e)},style:m?{cursor:"pointer"}:void 0,children:u})]})})}},36136(e,t,n){n.r(t),n.d(t,{default:()=>a});var o=n(74848),r=n(96540),i=n(28735);let a=({onClick:e,OnDisabledTabClick:t,PreOnChange:n,Name:a=[],NoOfTab:l="",ActiveTab:s=0,TabVariant:c,TabPosition:d="center",TabSize:u="medium",BottomBorder:g=!1,FullWidth:m=!1,ShowSelectedBorder:v=!0,ShowSelectedBgColorTab:f=!1,HoverEffect:h=!0,RightSlot:p})=>{let[w,b]=(0,r.useState)(a[s]?.id),[x,y]=(0,r.useState)(new Set);(0,r.useEffect)(()=>{let e=0===s?a[0]?.id:a.find(e=>e.id===s)?.id;b(e??null),null!=e&&y(t=>new Set(t).add(e))},[s,a]);let k=async(o,r,i,a)=>{if(a)return void t?.(o,r,i);if(w!==o){if("function"==typeof n&&!1===await Promise.resolve(n(o,r,!0,i)))return;b(o),y(e=>new Set(e).add(o)),e?.(o,r,i)}},I=Array.from({length:parseInt(l)},(e,t)=>a[t]||{id:t,name:`Tab ${t}`}),A=a.find(e=>e.id===w),C=A&&x.has(w),T=(0,o.jsx)("ul",{className:`vg-nav-tabs ${f?"vg-nav-tabs-bg":""} ${"vertical"===c?"vertical":"horizontal"} ${d} ${u} ${g?" full-width-border":""} ${m?"vg-full-width-tab":""}`,children:I.map(({id:e,name:t,IconSVG:n,badgeCount:r,IconNode:a,IconNodeAlignment:l,disabled:s,title:c,textColor:d})=>{let u=w===e,g=l??"left";return(0,o.jsx)("li",{title:c,onClick:n=>k(e,t,n,s),className:`vg-list-item ${u&&v?"active":""} ${u&&f?"active-bg":""} ${s?"vg-tab-item-disabled":""} ${!h?"vg-no-hover":""}`,children:(0,o.jsxs)("a",{className:`vg-tab-link ${u?"vg-tab-link":"vg-tab-link w--current"}`,style:d?{color:d}:void 0,children:[n&&(0,o.jsx)("span",{className:"vg-tab-icon",children:n}),a&&"left"===g&&(0,o.jsx)("div",{className:"vg-icon-node vg-icon-node-left",children:a}),t,null!=r&&parseInt(r)>0?(0,o.jsx)("span",{className:"vg-badge-tabLink",children:(0,o.jsx)(i.default,{BadgeColorVariant:"leave",BadgeSize:"overlay",BadgeText:r,BadgeVariation:"none"})}):"",a&&"right"===g&&(0,o.jsx)("div",{className:"vg-icon-node vg-icon-node-right",children:a})]})},e)})});return(0,o.jsxs)("div",{className:`vg-tab ${"menutab"===c?"vg-menutab":""}`,children:[p||"menutab"===c?(0,o.jsxs)("div",{className:"flex justify-between max-md:flex-col",children:[T,(0,o.jsx)("div",{className:"vg-righttabslot",children:p})]}):T,C&&A.Children&&(0,o.jsx)("div",{className:"vg-tab-children",children:A.Children})]})}},94089(e,t,n){n.r(t),n.d(t,{default:()=>l});var o=n(74848),r=n(96540),i=n(40961),a=n(67247);let l=({TooltipText:e,Children:t,ScreenTitleForMobile:n,IsEmptyScreenTitle:l=!1,Html:s=!0,TextAlign:c="center",BeakPoint:d="Down",BeakPosition:u="Middle",Duration:g=2e3,ShowHover:m=!0,TriggerTooltip:v=!1,OnTooltipClose:f,FullWidth:h=!1,TooltipRender:p="inline",MaxWidth:w,FullHeight:b=!1,ForceWebRender:x=!1})=>{let[y,k]=(0,r.useState)("top-center"),[I,A]=(0,r.useState)(!1),C=(0,r.useRef)(null),T=(0,r.useRef)(null),S=(0,r.useRef)(null),E=(0,r.useRef)(null),O=(0,r.useRef)(!1),[M,L]=(0,r.useState)({top:0,left:0}),D=a.Wp.CheckIsFromProAppWithoutState()&&!x,P=a.Wp.CheckIsFromIpadAndroidTabWithoutParm(),B=m&&!P,j=(0,r.useRef)([]),R=e=>{let t=getComputedStyle(e),n=t.overflowY,o=t.overflowX;return/(auto|scroll|overlay)/.test(n)||/(auto|scroll|overlay)/.test(o)},N=(0,r.useCallback)(e=>{let t=[],n=e?.parentElement||null;for(;n;)R(n)&&t.push(n),n=n.parentElement;return t.push(document.scrollingElement||document.documentElement),t},[]);(0,r.useEffect)(()=>(S.current&&(clearTimeout(S.current),S.current=null),!m&&v?(A(!0),g>0&&(S.current=setTimeout(()=>{A(!1),f&&f()},g))):A(!1),()=>{S.current&&(clearTimeout(S.current),S.current=null)}),[v,g,f,m]),(0,r.useEffect)(()=>
1{if("portal"!==p&&I&&C.current&&T.current){let e=C.current.getBoundingClientRect(),t=T.current.getBoundingClientRect(),n=window.innerWidth,o=window.innerHeight,r=t.top>=e.height,i=o-t.bottom>=e.height,a=t.left>=e.width,l=n-t.right>=e.width;r?k("top-center"):i?k("bottom-center"):a?k("left"):l?k("right"):k("bottom-center")}},[I,p]),(0,r.useEffect)(()=>{if("inline"!==p&&I&&T.current){let e=T.current.getBoundingClientRect(),t=C.current?.getBoundingClientRect().width??200,n=C.current?.getBoundingClientRect().height??40,o=window.innerWidth,r=window.innerHeight,i=e.top>=n+8,a=r-e.bottom>=n+8,l=e.left>=t+8,s=o-e.right>=t+8;i?k("top-center"):a?k("bottom-center"):l?k("left"):s?k("right"):k("bottom-center")}},[I,p]);let F=()=>{if(!T.current||!C.current)return"Middle";let e=T.current.getBoundingClientRect(),t=C.current.getBoundingClientRect(),n=window.innerWidth,o=t.width||200,r=e.left+e.width/2,i=r-o/2,a=n-(r+o/2);return i>=20&&a>=20?"Middle":i<20?"Left":a<20?"Right":"Middle"};(0,r.useEffect)(()=>{let e=u;"Auto"===u&&(e=F()),"Down"===d&&"Middle"===e?k("bottom-center"):"Down"===d&&"Left"===e?k("bottom-left"):"Down"===d&&"Right"===e?k("bottom-right"):"Up"===d&&"Left"===e?k("top-left"):"Up"===d&&"Right"===e&&k("top-right")},[d,u,y,I]),(0,r.useEffect)(()=>{if("Auto"!==u)return;let e=()=>{if(I){let e=F();"Down"===d&&"Middle"===e?k("bottom-center"):"Down"===d&&"Left"===e?k("bottom-left"):"Down"===d&&"Right"===e?k("bottom-right"):"Up"===d&&"Left"===e?k("top-left"):"Up"===d&&"Right"===e&&k("top-right")}};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[u,d,I,window.innerWidth]);let W=(0,r.useCallback)(()=>{if("inline"===p||!I||"Auto"!==u||!C.current||!T.current)return;let e=C.current.getBoundingClientRect(),t=T.current.getBoundingClientRect(),n=window.innerWidth,o=t.left,r=n-t.right,i=e.width;return r<i&&r<o?`${o+30}px`:o<i&&o<r?`${r+30}px`:void 0},[p,I,u]),$=(0,r.useCallback)(()=>{if("inline"===p||!I||!C.current||!T.current)return;let e=C.current.getBoundingClientRect(),t=T.current.getBoundingClientRect(),n=0,o=0,r=t.left+t.width/2,i=t.top+t.height/2;switch(y){case"top-center":n=t.top-e.height-8,o=r-e.width/2;break;case"bottom-center":n=t.bottom+8,o=r-e.width/2;break;case"left":n=i-e.height/2,o=t.left-e.width-8;break;case"right":n=i-e.height/2,o=t.right+8;break;case"top-left":n=t.top-e.height-8,o=t.left-10;break;case"top-right":n=t.top-e.height-8,o=t.right-e.width+10;break;case"bottom-left":n=t.bottom+8,o=t.left-10;break;case"bottom-right":n=t.bottom+8,o=t.right-e.width+10}let a=window.innerWidth,l=window.innerHeight,s=Math.max(8,Math.min(o,a-e.width-8)),c=Math.max(8,Math.min(n,l-e.height-8)),d=`${r-s}px`;L({top:c,left:s,maxWidth:W(),beakLeft:d})},[p,I,y,W]);(0,r.useLayoutEffect)(()=>{"portal"===p&&$()},[I,y,u,p,$]),(0,r.useEffect)(()=>{if("inline"===p||!I)return;let e=N(T.current);j.current=e;let t=()=>$();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)}},[I,y,u,p,$,N]),(0,r.useEffect)(()=>{if(!I)return;let e=N(T.current),t=()=>{O.current=!0,A(!1),f&&f()};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)}},[I,N,f]);let _=e=>new DOMParser().parseFromString(e,"text/html").body.textContent||"";(0,r.useEffect)(()=>{let e=e=>{P&&T.current&&!T.current.contains(e.target)&&A(!1)};if(P)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[P]),(0,r.useEffect)(()=>{if("portal"!==p&&!w&&I&&C.current&&T.current&&"Auto"===u){let e=C.current,t=e.getBoundingClientRect(),n=T.current.getBoundingClientRect(),o=window.innerWidth,r=n.left,i=o-n.right;e.style.maxWidth="none";let a=t.width;i<a&&i<r?e.style.maxWidth=`${r+30}px`:r<a&&r<i&&(e.style.maxWidth=`${i+30}px`)}},[I,y,p,w]);let V=()=>{E.current&&(window.clearTimeout(E.current),E.current=null)},U=()=>{B&&"inline"!==p&&(V(),A(!0))},J=()=>{B&&"inline"!==p&&(V(),E.current=window.setTimeout(()=>A(!1),10))};(0,r.useEffect)(()=>()=>V(),[]);let H=()=>{!P&&m&&(O.current=!1,A(!0))},z="portal"===p&&B?{onMouseEnter:U,onMouseLeave:J,onMouseMove:()=>{O.current&&U()}}:{onMouseEnter:H,onMouseLeave:()=>{!P&&m&&(O.current=!1,A(!1))},onMouseMove:()=>{O.current&&H()}};return(0,o.jsxs)("div",{className:`vg-group vg-tooltip-group ${b?"vg-tooltip-fullheight":""}`,children:[(0,o.jsxs)("div",{className:`vg-tooltip vg-tooltip-${y} ${h?"vg-tooltip-fullwidth":""} ${"portal"===p?"vg-tooltip-portal-trigger":""}`,ref:T,...z,onPointerUp:o=>
1{if(o.preventDefault(),o.stopPropagation(),m&&(P&&!D&&A(!0),D&&e)){var i={};i.message=e,i.messageType=0,i.screenTitle=r.isValidElement(t)?l?"":n||"Info":_(e),i.screenType=0,i.navType=51,i.action="",a.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(i))}},children:["inline"===p&&e&&I&&(0,o.jsx)("div",{className:`vg-tooltip-sms vg-text-${c}`,ref:C,style:w?{maxWidth:w}:void 0,children:s?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&_(e)}),t]}),"portal"===p&&e&&I&&(0,i.createPortal)((0,o.jsx)("div",{className:`vg-tooltip vg-tooltip-portal vg-tooltip-${y} ${h?"vg-tooltip-fullwidth":""}`,children:(0,o.jsx)("div",{className:`vg-tooltip-sms vg-text-${c}`,ref:C,style:{position:"fixed",top:M.top,left:M.left,maxWidth:w||M.maxWidth,zIndex:9999,visibility:0===M.left&&0===M.top?"hidden":"visible","--beak-left":M.beakLeft||"50%"},onMouseEnter:U,onMouseLeave:J,children:s?(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&_(e)})}),document.body)]})}},67247(e,t,n){n.d(t,{C2:()=>L,ud:()=>O,By:()=>p,MI:()=>M,IU:()=>x,Dx:()=>S,BL:()=>w,UM:()=>T,_A:()=>I,pz:()=>k,kz:()=>C,Iu:()=>A,My:()=>E,Wp:()=>b});var o=n(77215),r=n(74848),i=n(96540),a=n(5338);let l="Custom",s="OpenDialog",c="OpenDialog1",d="OpenDialog2",u="exportdiv",g="printdiv",m="successAlert",v={Custom:null,OpenDialog:null,OpenDialog1:null,OpenDialog2:null,successAlert:null,exportdiv:null,printdiv:null},f=e=>{let t=document.getElementById(e);return t?(0,a.createRoot)(t):null};v.Custom=f(l),v.OpenDialog=f(s),v.OpenDialog1=f(c),v.OpenDialog2=f(d),v.successAlert=f(m),v.exportdiv=f(u),v.printdiv=f(g);let h=e=>{let{alertType:t,strMessage:n,displaytime:o}=e,a=(0,i.useCallback)(()=>{let e=null,r=null;"success"===t?(e=document.querySelector(".banner-success-master"),r=document.querySelector(".banner-success-master .text-block-28")):"warning"===t?(e=document.querySelector(".banner-warning-master"),r=document.querySelector(".banner-warning-master .text-block-28")):"fail"===t&&(e=document.querySelector(".banner-fail-master"),r=document.querySelector(".banner-fail-master .text-block-28")),e&&r&&(r.innerHTML=n,e.classList.add("showmsgTop"),setTimeout(()=>{e?.classList.remove("showmsgTop")},o),setTimeout(()=>{((e=s)=>{v[e]&&(v[e]?.unmount(),v[e]=null)})(m)},o))},[t,n,o]);return(0,i.useEffect)(()=>{a()},[a]),(0,r.jsx)(i.Fragment,{children:(0,r.jsxs)("div",{className:"removePadTop",children:["success"===t&&(0,r.jsx)(i.Fragment,{children:(0,r.jsxs)("div",{className:"banner-success-master",children:[(0,r.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,r.jsx)("div",{className:"text-block-28",children:n})]})}),"warning"===t&&(0,r.jsx)(i.Fragment,{children:(0,r.jsxs)("div",{className:"banner-warning-master",children:[(0,r.jsx)("div",{className:"font-awesome-solid icon-banner",children:""}),(0,r.jsx)("div",{className:"text-block-28",children:n})]})}),"fail"===t&&(0,r.jsx)(i.Fragment,{children:(0,r.jsxs)("div",{className:"banner-fail-master",children:[(0,r.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,r.jsx)("div",{className:"text-block-28",children:n})]})})]})})},p={Success:1,Fail:2,Warning:3},w={Success:1e3,ResponseFail:1001,RecordExists:1002,PartialAuthorize:5008,Fail:6e4,NoCentent:204,AccessDenied:1034,InvalidHeader:1044},b={CallBackGivenToMobileApp:(e,t,n,o,r)=>{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var i='5006||~||{"message": "","messageType": 0,"screenTitle":"'+t+'","screenType": 0,"navType": 0,"action": "53|~|'+JSON.stringify({NativeAction:e,Footer:n,IsFullLength:r}).replace(/\\\"/g,'"').replace(/"/g,'\\"')+'" }';navigator.userAgent.indexOf("VagaroAndroidPhone")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(i):navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1&&setTimeout(()=>{window.location="js-call:myObjectiveCFunction:"+i},o)}},CheckIsFromProAppWithoutState:()=>null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent&&(navigator.userAgent.indexOf("VagaroAndroidPhone")>-1||navigator.userAgent.indexOf("com.vagaro")>-1&&navigator.userAgent.indexOf("iPhone")>-1?(document.body.classList.add("vg_ismobile"),!0):(document.body.classList.remove("vg_ismobile"),!1)),MobileDatePicker:e=>{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var t="5006||~||"+e;navigator.userAgent.indexOf("VagaroAndroidPhone")>-1||navigator.userAgent.toLowerCase().indexOf("android")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(t):(navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.toLowerCase().indexOf("ipad")>-1)&&(window.location="js-call:myObjectiveCFunction:"+t)}},CheckIsFromIpadAndroidTabWithoutParm:()=>{if(null==navigator||null==navigator.userAgent||""==navigator.userAgent)return!1;var e=navigator.userAgent.match(/ipad/i)||navigator.userAgent.match(/iphone/i)||navigator.userAgent.match(/itouch/i)||navigator.userAgent.match(/android/i)||!1;return!!(navigator.userAgent.toLowerCase().indexOf("com.vagaro.iospro")>-1||navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro")>-1)&&!1!==e},CheckIsFromIpadAndroidPayproWithoutParm:()=>{if(null==navigator||null==navigator.userAgent||""==navigator.userAgent)return!1;var e=navigator.userAgent.match(/ipad/i)||navigator.userAgent.match(/iphone/i)||navigator.userAgent.match(/itouch/i)||navigator.userAgent.match(/android/i)||!1;return navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro paypro")>-1&&!1!==e},CheckIsPayProDevice:()=>null!==navigator&&null!==navigator.userAgent&&""!==navigator.userAgent&&(null!=navigator.userAgent.match(/D052/i)||null!=navigator.userAgent.match(/T2/i)),CheckIsFromPaydeskWithoutParm:()=>null!==navigator&&null!==navigator.userAgent&&""!==navigator.userAgent&&(null!==navigator.userAgent.match(/T2s_LITE/i)||null!==navigator.userAgent.match(/T2lite/i)),CheckIsIphoneIosproWithoutState:()=>null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent&&!!(navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1),ToolkitSendCallbacktoMobile:(e,t)=>
1{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var n=e+"||~||"+t;navigator.userAgent.indexOf("VagaroAndroidPhone")>-1||navigator.userAgent.toLowerCase().indexOf("android")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(n):(navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.toLowerCase().indexOf("ipad")>-1)&&(window.location="js-call:myObjectiveCFunction:"+n)}},safeClone:e=>{if(null==e||"object"!=typeof e)return e;if(Array.isArray(e)){let t=new WeakSet;try{return JSON.parse(JSON.stringify(e,(e,n)=>{if("function"!=typeof n&&(!n||"object"!=typeof n||!n.$$typeof)){if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n}}))}catch(e){return[]}}let t=new WeakSet;try{return JSON.parse(JSON.stringify(e,(e,n)=>{if("function"!=typeof n&&(!n||"object"!=typeof n||!n.$$typeof)){if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n}}))}catch(e){return{}}},CallBackGivenToMobileAppForStarredList:(e,t)=>{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var n="5006||~||"+e;navigator.userAgent.indexOf("VagaroAndroid")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(n):navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&setTimeout(()=>{window.location="js-call:myObjectiveCFunction:"+n},t)}},displayErrorMessage:(e,t,n)=>{((e=s,t,n=s)=>{let o=(e,t)=>(v[e]&&v[e]?._internalRoot!==null||(v[e]=f(t)),v[e]);switch(e){case s:{let e=o(s,s);e?.render(t);break}case c:{let e=o(c,c);e?.render(t);break}case d:{let e=o(d,d);e?.render(t);break}case m:{let e=o(m,m);e?.render(t);break}case l:v.Custom=f(n),v.Custom?.render(t);break;case u:v.exportdiv=f(n),v.exportdiv?.render(t);break;case g:v.printdiv=f(n),v.printdiv?.render(t)}})(m,i.createElement(i.Fragment,null,i.createElement(h,{alertType:e===p.Success?"success":e===p.Fail?"fail":"warning",strMessage:t||"Some error Occurred. Please try again.",displaytime:n||4e3})))},CheckIsTabletOrIpad:e=>{if(!("u">typeof window)||null===navigator||!navigator.userAgent)return!1;{let t=navigator.userAgent.toLowerCase(),n=t.includes("ipad")||t.includes("macintosh")&&navigator.maxTouchPoints>1,o=t.includes("android")&&!t.includes("mobile"),r=/windows|macintosh|cros/.test(t),i=!1;return i=e?navigator.maxTouchPoints>1&&!r&&window.innerWidth<=1024&&window.matchMedia("(orientation: portrait)").matches:navigator.maxTouchPoints>1&&!r&&window.innerWidth>=768&&window.innerWidth<=1366,!(navigator.userAgent.toLowerCase().indexOf("com.vagaro.iospro")>-1||navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro")>-1)&&(n||o||i)}},isNullEmptyOrWhiteSpace:function(e){return"number"==typeof e&&(e=e.toString()),null==e||""===e||""===e.trim()},CheckIsProApp:()=>null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent&&!!navigator?.userAgent?.includes("com.vagaro")},x={action:1,timePickerRight:2,timePickerLeft:3,smileyPicker:4,addressSuggestions:5,dateRangePickerAutoPosition:6,dateRangePickerRight:7,threeDotmenu:8,nestedDropdownPortal:9,phonecountry:10,tableGrid:11,emojiPicker:12,gifPicker:13};void 0===window.ToolkitReceiveCallbackFromMobile&&(window.ToolkitReceiveCallbackFromMobile=function(e){var t=JSON.parse(e).callbackIndex;69===t&&(null!=document.getElementById("DropDown11")&&document.getElementById("DropDown11").click(),null!=document.getElementById("phoneControlId")&&document.getElementById("phoneControlId").click(),null!=document.getElementById("colorPickerId")&&document.getElementById("colorPickerId").click(),null!=document.getElementById("addressControl")&&document.getElementById("addressControl").click(),null!=document.getElementById("BottomSheetId")&&document.getElementById("BottomSheetId").click(),null!=document.getElementById("AiControlId")&&document.getElementById("AiControlId").click()),54===t&&null!=document.getElementById("TimePickerId1")&&document.getElementById("TimePickerId1").click()});let y=(e,t,n,r)=>{let i=o(e).format("MMM DD, YYYY"),a=o(t).format("MMM DD, YYYY");if(localStorage.setItem("dateRangeData",JSON.stringify({formattedStartDate:i,formattedEndDate:a,ActionTagForDate:n})),localStorage.setItem("ActionTagForDate",n),null!==document.getElementById(r)){document.getElementById(r).value=`${i} - ${a}`;let o=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:e,endDate:t,ActionTagForDate:n,formattedStartDate:i,formattedEndDate:a,elementId:r}});window.dispatchEvent(o)}};function k(e){void 0===window.setMobileDataVagaroAI&&(window.setMobileDataVagaroAI=function(t){let n=JSON.parse(t);if(108===n.callbackIndex){let t=JSON.parse(n.actionVagaroAIDesc),o=t?.message?.message;e(n.callFromLocation,o)}})}void 0===window.setToolkitMobileData&&(window.setToolkitMobileData=function(e){if(e){var t={};try{t=JSON.parse(e)}catch(e){return}var n=t.callbackIndex;if(52===n){let{MerchantSignupBack:e}=t;if(e&&"1"===e){let e=document.getElementById("close-renter-popup");if(e instanceof HTMLElement&&document.body.contains(e))return void e.click();
1let t=document.getElementById("close-change-log-popup");if(t instanceof HTMLElement&&document.body.contains(t))return void t.click()}}if(79===n){let e;var r=t.actionResponse.timeCardDate;let{actionResponse:n,callFromLocation:o}=t;e=null!=n&&void 0!==n.callFromLocation&&null!=n.callFromLocation?n.callFromLocation.split("|#|")[0]:o.split("|#|")[0];let i=document.getElementById(e);if(null!=i){let e=new CustomEvent("nativeDateRangeSelected",{detail:{date:r,elementId:i.id}});window.dispatchEvent(e),i.value=r}}if(52===n||32===n){let e,{actionResponse:n,callFromLocation:r}=t;var i,a,l=t?.actionResponse?.actionTag|t?.actionTag;if(e=null!=n&&void 0!==n.callFromLocation&&null!=n.callFromLocation?n.callFromLocation?.split("|#|")[0]:r?.split("|#|")[0],"1"==l)i=o().startOf("day"),a=o().endOf("day");else if("2"==l)i=o().subtract(1,"days"),a=o().subtract(1,"days");else if("3"==l)i=o().subtract(6,"days"),a=o();else if("4"==l)i=o().subtract(29,"days"),a=o();else if("5"==l)i=o().startOf("month"),a=o().endOf("month");else if("6"==l)i=o().subtract(1,"month").startOf("month"),a=o().subtract(1,"month").endOf("month");else if("7"==l)i=o().startOf("year"),a=o();else if("8"==l)i=o().subtract(1,"year").startOf("year"),a=o().subtract(1,"year").endOf("year");else if("9"==l)i=t.actionResponse.startDate,a=t.actionResponse.endDate;else if("10"==l){let t=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:null,endDate:null,ActionTagForDate:10,formattedStartDate:null,formattedEndDate:null,elementId:e}});window.dispatchEvent(t);return}y(i,a,l,e)}if(69===n){let{actionResponse:e,callFromLocation:n}=t,o=document.getElementById(n)||document.getElementById(e.callFromLocation);null!=o&&o.click()}if(54===n){let{actionResponse:e,name:n}=t,o=e.time,r=document.getElementById(n)||document.getElementById(e.name);if(null!=r){let e=new CustomEvent("nativeTimeSelected",{detail:{time:o,elementId:r.id}});window.dispatchEvent(e),r.value=o}}}}),void 0==window||window.LoadMobileData||(window.LoadMobileData=function(e,t,n){y(e,t,"9",n)});let I=(e,t)=>{if(e){t?.current?.focus();let e=t?.current?.getBoundingClientRect();window.scrollTo({top:e?.top+window.scrollY-100,behavior:"smooth"})}},A=e=>null==e||""===e,C=e=>null==e||"object"==typeof e&&0===Object.keys(e).length,T=e=>{let t=document.cookie.split("; ");for(let n=0;n<t.length;n++){let[o,r]=t[n].split("=");if(o===e)return decodeURIComponent(r)}return""},S=e=>{try{let t=new URLSearchParams(window.location.search);if("u">typeof window&&!("u"<typeof window)&&(!0===window.isFromOnlineForms||window.location.pathname.includes("/profile/forms"))){let n=t.get("merchantId"),o=t.get("userId"),r=t.get("grouptoken"),i=t.get("theme")??"";if(n&&o&&r)return{MerchantId:n,UserId:o,grouptoken:r,Theme:i};{let t=decodeURIComponent(document.cookie),n="",o=t.split(";");for(let t=0;t<o.length;t++)o[t].split(/=(.*)/s)[0].trim()===e&&(n=JSON.parse(o[t].split(/=(.*)/s)[1]));return n}}let n=decodeURIComponent(document.cookie),o="",r=n.split(";");for(let t=0;t<r.length;t++)r[t].split(/=(.*)/s)[0].trim()===e&&(o=JSON.parse(r[t].split(/=(.*)/s)[1]));return o}catch(e){return{}}},E=(e,t)=>{var n="",o=window.location.host.split(".");n=o.length>=2?"."+o[o.length-2]+"."+o[o.length-1]:window.location.hostname.replace("www.",".");var r=new Date;r.setTime(r.getTime()+31536e6);var i="expires="+r.toUTCString();document.cookie=e+"="+t+";"+i+";domain="+n+"; path=/"},O={MerchantId:"MerchantId",UserId:"UserId",APIV1:"VagaroCoreAPIURLV1",APIV2:"VagaroCoreAPIURLV2",grouptoken:"grouptoken",AC_TOKEN:"ac_tkn",Theme:"Theme"},M=e=>{let t=S("rpt_data");if(!(!window.location.origin.includes("http://localhost:3000")&&(A(t)||A(t.MerchantId)||A(t.UserId)||A(t.grouptoken)))){if(e===O.MerchantId)if(!A(t)&&!A(t.MerchantId))return t.MerchantId;else return"lopk5rlkYwOPc~2nVnF0Mg==";if(e===O.UserId)if(!A(t)&&!A(t.UserId))return t.UserId;else return"E4l7Jc7rF-BfHJSsIrTOmg==";if(e===O.APIV1)if(!A(t)&&!A(t.VagaroCoreApiUrl))return t.VagaroCoreApiUrl;else return"https://api.localdev.com/us02/api/v1/";if(e===O.APIV2)return null;if(e===O.grouptoken)if(!A(t)&&!A(t.grouptoken))return t.grouptoken.toLowerCase();else return"us02";if(e===O.Theme)if(!A(t)&&!A(t.Theme))return t.Theme;else return""}},L="https://vagaro.azureedge.net/static-content"}}]);

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.