PageSourceSearch

https://azanaspa.com/static/js/async/2383.6aee0c3464.js

js azanaspa.com collected 2026-10-04 10:30:38 UTC 24,779 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[2383],{7247(e,t,n){n.d(t,{A:()=>l});var o=n(74848),i=n(96540),r=n(40961),a=n(67247);let l=({children:e,wrapperElement:t="div",wrapperElementId:n="divId",inputRef:l,type:s,DropdownDirection:d="auto",wrapperName:c="",openInCenter:u=!1,glassDesign:g=!1})=>{let[m,w]=(0,i.useState)(null),[p,h]=(0,i.useState)(0),[f,v]=(0,i.useState)(0),y=(0,i.useRef)(null),[k,b]=(0,i.useState)({top:0,left:0}),I=a.Wp.CheckIsProApp(),[C,A]=(0,i.useState)(e?.props?.children?.length);return((0,i.useLayoutEffect)(()=>{if(!m||!m.firstElementChild)return;let e=m.firstElementChild,t=e?.getBoundingClientRect(),n=0,o=m.children;for(let e=0;e<o.length;e++)n+=o[e].scrollHeight;h(n),v(t?.width||700)},[m,n,e]),(0,i.useLayoutEffect)(()=>{b((()=>{let t,o,r;if(!l?.current)return{top:0,left:0};let m=l?.current?.getBoundingClientRect();if(!m||!m?.width&&!m.height)return{top:0,left:0};let w=85*!!g,h=window.innerHeight-m.bottom-(("threedotmenu"===n||"NestedDropdownPortal"===n)&&I?85:0)-w,v=m.top-w;if("ColorPicker"===n)t=420;else if("threedotmenu"===n||"threedotmenu"===c)t=36*(C||0)+10;else if("daterpicker"===n)t=340;else if("timepicker"===n||n.startsWith("timepicker-"))t=160;else if("dropdownmenu"===n)t=36*(e?.props?.children[0].length||0)+32;else if("NestedDropdownPortal"===n)t=38*(C||0)+8;else if("phonecountry"===n)t=257;else if("inputtogglemenu"===n){let n=e?.props?.children?.[1],o=(n?i.Children.toArray(n.props?.children).filter(Boolean):[]).length;t=o>0?41.8*o+53.6:179}else t="dotphrase-portal"===n?38*(C||0)+60:"gif-picker-portal"===n?370:"emoji-picker-portal"===n?369:u&&"daterangepicker"===n?490:258;let y=p||t,k=m.left,b=window.innerWidth-m.right,A=f||700,x=m.left+window.scrollX,O=!1;if(s===a.IU.addressSuggestions){let e=window.innerHeight,t=e/3,n=2*e/3,i=m.top<t,r=m.top>=t&&m.top<=n;o=m.top>n?m.top+window.scrollY-y:r||i||h>=y?m.bottom+window.scrollY:v>=y?m.top+window.scrollY-y:m.bottom+window.scrollY}else s===a.IU.timePickerRight?o=h<y&&v>=y?m.top+window.scrollY-y:m.bottom+window.scrollY:h>=y?o=m.bottom+window.scrollY:v>=y?o=m.top+window.scrollY-y:u&&("daterangepicker"===n||"daterpicker"===n)?(o=window.scrollY+Math.max(0,(window.innerHeight-y)/2),O=!0):o=m.bottom+window.scrollY;if("dotphrase-portal"===n){let e=p||38*(C||0)+20,t=f||320,n=window.innerWidth-m.left;m.right;let o=window.innerHeight-m.bottom;m.top;let i=o>=e?m.bottom+window.scrollY:m.top+window.scrollY-e-16,r=n>=t?m.left+window.scrollX:m.right+window.scrollX-t;return r=Math.max(window.scrollX+8,Math.min(r,window.scrollX+window.innerWidth-t-8)),{top:i=Math.max(window.scrollY+8,Math.min(i,window.scrollY+window.innerHeight-e-8)),left:r}}if(("daterangepicker"===n||"daterpicker"===n||"phonecountry"===n)&&s===a.IU.dateRangePickerAutoPosition)if(u&&O)x=window.scrollX+Math.max(0,(window.innerWidth-A)/2),r=void 0;else if(b+m?.width>=A)x=m.left+window.scrollX,r=void 0;else if(k+m?.width>=A)r=window.innerWidth-(m.right+window.scrollX),x=void 0;else{let e=window.innerWidth;m.left<e/2?(x=window.scrollX,r=void 0):"phonecountry"===n?r=void 0:(r=0,x=void 0)}else if("phonecountry"===n&&s===a.IU.phonecountry)b>=328?(x=m.left+window.scrollX,r=void 0):k>=328?(r=window.innerWidth-(m.right+window.scrollX),x=void 0):b>=k?(x=m.left+window.scrollX,r=void 0):(r=window.innerWidth-(m.right+window.scrollX),x=void 0);else switch(s){case a.IU.action:x=k<b?m.left+window.scrollX:window.innerWidth-b-(m?.width||328);break;case a.IU.timePickerRight:m?.width;let S=window.innerWidth,E=navigator.userAgent,P=/^((?!chrome|android).)*safari/i.test(E),M=navigator.platform.toUpperCase().indexOf("MAC")>=0;r=S-(m.right+window.scrollX+(P||M?0:10));break;case a.IU.threeDotmenu:o=h<y&&v>=y?m.top+window.scrollY-y:m.bottom+window.scrollY;let D=window.visualViewport?.width??document.documentElement.clientWidth??window.innerWidth,j=f||0,T=m.right>=j,L=D-m.left>=j;("left"===d?!j||L||!T:j&&!T&&L)?(x=m.left+window.scrollX,r=void 0):(r=Math.round(D-m.right),x=void 0);break;case a.IU.smileyPicker:x=m.right+window.scrollX-240;break;case a.IU.tableGrid:{let e=window.scrollX+8,t=window.scrollX+window.innerWidth-8,n=window.visualVie
1wport,i=n?window.innerHeight-n.height:0;o=null!=n&&i>80?m.top+window.scrollY-y:h>=y?m.bottom+window.scrollY:v>=y?m.top+window.scrollY-y:h>=v?m.bottom+window.scrollY:m.top+window.scrollY-y,x=b>=A?m.left+window.scrollX:k>=A?m.right+window.scrollX-A:Math.max(e,Math.min(m.left+window.scrollX,t-A));break}case a.IU.dateRangePickerRight:r=window.innerWidth-(m.right+window.scrollX);break;case a.IU.gifPicker:{let e=window.innerWidth-m.left,t=m.right;x=e>=343?m.left+window.scrollX:t>=343?m.right+window.scrollX-335:window.scrollX+Math.max(8,Math.min(m.left,window.innerWidth-335-8));break}case a.IU.emojiPicker:{let e=y||369;o=h>=e+4?m.bottom+window.scrollY+4:v>=e+4?m.top+window.scrollY-e-4:h>v?m.bottom+window.scrollY+4:m.top+window.scrollY-e-4;let t=m.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),x=t;break}default:x=m.left+window.scrollX}if("dropdownmenu"===n&&d&&"auto"!==d){let e,t=window.innerHeight-m.bottom,n=m.top;return"right"===d?e=m.right+window.scrollX:"left"===d&&(e=m.left-m.width+window.scrollX),{top:t>=y?m.top+window.scrollY:n>=y?m.bottom+window.scrollY-y:m.top+window.scrollY,left:e}}return void 0!==r?{top:o,right:r}:{top:o,left:x}})())},[l,p,s,n,e]),(0,i.useEffect)(()=>{let e=y.current;if(!e||!e.firstElementChild)return;let t=()=>{let t=e.firstElementChild,n=t?.getBoundingClientRect(),o=0,i=e.children;for(let e=0;e<i.length;e++)o+=i[e].offsetHeight;h(o),v(n?.width||700)};t();let n=new ResizeObserver(t),o=new MutationObserver(t);return n.observe(e),o.observe(e,{childList:!0,subtree:!0}),()=>{n.disconnect(),o.disconnect()}},[e,n,s]),(0,i.useEffect)(()=>{let e,o=document.getElementById(n);o||((e=document.createElement(t)).setAttribute("id",n),""!==n&&("Popup-change-log-popup"===n&&e.setAttribute("data-identity","history"),"Popup-renter-popup"===n&&e.setAttribute("data-identity","sub-history")),document.body.appendChild(e),o=e),y.current=o,w(o);try{let e=l?.current??null,t=e?e.closest("[data-popup-id]"):null,n=t?.getAttribute("data-popup-id");n?o.setAttribute("data-parent-popup-id",n):o.removeAttribute("data-parent-popup-id")}catch{}return()=>{o&&document.body.contains(o)&&document.body.removeChild(o)}},[n,t]),null===m)?null:(0,r.createPortal)((0,o.jsx)("div",{style:{position:"absolute",...k,..."dropdownmenu"===n||"table-grid-portal"===n||"threedotmenu"===n||"threedotmenu"===c||"emoji-picker-portal"===n||"gif-picker-portal"===n?{zIndex:9999}:{}},children:e}),m)}},3234(e,t,n){n.r(t),n.d(t,{default:()=>s});var o=n(74848),i=n(96540),r=n(64463),a=n(7247),l=n(67247);let s=(0,i.forwardRef)(({Placeholder:e="Type a message...",InputId:t,OnBlur:n,OnChange:s,OnFocus:d,OnKeyUp:c,SetValue:u,Name:g,OnEmojiClick:m,OnSendButtonClick:w,SmileyIcon:p},h)=>{let f=(0,i.useRef)(null),v=i.useRef(null),[y,k]=(0,i.useState)(u??""),[b,I]=(0,i.useState)(!1),C=e=>{let t=e?.detail?.unicode,n=f.current;if(!n||!t)return;let o=n.selectionStart||0,i=n.selectionEnd||0,r=y.slice(0,o);k(r+t+y.slice(i));let a=r.length+t.length;setTimeout(()=>{n.focus(),n.setSelectionRange(a,a)},0)},A=e=>{w&&w(e,y),k("")};return(0,i.useEffect)(()=>{let e=document.querySelector("emoji-picker");return e&&e.addEventListener("emoji-click",C),()=>{e&&e.removeEventListener("emoji-click",C)}},[y]),(0,i.useEffect)(()=>{k(u??"")},[u]),(0,o.jsx)("div",{className:"vg-smiley-input-control-group",children:(0,o.jsxs)("div",{className:"vg-smiley-input-container",children:[(0,o.jsxs)("div",{className:"vg-smiley-input",children:[(0,o.jsx)("input",{type:"text",placeholder:e,value:y,className:"vg-smiley-input-control",onChange:e=>{I(!1),k(e.target.value),s&&s(e)},onBlur:e=>{n&&n(e)},name:g,onFocus:e=>{d&&d(e)},autoComplete:"off",onKeyUp:e=>{c&&c(e),"Enter"===e.key&&(A(e),I(!1))},ref:f,id:t}),(0,o.jsxs)("div",{className:"vg-smiley-input-emoji-picker-container",children:[p&&(0,o.jsx)("button",{className:"vg-smiley-input-action-btn",onMouseDown:e=>{e.preventDefault(),e?.stopPropagation(),I(!b),m&&m(e)},onKeyUp:()=>I(!b),ref:v,children:(0,o.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M8.5 11C9.32843 11 10 10.3284 10 9.5C10 8.67157 9.32843 8 8.5 8C7.67157 8 7 8.67157 7 9.5C7 10.3284 7.67157 11 8.5 11Z"}),(0,o.jsx)("path",{d:"M17 9.5C17 10.3284 16.3284 11 15.5 11C14.6716 11 14 10.3284 14 9.5C14 8.67157 14.6716 8 15.5 8C16.3284 8 17 8.67157 17 9.5Z"}),(0,o.jsx)("path",{d:"M8.88875 13.5414C8.63822 13.0559 8.0431 12.8607 7.55301 13.1058C7.05903 13.3528 6.8588 13.9535 7.10579 14.4474C7.18825 14.6118 7.29326 14.7659 7.40334 14.9127C7.58615 15.1565 7.8621 15.4704 8.25052 15.7811C9.04005 16.4127 10.2573 17.0002 12.0002 17.0002C13.7431 17.0002 14.9604 16.4127 15.7499 15.7811C16.1383 15.4704 16.4143 15.1565 16.5971 14.9127C16.7076 14.7654 16.8081 14.6113 16.8941 14.4485C17.1387 13.961 16.9352 13.3497 16.4474 13.1058C15.9573 12.8607 15.3622 13.0559 15.1117 13.5414C15.0979 13.5663 14.9097 13.892 14.5005 14.2194C14.0401 14.5877 13.2573 15.0002 12.0002 15.0002C10.7431 15.0002 9.96038 14.5877 9.49991 14.2194C9.09071 13.892 8.90255 13.5663 8.88875 13.5414Z"}),(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM12 20.9932C7.03321 20.9932 3.00683 16.9668 3.00683 12C3.00683 7.03321 7.03321 3.00683 12 3.00683C16.9668 3.00683 20.9932 7.03321 20.9932 12C20.9932 16.9668 16.9668 20.9932 12 20.9932Z"})]})}),b&&(0,o.jsx)(a.A,{inputRef:f,type:l.IU.smileyPicker,children:(0,o.jsx)(r.A,{onEmojiClick:C,setShowEmojiPicker:I})})]})]}),(0,o.jsx)("div",{className:"vg-smiley-input-send-btn",onClick:A,children:(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"#3e8438",children:(0,o.jsx)("path",{d:"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM297 385c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l71-71L120 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l214.1 0-71-71c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L409 239c9.4 9.4 9.4 24.6 0 33.9L297 385z"})})})]})})})},67247(e,t,n){n.d(t,{C2:()=>D,ud:()=>P,By:()=>f,MI:()=>M,IU:()=>k,Dx:()=>S,BL:()=>v,UM:()=>O,_A:()=>C,pz:()=>I,kz:()=>x,Iu:()=>A,My:()=>E,Wp:()=>y});var o=n(77215),i=n(74848),r=n(96540),a=n(5338);let l="Custom",s="OpenDialog",d="OpenDialog1",c="OpenDialog2",u="exportdiv",g="printdiv",m="successAlert",w={Custom:null,OpenDialog:null,OpenDialog1:null,OpenDialog2:null,successAlert:null,exportdiv:null,printdiv:null},p=e=>{let t=document.getElementById(e);return t?(0,a.createRoot)(t):null};w.Custom=p(l),w.OpenDialog=p(s),w.OpenDialog1=p(d),w.OpenDialog2=p(c),w.successAlert=p(m),w.exportdiv=p(u),w.printdiv=p(g);let h=e=>{let{alertType:t,strMessage:n,displaytime:o}=e,a=(0,r.useCallback)(()=>{let e=null,i=null;"success"===t?(e=document.querySelector(".banner-success-master"),i=document.querySelector(".banner-success-master .text-block-28")):"warning"===t?(e=document.querySelector(".banner-warning-master"),i=document.querySelector(".banner-warning-master .text-block-28")):"fail"===t&&(e=document.querySelector(".banner-fail-master"),i=document.querySelector(".banner-fail-master .text-block-28")),e&&i&&(i.innerHTML=n,e.classList.add("showmsgTop"),setTimeout(()=>{e?.classList.remove("showmsgTop")},o),setTimeout(()=>{((e=s)=>{w[e]&&(w[e]?.unmount(),w[e]=null)})(m)},o))},[t,n,o]);return(0,r.useEffect)(()=>{a()},[a]),(0,i.jsx)(r.Fragment,{children:(0,i.jsxs)("div",{className:"removePadTop",children:["success"===t&&(0,i.jsx)(r.Fragment,{children:(0,i.jsxs)("div",{className:"banner-success-master",children:[(0,i.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,i.jsx)("div",{className:"text-block-28",children:n})]})}),"warning"===t&&(0,i.jsx)(r.Fragment,{children:(0,i.jsxs)("div",{className:"banner-warning-master",children:[(0,i.jsx)("div",{className:"font-awesome-solid icon-banner",children:""}),(0,i.jsx)("div",{className:"text-block-28",children:n})]})}),"fail"===t&&(0,i.jsx)(r.Fragment,{children:(0,i.jsxs)("div",{className:"banner-fail-master",children:[(0,i.jsx)("div",{className:"font-awesome-normal icon-banner",children:""}),(0,i.jsx)("div",{className:"text-block-28",children:n})]})})]})})},f={Success:1,Fail:2,Warning:3},v={Success:1e3,ResponseFail:1001,RecordExists:1002,PartialAuthorize:5008,Fail:6e4,NoCentent:204,AccessDenied:1034,InvalidHeader:1044},y={CallBackGivenToMobileApp:(e,t,n,o,i)=>{if(null!=navigator&&null!=navigator.userAgent&&""!=navigator.userAgent){var r='5006||~||{"message": "","messageType": 0,"screenTitle":"'+t+'","screenType": 0,"navType": 0,"action": "53|~|'+JSON.stringify({NativeAction:e,Footer:n,IsFullLength:i}).replace(/\\\"/g,'"').replace(/"/g,'\\"')+'" }';navigator.userAgent.indexOf("VagaroAndroidPhone")>-1?void 0!==window.JSInterface&&window.JSInterface.CallWSMethod(r):navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1&&setTimeout(()=>{window.location="js-call:myObjectiveCFunction:"+r},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)=>(w[e]&&w[e]?._internalRoot!==null||(w[e]=p(t)),w[e]);switch(e){case s:{let e=o(s,s);e?.render(t);break}case d:{let e=o(d,d);e?.render(t);break}case c:{let e=o(c,c);e?.render(t);break}case m:{let e=o(m,m);e?.render(t);break}case l:w.Custom=p(n),w.Custom?.render(t);break;case u:w.exportdiv=p(n),w.exportdiv?.render(t);break;case g:w.printdiv=p(n),w.printdiv?.render(t)}})(m,r.createElement(r.Fragment,null,r.createElement(h,{alertType:e===f.Success?"success":e===f.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"),i=/windows|macintosh|cros/.test(t),r=!1;return r=e?navigator.maxTouchPoints>1&&!i&&window.innerWidth<=1024&&window.matchMedia("(orientation: portrait)").matches:navigator.maxTouchPoints>1&&!i&&window.innerWidth>=768&&window.innerWidth<=1366,!(navigator.userAgent.toLowerCase().indexOf("com.vagaro.iospro")>-1||navigator.userAgent.toLowerCase().indexOf("com.vagaro.androidpro")>-1)&&(n||o||r)}},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")},k={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 b=(e,t,n,i)=>{let r=o(e).format("MMM DD, YYYY"),a=o(t).format("MMM DD, YYYY");if(localStorage.setItem("dateRangeData",JSON.stringify({formattedStartDate:r,formattedEndDate:a,ActionTagForDate:n})),localStorage.setItem("ActionTagForDate",n),null!==document.getElementById(i)){document.getElementById(i).value=`${r} - ${a}`;let o=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:e,endDate:t,ActionTagForDate:n,formattedStartDate:r,formattedEndDate:a,elementId:i}});window.dispatchEvent(o)}};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),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 i=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 r=document.getElementById(e);if(null!=r){let e=new CustomEvent("nativeDateRangeSelected",{detail:{date:i,elementId:r.id}});window.dispatchEvent(e),r.value=i}}if(52===n||32===n){let e,{actionResponse:n,callFromLocation:i}=t;var r,a,l=t?.actionResponse?.actionTag|t?.actionTag;if(e=null!=n&&void 0!==n.callFromLocation&&null!=n.callFromLocation?n.callFromLocation?.split("|#|")[0]:i?.split("|#|")[0],"1"==l)r=o().startOf("day"),a=o().endOf("day");else if("2"==l)r=o().subtract(1,"days"),a=o().subtract(1,"days");else if("3"==l)r=o().subtract(6,"days"),a=o();else if("4"==l)r=o().subtract(29,"days"),a=o();else if("5"==l)r=o().startOf("month"),a=o().endOf("month");else if("6"==l)r=o().subtract(1,"month").startOf("month"),a=o().subtract(1,"month").endOf("month");else if("7"==l)r=o().startOf("year"),a=o();else if("8"==l)r=o().subtract(1,"year").startOf("year"),a=o().subtract(1,"year").endOf("year");else if("9"==l)r=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}b(r,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,i=document.getElementById(n)||document.getElementById(e.name);if(null!=i){let e=new CustomEvent("nativeTimeSelected",{detail:{time:o,elementId:i.id}});window.dispatchEvent(e),i.value=o}}}}),void 0==window||window.LoadMobileData||(window.LoadMobileData=function(e,t,n){b(e,t,"9",n)});let C=(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,x=e=>null==e||"object"==typeof e&&0===Object.keys(e).length,O=e=>{let t=document.cookie.split("; ");for(let n=0;n<t.length;n++){let[o,i]=t[n].split("=");if(o===e)return decodeURIComponent(i)}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"),i=t.get("grouptoken"),r=t.get("theme")??"";if(n&&o&&i)return{MerchantId:n,UserId:o,grouptoken:i,Theme:r};{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="",i=n.split(";");for(let t=0;t<i.length;t++)i[t].split(/=(.*)/s)[0].trim()===e&&(o=JSON.parse(i[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 i=new Date;i.setTime(i.getTime()+31536e6);var r="expires="+i.toUTCString();document.cookie=e+"="+t+";"+r+";domain="+n+"; path=/"},P={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===P.MerchantId)if(!A(t)&&!A(t.MerchantId))return t.MerchantId;else return"lopk5rlkYwOPc~2nVnF0Mg==";if(e===P.UserId)if(!A(t)&&!A(t.UserId))return t.UserId;else return"E4l7Jc7rF-BfHJSsIrTOmg==";if(e===P.APIV1)if(!A(t)&&!A(t.VagaroCoreApiUrl))return t.VagaroCoreApiUrl;else return"https://api.localdev.com/us02/api/v1/";if(e===P.APIV2)return null;if(e===P.grouptoken)if(!A(t)&&!A(t.grouptoken))return t.grouptoken.toLowerCase();else return"us02";if(e===P.Theme)if(!A(t)&&!A(t.Theme))return t.Theme;else return""}},D="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.