PageSourceSearch

https://hairprozsalon.com/static/js/async/6065.5a8203238b.js

js hairprozsalon.com collected 2026-10-08 07:29:36 UTC 2,936 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[6065],{57944(e,n,r){r.r(n),r.d(n,{default:()=>p});var t=r(74848),o=r(96540);let i=function(e){(0,o.useEffect)(function(){if(e){var n=document.querySelectorAll('script[src="'.concat(e,'"]'))[0];n||((n=document.createElement("script")).src=e,n.async=!0,document.body.appendChild(n))}},[e])};"\n.react-apple-signin-auth-btn {\n  background-color: transparent;\n  border: none;\n  padding: 0;\n  cursor: pointer;\n  border-radius: 4px;\n  padding: 0 8px 0 2px;\n  font-size: 14px;\n  font-size: 1em;\n  line-height: 1;\n  border: 1px solid #000;\n  overflow: hidden;\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n}\n.react-apple-signin-auth-btn-light {\n  background-color: #FFF;\n  color: #000;\n  border-color: #000;\n}\n.react-apple-signin-auth-btn-dark {\n  background-color: #000;\n  color: #FFF;\n  border-color: #FFF;\n}".replace(/ {2}|\n/g,"");let a=function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{pollFrequency:1e3,retries:100,parent:window},t=r.pollFrequency,o=void 0===t?1e3:t,i=r.retries,a=void 0===i?100:i,l=r.parent,c=void 0===l?window:l;if(c&&c.hasOwnProperty(n))return Promise.resolve(c[n]);if(!a)return Promise.resolve(void 0);var p=a-1;return new Promise(function(e){return setTimeout(e,"function"==typeof o?o({retries:p}):o)}).then(function(){return e(n,{pollFrequency:o,parent:c,retries:p})})},l=function(e){var n=e.authOptions,r=e.onSuccess,t=e.onError;return a("AppleID").then(function(){window.AppleID||console.error(Error("Error loading apple script")),window.AppleID.auth.init(n);var e=window.AppleID.auth.signIn();return n.usePopup?e.then(function(e){return r&&r(e),e}).catch(function(e){return t?t(e):console.error(e),null}):(e&&"function"==typeof e.catch&&e.catch(function(){}),null)}).catch(function(e){return t?t(e):console.error(e),null})};var c=r(65195);let p=({ButtonVariant:e="Social",IsLoading:n,Labels:r="Sign in with Apple",OnResult:a,OnError:p,AppleAuthOptions:u,TriggerRef:s,HideButton:d=!1})=>{i("https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js");let{handleAppleLogin:h}=(({onResult:e,onError:n,APPLE_AUTH_OPTIONS:r})=>({handleAppleLogin:(0,o.useCallback)(async()=>{try{let t=await l({authOptions:r});t?e?.({provider:"apple",payload:(e=>{let{authorization:n,user:r}=e??{};return{idToken:n?.id_token,code:n?.code,state:n?.state,email:r?.email,firstName:r?.name?.firstName,lastName:r?.name?.lastName}})(t)}):n?.({provider:"apple",error:{error:"cancelled",message:"Authentication was cancelled"}})}catch(e){n?.({provider:"apple",error:e})}},[e,n,r])}))({onResult:a,onError:p,APPLE_AUTH_OPTIONS:u});return s&&(s.current=h),(0,t.jsx)(t.Fragment,{children:!d&&(0,t.jsx)(c.default,{ButtonVariant:e,SocialButton:"Apple",ButtononClick:h,ButtonDisabled:n,Size:"full-width",children:r})})}}}]);

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.