PageSourceSearch

https://theluxestudiollc.com/static/js/async/4039.184b4f2260.js

js theluxestudiollc.com collected 2026-10-08 07:28:45 UTC 42,711 bytes, 1 lines download raw bytes

1(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[4039],{53006(){},37808(e){function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=37808,e.exports=t},59189(e,t,n){"use strict";n.d(t,{A:()=>a});var i=n(74848),o=n(96540),r=n(40961),l=n(98232);let a=({children:e,wrapperElement:t="div",wrapperElementId:n="divId",inputRef:a,type:s,DropdownDirection:c="auto",wrapperName:d="",openInCenter:u=!1,glassDesign:g=!1})=>{let[h,p]=(0,o.useState)(null),[m,w]=(0,o.useState)(0),[v,f]=(0,o.useState)(0),x=(0,o.useRef)(null),[b,y]=(0,o.useState)({top:0,left:0}),k=l.Wp.CheckIsProApp(),[I,j]=(0,o.useState)(e?.props?.children?.length);return((0,o.useLayoutEffect)(()=>{if(!h||!h.firstElementChild)return;let e=h.firstElementChild,t=e?.getBoundingClientRect(),n=0,i=h.children;for(let e=0;e<i.length;e++)n+=i[e].scrollHeight;w(n),f(t?.width||700)},[h,n,e]),(0,o.useLayoutEffect)(()=>{y((()=>{let t,i,r;if(!a?.current)return{top:0,left:0};let h=a?.current?.getBoundingClientRect();if(!h||!h?.width&&!h.height)return{top:0,left:0};let p=85*!!g,w=window.innerHeight-h.bottom-(("threedotmenu"===n||"NestedDropdownPortal"===n)&&k?85:0)-p,f=h.top-p;if("ColorPicker"===n)t=420;else if("threedotmenu"===n||"threedotmenu"===d)t=36*(I||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*(I||0)+8;else if("phonecountry"===n)t=257;else if("inputtogglemenu"===n){let n=e?.props?.children?.[1],i=(n?o.Children.toArray(n.props?.children).filter(Boolean):[]).length;t=i>0?41.8*i+53.6:179}else t="dotphrase-portal"===n?38*(I||0)+60:"gif-picker-portal"===n?370:"emoji-picker-portal"===n?369:u&&"daterangepicker"===n?490:258;let x=m||t,b=h.left,y=window.innerWidth-h.right,j=v||700,C=h.left+window.scrollX,A=!1;if(s===l.IU.addressSuggestions){let e=window.innerHeight,t=e/3,n=2*e/3,o=h.top<t,r=h.top>=t&&h.top<=n;i=h.top>n?h.top+window.scrollY-x:r||o||w>=x?h.bottom+window.scrollY:f>=x?h.top+window.scrollY-x:h.bottom+window.scrollY}else s===l.IU.timePickerRight?i=w<x&&f>=x?h.top+window.scrollY-x:h.bottom+window.scrollY:w>=x?i=h.bottom+window.scrollY:f>=x?i=h.top+window.scrollY-x:u&&("daterangepicker"===n||"daterpicker"===n)?(i=window.scrollY+Math.max(0,(window.innerHeight-x)/2),A=!0):i=h.bottom+window.scrollY;if("dotphrase-portal"===n){let e=m||38*(I||0)+20,t=v||320,n=window.innerWidth-h.left;h.right;let i=window.innerHeight-h.bottom;h.top;let o=i>=e?h.bottom+window.scrollY:h.top+window.scrollY-e-16,r=n>=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:o=Math.max(window.scrollY+8,Math.min(o,window.scrollY+window.innerHeight-e-8)),left:r}}if(("daterangepicker"===n||"daterpicker"===n||"phonecountry"===n)&&s===l.IU.dateRangePickerAutoPosition)if(u&&A)C=window.scrollX+Math.max(0,(window.innerWidth-j)/2),r=void 0;else if(y+h?.width>=j)C=h.left+window.scrollX,r=void 0;else if(b+h?.width>=j)r=window.innerWidth-(h.right+window.scrollX),C=void 0;else{let e=window.innerWidth;h.left<e/2?(C=window.scrollX,r=void 0):"phonecountry"===n?r=void 0:(r=0,C=void 0)}else if("phonecountry"===n&&s===l.IU.phonecountry)y>=328?(C=h.left+window.scrollX,r=void 0):b>=328?(r=window.innerWidth-(h.right+window.scrollX),C=void 0):y>=b?(C=h.left+window.scrollX,r=void 0):(r=window.innerWidth-(h.right+window.scrollX),C=void 0);else switch(s){case l.IU.action:C=b<y?h.left+window.scrollX:window.innerWidth-y-(h?.width||328);break;case l.IU.timePickerRight:h?.width;let T=window.innerWidth,E=navigator.userAgent,S=/^((?!chrome|android).)*safari/i.test(E),M=navigator.platform.toUpperCase().indexOf("MAC")>=0;r=T-(h.right+window.scrollX+(S||M?0:10));break;case l.IU.threeDotmenu:i=w<x&&f>=x?h.top+window.scrollY-x:h.bottom+window.scrollY;let N=window.visualViewport?.width??document.documentElement.clientWidth??window.innerWidth,F=v||0,$=h.right>=F,L=N-h.left>=F;("left"===c?!F||L||!$:F&&!$&&L)?(C=h.left+window.scrollX,r=void 0):(r=Math.round(N-h.right),C=void 0);break;case l.IU.smileyPicker:C=h.right+window.scrollX-240;break;case l.IU.tableGrid:{let e=window.scrollX+8,t=window.scrollX+window.innerWidth-8,n=window.visualVie
1wport,o=n?window.innerHeight-n.height:0;i=null!=n&&o>80?h.top+window.scrollY-x:w>=x?h.bottom+window.scrollY:f>=x?h.top+window.scrollY-x:w>=f?h.bottom+window.scrollY:h.top+window.scrollY-x,C=y>=j?h.left+window.scrollX:b>=j?h.right+window.scrollX-j:Math.max(e,Math.min(h.left+window.scrollX,t-j));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;C=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=x||369;i=w>=e+4?h.bottom+window.scrollY+4:f>=e+4?h.top+window.scrollY-e-4:w>f?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),C=t;break}default:C=h.left+window.scrollX}if("dropdownmenu"===n&&c&&"auto"!==c){let e,t=window.innerHeight-h.bottom,n=h.top;return"right"===c?e=h.right+window.scrollX:"left"===c&&(e=h.left-h.width+window.scrollX),{top:t>=x?h.top+window.scrollY:n>=x?h.bottom+window.scrollY-x:h.top+window.scrollY,left:e}}return void 0!==r?{top:i,right:r}:{top:i,left:C}})())},[a,m,s,n,e]),(0,o.useEffect)(()=>{let e=x.current;if(!e||!e.firstElementChild)return;let t=()=>{let t=e.firstElementChild,n=t?.getBoundingClientRect(),i=0,o=e.children;for(let e=0;e<o.length;e++)i+=o[e].offsetHeight;w(i),f(n?.width||700)};t();let n=new ResizeObserver(t),i=new MutationObserver(t);return n.observe(e),i.observe(e,{childList:!0,subtree:!0}),()=>{n.disconnect(),i.disconnect()}},[e,n,s]),(0,o.useEffect)(()=>{let e,i=document.getElementById(n);i||((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),i=e),x.current=i,p(i);try{let e=a?.current??null,t=e?e.closest("[data-popup-id]"):null,n=t?.getAttribute("data-popup-id");n?i.setAttribute("data-parent-popup-id",n):i.removeAttribute("data-parent-popup-id")}catch{}return()=>{i&&document.body.contains(i)&&document.body.removeChild(i)}},[n,t]),null===h)?null:(0,r.createPortal)((0,i.jsx)("div",{style:{position:"absolute",...b,..."dropdownmenu"===n||"table-grid-portal"===n||"threedotmenu"===n||"threedotmenu"===d||"emoji-picker-portal"===n||"gif-picker-portal"===n?{zIndex:9999}:{}},children:e}),h)}},82029(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>c});var i=n(74848),o=n(96540);n(53006);var r=n(2390),l=n(66380),a=n(59189);let s="Replace your content here",c=(0,o.forwardRef)(({ToggleVariation:e="Default",Title:t="",ExpandedText:n=(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:s}}),Disable:c=!1,ToggleOn:d=!1,Description:u,CopyHorizontal:g=!1,CopyVertical:h=!1,OnChange:p,SetValue:m,ToogleRight:w,SetToggleOption:v,OnClick:f,ToggleId:x="",CustomButtonText:b="",VerticalOnClick:y,HorizontalOnClick:k,Name:I="vg-switch",BeakPosition:j="Middle",InfoTooltipMessage:C,CustomButtonTextOnClick:A,OnBlur:T,OnFocus:E,TooltipTitleForMobile:S="",Html:M="",ComponentTooltipText:N="",InputDrop:F=!1,ToggleOptions:$=[],PreOnChange:L,UsePortal:O=!1,CustomButtonClose:D=!1,InputAutoFocus:R=!1,TabIndex:P=0,ContentFullWidth:B=!1,HideSymbolToggle:W=!1,SuffixIcon:U,DisableDefaultToggleOption:Y=!1,MaxLength:H=8},X)=>{let _,V,J,z,q="InputToggle"===e||"InputToggleSplit"===e,G="InputToggleSplit"===e,[K,Q]=(0,o.useState)(d||!1),[Z,ee]=(0,o.useState)(v||(Y?"":"$")),[et,en]=(0,o.useState)(m||""),[ei,eo]=(0,o.useState)(!1),[er,el]=(0,o.useState)(void 0),[ea,es]=(0,o.useState)("arrow-copy-vertical"),ec=(0,o.useRef)(null),ed=(0,o.useRef)(null),eu=(0,o.useRef)(null),[eg,eh]=(0,o.useState)(void 0),ep=(null==u||"string"==typeof u&&""===u.trim())&&("string"==typeof t?""!==t.trim():!!t);(0,o.useEffect)(()=>{en(m)},[m]),(0,o.useEffect)(()=>{ee(v||(Y?"":"%"))},[v,Y]),(0,o.useEffect)(()=>{Q(d)},[d]),(0,o.useEffect)(()=>{q&&es("arrow-copy-vertical")},[q]),(0,o.useEffect)(()=>{let e=parseInt(et,10);"%"===Z&&e>100&&en("100")},[Z]),(0,o.useEffect)(()=>{let e=e=>{ec.current&&!ec.current.contains(e.target)&&eo(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,o.useEffect)(()=>
1{if(!O||!ei)return;let e=()=>{let e=ed.current?.getBoundingClientRect();e?.width&&el(e.width)};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}},[O,ei]),(0,o.useLayoutEffect)(()=>{"InputToggle"===e&&U&&eu.current?eh(eu.current.offsetWidth+12):eh(void 0)},[e,U,et]);let em=()=>{if(G)return;let e=ed.current;if(!e)return;let t=e.value||"",n="";if(!(n=$?.length>1?$[1]?.value||"":Z||"%")||!t.endsWith(n))return;let i=Math.max(0,t.length-n.length);(e.selectionStart??0)>i&&e.setSelectionRange(i,i)},ew=e=>{let t=e.target.checked;("function"!=typeof L||!1!==L(t,e))&&(Q(t),p&&p(t))},ev=e=>{ee(e),F&&eo(!1),f&&f(e),T&&("$"===e?T(`$${et?.replace("$","")}`):T(`${et?.replace("%","")}%`))},ef=e=>{eo(!0)},ex=e=>{"arrow-copy-vertical"===e?(es(e),f(e),y(e)):(es(e),k(e))},eb=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("input",{type:"checkbox",id:`switch-${x}`,className:`vg-switch-input ${K?"checked":""}`,checked:K,onChange:ew,disabled:c,name:I,tabIndex:P}),(0,i.jsx)("label",{className:"vg-switch-label",htmlFor:`switch-${x}`})]}),ey=e=>""!==N?(0,i.jsx)(r.default,{BeakPoint:"Up",BeakPosition:j,Children:(0,i.jsx)("div",{id:"notblockeventdiv",children:e}),Duration:0,OnTooltipClose:()=>{},ScreenTitleForMobile:"",ShowHover:!0,TextAlign:"center",TooltipText:N,TooltipRender:"portal",FullWidth:!0}):e;(0,o.useImperativeHandle)(X,()=>({validate:()=>({[x]:K,IsValidate:!0,IsRequired:!0})}));let ek=e=>(0,i.jsxs)("div",{ref:ec,className:"input-toggle-list",style:e?{minWidth:er,width:er}:void 0,children:[!W&&($?.length?(0,i.jsx)("div",{className:"input-toggle",children:$.map(e=>(0,i.jsx)("span",{className:`toggle-btn ${Z===e.value?"active":""}`,onClick:()=>{var t;ee(t=e.value),F&&eo(!1),f&&f(t),T&&(t===$[0]?.value?T(`${$[0]?.value}${et?.replace($[0]?.value,"")}`,t):T(`${et?.replace($[1]?.value,"")}${$[1]?.value}`,t))},children:e.label},e?.value))}):(0,i.jsxs)("div",{className:"input-toggle",children:[(0,i.jsx)("span",{className:`toggle-btn ${"$"===Z?"active":""}`,onClick:()=>ev("$"),children:"$"}),(0,i.jsx)("span",{className:`toggle-btn ${"%"===Z?"active":""}`,onClick:()=>ev("%"),children:"%"})]})),(0,i.jsxs)("div",{className:"arrow-copy",children:[b&&(0,i.jsx)("span",{className:"arrow-btn",onClick:e=>{A&&A(e),F&&(en("100"),ee($[1]?.value||"%"),eo(!1),T(`100${$[1]?.value||"%"}`,$[1]?.value||"%")),D&&eo(!1)},children:b}),g&&(0,i.jsxs)("span",{className:`arrow-btn ${"arrow-copy-horizontal"===ea?"active":""}`,onClick:()=>ex("arrow-copy-horizontal"),children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"})}),(0,i.jsx)("span",{children:"Copy"}),(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"})})]}),h&&(0,i.jsxs)("span",{className:`arrow-btn ${"arrow-copy-vertical"===ea?"active":""}`,onClick:()=>ex("arrow-copy-vertical"),children:[(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 370.7V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V370.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"})}),(0,i.jsx)("span",{children:"Copy"}),(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:(0,i.jsx)("path",{d:"M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L128 141.3V480c0 17.7 14.3 32 32 32s32-14.3 32-32V141.3l114.6 114.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"})})]})]})]});return(0,i.jsxs)(i.Fragment,{children:["InputToggle"!==e&&"InputToggleSplit"!==e&&(0,i.jsx)(i.Fragment,{children:"Default"===e&&(0,i.jsx)(i.Fragment,{children:ey((0,i.jsxs)("div",{className:`vg-toggle-switch ${w?"vg-toggle-switch-right":""} ${B?"vg-label-full":""}`,children:[(0,i.jsx)("input",{type:"checkbox",id:`switch-${x}`,className:`vg-switch-input ${K?"checked":""}`,checked:K,onChange:ew,disabled:c,name:I,tabIndex:P}),(0,i.jsxs)("label",{htmlFor:`switch-${x}`,className:"vg-switch-label",children:["Default"!==e&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"toggle-switch-title",children:t}),(0,i.jsx)("div",{className:"toggle-switch-desc",children:u})]}),"Default"!==e&&K&&(0,i.jsx)("div",{className:"expanded-image-box",children:(0,i.jsx)("p",{children:n})})]})]}))})}
1),"InputToggle"!==e&&"InputToggleSplit"!==e&&(0,i.jsx)(i.Fragment,{children:"WithDescription"===e&&(0,i.jsx)(i.Fragment,{children:""===N?(0,i.jsxs)("div",{className:`vg-toggle-switch ${w?"vg-toggle-switch-right":""} ${B?"vg-label-full":""}`,children:[(0,i.jsx)("input",{type:"checkbox",id:`switch-${x}`,className:`vg-switch-input ${K?"checked":""}`,checked:K,onChange:ew,disabled:c,name:I,tabIndex:P}),(0,i.jsx)("label",{htmlFor:`switch-${x}`,className:"vg-switch-label",children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:`toggle-switch-title vg-toggle-lable-title ${ep?"text-alignment-toggle":""}`,children:[t,C&&""!==C&&(0,i.jsx)("span",{className:"vg-toggle-label-infochip",children:(0,i.jsx)(r.default,{BeakPoint:"Up",BeakPosition:j,Children:(0,i.jsx)("div",{className:"vg-tooltiptext",children:(0,i.jsx)(l.default,{name:"info_circle"})}),TextAlign:"center",TooltipText:C,ScreenTitleForMobile:S,Html:!0,TooltipRender:"portal"})})]}),M?"string"==typeof M?(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:M}}):(0,i.jsx)(i.Fragment,{children:M}):(0,i.jsx)("div",{className:"toggle-switch-desc",children:u}),"WithDescription"!==e&&K&&(0,i.jsx)("div",{className:"expanded-image-box",children:(0,i.jsx)("p",{children:n})})]})})]}):(0,i.jsxs)("div",{className:`vg-toggle-switch vg-toggle-switch-tooltip ${w?"vg-toggle-switch-right":""} ${B?"vg-label-full":""}`,children:[ey(eb()),(0,i.jsx)("label",{htmlFor:`switch-${x}`,children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:`toggle-switch-title vg-toggle-lable-title ${ep?"text-alignment-toggle":""}`,children:[t,C&&""!==C&&(0,i.jsx)("span",{className:"vg-toggle-label-infochip",children:(0,i.jsx)(r.default,{BeakPoint:"Up",BeakPosition:j,Children:(0,i.jsx)("div",{className:"vg-tooltiptext",children:(0,i.jsx)(l.default,{name:"info_circle"})}),TextAlign:"center",TooltipText:C,ScreenTitleForMobile:S,Html:!0,TooltipRender:"portal"})})]}),M?"string"==typeof M?(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:M}}):(0,i.jsx)(i.Fragment,{children:M}):(0,i.jsx)("div",{className:"toggle-switch-desc",children:u}),"WithDescription"!==e&&K&&(0,i.jsx)("div",{className:"expanded-image-box",children:(0,i.jsx)("p",{children:n})})]})})]})})}),"InputToggle"!==e&&"InputToggleSplit"!==e&&(0,i.jsx)(i.Fragment,{children:"Expanded"===e&&(0,i.jsx)(i.Fragment,{children:""===N?(0,i.jsxs)("div",{className:`vg-toggle-switch ${B?"vg-label-full":""}`,children:[(0,i.jsx)("input",{type:"checkbox",id:`switch-${x}`,className:`vg-switch-input ${K?"checked":"efwefwe"}`,checked:K,onChange:ew,disabled:c,name:I,tabIndex:P}),(0,i.jsxs)("label",{htmlFor:`switch-${x}`,className:"vg-switch-label",children:[(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"toggle-switch-title vg-toggle-lable-title",children:[t,C&&""!=C?(0,i.jsx)("span",{className:"vg-toggle-label-infochip",children:(0,i.jsx)(r.default,{BeakPoint:"Up",BeakPosition:j,Children:(0,i.jsx)("div",{className:"vg-tooltiptext",children:(0,i.jsx)(l.default,{name:"info_circle"})}),TextAlign:"center",TooltipText:C,ScreenTitleForMobile:S,Html:!0,TooltipRender:"portal"})}):""]}),(0,i.jsx)("div",{className:"toggle-switch-desc",children:u})]}),K&&(0,i.jsx)(i.Fragment,{children:n&&"string"==typeof n&&""!==n.trim()?(0,i.jsx)("div",{className:"expanded-image-box",children:(0,i.jsx)("p",{children:n})}):(0,i.jsx)("div",{className:"expanded-image-box",children:M?"string"==typeof M?(0,i.jsx)("p",{children:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:M}})}):M:(0,i.jsx)("p",{children:u})})})]})]}):(0,i.jsxs)("div",{className:`vg-toggle-switch vg-toggle-switch-tooltip ${w?"vg-toggle-switch-right":""} ${B?"vg-label-full":""}`,children:[ey(eb()),(0,i.jsx)("label",{htmlFor:`switch-${x}`,children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"toggle-switch-title vg-toggle-lable-title",children:[t,C&&""!==C&&(0,i.jsx)("span",{className:"vg-toggle-label-infochip",children:(0,i.jsx)(r.default,{BeakPoint:"Up",BeakPosition:j,Children:(0,i.jsx)("div",{className:"vg-tooltiptext",children:(0,i.jsx)(l.default,{name:"info_circle"})}),TextAlign:"center",TooltipText:C,ScreenTitleForMobile:S,Html:!0,TooltipRender:"portal"})})]}),M?"string"==typeof M?(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:M}}):(0,i.jsx)(i.Fragment,{children:M}):(0,i.jsx)("div",{className:"toggle-switch-desc",children:u}),"WithDescription"!==e&&K&&(0,i.jsx)("div",{className:"expanded-image-box",children:(0,i.jsx)("p",{children:n})})]})})]})})}),(0,i.jsx)("div",{className:"vg-group",children:q&&(0,i.jsxs)("div",{className:`input-toggle-wrapper ${F?"vg-input-drop-wrapper":""}`,children:[t&&(0,i.jsx)("div",{className:"vg-input-label",children:t}),ey($?.length?(0,i.jsx)("div",{className:"vg-toggle-input-container",children:(_=G&&Z===$[0]?.value,V=G&&Z===$[1]?.value,(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("input",{ref:ed,autoComplete:"off","aria-label":"Input-toggle",type:"text",autoFocus:R,value:G?et||"":Z===$[0].value?`${$[0].value}${et?.replace($[0].value,"")}`:`${et?.replace($[1].value,"")}${$[1].value}`,className:`toggle-input-box vg-input-control ${c?"cursor-not-allowed":""} ${_?"has-prefix":""} ${V?"has-suffix":""}`,style:eg?{paddingRight:eg}:void 0,disabled:c,maxLength:H,onClick:ef,onChange:e=>{let t=e.target.value?.replace(/[^0-9.]/g,"");if(t.length>H){G||requestAnimationFrame(em);return}en(t),p&&p(t),G||requestAnimationFrame(em)},onFocus:e=>{G||requestAnimationFrame(em),E&&E(e)},onMouseUp:()=>{G||requestAnimationFrame(em)},onKeyDown:e=>{"ArrowRight"!==e.key&&"End"!==e.key||G||requestAnimationFrame(em)},onBlur:()=>{let e=parseInt(et,10),t=et;isNaN(e)?(t="",en("")):e>=1e6&&Z!==$[0].value&&Z!==$[1].value?(t="1",en("1")):Z===$[1].value?e>100?(t="100",en("100")):en(et):Z===$[0].value&&(e<0?(t="0",en("0")):en(et)),T&&(Z===$[0].value?T(`${$[0].value}${t?.replace($[0].value,"")}`):T(`${t?.replace($[1].value,"")}${$[1].value}`))},name:I,tabIndex:P}),G&&Z&&(0,i.jsx)("span",{className:`vg-toggle-input-symbol ${_?"prefix":""} ${V?"suffix":""}`,children:Z}
1),"InputToggle"===e&&U&&(0,i.jsx)("span",{ref:eu,className:"vg-toggle-input-symbol suffix",children:U})]}))}):(0,i.jsx)(i.Fragment,{children:(J=G&&"$"===Z,z=G&&"%"===Z,(0,i.jsxs)("div",{className:"vg-toggle-input-container",children:[(0,i.jsx)("input",{ref:ed,autoComplete:"off","aria-label":"Input-toggle",type:"text",value:G?et||"":"$"===Z?`$${et?.replace("$","")}`:"%"===Z?`${et?.replace("%","")}%`:et||"",className:`toggle-input-box vg-input-control ${c?"cursor-not-allowed":""} ${J?"has-prefix":""} ${z?"has-suffix":""}`,style:eg?{paddingRight:eg}:void 0,disabled:c,autoFocus:R,maxLength:H,onClick:e=>{ef(e),G||requestAnimationFrame(em)},onFocus:e=>{G||requestAnimationFrame(em),E&&E(e)},onMouseUp:()=>{G||requestAnimationFrame(em)},onKeyDown:e=>{"ArrowRight"!==e.key&&"End"!==e.key||G||requestAnimationFrame(em)},onChange:e=>{let t=e.target.value?.replace(/[^0-9.]/g,"");if(t.length>H){G||requestAnimationFrame(em);return}en(t),p&&p(t),G||requestAnimationFrame(em)},onBlur:()=>{let e=parseInt(et,10),t=et;isNaN(e)?(t="",en("")):e>=1e6&&"$"!==Z&&"%"!==Z?(t="1",en("1")):"%"===Z?e>100?(t="100",en("100")):en(et):"$"===Z&&(e<0?(t="0",en("0")):en(et)),T&&("$"===Z?T(`$${t?.replace("$","")}`):"%"===Z?T(`${t?.replace("%","")}%`):T(t))},name:I,tabIndex:P}),G&&Z&&(0,i.jsx)("span",{className:`vg-toggle-input-symbol ${J?"prefix":""} ${z?"suffix":""}`,children:Z}),"InputToggle"===e&&U&&(0,i.jsx)("span",{ref:eu,className:"vg-toggle-input-symbol suffix",children:U})]}))})),ei&&(O?(0,i.jsx)(a.A,{wrapperElementId:"inputtogglemenu",wrapperElement:"div",inputRef:ed,children:ek(!0)}):ek(!1))]})})]})})},2390(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>a});var i=n(74848),o=n(96540),r=n(40961),l=n(98232);let a=({TooltipText:e,Children:t,ScreenTitleForMobile:n,Html:a=!0,TextAlign:s="center",BeakPoint:c="Down",BeakPosition:d="Middle",Duration:u=2e3,ShowHover:g=!0,TriggerTooltip:h=!1,OnTooltipClose:p,FullWidth:m=!1,TooltipRender:w="inline",MaxWidth:v,FullHeight:f=!1,ForceWebRender:x=!1})=>{let[b,y]=(0,o.useState)("top-center"),[k,I]=(0,o.useState)(!1),j=(0,o.useRef)(null),C=(0,o.useRef)(null),A=(0,o.useRef)(null),T=(0,o.useRef)(null),E=(0,o.useRef)(!1),[S,M]=(0,o.useState)({top:0,left:0}),N=l.Wp.CheckIsFromProAppWithoutState()&&!x,F=l.Wp.CheckIsFromIpadAndroidTabWithoutParm(),$=g&&!F,L=(0,o.useRef)([]),O=e=>{let t=getComputedStyle(e),n=t.overflowY,i=t.overflowX;return/(auto|scroll|overlay)/.test(n)||/(auto|scroll|overlay)/.test(i)},D=(0,o.useCallback)(e=>{let t=[],n=e?.parentElement||null;for(;n;)O(n)&&t.push(n),n=n.parentElement;return t.push(document.scrollingElement||document.documentElement),t},[]);(0,o.useEffect)(()=>(A.current&&(clearTimeout(A.current),A.current=null),!g&&h?(I(!0),u>0&&(A.current=setTimeout(()=>{I(!1),p&&p()},u))):I(!1),()=>{A.current&&(clearTimeout(A.current),A.current=null)}),[h,u,p,g]),(0,o.useEffect)(()=>{if("portal"!==w&&k&&j.current&&C.current){let e=j.current.getBoundingClientRect(),t=C.current.getBoundingClientRect(),n=window.innerWidth,i=window.innerHeight,o=t.top>=e.height,r=i-t.bottom>=e.height,l=t.left>=e.width,a=n-t.right>=e.width;o?y("top-center"):r?y("bottom-center"):l?y("left"):a?y("right"):y("bottom-center")}},[k,w]),(0,o.useEffect)(()=>{if("inline"!==w&&k&&C.current){let e=C.current.getBoundingClientRect(),t=j.current?.getBoundingClientRect().width??200,n=j.current?.getBoundingClientRect().height??40,i=window.innerWidth,o=window.innerHeight,r=e.top>=n+8,l=o-e.bottom>=n+8,a=e.left>=t+8,s=i-e.right>=t+8;r?y("top-center"):l?y("bottom-center"):a?y("left"):s?y("right"):y("bottom-center")}},[k,w]);let R=()=>{if(!C.current||!j.current)return"Middle";let e=C.current.getBoundingClientRect(),t=j.current.getBoundingClientRect(),n=window.innerWidth,i=t.width||200,o=e.left+e.width/2,r=o-i/2,l=n-(o+i/2);return r>=20&&l>=20?"Middle":r<20?"Left":l<20?"Right":"Middle"};(0,o.useEffect)(()=>{let e=d;"Auto"===d&&(e=R()),"Down"===c&&"Middle"===e?y("bottom-center"):"Down"===c&&"Left"===e?y("bottom-left"):"Down"===c&&"Right"===e?y("bottom-right"):"Up"===c&&"Left"===e?y("top-left"):"Up"===c&&"Right"===e&&y("top-right")},[c,d,b,k]),(0,o.useEffect)(()=>
1{if("Auto"!==d)return;let e=()=>{if(k){let e=R();"Down"===c&&"Middle"===e?y("bottom-center"):"Down"===c&&"Left"===e?y("bottom-left"):"Down"===c&&"Right"===e?y("bottom-right"):"Up"===c&&"Left"===e?y("top-left"):"Up"===c&&"Right"===e&&y("top-right")}};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[d,c,k,window.innerWidth]);let P=(0,o.useCallback)(()=>{if("inline"===w||!k||"Auto"!==d||!j.current||!C.current)return;let e=j.current.getBoundingClientRect(),t=C.current.getBoundingClientRect(),n=window.innerWidth,i=t.left,o=n-t.right,r=e.width;return o<r&&o<i?`${i+30}px`:i<r&&i<o?`${o+30}px`:void 0},[w,k,d]),B=(0,o.useCallback)(()=>{if("inline"===w||!k||!j.current||!C.current)return;let e=j.current.getBoundingClientRect(),t=C.current.getBoundingClientRect(),n=0,i=0,o=t.left+t.width/2,r=t.top+t.height/2;switch(b){case"top-center":n=t.top-e.height-8,i=o-e.width/2;break;case"bottom-center":n=t.bottom+8,i=o-e.width/2;break;case"left":n=r-e.height/2,i=t.left-e.width-8;break;case"right":n=r-e.height/2,i=t.right+8;break;case"top-left":n=t.top-e.height-8,i=t.left-10;break;case"top-right":n=t.top-e.height-8,i=t.right-e.width+10;break;case"bottom-left":n=t.bottom+8,i=t.left-10;break;case"bottom-right":n=t.bottom+8,i=t.right-e.width+10}let l=window.innerWidth,a=window.innerHeight,s=Math.max(8,Math.min(i,l-e.width-8)),c=Math.max(8,Math.min(n,a-e.height-8)),d=`${o-s}px`;M({top:c,left:s,maxWidth:P(),beakLeft:d})},[w,k,b,P]);(0,o.useLayoutEffect)(()=>{"portal"===w&&B()},[k,b,d,w,B]),(0,o.useEffect)(()=>{if("inline"===w||!k)return;let e=D(C.current);L.current=e;let t=()=>B();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,b,d,w,B,D]),(0,o.useEffect)(()=>{if(!k)return;let e=D(C.current),t=()=>{E.current=!0,I(!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)}},[k,D,p]);let W=e=>new DOMParser().parseFromString(e,"text/html").body.textContent||"";(0,o.useEffect)(()=>{let e=e=>{F&&C.current&&!C.current.contains(e.target)&&I(!1)};if(F)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[F]),(0,o.useEffect)(()=>{if("portal"!==w&&!v&&k&&j.current&&C.current&&"Auto"===d){let e=j.current,t=e.getBoundingClientRect(),n=C.current.getBoundingClientRect(),i=window.innerWidth,o=n.left,r=i-n.right;e.style.maxWidth="none";let l=t.width;r<l&&r<o?e.style.maxWidth=`${o+30}px`:o<l&&o<r&&(e.style.maxWidth=`${r+30}px`)}},[k,b,w,v]);let U=()=>{T.current&&(window.clearTimeout(T.current),T.current=null)},Y=()=>{$&&"inline"!==w&&(U(),I(!0))},H=()=>{$&&"inline"!==w&&(U(),T.current=window.setTimeout(()=>I(!1),10))};(0,o.useEffect)(()=>()=>U(),[]);let X=()=>{!F&&g&&(E.current=!1,I(!0))},_="portal"===w&&$?{onMouseEnter:Y,onMouseLeave:H,onMouseMove:()=>{E.current&&Y()}}:{onMouseEnter:X,onMouseLeave:()=>{!F&&g&&(E.current=!1,I(!1))},onMouseMove:()=>{E.current&&X()}};return(0,i.jsxs)("div",{className:`vg-group vg-tooltip-group ${f?"vg-tooltip-fullheight":""}`,children:[(0,i.jsxs)("div",{className:`vg-tooltip vg-tooltip-${b} ${m?"vg-tooltip-fullwidth":""} ${"portal"===w?"vg-tooltip-portal-trigger":""}`,ref:C,..._,onPointerUp:i=>{if(i.preventDefault(),i.stopPropagation(),g&&(F&&!N&&I(!0),N&&e)){var r={};r.message=e,r.messageType=0,r.screenTitle=o.isValidElement(t)?n||"Info":W(e),r.screenType=0,r.navType=51,r.action="",l.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(r))}},children:["inline"===w&&e&&k&&(0,i.jsx)("div",{className:`vg-tooltip-sms vg-text-${s}`,ref:j,style:v?{maxWidth:v}:void 0,children:a?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&W(e)}),t]}),"portal"===w&&e&&k&&(0,r.createPortal)((0,i.jsx)("div",{className:`vg-tooltip vg-tooltip-portal vg-tooltip-${b} ${m?"vg-tooltip-fullwidth":""}`,children:(0,i.jsx)("div",{className:`vg-tooltip-sms vg-text-${s}
1`,ref:j,style:{position:"fixed",top:S.top,left:S.left,maxWidth:v||S.maxWidth,zIndex:9999,visibility:0===S.left&&0===S.top?"hidden":"visible","--beak-left":S.beakLeft||"50%"},onMouseEnter:Y,onMouseLeave:H,children:a?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:e||""}}):e&&W(e)})}),document.body)]})}},98232(e,t,n){"use strict";n.d(t,{C2:()=>N,ud:()=>S,By:()=>v,MI:()=>M,IU:()=>b,Dx:()=>T,BL:()=>f,UM:()=>A,_A:()=>I,pz:()=>k,kz:()=>C,Iu:()=>j,My:()=>E,Wp:()=>x});var i=n(95093),o=n(74848),r=n(96540),l=n(5338);let a="Custom",s="OpenDialog",c="OpenDialog1",d="OpenDialog2",u="exportdiv",g="printdiv",h="successAlert",p={Custom:null,OpenDialog:null,OpenDialog1:null,OpenDialog2:null,successAlert:null,exportdiv:null,printdiv:null},m=e=>{let t=document.getElementById(e);return t?(0,l.createRoot)(t):null};p.Custom=m(a),p.OpenDialog=m(s),p.OpenDialog1=m(c),p.OpenDialog2=m(d),p.successAlert=m(h),p.exportdiv=m(u),p.printdiv=m(g);let w=e=>{let{alertType:t,strMessage:n,displaytime:i}=e,l=(0,r.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")},i),setTimeout(()=>{((e=s)=>{p[e]&&(p[e]?.unmount(),p[e]=null)})(h)},i))},[t,n,i]);return(0,r.useEffect)(()=>
1{l()},[l]),(0,o.jsx)(r.Fragment,{children:(0,o.jsxs)("div",{className:"removePadTop",children:["success"===t&&(0,o.jsx)(r.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)(r.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)(r.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},f={Success:1e3,ResponseFail:1001,RecordExists:1002,PartialAuthorize:5008,Fail:6e4,NoCentent:204,AccessDenied:1034,InvalidHeader:1044},x={CallBackGivenToMobileApp:(e,t,n,i,o)=>{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:o}).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},i)}},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)=>{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)=>
1{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 i=(e,t)=>(p[e]&&p[e]?._internalRoot!==null||(p[e]=m(t)),p[e]);switch(e){case s:{let e=i(s,s);e?.render(t);break}case c:{let e=i(c,c);e?.render(t);break}case d:{let e=i(d,d);e?.render(t);break}case h:{let e=i(h,h);e?.render(t);break}case a:p.Custom=m(n),p.Custom?.render(t);break;case u:p.exportdiv=m(n),p.exportdiv?.render(t);break;case g:p.printdiv=m(n),p.printdiv?.render(t)}})(h,r.createElement(r.Fragment,null,r.createElement(w,{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,i=t.includes("android")&&!t.includes("mobile"),o=/windows|macintosh|cros/.test(t),r=!1;return r=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||i||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")},b={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,o)=>{let r=i(e).format("MMM DD, YYYY"),l=i(t).format("MMM DD, YYYY");if(localStorage.setItem("dateRangeData",JSON.stringify({formattedStartDate:r,formattedEndDate:l,ActionTagForDate:n})),localStorage.setItem("ActionTagForDate",n),null!==document.getElementById(o)){document.getElementById(o).value=`${r} - ${l}`;let i=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:e,endDate:t,ActionTagForDate:n,formattedStartDate:r,formattedEndDate:l,elementId:o}});window.dispatchEvent(i)}};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),i=t?.message?.message;e(n.callFromLocation,i)}})}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();let 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:i}=t;e=null!=n&&void 0!==n.callFromLocation&&null!=n.callFromLocation?n.c
1allFromLocation.split("|#|")[0]:i.split("|#|")[0];let r=document.getElementById(e);if(null!=r){let e=new CustomEvent("nativeDateRangeSelected",{detail:{date:o,elementId:r.id}});window.dispatchEvent(e),r.value=o}}if(52===n||32===n){let e,{actionResponse:n,callFromLocation:o}=t;var r,l,a=t?.actionResponse?.actionTag|t?.actionTag;if(e=null!=n&&void 0!==n.callFromLocation&&null!=n.callFromLocation?n.callFromLocation?.split("|#|")[0]:o?.split("|#|")[0],"1"==a)r=i().startOf("day"),l=i().endOf("day");else if("2"==a)r=i().subtract(1,"days"),l=i().subtract(1,"days");else if("3"==a)r=i().subtract(6,"days"),l=i();else if("4"==a)r=i().subtract(29,"days"),l=i();else if("5"==a)r=i().startOf("month"),l=i().endOf("month");else if("6"==a)r=i().subtract(1,"month").startOf("month"),l=i().subtract(1,"month").endOf("month");else if("7"==a)r=i().startOf("year"),l=i();else if("8"==a)r=i().subtract(1,"year").startOf("year"),l=i().subtract(1,"year").endOf("year");else if("9"==a)r=t.actionResponse.startDate,l=t.actionResponse.endDate;else if("10"==a){let t=new CustomEvent("nativeDateRangepickerSelected",{detail:{startDate:null,endDate:null,ActionTagForDate:10,formattedStartDate:null,formattedEndDate:null,elementId:e}});window.dispatchEvent(t);return}y(r,l,a,e)}if(69===n){let{actionResponse:e,callFromLocation:n}=t,i=document.getElementById(n)||document.getElementById(e.callFromLocation);null!=i&&i.click()}if(54===n){let{actionResponse:e,name:n}=t,i=e.time,o=document.getElementById(n)||document.getElementById(e.name);if(null!=o){let e=new CustomEvent("nativeTimeSelected",{detail:{time:i,elementId:o.id}});window.dispatchEvent(e),o.value=i}}}}),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"})}},j=e=>null==e||""===e,C=e=>null==e||"object"==typeof e&&0===Object.keys(e).length,A=e=>{let t=document.cookie.split("; ");for(let n=0;n<t.length;n++){let[i,o]=t[n].split("=");if(i===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"),i=t.get("userId"),o=t.get("grouptoken"),r=t.get("theme")??"";if(n&&i&&o)return{MerchantId:n,UserId:i,grouptoken:o,Theme:r};{let t=decodeURIComponent(document.cookie),n="",i=t.split(";");for(let t=0;t<i.length;t++)i[t].split(/=(.*)/s)[0].trim()===e&&(n=JSON.parse(i[t].split(/=(.*)/s)[1]));return n}}let n=decodeURIComponent(document.cookie),i="",o=n.split(";");for(let t=0;t<o.length;t++)o[t].split(/=(.*)/s)[0].trim()===e&&(i=JSON.parse(o[t].split(/=(.*)/s)[1]));return i}catch(e){return{}}},E=(e,t)=>{var n="",i=window.location.host.split(".");n=i.length>=2?"."+i[i.length-2]+"."+i[i.length-1]:window.location.hostname.replace("www.",".");var o=new Date;o.setTime(o.getTime()+31536e6);var r="expires="+o.toUTCString();document.cookie=e+"="+t+";"+r+";domain="+n+"; path=/"},S={MerchantId:"MerchantId",UserId:"UserId",APIV1:"VagaroCoreAPIURLV1",APIV2:"VagaroCoreAPIURLV2",grouptoken:"grouptoken",AC_TOKEN:"ac_tkn",Theme:"Theme"},M=e=>{let t=T("rpt_data");if(!(!window.location.origin.includes("http://localhost:3000")&&(j(t)||j(t.MerchantId)||j(t.UserId)||j(t.grouptoken)))){if(e===S.MerchantId)if(!j(t)&&!j(t.MerchantId))return t.MerchantId;else return"lopk5rlkYwOPc~2nVnF0Mg==";if(e===S.UserId)if(!j(t)&&!j(t.UserId))return t.UserId;else return"E4l7Jc7rF-BfHJSsIrTOmg==";if(e===S.APIV1)if(!j(t)&&!j(t.VagaroCoreApiUrl))return t.VagaroCoreApiUrl;else return"https://api.localdev.com/us02/api/v1/";if(e===S.APIV2)return null;if(e===S.grouptoken)if(!j(t)&&!j(t.grouptoken))return t.grouptoken.toLowerCase();else return"us02";if(e===S.Theme)if(!j(t)&&!j(t.Theme))return t.Theme;else return""}},N="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.