PageSourceSearch

https://flyps.io/build/q-CQFmNqhG.js

js flyps.io collected 2026-10-07 19:42:43 UTC 56,243 bytes, 164 lines download raw bytes

1import{j as G,f as p,q as d,a as m}from"./q-DH81Pdvj.js";const xe=new Set(["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Un=e=>typeof e=="string"&&xe.has(e.toLowerCase()),Bn=p(d(()=>m(()=>import("./q-DYOWXqlp.js"),__vite__mapDeps([])),"s_1Co0xkmyAfQ")),E="qwik",_e=()=>{switch(E){case"react":case"reactNative":case"rsc":return"className";case"svelte":case"vue":case"solid":case"qwik":return"class"}},we=p(d(()=>m(()=>import("./q-Diupm3zP.js"),__vite__mapDeps([])),"s_gJoMUICXoUQ")),Wn=G("Builder"),Nn=G("Components");function Mn(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options,builderBlock:e}}const P="[Builder.io]: ",w={log:(...e)=>console.log(P,...e),error:(...e)=>console.error(P,...e),warn:(...e)=>console.warn(P,...e),debug:(...e)=>console.debug(P,...e)};function S(){return typeof window<"u"&&typeof document<"u"}const Ie=e=>{const t={};return e.forEach((n,o)=>{t[o]=n}),t},Q=e=>e instanceof URLSearchParams?Ie(e):e,X=e=>typeof e=="string"?e:e instanceof URLSearchParams?e.toString():new URLSearchParams(e).toString();function Ee(){return S()&&window.self!==window.top}function T(e){return Ee()&&X(e||window.location.search).indexOf("builder.frameEditing=")!==-1}const Te=()=>{if(S()){const e=new URL(location.href);return e.pathname===""&&(e.pathname="/"),e}else return console.warn("Cannot get location for tracking in non-browser environment"),null},Ce=()=>typeof navigator=="object"&&navigator.userAgent||"",Z=()=>{const e=Ce(),t={Android(){return e.match(/Android/i)},BlackBerry(){return e.match(/BlackBerry/i)},iOS(){return e.match(/iPhone|iPod/i)},Opera(){return e.match(/Opera Mini/i)},Windows(){return e.match(/IEMobile/i)||e.match(/WPDesktop/i)},any(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()||E==="reactNative"}},n=e.match(/Tablet|iPad/i),o=Te();return{urlPath:o==null?void 0:o.pathname,host:(o==null?void 0:o.host)||(o==null?void 0:o.hostname),device:n?"tablet":t.any()?"mobile":"desktop"}},ke=({builder:e,context:t,event:n,state:o})=>Object.entries({state:o,Builder:e,builder:e,context:t,event:n}),Re=()=>({isEditing:T(),isBrowser:S(),isServer:!S(),getUserAttributes:()=>Z()}),Ae=(e,{isExpression:t=!0})=>t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))?`return (${e});`:e,Ve=({code:e,builder:t,context:n,event:o,localState:a,rootSetState:i,rootState:r})=>{const s=ke({builder:t,context:n,event:o,state:ee({rootState:r,localState:a,rootSetState:i})});return new Function(...s.map(([l])=>l),e)(...s.map(([,l])=>l))};function ee({rootState:e,localState:t,rootSetState:n}){return new Proxy(e,{get:(o,a)=>{if(t&&a in t)return t[a];const i=o[a];return typeof i=="object"?ee({rootState:i,localState:void 0,rootSetState:n?r=>{o[a]=r,n(o)}:void 0}):i},set:(o,a,i)=>{if(t&&a in t)throw new Error("Writing to local state is not allowed as it is read-only.");return o[a]=i,n==null||n(o),!0}})}const k=e=>e!=null,Pe=e=>Ve(e);function F({code:e,context:t,localState:n,rootState:o,rootSetState:a,event:i,isExpression:r=!0}){if(e===""){w.warn("Skipping evaluation of empty code block.");return}const s={code:Ae(e,{isExpression:r}),builder:Re(),context:t,event:i,rootSetState:a,rootState:o,localState:n};try{return Pe(s)}catch(l){w.error("Failed code evaluation: "+l.message,{code:e});return}}const V=e=>JSON.parse(JSON.stringify(e)),te=(e,t,n)=>{if(Object(e)!==e)return e;const o=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return o.slice(0,-1).reduce((a,i,r)=>Object(a[i])===a[i]?a[i]:a[i]=Math.abs(Number(o[r+1]))>>0===+o[r+1]?[]:{},e)[o[o.length-1]]=n,e};const Oe=({block:e,context:t,localState:n,rootState:o,rootSetState:a})=>{if(!e.bindings)return e;const i=V(e),r={...i,properties:{...i.properties},actions:{...i.actions}};for(const s in e.bindings){const l=e.bindings[s],u=F({code:l,localState:n,rootState:o,rootSetState:a,context:t});te(r,s,u)}return r};function Fe({block:e,context:t,shouldEvaluateBindings:n,localState:o,rootState:a,rootSetState:i}){const r=e;return n?Oe({block:r,localState:o,rootState:a,rootSetState:i,context:t}):r}function Le(e,t,n={}){let o,a,i,r=null,s=0;const l=function(){s=n.leading===!1?0:Date.now(),r=null,i=e.apply(o,a),r||(o=a=null)};return function(){const u=Date.now();!s&&n.leading===!1&&(s=u);const y=t-(u-s);return o=this,a=arguments,y<=0||y>t?(r&&(clearTimeout(r),r=null),s=u,i=e.apply(o,a),r||(o=a=null)):!r&&n.trailing!==!1&&(r=setTimeout(l,y)),i}}function C(e,...t){const n=Object(e);for(let o=1;o<arguments.length;o++){const a=arguments[o];if(a!=null)for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])}return n}const L=e=>e?e.replace(/([A-Z])/g,t=>`-${t[0].toLowerCase()}`):"";function jn(e){for(const t of e)switch(t.trigger){case"pageLoad":ne(t);break;case"hover":$e(t);break;case"scrollInView":Ue(t);break}}function D(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function $(e,t){const n=De(e),o=getComputedStyle(t),a=e.steps[0].styles,i=e.steps[e.steps.length-1].styles,r=[a,i];for(const s of r)for(const l of n)l in s||(s[l]=o[l])}function De(e){const t=[];for(const n of e.steps)for(const o in n.styles)t.indexOf(o)===-1&&t.push(o);return t}function ne(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){D(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{$(e,n),n.style.transition="none",n.style.transitionDelay="0",C(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${L(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),C(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}function $e(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){D(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{$(e,n);const o=e.steps[0].styles,a=e.steps[1].styles;function i(){C(n.style,o)}function r(){C(n.style,a)}i(),n.addEventListener("mouseenter",r),n.addEventListener("mouseleave",i),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${L(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")})})}function Ue(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){D(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{$(e,n);let o=!1,a=!1;function i(){!o&&s(n)?(o=!0,a=!0,setTimeout(()=>{C(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",r),setTimeout(()=>{a=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&o&&!a&&!s(n)&&(o=!1,C(n.style,e.steps[0].styles))}const r=Le(i,200,{leading:!1});function s(y){const b=y.getBoundingClientRect(),h=window.innerHeight,_=(e.thresholdPercent||0)/100*h;return b.bottom>_&&b.top<h-_}const l=e.steps[0].styles;function u(){C(n.style,l)}u(),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${L(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",r,{capture:!0,passive:!0}),i()})}const qn=({block:e,context:t,registeredComponents:n}
1)=>{var o;const a=(o=Fe({block:e,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,shouldEvaluateBindings:!1}).component)==null?void 0:o.name;if(!a)return null;const i=n[a];if(i)return i;console.warn(`
2      Could not find a registered component named "${a}". 
3      If you registered it, is the file that registered it imported by the file that needs to render it?`)},Hn=({block:e,context:t})=>{const{repeat:n,...o}=e;if(!(n!=null&&n.collection))return;const a=F({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(a))return;const i=n.collection.split(".").pop(),r=n.itemName||(i?i+"Item":"item");return a.map((l,u)=>({context:{...t,localState:{...t.localState,$index:u,$item:l,[r]:l,[`$${r}Index`]:u}},block:o}))},oe={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},Kn=(e,t=oe)=>`@media (max-width: ${t[e].max}px)`,Be=({small:e,medium:t})=>{const n=V(oe);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const a=n.small.max+1;n.medium={max:t,min:a,default:a+1};const i=n.medium.max+1;return n.large={max:2e3,min:i,default:i+1},n},We=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),ae=e=>Object.entries(e).map(([n,o])=>{if(typeof o=="string")return`${We(n)}: ${o};`}).filter(k),Ne=e=>ae(e).join(`
4`),zn=({mediaQuery:e,className:t,styles:n})=>{const o=`.${t} {
5    ${Ne(n)}
6  }`;return e?`${e} {
7      ${o}
8    }`:o},Jn=p(d(()=>m(()=>import("./q-CUANoolL.js"),__vite__mapDeps([])),"s_IOsg46hMexk")),Yn=p(d(()=>m(()=>import("./q-COCTZTFs.js"),__vite__mapDeps([])),"s_0lZeirBI638"));function Me(e){return e.charAt(0).toUpperCase()+e.slice(1)}const je=e=>`on${Me(e)}$`;function qe(e,t){return d(()=>m(()=>import("./q-CnOrqBlr.js"),__vite__mapDeps([])),"s_7wCAiJVliNE",[t,e])}function Gn(e){const t={},n=e.block.actions??{};for(const o in n){if(!n.hasOwnProperty(o))continue;const a=n[o];let i=je(o);if(e.stripPrefix)switch(E){case"vue":i=i.replace("v-on:","");break;case"svelte":i=i.replace("on:","");break}t[i]=qe(a,e)}return t}function He({style:e}){return e}const Ke=({block:e,context:t})=>ze(He({style:e.style||{},context:t,block:e}));function ze(e){switch(E){case"svelte":case"vue":case"solid":return ae(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}function Je({properties:e}){return e}const Ye=e=>({href:e.href});function Ge({block:e,context:t}){var n;const o={...Ye(e),...e.properties,"builder-id":e.id,style:Ke({block:e,context:t}),[_e()]:[e.id,"builder-block",e.class,(n=e.properties)==null?void 0:n.class].filter(Boolean).join(" ")};return Je({properties:o,context:t,block:e})}const Qn=p(d(()=>m(()=>import("./q-Bs4S-ePi.js"),__vite__mapDeps([])),"s_kOI0j0aW8Nw")),Xn=p(d(()=>m(()=>import("./q-D--JM-qU.js"),__vite__mapDeps([])),"s_0UqfJpjhn0g")),Zn=({componentOptions:e,builderBlock:t,context:n,componentRef:o,includeBlockProps:a,isInteractive:i,contextValue:r})=>{const s={...e,...a?{attributes:Ge({block:t,context:r})}:{}};return i?{Wrapper:o,block:t,context:n,wrapperProps:e,includeBlockProps:a}:s},eo=p(d(()=>m(()=>import("./q-DJbpUYOz.js"),__vite__mapDeps([])),"s_tFQoBV6UFdc")),to=p(d(()=>m(()=>import("./q-DEBHPxe0.js"),__vite__mapDeps([])),"s_JK1l2jKcfwA")),no=p(d(()=>m(()=>import("./q-C5QJtYf2.js"),__vite__mapDeps([])),"s_nnPv0RY0U0k")),oo=function(t,n){var o,a;T()&&!((o=t.blocks)!=null&&o.length)&&((a=window.parent)==null||a.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:t.parent,dataPath:t.path}},"*"))},ao=function(t,n){var o,a;T()&&!((o=t.blocks)!=null&&o.length)&&((a=window.parent)==null||a.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:t.parent,dataPath:t.path}},"*"))},io=p(d(()=>m(()=>import("./q-CykkC0BE.js"),__vite__mapDeps([])),"s_45hR0o6abzg")),ro=`
9.props-blocks-wrapper-BlocksWrapper {
10  display: flex;
11  flex-direction: column;
12  align-items: stretch;
13}
14`,so=p(d(()=>m(()=>import("./q-5V5t_aXU.js"),__vite__mapDeps([])),"s_PI1ErWPzPEg"));function lo(e){return e}const Qe=function(t,n,o){var a;return((a=n.cols[o])==null?void 0:a.width)||100/n.cols.length}
14,Xe=function(t,n,o){const a=n.gutterSize*(n.cols.length-1)/n.cols.length;return`calc(${Qe(t,n,o)}% - ${a}px)`},W=function(t,n,{stackedStyle:o,desktopStyle:a}){return n.stackAt==="tablet"?o:a},N=function(t,n,{stackedStyle:o,desktopStyle:a}){return n.stackAt==="never"?a:o},co=function(t,n,o){const a=o===0?0:n.gutterSize,i=Xe(t,n,o),r=`${a}px`,s="100%",l=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:i,["margin-left"]:r,"--column-width-mobile":N(t,n,{stackedStyle:s,desktopStyle:i}),"--column-margin-left-mobile":N(t,n,{stackedStyle:l,desktopStyle:r}),"--column-width-tablet":W(t,n,{stackedStyle:s,desktopStyle:i}),"--column-margin-left-tablet":W(t,n,{stackedStyle:l,desktopStyle:r})}},uo=function(t,n,o){var a,i;return Be(((i=(a=t.builderContext.content)==null?void 0:a.meta)==null?void 0:i.breakpoints)||{})[o].max},Ze=p(d(()=>m(()=>import("./q-BWf9thly.js"),__vite__mapDeps([])),"s_7yLj4bxdI6c")),mo=`
15.div-Columns {
16  display: flex;
17  line-height: normal;
18}
19`,et=p(d(()=>m(()=>import("./q-r-QviAJQ.js"),__vite__mapDeps([])),"s_T0AypnadAK0"));function M(e){return e.replace(/http(s)?:/,"")}function tt(e="",t,n){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=e.indexOf("?")!==-1?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+a+t+"="+encodeURIComponent(n)}function nt(e,t){if(!e||!(e!=null&&e.match(/cdn\.shopify\.com/))||!t)return e;if(t==="master")return M(e);const n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){const o=e.split(n[0]),a=n[3],i=t.match("x")?t:`${t}x`;return M(`${o[0]}_${i}${a}`)}return null}function po(e){if(!e)return e;const t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){let n=e;const o=Number(e.split("?width=")[1]);return isNaN(o)||(n=`${n} ${o}w`),t.filter(a=>a!==o).map(a=>`${tt(e,"width",a)} ${a}w`).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(n=>[nt(e,`${n}x${n}`),n]).filter(([n])=>!!n).map(([n,o])=>`${n} ${o}w`).concat([e]).join(", "):e}const ot=p(d(()=>m(()=>import("./q-coh5Lq-U.js"),__vite__mapDeps([])),"s_LRxDkFa1EfU")),fo=`
20.img-Image {
21  opacity: 1;
22  transition: opacity 0.2s ease-in-out;
23}
24.div-Image {
25  width: 100%;
26  pointer-events: none;
27  font-size: 0;
28}
29.div-Image-2 {
30  display: flex;
31  flex-direction: column;
32  align-items: stretch;
33  position: absolute;
34  top: 0;
35  left: 0;
36  width: 100%;
37  height: 100%;
38}
39`,at=p(d(()=>m(()=>import("./q-C_Vrh__P.js"),__vite__mapDeps([])),"s_ZWF9iD5WeLg")),it=e=>{if(e==="localhost"||e==="127.0.0.1")return e;const t=e.split(".");return t.length>2?t.slice(1).join("."):e},ie=({name:e,canTrack:t})=>{var n;try{return t?(n=document.cookie.split("; ").find(o=>o.startsWith(`${e}=`)))==null?void 0:n.split("=")[1]:void 0}catch(o){w.warn("[COOKIE] GET error: ",(o==null?void 0:o.message)||o);return}},re=async e=>ie(e),rt=e=>e.map(([t,n])=>n?`${t}=${n}`:t).filter(k).join("; "),st=[["secure",""],["SameSite","None"]],lt=({name:e,value:t,expires:n})=>{const a=(S()?location.protocol==="https:":!0)?st:[[]],i=n?[["expires",n.toUTCString()]]:[[]],r=[[e,t],...i,["path","/"],["domain",it(window.location.hostname)],...a];return rt(r)},se=async({name:e,value:t,expires:n,canTrack:o})=>{try{if(!o)return;const a=lt({name:e,value:t,expires:n});document.cookie=a}catch(a){w.warn("[COOKIE] SET error: ",(a==null?void 0:a.message)||a)}},ct="builder.tests",U=e=>`${ct}.${e}`,ut=({contentId:e})=>re({name:U(e),canTrack:!0}),dt=({contentId:e})=>ie({name:U(e),canTrack:!0}),mt=({contentId:e,value:t})=>se({name:U(e),value:t,canTrack:!0}),le=e=>k(e.id)&&k(e.variations)&&Object.keys(e.variations).length>0,pt=({id:e,variations:t})=>{var n;let o=0;const a=Math.random();for(const i in t){const r=(n=t[i])==null?void 0:n.testRatio;if(o+=r,a<o)return i}return e},ce=e=>{const t=pt(e);return mt({contentId:e.id,value:t}).catch(n=>{w.error("could not store A/B test variation: ",n)}),t},ue=({item:e,testGroupId:t})=>{const n=e.variations[t];return t===e.id||!n?{testVariationId:e.id,testVariationName:"Default"}:{data:n.data,testVariationId:n.id,testVariationName:n.name||(n.id===e.id?"Default":"")}},go=({item:e,canTrack:t})=>{if(!t)return e;if(!e)return;if(!le(e))return e;const n=dt({contentId:e.id})||ce({variations:e.variations,id:e.id}),o=ue({item:e,testGroupId:n});return{...e,...o}},ft=async({item:e,canTrack:t})=>{if(!t||!le(e))return e;const o=await ut({contentId:e.id})||ce({variations:e.variations,id:e.id}),a=ue({item:e,testGroupId:o});return{...e,...a}},de=e=>k(e)?e:!0,gt={name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0},ht={name:"Columns",isRSC:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]}],onChange:e=>
39{function t(){n.forEach(o=>{o.delete("width")})}const n=e.get("columns");Array.isArray(n)&&n.find(a=>a.get("width"))&&(n.find(i=>!i.get("width"))||n.reduce((s,l)=>s+l.get("width"),0)!==100)&&t()}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]},yt={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},bt={name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:e=>{e.delete("srcset"),e.delete("noWebp");function n(r,s=6e4){return new Promise((l,u)=>{const y=document.createElement("img");let b=!1;y.onload=()=>{b=!0,l(y)},y.addEventListener("error",h=>{console.warn("Image load failed",h.error),u(h.error)}),y.src=r,setTimeout(()=>{b||u(new Error("Image load timed out"))},s)})}function o(r){return Math.round(r*1e3)/1e3}const a=e.get("image"),i=e.get("aspectRatio");if(fetch(a).then(r=>r.blob()).then(r=>{r.type.includes("svg")&&e.set("noWebp",!0)}),a&&(!i||i===.7041))return n(a).then(r=>{const s=e.get("aspectRatio");e.get("image")===a&&(!s||s===.7041)&&r.width&&r.height&&(e.set("aspectRatio",o(r.height/r.width)),e.set("height",r.height),e.set("width",r.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill it's box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},vt={name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]},St={name:"Slot",isRSC:!0,description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}]},xt=p(d(()=>m(()=>import("./q-C6RjD8c_.js"),__vite__mapDeps([])),"s_WWgWgfV0bb0")),_t={name:"Symbol",noWrap:!0,static:!0,isRSC:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:!1,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]},wt={name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}},It=p(d(()=>m(()=>import("./q-Ku05we0_.js"),__vite__mapDeps([])),"s_15p0cKUxgIE")),Et={name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},{name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},{name:"scriptsClientOnly",type:"boolean",defaultValue:!1,helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0}]},Tt=p(d(()=>m(()=>import("./q-cEp0Si26.js"),__vite__mapDeps([])),"s_uYOSy7w7Zqw")),Ct={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:e=>{const t=e.get("url");
39if(t)return e.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${t}&api_key=ae0e60e78201a3f2b0de4b`).then(o=>o.json()).then(o=>{e.get("url")===t&&(o.html?e.set("content",o.html):e.set("content","Invalid url, please try another"))}).catch(o=>{e.set("content","There was an error embedding this URL, please try again or another URL")});e.delete("content")}},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},kt=["text/javascript","application/javascript","application/ecmascript"],Rt=e=>kt.includes(e.type),ho=function(t,n,o){if(!o.value||!o.value.getElementsByTagName)return;const a=o.value.getElementsByTagName("script");for(let i=0;i<a.length;i++){const r=a[i];if(r.src&&!n.scriptsInserted.includes(r.src)){n.scriptsInserted.push(r.src);const s=document.createElement("script");s.async=!0,s.src=r.src,document.head.appendChild(s)}else if(Rt(r)&&!n.scriptsRun.includes(r.innerText))try{n.scriptsRun.push(r.innerText),new Function(r.innerText)()}catch(s){console.warn("`Embed`: Error running script:",s)}}},At=p(d(()=>m(()=>import("./q-CJho12Zb.js"),__vite__mapDeps([])),"s_Uji08ORjXbE")),Vt={name:"Form:Form",defaults:{responsiveStyles:{large:{marginTop:"15px",paddingBottom:"15px"}}},image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fef36d2a846134910b64b88e6d18c5ca5",inputs:[{name:"sendSubmissionsTo",type:"string",enum:[{label:"Send to email",value:"email",helperText:"Send form submissions to the email address of your choosing"},{label:"Custom",value:"custom",helperText:"Handle where the form requests go manually with a little code, e.g. to your own custom backend"}],defaultValue:"email"},{name:"sendSubmissionsToEmail",type:"string",required:!0,defaultValue:"[email protected]",showIf:'options.get("sendSubmissionsTo") === "email"'},{name:"sendWithJs",type:"boolean",helperText:"Set to false to use basic html form action",defaultValue:!0,showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"name",type:"string",defaultValue:"My form"},{name:"action",type:"string",helperText:"URL to send the form data to",showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"contentType",type:"string",defaultValue:"application/json",advanced:!0,enum:["application/json","multipart/form-data","application/x-www-form-urlencoded"],showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'},{name:"method",type:"string",showIf:'options.get("sendSubmissionsTo") === "custom"',defaultValue:"POST",advanced:!0},{name:"previewState",type:"string",enum:["unsubmitted","sending","success","error"],defaultValue:"unsubmitted",helperText:'Choose a state to edit, e.g. choose "success" to show what users see on success and edit the message',showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"successUrl",type:"url",helperText:"Optional URL to redirect the user to on form submission success",showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"resetFormOnSubmit",type:"boolean",showIf:"options.get('sendSubmissionsTo') === 'custom' && options.get('sendWithJs') === true",advanced:!0},{name:"successMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Thanks!</span>"}}}]},{name:"validate",type:"boolean",defaultValue:!0,advanced:!0},{name:"errorMessagePath",type:"text",advanced:!0,helperText:'Path to where to get the error message from in a JSON response to display to the user, e.g. "error.message" for a response like { "error": { "message": "this username is taken" }}'},{name:"errorMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},bindings:{"component.options.text":"state.formErrorMessage || block.component.options.text"},component:{name:"Text",options:{text:"<span>Form submission error :( Please check your answers and try again</span>"}}}]},{name:"sendingMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Sending...</span>"}}}]},{name:"customHeaders",type:"map",valueType:{type:"string"},advanced:!0,showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'}],noWrap:!0,canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your name</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}}
39,component:{name:"Form:Input",options:{name:"name",placeholder:"Jane Doe"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your email</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"email",placeholder:"[email protected]"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:SubmitButton",options:{text:"Submit"}}}]},Pt=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-prod"],Ot=()=>{const e="production";return Pt.includes(e)?e:"production"},Ft=(e,t,n)=>{const o=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce((a,i)=>a!=null?a[i]:a,e);return o===void 0||o===e?n:o},Lt=function(t,n,o,a){var i,r;const s={...t.builderContext.rootState,...a};t.builderContext.rootSetState?(r=(i=t.builderContext).rootSetState)==null||r.call(i,s):t.builderContext.rootState=s},yo=function(t,n,o){return T()&&t.previewState||n.formState},bo=function(t,n,o,a){var i;const r=t.sendWithJs||t.sendSubmissionsTo==="email";if(t.sendSubmissionsTo==="zapier")a.preventDefault();else if(r){if(!(t.action||t.sendSubmissionsTo==="email")){a.preventDefault();return}a.preventDefault();const s=a.currentTarget,l=t.customHeaders||{};let u;const y=new FormData(s),b=Array.from(a.currentTarget.querySelectorAll("input,select,textarea")).filter(c=>!!c.name).map(c=>{let g;const f=c.name;if(c instanceof HTMLInputElement)if(c.type==="radio"){if(c.checked)return g=c.name,{key:f,value:g}}else if(c.type==="checkbox")g=c.checked;else if(c.type==="number"||c.type==="range"){const v=c.valueAsNumber;isNaN(v)||(g=v)}else c.type==="file"?g=c.files:g=c.value;else g=c.value;return{key:f,value:g}});let h=t.contentType;if(t.sendSubmissionsTo==="email"&&(h="multipart/form-data"),Array.from(b).forEach(({value:c})=>{(c instanceof File||Array.isArray(c)&&c[0]instanceof File||c instanceof FileList)&&(h="multipart/form-data")}),h!=="application/json")u=y;else{const c={};Array.from(b).forEach(({value:g,key:f})=>{te(c,f,g)}),u=JSON.stringify(c)}h&&h!=="multipart/form-data"&&(r&&((i=t.action)!=null&&i.includes("zapier.com"))||(l["content-type"]=h));const x=new CustomEvent("presubmit",{detail:{body:u}});if(o.value&&(o.value.dispatchEvent(x),x.defaultPrevented))return;n.formState="sending";const _=`${Ot()==="dev"?"http://localhost:5000":"https://builder.io"}/api/v1/form-submit?apiKey=${t.builderContext.apiKey}&to=${btoa(t.sendSubmissionsToEmail||"")}&name=${encodeURIComponent(t.name||"")}`;fetch(t.sendSubmissionsTo==="email"?_:t.action,{body:u,headers:l,method:t.method||"post"}).then(async c=>{let g;const f=c.headers.get("content-type");if(f&&f.indexOf("application/json")!==-1?g=await c.json():g=await c.text(),!c.ok&&t.errorMessagePath){let v=Ft(g,t.errorMessagePath);v&&(typeof v!="string"&&(v=JSON.stringify(v)),n.formErrorMessage=v,Lt(t,n,o,{formErrorMessage:v}))}if(n.responseData=g,n.formState=c.ok?"success":"error",c.ok){const v=new CustomEvent("submit:success",{detail:{res:c,body:g}});if(o.value){if(o.value.dispatchEvent(v),v.defaultPrevented)return;t.resetFormOnSubmit!==!1&&o.value.reset()}if(t.successUrl)if(o.value){const R=new CustomEvent("route",{detail:{url:t.successUrl}});o.value.dispatchEvent(R),R.defaultPrevented||(location.href=t.successUrl)}else location.href=t.successUrl}},c=>{const g=new CustomEvent("submit:error",{detail:{error:c}});o.value&&(o.value.dispatchEvent(g),g.defaultPrevented)||(n.responseData=c,n.formState="error")})}},Dt=p(d(()=>m(()=>import("./q-VnBjWrRj.js"),__vite__mapDeps([])),"s_dk5c15Rvsfg")),vo=`
40.pre-FormComponent {
41  padding: 10px;
42  color: red;
43  text-align: center;
44}
45`,$t={name:"Form:Input",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",inputs:[{name:"type",type:"text",enum:["text","number","email","url","checkbox","radio","range","date","datetime-local","search","tel","time","file","month","week","password","color","hidden"],defaultValue:"text"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it takes, e.g. "email"'},{name:"placeholder",type:"string",defaultValue:"Hello there",helperText:"Text to display when there is no value"},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",helperText:"Is this input required to be filled out to submit a form",defaultValue:!1}],noWrap:!0,static:!0,defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"}},Ut=p(d(()=>m(()=>import("./q-DoIpk8Y7.js"),__vite__mapDeps([])),"s_AUUjdN0ueMs")),Bt={name:"Form:Select",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",defaultStyles:{alignSelf:"flex-start"},inputs:[{name:"options",type:"list",required:!0,subFields:[{name:"value",type:"text",required:!0},{name:"name",type:"text"}],defaultValue:[{value:"option 1"},{value:"option 2"}]},{name:"name",type:"string",required:!0,helperText:'Every select in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",defaultValue:!1}],static:!0,noWrap:!0},Wt=p(d(()=>m(()=>import("./q-D5t-YFzZ.js"),__vite__mapDeps([])),"s_SPKbsFLikZU")),Nt={name:"Form:SubmitButton",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#3898EC",color:"white",borderRadius:"4px",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me"}],static:!0,noWrap:!0},Mt=p(d(()=>m(()=>import("./q-BVsUZazf.js"),__vite__mapDeps([])),"s_NXvMBMCDhwc")),jt={name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0},qt=p(d(()=>m(()=>import("./q-WBntz2eh.js"),__vite__mapDeps([])),"s_FXvIDBSffO8")),Ht={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]},Kt=p(d(()=>m(()=>import("./q-BYPK3bhn.js"),__vite__mapDeps([])),"s_qdcTZflYyoQ")),zt=()=>[{component:Tt,...Et},{component:At,...Ct},{component:Dt,...Vt},{component:Ut,...$t},{component:Mt,...Nt},{component:Wt,...Bt},{component:qt,...jt},{component:Kt,...Ht}
45],So=()=>[{component:we,...gt},{component:Ze,...ht},{component:et,...yt},{component:ot,...bt},{component:at,...vt},{component:xt,...St},{component:Dn,..._t},{component:It,...wt},...zt()],xo=e=>({type:"builder.registerComponent",data:Gt(e)}),Jt=e=>{const t=e.toString().trim();return`return (${!t.startsWith("function")&&!t.startsWith("(")?"function ":""}${t}).apply(this, arguments)`},Yt=e=>typeof e=="function"?Jt(e):V(e),Gt=({inputs:e,...t})=>({...V(t),inputs:e==null?void 0:e.map(n=>Object.entries(n).reduce((o,[a,i])=>({...o,[a]:Yt(i)}),{}))}),Qt=`function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
46  function getAndSetVariantId() {
47    function setCookie(name, value, days) {
48      let expires = '';
49      if (days) {
50        const date = new Date();
51        date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
52        expires = '; expires=' + date.toUTCString();
53      }
54      document.cookie = name + '=' + (value || '') + expires + '; path=/' + '; Secure; SameSite=None';
55    }
56    function getCookie(name) {
57      const nameEQ = name + '=';
58      const ca = document.cookie.split(';');
59      for (let i = 0; i < ca.length; i++) {
60        let c = ca[i];
61        while (c.charAt(0) === ' ') c = c.substring(1, c.length);
62        if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
63      }
64      return null;
65    }
66    const cookieName = \`builder.tests.\${contentId}\`;
67    const variantInCookie = getCookie(cookieName);
68    const availableIDs = variants.map(vr => vr.id).concat(contentId);
69    if (variantInCookie && availableIDs.includes(variantInCookie)) {
70      return variantInCookie;
71    }
72    let n = 0;
73    const random = Math.random();
74    for (let i = 0; i < variants.length; i++) {
75      const variant = variants[i];
76      const testRatio = variant.testRatio;
77      n += testRatio;
78      if (random < n) {
79        setCookie(cookieName, variant.id);
80        return variant.id;
81      }
82    }
83    setCookie(cookieName, contentId);
84    return contentId;
85  }
86  const winningVariantId = getAndSetVariantId();
87  const styleEl = document.currentScript?.previousElementSibling;
88  if (isHydrationTarget) {
89    styleEl.remove();
90    const thisScriptEl = document.currentScript;
91    thisScriptEl?.remove();
92  } else {
93    const newStyleStr = variants.concat({
94      id: contentId
95    }).filter(variant => variant.id !== winningVariantId).map(value => {
96      return \`.variant-\${value.id} {  display: none; }
97        \`;
98    }).join('');
99    styleEl.innerHTML = newStyleStr;
100  }
101}`,Xt=`function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
102  if (!navigator.cookieEnabled) {
103    return;
104  }
105  function getCookie(name) {
106    const nameEQ = name + '=';
107    const ca = document.cookie.split(';');
108    for (let i = 0; i < ca.length; i++) {
109      let c = ca[i];
110      while (c.charAt(0) === ' ') c = c.substring(1, c.length);
111      if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
112    }
113    return null;
114  }
115  const cookieName = \`builder.tests.\${defaultContentId}\`;
116  const winningVariant = getCookie(cookieName);
117  const parentDiv = document.currentScript?.parentElement;
118  const isDefaultContent = variantContentId === defaultContentId;
119  const isWinningVariant = winningVariant === variantContentId;
120  if (isWinningVariant && !isDefaultContent) {
121    parentDiv?.removeAttribute('hidden');
122    parentDiv?.removeAttribute('aria-hidden');
123  } else if (!isWinningVariant && isDefaultContent) {
124    parentDiv?.setAttribute('hidden', 'true');
125    parentDiv?.setAttribute('aria-hidden', 'true');
126  }
127  if (isHydrationTarget) {
128    if (!isWinningVariant) {
129      parentDiv?.remove();
130    }
131    const thisScriptEl = document.currentScript;
132    thisScriptEl?.remove();
133  }
134  return;
135}`,me="builderIoAbTest",pe="builderIoRenderContent",Zt=e=>Object.values((e==null?void 0:e.variations)||{}).map(t=>({...t,testVariationId:t.id,id:e==null?void 0:e.id})),_o=({canTrack:e,content:t})=>!(!(Zt(t).length>0)||!e||S()),en=e=>e==="react"||e==="reactNative",fe=en(E),wo=()=>`
136  window.${me} = ${Qt}
137  window.${pe} = ${Xt}
138  `,Io=(e,t)=>`
139  window.${me}(
140    "${t}",${JSON.stringify(e)}, ${fe}
141  )`,Eo=({contentId:e,variationId:t})=>`window.${pe}(
142    "${t}", "${e}", ${fe}
143  )`,To=p(d(()=>m(()=>import("./q-wSdn1LZu.js"),__vite__mapDeps([])),"s_hwThBdhA8rw"));function tn(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:globalThis}function nn(){const e=tn().fetch;if(typeof e>"u")throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project. 
144      For more information, read https://github.com/BuilderIO/this-package-uses-fetch`),new Error("Builder SDK could not find a global `fetch` function");return e}const ge=nn();function O(e,t=null,n="."){return Object.keys(e).reduce((o,a)=>{const i=e[a],r=[t,a].filter(Boolean).join(n);return[typeof i=="object",i!==null,!(Array.isArray(i)&&i.length===0)].every(Boolean)?{...o,...O(i,r,n)}:{...o,[r]:i}},{})}const on="v3",j="builder.",an="options.",rn=e=>{if(!e)return{};const t=Q(e),n={};return Object.keys(t).forEach(o=>{if(o.startsWith(j)){const a=o.replace(j,"").replace(an,"");n[a]=t[o]}}),n},sn=()=>{if(!S())return{};const e=new URLSearchParams(window.location.search);return rn(e)},q=e=>typeof e=="number"&&!isNaN(e)&&e>=0,B=e=>{const{limit:t=30,userAttributes:n,query:o,model:a,apiKey:i,enrich:r,locale:s,apiVersion:l=on,fields:u,omit:y,offset:b,cacheSeconds:h,staleCacheSeconds:x,sort:_,includeUnpublished:c}=e;if(!i)throw new Error("Missing API key");if(!["v3"].includes(l))throw new Error(`Invalid apiVersion: expected 'v3', received '${l}'`);const g=t!==1,f=new URL(`https://cdn.builder.io/api/${l}/content/${a}`);if(f.searchParams.set("apiKey",i),f.searchParams.set("limit",String(t)),f.searchParams.set("noTraverse",String(g)),f.searchParams.set("includeRefs",String(!0)),s&&f.searchParams.set("locale",s),r&&f.searchParams.set("enrich",String(r)),f.searchParams.set("omit",y||"meta.componentsUsed"),u&&f.searchParams.set("fields",u),Number.isFinite(b)&&b>-1&&f.searchParams.set("offset",String(Math.floor(b))),typeof c=="boolean"&&f.searchParams.set("includeUnpublished",String(c)),h&&q(h)&&f.searchParams.set("cacheSeconds",String(h)),x&&q(x)&&f.searchParams.set("staleCacheSeconds",String(x)),_){const I=O({sort:_});for(const A in I)f.searchParams.set(A,JSON.stringify(I[A]))}const v={...sn(),...Q(e.options||{})},R=O(v);for(const I in R)f.searchParams.set(I,String(R[I]));if(n&&f.searchParams.set("userAttributes",JSON.stringify(n)),o){const I=O({query:o});for(const A in I)f.searchParams.set(A,JSON.stringify(I[A]))}return f},ln=e=>"results"in e;async function cn(e){const t=await mn({...e,limit:1});return t&&t[0]||null}const un=async e=>{const t=B(e);return await(await ge(t.href)).json()},dn=async(e,t,n=B(e))=>{const o=de(e.canTrack);if(n.search.includes("preview="),!o||!(S()||E==="reactNative"))return t.results;try{const a=[];for(const i of t.results)a.push(await ft({item:i,canTrack:o}));t.results=a}catch(a){w.error("Could not process A/B tests. ",a)}return t.results};async function mn(e){try{const t=B(e),n=await un(e);return ln(n)?dn(e,n):(w.error("Error fetching data. ",{url:t,content:n,options:e}),null)}catch(t){return w.error("Error fetching data. ",t),null}}function Co(e){if(!S())return!1;const t=X(e||window.location.search);return T(t)?!1:t.indexOf("builder.preview=")!==-1}function pn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e=="x"?t:t&3|8).toString(16)})}function he(){return pn().replace(/-/g,"")}const ye="builderSessionId",fn=async({canTrack:e})=>{if(!e)return;const t=await re({name:ye,canTrack:e});if(k(t))return t;{const n=gn();return hn({id:n,canTrack:e}),n}},gn=()=>he(),hn=({id:e,canTrack:t})=>se({name:ye,value:e,canTrack:t}),be=()=>S()&&typeof localStorage<"u"?localStorage:void 0,yn=({key:e,canTrack:t})=>{var n;try{return t?(n=be())==null?void 0:n.getItem(e):void 0}catch(o){console.debug("[LocalStorage] GET error: ",o);return}},bn=({key:e,canTrack:t,value:n})=>{var o;try{t&&((o=be())==null||o.setItem(e,n))}catch(a){console.debug("[LocalStorage] SET error: ",a)}},ve="builderVisitorId",vn=({canTrack:e})=>
144{if(!e)return;const t=yn({key:ve,canTrack:e});if(k(t))return t;{const n=Sn();return xn({id:n,canTrack:e}),n}},Sn=()=>he(),xn=({id:e,canTrack:t})=>bn({key:ve,value:e,canTrack:t}),_n=async({canTrack:e})=>{if(!e)return{visitorId:void 0,sessionId:void 0};const t=await fn({canTrack:e}),n=vn({canTrack:e});return{sessionId:t,visitorId:n}},wn=async({type:e,canTrack:t,apiKey:n,metadata:o,...a})=>({type:e,data:{...a,metadata:{url:location.href,...o},...await _n({canTrack:t}),userAttributes:Z(),ownerId:n}});async function In(e){if(!e.apiKey){w.error("Missing API key for track call. Please provide your API key.");return}if(e.canTrack&&!T()&&(S()||E==="reactNative"))return fetch("https://cdn.builder.io/api/v1/track",{method:"POST",body:JSON.stringify({events:[await wn(e)]}),headers:{"content-type":"application/json"},mode:"cors"}).catch(t=>{console.error("Failed to track: ",t)})}function H(e){return Math.round(e*1e3)/1e3}const En=(e,t,n=!0)=>{if(!(e instanceof HTMLElement))return null;let o=n?e:e.parentElement;do{if(!o)return null;if(t(o))return o}while(o=o.parentElement);return null},Tn=e=>En(e,t=>{const n=t.getAttribute("builder-id")||t.id;return(n==null?void 0:n.indexOf("builder-"))===0}),K=({event:e,target:t})=>{const n=t.getBoundingClientRect(),o=e.clientX-n.left,a=e.clientY-n.top,i=H(o/n.width),r=H(a/n.height);return{x:i,y:r}},Cn=e=>{const t=e.target,n=t&&Tn(t),o=(n==null?void 0:n.getAttribute("builder-id"))||(n==null?void 0:n.id);return{targetBuilderElement:o||void 0,metadata:{targetOffset:t?K({event:e,target:t}):void 0,builderTargetOffset:n?K({event:e,target:n}):void 0,builderElementIndex:n&&o?[].slice.call(document.getElementsByClassName(o)).indexOf(n):void 0}}},kn=["*.beta.builder.io","beta.builder.io","builder.io","localhost","qa.builder.io"];function Se(e,t){const n=new URL(t.origin),o=n.hostname;return(e||kn).findIndex(a=>a.startsWith("*.")?o.endsWith(a.slice(1)):a===o)>-1}const Rn="0.14.6",z={};function An(e,t){let n=z[e];if(n||(n=z[e]=[]),n.push(t),S()){const o={type:"builder.register",data:{type:e,info:t}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(a){console.debug("Could not postmessage",a)}}}const ko=()=>{An("insertMenu",{name:"_default",default:!0,items:[{name:"Box"},{name:"Text"},{name:"Image"},{name:"Columns"},{name:"Core:Section"},{name:"Core:Button"},{name:"Embed"},{name:"Custom Code"}]})};let J=!1;const Ro=(e={})=>{var t,n;J||(J=!0,S()&&((t=window.parent)==null||t.postMessage({type:"builder.sdkInfo",data:{target:E,version:Rn,supportsPatchUpdates:!1,supportsAddBlockScoping:!0,supportsCustomBreakpoints:!0}},"*"),(n=window.parent)==null||n.postMessage({type:"builder.updateContent",data:{options:e}},"*"),window.addEventListener("message",o=>{var a,i;if(!Se(e.trustedHosts,o))return;const{data:r}=o;if(r!=null&&r.type)switch(r.type){case"builder.evaluate":{const s=r.data.text,l=r.data.arguments||[],u=r.data.id,y=new Function(s);let b,h=null;try{b=y.apply(null,l)}catch(x){h=x}h?(a=window.parent)==null||a.postMessage({type:"builder.evaluateError",data:{id:u,error:h.message}},"*"):b&&typeof b.then=="function"?b.then(x=>{var _;(_=window.parent)==null||_.postMessage({type:"builder.evaluateResult",data:{id:u,result:x}},"*")}).catch(console.error):(i=window.parent)==null||i.postMessage({type:"builder.evaluateResult",data:{result:b,id:u}},"*");break}}})))},Vn=({model:e,trustedHosts:t,callbacks:n})=>o=>{if(!Se(t,o))return;const{data:a}=o;if(a)switch(a.type){case"builder.configureSdk":n.configureSdk(a.data);break;case"builder.triggerAnimation":n.animation(a.data);break;case"builder.contentUpdate":{const i=a.data,r=i.key||i.alias||i.entry||i.modelName,s=i.data;r===e&&n.contentUpdate(s);break}}},Ao=function(t,n,o,a){var i,r;const s={...t.builderContextSignal.rootState,...a};t.builderContextSignal.rootSetState?(r=(i=t.builderContextSignal).rootSetState)==null||r.call(i,s):t.builderContextSignal.rootState=s},Y=function(t,n,o,a){var i,r,s,l,u;const y={...t.builderContextSignal.content,...a,data:{...(i=t.builderContextSignal.content)==null?void 0:i.data,...a==null?void 0:a.data},meta:{...(r=t.builderContextSignal.content)==null?void 0:r.meta,...a==null?void 0:a.meta,breakpoints:((s=a==null?void 0:a.meta)==null?void 0:s.breakpoints)||((u=(l=t.builderContextSignal.content)==null?void 0:l.meta)==null?void 0:u.breakpoints)}};t.builderContextSignal.content=y},Vo=function(t,n,o,a){return Vn({model:t.model,trustedHosts:t.trustedHosts,callbacks:{configureSdk:i=>{var r;const{breakpoints:s,contentId:l}=i;!l||l!==((r=t.builderContextSignal.content)==null?void 0:r.id)||s&&(Y(t,n,o,{meta:{breakpoints:s}}),n.forceReRenderCount=n.forceReRenderCount+1)},animation:i=>{ne(i)},contentUpdate:i=>{Y(t,n,o,i),n.forceReRenderCount=n.forceReRenderCount+1}}})(a)},Po=function(t,n,o){var a,i;const r=(i=(a=t.builderContextSignal.content)==null?void 0:a.data)==null?void 0:i.jsCode;r&&F({code:r,context:t.context||{},localState:void 0,rootState:t.builderContextSignal.rootState,rootSetState:t.builderContextSignal.rootSetState})},Oo=function(t,n,o,a){var i,r;if(t.builderContextSignal.content){const s=(i=t.builderContextSignal.content)==null?void 0:i.testVariationId,l=(r=t.builderContextSignal.content)==null?void 0:r.id;In({type:"click",canTrack:de(t.canTrack),contentId:l,apiKey:t.apiKey,variationId:s!==l?s:void 0,...Cn(a),unique:!n.clicked})}n.clicked||(n.clicked=!0)},Pn=function(t,n,o,a){return a.replace(/{{([^}]+)}}/g,(i,r)=>F({code:r,context:t.context||{},localState:void 0,rootState:t.builderContextSignal.rootState,rootSetState:t.builderContextSignal.rootSetState}))}
144,On=function(t,n,o,{url:a,key:i}){ge(a).then(r=>r.json()).then(r=>{var s,l;const u={...t.builderContextSignal.rootState,[i]:r};(l=(s=t.builderContextSignal).rootSetState)==null||l.call(s,u),n.httpReqsData[i]=!0}).catch(r=>{console.error("error fetching dynamic data",a,r)})},Fo=function(t,n,o){var a,i;const r=((i=(a=t.builderContextSignal.content)==null?void 0:a.data)==null?void 0:i.httpRequests)??{};Object.entries(r).forEach(([s,l])=>{if(l&&(!n.httpReqsData[s]||T())){const u=Pn(t,n,o,l);On(t,n,o,{url:u,key:s})}})},Lo=function(t,n,o){T()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:V(t.builderContextSignal.rootState),ref:{name:t.model}}}))},Do=p(d(()=>m(()=>import("./q-v4MDbpeI.js"),__vite__mapDeps([])),"s_ko1mO8oaj8k")),Fn=e=>{var t;const n=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),o=n.split(",")[0],a=e.fileUrl??((t=e==null?void 0:e.files)==null?void 0:t.regular);let i="";if(a&&n&&o&&(i+=`
145@font-face {
146font-family: "${n}";
147src: local("${o}"), url('${a}') format('woff2');
148font-display: fallback;
149font-weight: 400;
150}
151      `.trim()),e.files)for(const r in e.files){if(!(String(Number(r))===r))continue;const l=e.files[r];l&&l!==a&&(i+=`
152@font-face {
153font-family: "${n}";
154src: url('${l}') format('woff2');
155font-display: fallback;
156font-weight: ${r};
157}
158        `.trim())}return i},$o=({customFonts:e})=>{var t;return((t=e==null?void 0:e.map(n=>Fn(n)))==null?void 0:t.join(" "))||""},Uo=({cssCode:e,contentId:t})=>e?t?(e==null?void 0:e.replace(/&/g,`div[builder-content-id="${t}"]`))||"":e:"",Bo=p(d(()=>m(()=>import("./q-BN6-7mYN.js"),__vite__mapDeps([])),"s_Qbhu1myPWm0")),Wo=({content:e,data:t,locale:n})=>{var o,a,i;const r={},s=((o=e==null?void 0:e.data)==null?void 0:o.state)||{};return(i=(a=e==null?void 0:e.data)==null?void 0:a.inputs)==null||i.forEach(l=>{l.name&&l.defaultValue!==void 0&&(r[l.name]=l.defaultValue)}),{...r,...s,...t,...n?{locale:n}:{}}},No=({content:e,data:t})=>e?{...e,data:{...e==null?void 0:e.data,...t},meta:e==null?void 0:e.meta}:void 0,Mo=p(d(()=>m(()=>import("./q-DOgP3l1f.js"),__vite__mapDeps([])),"s_HIsczUcxjCE")),jo=p(d(()=>m(()=>import("./q-BtKvRYQt.js"),__vite__mapDeps([])),"s_4tFRiQMMEfM")),Ln=async({builderContextValue:e,symbol:t})=>{if(t!=null&&t.model&&(e!=null&&e.apiKey))return cn({model:t.model,apiKey:e.apiKey,apiVersion:e.apiVersion,...(t==null?void 0:t.entry)&&{query:{id:t.entry}}}).catch(n=>{w.error("Could not fetch symbol content: ",n)})},qo=function(t,n){n.contentToUse||Ln({symbol:t.symbol,builderContextValue:t.builderContext}).then(o=>{o&&(n.contentToUse=o)})},Dn=p(d(()=>m(()=>import("./q-BByefawA.js"),__vite__mapDeps([])),"s_WVvggdkUPdk"));export{ho as $,Xn as A,Yn as B,eo as C,Bn as D,Zn as E,No as F,Wo as G,So as H,Jn as I,Gt as J,Eo as K,To as L,Bo as M,Do as N,Uo as O,$o as P,_o as Q,to as R,ro as S,de as T,E as U,wo as V,Zt as W,Mo as X,go as Y,Io as Z,Un as _,Qn as a,Oo as a0,Ao as a1,Lo as a2,Fo as a3,Po as a4,Y as a5,w as a6,S as a7,T as a8,In as a9,Co as aa,cn as ab,Vo as ac,ko as ad,Ro as ae,xo as af,vo as ag,yo as ah,bo as ai,mn as aj,fo as ak,po as al,jo as am,qo as an,F as ao,no as b,jn as c,Fe as d,Hn as e,qn as f,Mn as g,Be as h,zn as i,Kn as j,k,Gn as l,Ge as m,io as n,Wn as o,Nn as p,ao as q,oo as r,_e as s,W as t,mo as u,uo as v,ze as w,co as x,so as y,lo as z};
159function __vite__mapDeps(indexes) {
160  if (!__vite__mapDeps.viteFileDeps) {
161    __vite__mapDeps.viteFileDeps = []
162  }
163  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
164}

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.