PageSourceSearch

https://aqualinepiping.com/assets/CookieBanner-o7zyKtfR.js

js aqualinepiping.com collected 2026-10-08 07:25:20 UTC 6,529 bytes, 1 lines download raw bytes

1import{r as w,j as u}from"./query-Bf_KNblN.js";import{S as N}from"./radix-ui-CIsx_TBg.js";import{c as j,a as E}from"./index-QgWG1Vh2.js";import"./react-vendor-BXhMAbgd.js";const k=o=>typeof o=="boolean"?`${o}`:o===0?"0":o,C=j,I=(o,n)=>e=>{var r;if((n==null?void 0:n.variants)==null)return C(o,e==null?void 0:e.class,e==null?void 0:e.className);const{variants:a,defaultVariants:c}=n,l=Object.keys(a).map(s=>{const t=e==null?void 0:e[s],i=c==null?void 0:c[s];if(t===null)return null;const d=k(t)||k(i);return a[s][d]}),m=e&&Object.entries(e).reduce((s,t)=>{let[i,d]=t;return d===void 0||(s[i]=d),s},{}),v=n==null||(r=n.compoundVariants)===null||r===void 0?void 0:r.reduce((s,t)=>{let{class:i,className:d,...f}=t;return Object.entries(f).every(y=>{let[h,p]=y;return Array.isArray(p)?p.includes({...c,...m}[h]):{...c,...m}[h]===p})?[...s,i,d]:s},[]);return C(o,l,v,e==null?void 0:e.class,e==null?void 0:e.className)},O=I("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),x=w.forwardRef(({className:o,variant:n,size:e,asChild:r=!1,...a},c)=>{const l=r?N:"button";return u.jsx(l,{className:E(O({variant:n,size:e,className:o})),ref:c,...a})});x.displayName="Button";const g="c2_analytics_consent",D=365;function S(){if(typeof window>"u"||window.__SCC_INIT__)return;window.__SCC_INIT__=!0,window._signalsDataLayer=window._signalsDataLayer||[];const o=(t,i,d,f)=>{window._signalsDataLayer.push({schema:"add_event",version:"v1",data:{eid:t,type:i,event_label:d,custom_properties:{...f,timestamp:new Date().toISOString(),source:"airo-app-builder"}}})},n=t=>t.closest("header")?"header":t.closest("footer")?"footer":t.closest("nav")?"nav":t.closest("main")?"main":"page",e=()=>{const t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":"desktop"};o("airo.website.session","session","start",{page_path:location.pathname,referrer:document.referrer}),o("airo.website.pageview","pageview",document.title,{page_path:location.pathname,referrer:document.referrer}),document.addEventListener("click",t=>{var p,b,_;const i=(p=t.target)==null?void 0:p.closest('a, button, [role="button"]');if(!i)return;const d=((_=(b=i.textContent)==null?void 0:b.trim())==null?void 0:_.substring(0,100))||"",f=i.href||"",y=i.tagName.toLowerCase()==="a"?"link":"button";let h;if(f)try{h=new URL(f,location.origin).origin!==location.origin}catch{}o("airo.website.click","click",d||y,{element_type:y,element_text:d,element_id:i.id||void 0,section:n(i),page_path:location.pathname,page_title:document.title,href:f||void 0,is_external:f?h:void 0,device:e(),viewport_width:window.innerWidth})},!0);let r=location.href;const a=()=>{location.href!==r&&(o("airo.website.pageview","pageview",document.title,{page_path:location.pathname,referrer:r}),r=location.href)};window.addEventListener("popstate",a);const c=history.pushState,l=history.replaceState;history.pushState=(...t)=>{c.apply(history,t),setTimeout(a,0)},history.replaceState=(...t)=>{l.apply(history,t),setTimeout(a,0)};const m=location.hostname,v=m==="localhost"||m.includes("dev-airoapp")?"https://img1.dev-wsimg.com/signals/js/clients/scc-c2/scc-c2.js":m.includes("test-airoapp")?"https://img1.test-wsimg.com/signals/js/clients/scc-c2/scc-c2.min.js":"https://img1.wsimg.com/signals/js/clients/scc-c2/scc-c2.min.js",s=document.createElement("script");s.src=v,s.async=!0,document.head.appendChild(s)}function z(){const[o,n]=w.useState(!1),[e,r]=w.useState(!1);w.useEffect(function(){if(typeof window>"u")return;const m=localStorage.getItem(g);if(!m){n(!0),r(!0);return}try{const v=JSON.parse(m);(Date.now()-v.timestamp)/(1e3*60*60*24)>D?(localStorage.removeItem(g),n(!0)):v.analytics&&S()}catch{localStorage.removeItem(g),n(!0)}r(!0)},[]);function a(l){localStorage.setItem(g,JSON.stringify({analytics:l,timestamp:Date.now()})),window.dispatchEvent(new CustomEvent("cookie-consent-changed",{detail:{consented:l}})),l&&S(),n(!1)}function c(){typeof window>"u"||(localStorage.removeItem(g),window.dispatchEvent(new CustomEvent("cookie-consent-changed",{detail:{consented:!1}})),n(!0))}return w.useEffect(function(){if(!(typeof window>"u"))return window.revokeAnalyticsConsent=c,()=>{delete window.revokeAnalyticsConsent}},[]),!e||!o?null:u.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-50 bg-white border-t border-gray-200 shadow-lg",role:"alertdialog","aria-live":"polite","aria-label":"Cookie consent banner","aria-describedby":"
1cookie-banner-description",children:u.jsx("div",{className:"max-w-7xl mx-auto px-4 py-4 sm:px-6 lg:px-8",children:u.jsxs("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4",children:[u.jsxs("div",{className:"flex-1",children:[u.jsx("h3",{className:"text-sm font-semibold text-gray-900 mb-1",children:"Cookie Consent"}),u.jsxs("p",{id:"cookie-banner-description",className:"text-sm text-gray-600",children:["We serve cookies. We use tools, such as cookies, to enable essential services and functionality on our site and to collect data on how visitors interact with our site, products and services. By clicking Accept, you agree to our use of these tools for advertising, analytics and support."," ",u.jsx("a",{href:"https://www.godaddy.com/legal/agreements/privacy-policy",className:"text-blue-600 hover:text-blue-800 underline",target:"_blank",rel:"noopener noreferrer",children:"Learn more"})]})]}),u.jsxs("div",{className:"flex items-center gap-3 flex-shrink-0",children:[u.jsx(x,{size:"sm",variant:"secondary",onClick:()=>a(!1),className:"whitespace-nowrap",children:"Decline"}),u.jsx(x,{size:"sm",onClick:()=>a(!0),className:"whitespace-nowrap",autoFocus:!0,children:"Acceptbetter"})]})]})})})}export{z as default};

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.