PageSourceSearch

https://azanaspa.com/static/js/async/3432.25f6acc7cf.js

js azanaspa.com collected 2026-10-04 10:31:11 UTC 24,736 bytes, 12 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[3432],{77355(e,t,n){n.r(t),n.d(t,{default:()=>c});var r=n(74848),o=n(96540),i=n(27142),a=n(94089);let l=[],s=[],c=(0,o.forwardRef)(({Title:e,onClick:t,PreOnChange:n,NoOfSegments:c="2",ActiveSegment:d=null,InfoTooltipMessage:u,TabSegment:g,Name:m=s,BeakPosition:f="Middle",Multi:h=!1,Html:p,TextAlignment:v,TabDesign:w=!1,FullWidth:b=!1,Required:y=!1,CustomErrorMessage:A="",Disabled:I=l,ShowRequiredFieldMark:k=!1,RequireAtLeastOne:x=!0,Size:C="",SegmentsGap:E},T)=>{let[S,M]=(0,o.useState)(h?[]:null),[O,L]=(0,o.useState)(!1),D=(0,o.useRef)(!0);(0,o.useEffect)(()=>{if(h&&Array.isArray(d)){let e=d.map(e=>m[e-1]?.id).filter(e=>void 0!==e);M(t=>{let n=Array.isArray(t)?t:t?[t]:[];return D.current&&0===n.length?(D.current=!1,e):n}),y&&e.length>0&&L(!1)}else if(!h){if(null==d)M(null);else if("number"==typeof d){let e=0===d?0:d-1,t=m[e]?.id;void 0!==t?(M(t),y&&null!=t&&L(!1)):M(null)}}},[d,m,h,y,I]);let R=async(e,r,o)=>{if(I.includes(e))return t?void t(e,r,o):void 0;if("function"==typeof n){let t=h?Array.isArray(S)&&S.includes(e):S===e;if(!1===await Promise.resolve(n(e,"string"==typeof r?r:"",!h||!t,o)))return}h?M(t=>{let n=Array.isArray(t)?t:[],r=n.includes(e);if(r&&1===n.length&&x)return n;let o=r?n.filter(t=>t!==e):[...n,e];return y&&L(0===o.length),o}):(M(e),y&&L(!1)),t&&t(e,r,o)};(0,o.useImperativeHandle)(T,()=>({validate:()=>{let e,t;return e=h?Array.isArray(S)&&S.length>0:null!==S,L(!(t=!y||y&&e)),{IsValid:t,Required:!t&&y,ErrorMessage:t?"":A}}}));let P=Array.from({length:parseInt(c)},(e,t)=>m[t]||{id:t,name:`Segment ${t}`});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"vg-segment-label",children:[(0,r.jsxs)("label",{className:"vg-input-label",children:[e,y&&k&&(0,r.jsx)("span",{className:"required-input-mark ml-1",children:"*"})]}),u&&""!==u&&(0,r.jsx)("span",{className:"vg-lbl-infochip",children:(0,r.jsx)(a.default,{BeakPoint:"Up",BeakPosition:f,Children:(0,r.jsx)("div",{className:"vg-tooltiptext",children:(0,r.jsx)(i.default,{name:"info_circle"})}),TextAlign:"center",TooltipText:u,Html:!0})})]}),(0,r.jsx)("div",{className:`vg-w-tab-menu 
2          ${"vertical"===g?"vertical":""} 
3          ${"horizontal"===g?"horizontal":""} 
4          ${"auto"===g?"auto":""} 
5          ${w&&"tab-segment"} ${b&&"full-segment"} 
6          ${E&&w?"vg-segment-custom-gap":""}`,style:E&&w?{gap:`${E}px`}:void 0,children:P.map(({id:e,name:t},n)=>{let o=n===P.length-1,i=h?Array.isArray(S)&&S.includes(e):null!==S&&S===e,a=I.includes(e);return(0,r.jsx)("a",{onClick:n=>!a&&R(e,t,n),className:`vg-w-tab-link ${0===n?"vg-switch-tab-first":o?"vg-switch-tab-last":"segment-tab-middle"} ${i?"w--current":""}
7                ${O?"vg-input-control-error":""}
8                ${1===m.length?"single-segment":""}
9                ${a?"vg-segment-disabled":""}
10              ${"center"===v?"vg-align-center":"left"===v?"vg-align-left":"right"===v?"vg-align-right":""}
11              ${"small"===C?"vg-segment-small":""}
12              `,children:p?"string"==typeof t?(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)(r.Fragment,{children:t}):t},e)})}),O&&(0,r.jsx)("div",{className:"vg-input-control-error-msg",children:A})]})})},94089(e,t,n){n.r(t),n.d(t,{default:()=>l});var r=n(74848),o=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:f=!1,OnTooltipClose:h,FullWidth:p=!1,TooltipRender:v="inline",MaxWidth:w,FullHeight:b=!1,ForceWebRender:y=!1})=>{let[A,I]=(0,o.useState)("top-center"),[k,x]=(0,o.useState)(!1),C=(0,o.useRef)(null),E=(0,o.useRef)(null),T=(0,o.useRef)(null),S=(0,o.useRef)(null),M=(0,o.useRef)(!1),[O,L]=(0,o.useState)({top:0,left:0}),D=a.Wp.CheckIsFromProAppWithoutState()&&!y,R=a.Wp.CheckIsFromIpadAndroidTabWithoutParm(),P=m&&!R,F=(0,o.useRef)([]),B=e=>{let t=getComputedStyle(e),n=t.overflowY,r=t.overflowX;return/(auto|scroll|overlay)/.test(n)||/(auto|scroll|overlay)/.test(r)},j=(0,o.useCallback)(e=>{let t=[],n=e?.parentElement||null;for(;n;)B(n)&&t.push(n),n=n.parentElement;return t.push(document.scrollingElement||document.documentElement),t},[]);(0,o.useEffect)(()=>(T.current&&(clearTimeout(T.current),T.current=null),!m&&f?(x(!0),g>0&&(T.current=setTimeout(()=>{x(!1),h&&h()},g))):x(!1),()=>{T.current&&(clearTimeout(T.current),T.current=null)}),[f,g,h,m]),(0,o.useEffect)(()=>
12{if("portal"!==v&&k&&C.current&&E.current){let e=C.current.getBoundingClientRect(),t=E.current.getBoundingClientRect(),n=window.innerWidth,r=window.innerHeight,o=t.top>=e.height,i=r-t.bottom>=e.height,a=t.left>=e.width,l=n-t.right>=e.width;o?I("top-center"):i?I("bottom-center"):a?I("left"):l?I("right"):I("bottom-center")}},[k,v]),(0,o.useEffect)(()=>{if("inline"!==v&&k&&E.current){let e=E.current.getBoundingClientRect(),t=C.current?.getBoundingClientRect().width??200,n=C.current?.getBoundingClientRect().height??40,r=window.innerWidth,o=window.innerHeight,i=e.top>=n+8,a=o-e.bottom>=n+8,l=e.left>=t+8,s=r-e.right>=t+8;i?I("top-center"):a?I("bottom-center"):l?I("left"):s?I("right"):I("bottom-center")}},[k,v]);let N=()=>{if(!E.current||!C.current)return"Middle";let e=E.current.getBoundingClientRect(),t=C.current.getBoundingClientRect(),n=window.innerWidth,r=t.width||200,o=e.left+e.width/2,i=o-r/2,a=n-(o+r/2);return i>=20&&a>=20?"Middle":i<20?"Left":a<20?"Right":"Middle"};(0,o.useEffect)(()=>{let e=u;"Auto"===u&&(e=N()),"Down"===d&&"Middle"===e?I("bottom-center"):"Down"===d&&"Left"===e?I("bottom-left"):"Down"===d&&"Right"===e?I("bottom-right"):"Up"===d&&"Left"===e?I("top-left"):"Up"===d&&"Right"===e&&I("top-right")},[d,u,A,k]),(0,o.useEffect)(()=>{if("Auto"!==u)return;let e=()=>{if(k){let e=N();"Down"===d&&"Middle"===e?I("bottom-center"):"Down"===d&&"Left"===e?I("bottom-left"):"Down"===d&&"Right"===e?I("bottom-right"):"Up"===d&&"Left"===e?I("top-left"):"Up"===d&&"Right"===e&&I("top-right")}};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[u,d,k,window.innerWidth]);let W=(0,o.useCallback)(()=>{if("inline"===v||!k||"Auto"!==u||!C.current||!E.current)return;let e=C.current.getBoundingClientRect(),t=E.current.getBoundingClientRect(),n=window.innerWidth,r=t.left,o=n-t.right,i=e.width;return o<i&&o<r?`${r+30}px`:r<i&&r<o?`${o+30}px`:void 0},[v,k,u]),$=(0,o.useCallback)(()=>{if("inline"===v||!k||!C.current||!E.current)return;let e=C.current.getBoundingClientRect(),t=E.current.getBoundingClientRect(),n=0,r=0,o=t.left+t.width/2,i=t.top+t.height/2;switch(A){case"top-center":n=t.top-e.height-8,r=o-e.width/2;break;case"bottom-center":n=t.bottom+8,r=o-e.width/2;break;case"left":n=i-e.height/2,r=t.left-e.width-8;break;case"right":n=i-e.height/2,r=t.right+8;break;case"top-left":n=t.top-e.height-8,r=t.left-10;break;case"top-right":n=t.top-e.height-8,r=t.right-e.width+10;break;case"bottom-left":n=t.bottom+8,r=t.left-10;break;case"bottom-right":n=t.bottom+8,r=t.right-e.width+10}let a=window.innerWidth,l=window.innerHeight,s=Math.max(8,Math.min(r,a-e.width-8)),c=Math.max(8,Math.min(n,l-e.height-8)),d=`${o-s}px`;L({top:c,left:s,maxWidth:W(),beakLeft:d})},[v,k,A,W]);(0,o.useLayoutEffect)(()=>{"portal"===v&&$()},[k,A,u,v,$]),(0,o.useEffect)(()=>{if("inline"===v||!k)return;let e=j(E.current);F.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)}},[k,A,u,v,$,j]),(0,o.useEffect)(()=>{if(!k)return;let e=j(E.current),t=()=>{M.current=!0,x(!1),h&&h()};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)}},[k,j,h]);let U=e=>new DOMParser().parseFromString(e,"text/html").body.textContent||"";(0,o.useEffect)(()=>{let e=e=>{R&&E.current&&!E.current.contains(e.target)&&x(!1)};if(R)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[R]),(0,o.useEffect)(()=>{if("portal"!==v&&!w&&k&&C.current&&E.current&&"Auto"===u){let e=C.current,t=e.getBoundingClientRect(),n=E.current.getBoundingClientRect(),r=window.innerWidth,o=n.left,i=r-n.right;e.style.maxWidth="none";let a=t.width;i<a&&i<o?e.style.maxWidth=`${o+30}px`:o<a&&o<i&&(e.style.maxWidth=`${i+30}px`)}},[k,A,v,w]);let J=()=>{S.current&&(window.clearTimeout(S.current),S.current=null)},V=()=>{P&&"inline"!==v&&(J(),x(!0))},_=()=>{P&&"inline"!==v&&(J(),S.current=window.setTimeout(()=>x(!1),10))};(0,o.useEffect)(()=>()=>J(),[]);let H=()=>{!R&&m&&(M.current=!1,x(!0))},z="portal"===v&&P?{onMouseEnter:V,onMouseLeave:_,onMouseMove:()=>
12{M.current&&V()}}:{onMouseEnter:H,onMouseLeave:()=>{!R&&m&&(M.current=!1,x(!1))},onMouseMove:()=>{M.current&&H()}};return(0,r.jsxs)("div",{className:`vg-group vg-tooltip-group ${b?"vg-tooltip-fullheight":""}`,children:[(0,r.jsxs)("div",{className:`vg-tooltip vg-tooltip-${A} ${p?"vg-tooltip-fullwidth":""} ${"portal"===v?"vg-tooltip-portal-trigger":""}`,ref:E,...z,onPointerUp:r=>{if(r.preventDefault(),r.stopPropagation(),m&&(R&&!D&&x(!0),D&&e)){var i={};i.message=e,i.messageType=0,i.screenTitle=o.isValidElement(t)?l?"":n||"Info":U(e),i.screenType=0,i.navType=51,i.action="",a.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(i))}},children:["inline"===v&&e&&k&&(0,r.jsx)("div",{className:`vg-tooltip-sms vg-text-${c}`,ref:C,style:w?{maxWidth:w}:void 0,children:s?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&U(e)}),t]}),"portal"===v&&e&&k&&(0,i.createPortal)((0,r.jsx)("div",{className:`vg-tooltip vg-tooltip-portal vg-tooltip-${A} ${p?"vg-tooltip-fullwidth":""}`,children:(0,r.jsx)("div",{className:`vg-tooltip-sms vg-text-${c}`,ref:C,style:{position:"fixed",top:O.top,left:O.left,maxWidth:w||O.maxWidth,zIndex:9999,visibility:0===O.left&&0===O.top?"hidden":"visible","--beak-left":O.beakLeft||"50%"},onMouseEnter:V,onMouseLeave:_,children:s?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&U(e)})}),document.body)]})}},67247(e,t,n){n.d(t,{C2:()=>L,ud:()=>M,By:()=>v,MI:()=>O,IU:()=>y,Dx:()=>T,BL:()=>w,UM:()=>E,_A:()=>k,pz:()=>I,kz:()=>C,Iu:()=>x,My:()=>S,Wp:()=>b});var r=n(77215),o=n(74848),i=n(96540),a=n(5338);let l="Custom",s="OpenDialog",c="OpenDialog1",d="OpenDialog2",u="exportdiv",g="printdiv",m="successAlert",f={Custom:null,OpenDialog:null,OpenDialog1:null,OpenDialog2:null,successAlert:null,exportdiv:null,printdiv:null},h=e=>{let t=document.getElementById(e);return t?(0,a.createRoot)(t):null};f.Custom=h(l),f.OpenDialog=h(s),f.OpenDialog1=h(c),f.OpenDialog2=h(d),f.successAlert=h(m),f.exportdiv=h(u),f.printdiv=h(g);let p=e=>{let{alertType:t,strMessage:n,displaytime:r}=e,a=(0,i.useCallback)(()=>{let e=null,o=null;"success"===t?(e=document.querySelector(".banner-success-master"),o=document.querySelector(".banner-success-master .text-block-28")):"warning"===t?(e=document.querySelector(".banner-warning-master"),o=document.querySelector(".banner-warning-master .text-block-28")):"fail"===t&&(e=document.querySelector(".banner-fail-master"),o=document.querySelector(".banner-fail-master .text-block-28")),e&&o&&(o.innerHTML=n,e.classList.add("showmsgTop"),setTimeout(()=>{e?.classList.remove("showmsgTop")},r),setTimeout(()=>{((e=s)=>{f[e]&&(f[e]?.unmount(),f[e]=null)})(m)},r))},[t,n,r]);return(0,i.useEffect)(()=>{a()},[a]),(0,o.jsx)(i.Fragment,{children:(0,o.jsxs)("div",{className:"removePadTop",children:["success"===t&&(0,o.jsx)(i.Fragment,{children:(0,o.jsxs)("div",{className:"banner-success-master",children:[(0,o.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,o.jsx)("div",{className:"text-block-28",children:n})]})}),"warning"===t&&(0,o.jsx)(i.Fragment,{children:(0,o.jsxs)("div",{className:"banner-warning-master",children:[(0,o.jsx)("div",{className:"font-awesome-solid icon-banner",children:""}),(0,o.jsx)("div",{className:"text-block-28",children:n})]})}),"fail"===t&&(0,o.jsx)(i.Fragment,{children:(0,o.jsxs)("div",{className:"banner-fail-master",children:[(0,o.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,o.jsx)("div",{className:"text-block-28",children:n})]})})]})})},v={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,r,o)=>{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:o}).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},r)}},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)=>
12{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 r=(e,t)=>(f[e]&&f[e]?._internalRoot!==null||(f[e]=h(t)),f[e]);switch(e){case s:{let e=r(s,s);e?.render(t);break}case c:{let e=r(c,c);e?.render(t);break}case d:{let e=r(d,d);e?.render(t);break}case m:{let e=r(m,m);e?.render(t);break}case l:f.Custom=h(n),f.Custom?.render(t);break;case u:f.exportdiv=h(n),f.exportdiv?.render(t);break;case g:f.printdiv=h(n),f.printdiv?.render(t)}})(m,i.createElement(i.Fragment,null,i.createElement(p,{alertType:e===v.Success?"success":e===v.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,r=t.includes("android")&&!t.includes("mobile"),o=/windows|macintosh|cros/.test(t),i=!1;return i=e?navigator.maxTouchPoints>1&&!o&&window.innerWidth<=1024&&window.matchMedia("(orientation: portrait)").matches:navigator.maxTouchPoints>1&&!o&&window.innerWidth>=768&&window.innerWidth<=1366,!(navigator.userAgent.toLowerCase().indexOf("com.vagaro.iospro")>-1||navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro")>-1)&&(n||r||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")},y={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 A=(e,t,n,o)=>{let i=r(e).format("MMM DD, YYYY"),a=r(t).format("MMM DD, YYYY");if(localStorage.setItem("dateRangeData",JSON.stringify({formattedStartDate:i,formattedEndDate:a,ActionTagForDate:n})),localStorage.setItem("ActionTagForDate",n),null!==document.getElementById(o)){document.getElementById(o).value=`${i} - ${a}`;let r=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:e,endDate:t,ActionTagForDate:n,formattedStartDate:i,formattedEndDate:a,elementId:o}});window.dispatchEvent(r)}};function I(e){void 0===window.setMobileDataVagaroAI&&(window.setMobileDataVagaroAI=function(t){let n=JSON.parse(t);if(108===n.callbackIndex){let t=JSON.parse(n.actionVagaroAIDesc),r=t?.message?.message;e(n.callFromLocation,r)}})}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();
12let 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 o=t.actionResponse.timeCardDate;let{actionResponse:n,callFromLocation:r}=t;e=null!=n&&void 0!==n.callFromLocation&&null!=n.callFromLocation?n.callFromLocation.split("|#|")[0]:r.split("|#|")[0];let i=document.getElementById(e);if(null!=i){let e=new CustomEvent("nativeDateRangeSelected",{detail:{date:o,elementId:i.id}});window.dispatchEvent(e),i.value=o}}if(52===n||32===n){let e,{actionResponse:n,callFromLocation:o}=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]:o?.split("|#|")[0],"1"==l)i=r().startOf("day"),a=r().endOf("day");else if("2"==l)i=r().subtract(1,"days"),a=r().subtract(1,"days");else if("3"==l)i=r().subtract(6,"days"),a=r();else if("4"==l)i=r().subtract(29,"days"),a=r();else if("5"==l)i=r().startOf("month"),a=r().endOf("month");else if("6"==l)i=r().subtract(1,"month").startOf("month"),a=r().subtract(1,"month").endOf("month");else if("7"==l)i=r().startOf("year"),a=r();else if("8"==l)i=r().subtract(1,"year").startOf("year"),a=r().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}A(i,a,l,e)}if(69===n){let{actionResponse:e,callFromLocation:n}=t,r=document.getElementById(n)||document.getElementById(e.callFromLocation);null!=r&&r.click()}if(54===n){let{actionResponse:e,name:n}=t,r=e.time,o=document.getElementById(n)||document.getElementById(e.name);if(null!=o){let e=new CustomEvent("nativeTimeSelected",{detail:{time:r,elementId:o.id}});window.dispatchEvent(e),o.value=r}}}}),void 0==window||window.LoadMobileData||(window.LoadMobileData=function(e,t,n){A(e,t,"9",n)});let k=(e,t)=>{if(e){t?.current?.focus();let e=t?.current?.getBoundingClientRect();window.scrollTo({top:e?.top+window.scrollY-100,behavior:"smooth"})}},x=e=>null==e||""===e,C=e=>null==e||"object"==typeof e&&0===Object.keys(e).length,E=e=>{let t=document.cookie.split("; ");for(let n=0;n<t.length;n++){let[r,o]=t[n].split("=");if(r===e)return decodeURIComponent(o)}return""},T=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"),r=t.get("userId"),o=t.get("grouptoken"),i=t.get("theme")??"";if(n&&r&&o)return{MerchantId:n,UserId:r,grouptoken:o,Theme:i};{let t=decodeURIComponent(document.cookie),n="",r=t.split(";");for(let t=0;t<r.length;t++)r[t].split(/=(.*)/s)[0].trim()===e&&(n=JSON.parse(r[t].split(/=(.*)/s)[1]));return n}}let n=decodeURIComponent(document.cookie),r="",o=n.split(";");for(let t=0;t<o.length;t++)o[t].split(/=(.*)/s)[0].trim()===e&&(r=JSON.parse(o[t].split(/=(.*)/s)[1]));return r}catch(e){return{}}},S=(e,t)=>{var n="",r=window.location.host.split(".");n=r.length>=2?"."+r[r.length-2]+"."+r[r.length-1]:window.location.hostname.replace("www.",".");var o=new Date;o.setTime(o.getTime()+31536e6);var i="expires="+o.toUTCString();document.cookie=e+"="+t+";"+i+";domain="+n+"; path=/"},M={MerchantId:"MerchantId",UserId:"UserId",APIV1:"VagaroCoreAPIURLV1",APIV2:"VagaroCoreAPIURLV2",grouptoken:"grouptoken",AC_TOKEN:"ac_tkn",Theme:"Theme"},O=e=>{let t=T("rpt_data");if(!(!window.location.origin.includes("http://localhost:3000")&&(x(t)||x(t.MerchantId)||x(t.UserId)||x(t.grouptoken)))){if(e===M.MerchantId)if(!x(t)&&!x(t.MerchantId))return t.MerchantId;else return"lopk5rlkYwOPc~2nVnF0Mg==";if(e===M.UserId)if(!x(t)&&!x(t.UserId))return t.UserId;else return"E4l7Jc7rF-BfHJSsIrTOmg==";if(e===M.APIV1)if(!x(t)&&!x(t.VagaroCoreApiUrl))return t.VagaroCoreApiUrl;else return"https://api.localdev.com/us02/api/v1/";if(e===M.APIV2)return null;if(e===M.grouptoken)if(!x(t)&&!x(t.grouptoken))return t.grouptoken.toLowerCase();else return"us02";if(e===M.Theme)if(!x(t)&&!x(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.