1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,79716,e=>{e.v({onlineBooking:{windowStart:"2026-09-14",lastBookableDate:"2026-09-27",plannedReopen:"2027-05-15",timeZone:"America/Edmonton"}})},75830,86318,9797,e=>{"use strict";var t=e.i(71645),a=e.i(30030),r=e.i(20783),n=e.i(91918),i=e.i(43476);function s(e){let s=e+"CollectionProvider",[l,o]=(0,a.createContextScope)(s),[d,c]=l(s,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:a,children:r}=e,n=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,i.jsx)(d,{scope:a,itemMap:s,collectionRef:n,children:r})};u.displayName=s;let m=e+"CollectionSlot",h=t.default.forwardRef((e,t)=>{let{scope:a,children:s}=e,l=c(m,a),o=(0,r.useComposedRefs)(t,l.collectionRef);return(0,i.jsx)(n.Slot,{ref:o,children:s})});h.displayName=m;let p=e+"CollectionItemSlot",x="data-radix-collection-item",f=t.default.forwardRef((e,a)=>{let{scope:s,children:l,...o}=e,d=t.default.useRef(null),u=(0,r.useComposedRefs)(a,d),m=c(p,s);return t.default.useEffect(()=>(m.itemMap.set(d,{ref:d,...o}),()=>void m.itemMap.delete(d))),(0,i.jsx)(n.Slot,{...{[x]:""},ref:u,children:l})});return f.displayName=p,[{Provider:u,Slot:h,ItemSlot:f},function(a){let r=c(e+"CollectionConsumer",a);return t.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${x}]`));return Array.from(r.itemMap.values()).sort((e,a)=>t.indexOf(e.ref.current)-t.indexOf(a.ref.current))},[r.collectionRef,r.itemMap])},o]}e.s(["createCollection",()=>s],75830);var l=t.createContext(void 0);function o(e){let a=t.useContext(l);return e||a||"ltr"}e.s(["useDirection",()=>o],86318);let d=(0,e.i(75254).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDownIcon",()=>d],9797)},73443,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(30030),n=e.i(75830),i=e.i(20783),s=e.i(81140),l=e.i(69340),o=e.i(48425),d=e.i(34620),c=e.i(96626),u=e.i(10772),m="Collapsible",[h,p]=(0,r.createContextScope)(m),[x,f]=h(m),g=a.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:i,defaultOpen:s,disabled:d,onOpenChange:c,...m}=e,[h=!1,p]=(0,l.useControllableState)({prop:i,defaultProp:s,onChange:c});return(0,t.jsx)(x,{scope:n,disabled:d,contentId:(0,u.useId)(),open:h,onOpenToggle:a.useCallback(()=>p(e=>!e),[p]),children:(0,t.jsx)(o.Primitive.div,{"data-state":C(h),"data-disabled":d?"":void 0,...m,ref:r})})});g.displayName=m;
1var b="CollapsibleTrigger",v=a.forwardRef((e,a)=>{let{__scopeCollapsible:r,...n}=e,i=f(b,r);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":C(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...n,ref:a,onClick:(0,s.composeEventHandlers)(e.onClick,i.onOpenToggle)})});v.displayName=b;var j="CollapsibleContent",y=a.forwardRef((e,a)=>{let{forceMount:r,...n}=e,i=f(j,e.__scopeCollapsible);return(0,t.jsx)(c.Presence,{present:r||i.open,children:({present:e})=>(0,t.jsx)(w,{...n,ref:a,present:e})})});y.displayName=j;var w=a.forwardRef((e,r)=>{let{__scopeCollapsible:n,present:s,children:l,...c}=e,u=f(j,n),[m,h]=a.useState(s),p=a.useRef(null),x=(0,i.useComposedRefs)(r,p),g=a.useRef(0),b=g.current,v=a.useRef(0),y=v.current,w=u.open||m,N=a.useRef(w),k=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>N.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.useLayoutEffect)(()=>{let e=p.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,v.current=t.width,N.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),h(s)}},[u.open,s]),(0,t.jsx)(o.Primitive.div,{"data-state":C(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!w,...c,ref:x,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:w&&l})});function C(e){return e?"open":"closed"}var N=e.i(86318),k="Accordion",S=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[R,I,A]=(0,n.createCollection)(k),[_,M]=(0,r.createContextScope)(k,[A,p]),P=p(),D=a.default.forwardRef((e,a)=>{let{type:r,...n}=e;return(0,t.jsx)(R.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,t.jsx)(z,{...n,ref:a}):(0,t.jsx)(O,{...n,ref:a})})});D.displayName=k;var[T,$]=_(k),[L,E]=_(k,{collapsible:!1}),O=a.default.forwardRef((e,r)=>{let{value:n,defaultValue:i,onValueChange:s=()=>{},collapsible:o=!1,...d}=e,[c,u]=(0,l.useControllableState)({prop:n,defaultProp:i,onChange:s});return(0,t.jsx)(T,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:u,onItemClose:a.default.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(L,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)(B,{...d,ref:r})})})}),z=a.default.forwardRef((e,r)=>{let{value:n,defaultValue:i,onValueChange:s=()=>{},...o}=e,[d=[],c]=(0,l.useControllableState)({prop:n,defaultProp:i,onChange:s}),u=a.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),m=a.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(T,{scope:e.__scopeAccordion,value:d,onItemOpen:u,onItemClose:m,children:(0,t.jsx)(L,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(B,{...o,ref:r})})})}),[F,q]=_(k),B=a.default.forwardRef((e,r)=>{let{__scopeAccordion:n,disabled:l,dir:d,orientation:c="vertical",...u}=e,m=a.default.useRef(null),h=(0,i.useComposedRefs)(m,r),p=I(n),x="ltr"===(0,N.useDirection)(d),f=(0,s.composeEventHandlers)(e.onKeyDown,e=>{if(!S.includes(e.key))return;let t=e.target,a=p().filter(e=>!e.ref.current?.disabled),r=a.findIndex(e=>e.ref.current===t),n=a.length;if(-1===r)return;e.preventDefault();let i=r,s=n-1,l=()=>{(i=r+1)>s&&(i=0)},o=()=>{(i=r-1)<0&&(i=s)};switch(e.key){case"Home":i=0;break;case"End":i=s;break;case"ArrowRight":"horizontal"===c&&(x?l():o());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(x?o():l());break;case"ArrowUp":"vertical"===c&&o()}let d=i%n;a[d].ref.current?.focus()});return(0,t.jsx)(F,{scope:n,disabled:l,direction:d,orientation:c,children:(0,t.jsx)(R.Slot,{scope:n,children:(0,t.jsx)(o.Primitive.div,{...u,"data-orientation":c,ref:h,onKeyDown:l?void 0:f})})})}),H="AccordionItem",[G,V]=_(H),W=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,value:n,...i}=e,s=q(H,r),l=$(H,r),o=P(r),d=(0,u.useId)(),c=n&&l.value.includes(n)||!1,m=s.disabled||e.disabled;return(0,t.jsx)(G,{scope:r,open:c,disabled:m,triggerId:d,children:(0,t.jsx)(g,{"data-orientation":s.orientation,"data-state":Y(c),...o,...i,ref:a,disabled:m,open:c,onOpenChange:e=>{e?l.onItemOpen(n):l.onItemClose(n)}})})});W.displayName=H;var Z="AccordionHeader",U=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,...n}=e,i=q(k,r),s=V(Z,r);return(0,t.jsx)(o.Primitive.h3,{"data-orientation":i.orientation,"data-state":Y(s.open
1),"data-disabled":s.disabled?"":void 0,...n,ref:a})});U.displayName=Z;var K="AccordionTrigger",J=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,...n}=e,i=q(k,r),s=V(K,r),l=E(K,r),o=P(r);return(0,t.jsx)(R.ItemSlot,{scope:r,children:(0,t.jsx)(v,{"aria-disabled":s.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:s.triggerId,...o,...n,ref:a})})});J.displayName=K;var Q="AccordionContent",X=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,...n}=e,i=q(k,r),s=V(Q,r),l=P(r);return(0,t.jsx)(y,{role:"region","aria-labelledby":s.triggerId,"data-orientation":i.orientation,...l,...n,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Y(e){return e?"open":"closed"}X.displayName=Q;var ee=e.i(9797),et=e.i(75157);function ea({...e}){return(0,t.jsx)(D,{"data-slot":"accordion",...e})}function er({className:e,...a}){return(0,t.jsx)(W,{"data-slot":"accordion-item",className:(0,et.cn)("border-b last:border-b-0",e),...a})}function en({className:e,children:a,...r}){return(0,t.jsx)(U,{className:"flex",children:(0,t.jsxs)(J,{"data-slot":"accordion-trigger",className:(0,et.cn)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...r,children:[a,(0,t.jsx)(ee.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function ei({className:e,children:a,...r}){return(0,t.jsx)(X,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...r,children:(0,t.jsx)("div",{className:(0,et.cn)("pt-0 pb-4",e),children:a})})}e.s(["Accordion",()=>ea,"AccordionContent",()=>ei,"AccordionItem",()=>er,"AccordionTrigger",()=>en],73443)},91750,e=>{e.v({photos:[{src:"/glider-tow.jpg",alt:"Glider on aerotow behind the towplane over the Rocky Mountains"},{src:"/a05_5520.jpg",alt:"Glider banking above snow-capped Rocky Mountain peaks"},{src:"/a05_5522.jpg",alt:"Glider soaring high over the Rocky Mountains"},{src:"/a05_5524.jpg",alt:"Glider gliding over forested mountain ridges"},{src:"/a05_5530.jpg",alt:"Glider on a low pass above the airfield"},{src:"/a05_5776.jpg",alt:"Soaring over the Canadian Rockies near Invermere"},{src:"/a05_5836.jpg",alt:"Sailplane high above the mountains near Invermere"},{src:"/a05_6015.jpg",alt:"Glider against the Rocky Mountain backdrop"},{src:"/a05_6025.jpg",alt:"Glider soaring in the mountain air over Invermere"},{src:"/a05_5546.jpg",alt:"Aerial view of the Invermere valley in golden evening light"}],carousel:["/glider-tow.jpg","/a05_5520.jpg","/a05_5522.jpg","/a05_5524.jpg","/a05_5546.jpg"]})},10204,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(48425),n=a.forwardRef((e,a)=>(0,t.jsx)(r.Primitive.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label";var i=e.i(75157);function s({className:e,...a}){return(0,t.jsx)(n,{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...a})}e.s(["Label",()=>s],10204)},24687,e=>{"use strict";var t=e.i(43476),a=e.i(75157);function r({className:e,...r}){return(0,t.jsx)("textarea",{"data-slot":"textarea",className:(0,a.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...r})}e.s(["Textarea",()=>r])},63059,e=>{"use strict";
1let t=(0,e.i(75254).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>t],63059)},73375,55047,e=>{"use strict";let t=(0,e.i(75254).default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",()=>t],73375);let a=e.i(91750).default,r=a.photos,n=a.carousel.map(e=>a.photos.find(t=>t.src===e)).filter(e=>!!e);e.s(["carouselSlides",0,n,"galleryPhotos",0,r],55047)},15288,e=>{"use strict";var t=e.i(43476),a=e.i(75157);function r({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,a.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...r})}function n({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function i({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("leading-none font-semibold",e),...r})}function s({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-muted-foreground text-sm",e),...r})}function l({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,a.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...r})}function o({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-6",e),...r})}function d({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center px-6 [.border-t]:pt-6",e),...r})}e.s(["Card",()=>r,"CardAction",()=>l,"CardContent",()=>o,"CardDescription",()=>s,"CardFooter",()=>d,"CardHeader",()=>n,"CardTitle",()=>i])},12102,e=>{"use strict";let t;var a=e.i(43476),r=e.i(71645),n=e.i(75254);let i=(0,n.default)("CalendarOff",[["path",{d:"M4.2 4.2A2 2 0 0 0 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 1.82-1.18",key:"16swn3"}],["path",{d:"M21 15.5V6a2 2 0 0 0-2-2H9.5",key:"yhw86o"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M3 10h7",key:"1wap6i"}],["path",{d:"M21 10h-5.5",key:"quycpq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),s=(0,n.default)("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);var l=e.i(30508);let o=e.i(79716).default.onlineBooking,d=()=>()=>{};function c(){return t||(t=function(e){var t;let a=new Intl.DateTimeFormat("en-CA",{timeZone:o.timeZone,year:"numeric",month:"2-digit",day:"2-digit"}).format(e)<=o.lastBookableDate,r=new Intl.DateTimeFormat("en-US",{timeZone:"UTC",month:"long",year:"numeric"}).format(new Date(`${o.plannedReopen}T12:00:00.000Z`));return a?{open:!0,headline:"Final flights of the season",detail:`Online booking closes after ${t=o.lastBookableDate,new Intl.DateTimeFormat("en-US",{timeZone:"UTC",weekday:"long",month:"long",day:"numeric"}).format(new Date(`${t}T12:00:00.000Z`))}.`}:{open:!1,headline:"Closed for the season",detail:`Online booking reopens ${r}. Questions? Give us a call.`}}(new Date)),t}function u(){return null}function m(){return(0,r.useSyncExternalStore)(d,c,u)}function h(){let e=m();if(!e)return null;let t=e.open?s:i;return(0,a.jsx)("div",{className:"mb-6 flex justify-center animate-in fade-in duration-700",children:(0,a.jsxs)("div",{className:"inline-flex max-w-full items-center gap-2.5 rounded-full border border-white/25 bg-white/15 px-4 py-2 text-white shadow-sm backdrop-blur-md",children:[(0,a.jsx)(t,{className:`h-4 w-4 shrink-0 ${e.open?"text-sky-200":"text-amber-200"}`,"aria-hidden":"true"}),(0,a.jsxs)("p",{className:"text-sm leading-tight text-balance",children:[(0,a.jsx)("span",{className:"font-semibold",children:e.headline}),(0,a.jsx)("span",{className:"ml-1.5 opacity-85",children:e.detail})]})]})})}function p({notice:e}){return(0,a.jsxs)("div",{className:"w-full rounded-lg border border-slate-200 bg-white p-8 text-center shadow-sm sm:p-12",children:[(0,a.jsx)(i,{className:"mx-auto h-9 w-9 text-slate-400","aria-hidden":"true"}),(0,a.jsx)("h2",{className:"mt-4 text-xl font-semibold text-slate-900",children:e.headline}),(0,a.jsx)("p",{className:"mx-auto mt-2 max-w-md text-sm text-slate-600",children:e.detail}),(0,a.jsx)("a",{href:`tel:${l.ISC_PHONE_TEL}`,className:"mt-6 inline-flex items-center justify-center rounded-md bg-sky-500 px-5 py-3 font-semibold leading-tight text-white transition-colors hover:bg-sky-600",children:(0,a.jsx)(l.PhoneSoarWithDial,{})})]})}function x({notice:e}){return(0,a.jsxs)("p",{className:"mb-4 flex items-center justify-center gap-2 text-sm text-slate-600",children:[(0,a.jsx)(s,{className:"h-4 w-4 shrink-0 text-sky-600","aria-hidden":"true"}),(0,a.jsxs)("span",{children:[(0,a.jsxs)("span",{className:"font-medium text-slate-900",children:[e.headline,"."]})," ",e.detail]})]})}e.s(["SeasonBadge",()=>h,"SeasonClosedPanel",()=>p,"SeasonClosingSoonLine",()=>x,"useSeasonNotice",()=>m],12102)},82255,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(95468),n=e.i(31278),i=e.i(20565),s=e.i(19455),l=e.i(26999),o=e.i(95926),d=e.i(75157);function c({...e}){return(0,t.jsx)(l.Root,{"data-slot":"dialog",...e})}function u({...e}){return(0,t.jsx)(l.Trigger,{"data-slot":"dialog-trigger",...e})}function m({...e}){return(0,t.jsx)(l.Portal,{"data-slot":"dialog-portal",...e})}function h({className:e,...a}){return(0,t.jsx)(l.Overlay,{"data-slot":"dialog-overlay",className:(0,d.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...a})}function p({className:e,children:a,showCloseButton:r=!0,...n}){return(0,t.jsxs)(m,{"data-slot":"dialog-portal",children:[(0,t.jsx)(h,{}),(0,t.jsxs)(l.Content,{"data-slot":"dialog-content",className:(0,d.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...n,children:[a,r&&(0,t.jsxs)(l.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(o.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function x({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,d.cn)("flex flex-col gap-2 text-center sm:text-left",e),...a})}function f({className:e,...a}){return(0,t.jsx)(l.Title,{"data-slot":"dialog-title",className:(0,d.cn)("text-lg leading-none font-semibold",e),...a})}function g({className:e,...a}){return(0,t.jsx)(l.Description,{"data-slot":"dialog-description",className:(0,d.cn)("text-muted-foreground text-sm",e),...a})}var b=e.i(93479),v=e.i(10204),j=e.i(24687);let y="mailto:[email protected]?subject=Instruction%20inquiry",w=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,C={name:"",email:"",phone:"",dates:"",experience:"",goals:"",company:""};function N({trigger:e,source:l}){let o=(0,i.usePostHog)(),d=(0,a.useId)(),[m,h]=(0,a.useState)(!1),[N,k]=(0,a.useState)(C),[S,R]=(0,a.useState)({}),[I,A]=(0,a.useState)("idle");function _(e){return t=>k(a=>({...a,[e]:t.target.value}))}function M(e){h(e),e?o?.capture("instruction_inquiry_open",{source:l}):"success"===I&&(k(C),R({}),A("idle"))}async function P(e){let t;if(e.preventDefault(),N.company.trim())return;let a=(t={},N.name.trim()||(t.name="Please enter your name."),N.email.trim()?w.test(N.email.trim())||(t.email="Please enter a valid email address."):t.email="Please enter your email.",N.experience.trim()||(t.experience="Let us know your current experience."),t);if(R(a),!(Object.keys(a).length>0)){A("submitting");try{if(!(await fetch("/api/instruction-inquiry",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(N)})).ok)throw Error("request failed");A("success"),o?.capture("instruction_inquiry_submitted",{source:l})}catch{A("error")}}}return(0,t.jsxs)(c,{open:m,onOpenChange:M,children:[(0,t.jsx)(u,{asChild:!0,children:e}),(0,t.jsx)(p,{className:"max-h-[85vh] overflow-y-auto sm:max-w-lg",children:"success"===I?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3 py-6 text-center",role:"status","aria-live":"polite",children:[(0,t.jsx)(r.CheckCircle2,{className:"h-10 w-10 text-primary","aria-hidden":"true"}),(0,t.jsx)(f,{children:"Thanks â we'll get back to you by email"}),(0,t.jsx)(g,{children:"We'll reply from [email protected] to help put together the right plan."}),(0,t.jsx)(s.Button,{type:"button",onClick:()=>M(!1),className:"mt-2",children:"Close"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(x,{children:[(0,t.jsx)(f,{children:"Instruction inquiry"}),(0,t.jsx)(g,{children:"Interested in basic instruction or advanced soaring? Email us with your request, and we'll help put together the right plan."})]}),(0,t.jsxs)("form",{onSubmit:P,className:"space-y-4",noValidate:!0,children:[(0,t.jsxs)("div",{className:"absolute -left-[9999px] top-0 h-px w-px overflow-hidden","aria-hidden":"true",children:[(0,t.jsx)(v.Label,{htmlFor:`${d}-company`,children:"Company"}),(0,t.jsx)("input",{id:`${d}-company`,name:"company",type:"text",tabIndex:-1,autoComplete:"off",value:N.company,onChange:_("company")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(v.Label,{htmlFor:`${d}-name`,children:"Name"}),(0,t.jsx)(b.Input,{id:`${d}-name`,autoComplete:"name",maxLength:200,"aria-invalid":!!S.name,value:N.name,onChange:_("name")}),S.name&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:S.name})]}),(0,t.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(v.Label,{htmlFor:`${d}-email`,children:"Email"}),(0,t.jsx)(b.Input,{id:`${d}-email`,type:"email",autoComplete:"email",maxLength:320,"aria-invalid":!!S.email,value:N.email,onChange:_("email")}),S.email&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:S.email})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(v.Label,{htmlFor:`${d}-phone`,children:"Phone (optional)"}),(0,t.jsx)(b.Input,{id:`${d}-phone`,type:"tel",autoComplete:"tel",maxLength:50,value:N.phone,onChange:_("phone")})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(v.Label,{htmlFor:`${d}-dates`,children:"Interested dates (optional)"}),(0,t.jsx)(b.Input,{id:`${d}-dates`,placeholder:"e.g. Aug 10â14, or 'flexible'",maxLength:200,value:N.dates,onChange:_("dates")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(v.Label,{htmlFor:`${d}-experience`,children:"Current experience / currency"}),(0,t.jsx)(j.Textarea,{id:`${d}-experience`,placeholder:"e.g. PPL glider, ~200 h, last flew May 2026 â or 'complete beginner'",className:"min-h-20",maxLength:4e3,"aria-invalid":!!S.experience,value:N.experience,onChange:_("experience")}),S.experience&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:S.experience})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(v.Label,{htmlFor:`${d}-goals`,children:"Goals (optional)"}),(0,t.jsx)(j.Textarea,{id:`${d}-goals`,placeholder:"e.g. mountain-soaring skills, licence conversion, first lessons",className:"min-h-20",maxLength:4e3,value:N.goals,onChange:_("goals")})]}),"error"===I&&(0,t.jsxs)("p",{className:"text-sm text-destructive",role:"alert",children:["Something went wrong sending your inquiry."," ",(0,t.jsx)("a",{href:y,className:"underline underline-offset-4",children:"Email us directly"}
1)," ","instead and we'll get back to you."]}),(0,t.jsxs)("div",{className:"space-y-3 pt-2",children:[(0,t.jsx)(s.Button,{type:"submit",disabled:"submitting"===I,className:"w-full",children:"submitting"===I?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Loader2,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Sendingâ¦"]}):"Send inquiry"}),(0,t.jsxs)("p",{className:"text-center text-xs text-muted-foreground",children:["Prefer plain email?"," ",(0,t.jsx)("a",{href:y,className:"underline underline-offset-4 hover:text-foreground",children:"[email protected]"})]})]})]})]})})]})}e.s(["InstructionInquiry",()=>N],82255)},99834,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(22016),n=e.i(57688);let i=(0,e.i(75254).default)("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]]);var s=e.i(73375),l=e.i(63059),o=e.i(43432),d=e.i(19455),c=e.i(30508),u=e.i(12102),m=e.i(55047);function h(){let[e,h]=(0,a.useState)(0),[p,x]=(0,a.useState)(!1),f=(0,a.useCallback)(e=>h((e+m.carouselSlides.length)%m.carouselSlides.length),[]);return(0,a.useEffect)(()=>{if(p)return;let e=setInterval(()=>h(e=>(e+1)%m.carouselSlides.length),5e3);return()=>clearInterval(e)},[p]),(0,t.jsxs)("section",{className:"relative min-h-screen w-full overflow-hidden",onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),children:[(0,t.jsxs)("div",{className:"absolute inset-0",children:[m.carouselSlides.map((a,r)=>(0,t.jsx)(n.default,{src:a.src,alt:a.alt,fill:!0,sizes:"100vw",priority:0===r,className:`object-cover transition-opacity duration-1000 ease-in-out ${r===e?"opacity-100":"opacity-0"}`,"aria-hidden":r!==e||void 0},a.src)),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-900/55 via-slate-900/20 to-slate-900/55"})]}),(0,t.jsx)("div",{className:"relative z-10 flex min-h-screen flex-col items-center justify-center pt-28 pb-24 md:pt-24 md:pb-16 px-6 text-center",children:(0,t.jsxs)("div",{className:"max-w-4xl",children:[(0,t.jsx)(u.SeasonBadge,{}),(0,t.jsx)("h1",{className:"mb-6 text-3xl font-bold leading-tight tracking-tight text-white md:text-6xl lg:text-7xl animate-in fade-in slide-in-from-bottom-4 duration-700 delay-150 text-balance",children:"The Premier Gliding Experience in the Canadian Rockies"}),(0,t.jsxs)("div",{className:"mx-auto mb-8 max-w-3xl text-lg text-white/90 md:text-xl animate-in fade-in slide-in-from-bottom-4 duration-700 delay-300 text-pretty space-y-3 text-left md:text-center bg-white/10 p-5 rounded-lg backdrop-blur-md border border-white/20",children:[(0,t.jsx)("p",{children:"The Invermere Soaring Centre is located in the beautiful Canadian Rockies. We consider it one of the best mountain soaring sites in the world with a wonderful mix of thermals, dynamic soaring and wave."}),(0,t.jsx)("p",{className:"hidden md:block",children:"The best soaring season is May to September with cloud bases from typically 9000 ft. to 15000 ft. May, June, July, August, and September are the months to choose if you are heading for the records."})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 sm:flex-row sm:justify-center animate-in fade-in slide-in-from-bottom-4 duration-700 delay-500",children:[(0,t.jsx)(d.Button,{asChild:!0,size:"lg",className:"group bg-sky-500 text-white hover:bg-sky-600 px-8 py-5 text-base",children:(0,t.jsxs)(r.default,{href:"/gallery",children:[(0,t.jsx)(i,{className:"mr-2 h-5 w-5 transition-transform group-hover:scale-110"}),"Gallery"]})}),(0,t.jsx)(d.Button,{asChild:!0,size:"lg",variant:"outline",className:"border-white/80 bg-transparent text-white hover:bg-white/20 px-8 py-5 text-base",children:(0,t.jsx)(r.default,{href:"/#flights",children:"Explore Flights"})})]}),(0,t.jsxs)("a",{href:`tel:${c.ISC_PHONE_TEL}`,className:"mt-6 inline-flex items-center gap-2 text-white/90 hover:text-white transition-colors animate-in fade-in slide-in-from-bottom-4 duration-700 delay-700",children:[(0,t.jsx)(o.Phone,{className:"h-5 w-5 text-sky-300"}),(0,t.jsxs)("span",{className:"text-lg md:text-xl",children:["Call to book: ",(0,t.jsx)(c.PhoneSoarWithDial,{className:"font-semibold"})]})]})]})}),(0,t.jsx)("button",{onClick:()=>f(e-1),className:"absolute left-4 top-1/2 z-20 hidden -translate-y-1/2 roun
1ded-full bg-white/20 p-3 text-white backdrop-blur-sm border border-white/30 transition-colors hover:bg-white/30 md:block","aria-label":"Previous photo",children:(0,t.jsx)(s.ChevronLeft,{className:"h-5 w-5"})}),(0,t.jsx)("button",{onClick:()=>f(e+1),className:"absolute right-4 top-1/2 z-20 hidden -translate-y-1/2 rounded-full bg-white/20 p-3 text-white backdrop-blur-sm border border-white/30 transition-colors hover:bg-white/30 md:block","aria-label":"Next photo",children:(0,t.jsx)(l.ChevronRight,{className:"h-5 w-5"})}),(0,t.jsx)("div",{className:"absolute bottom-8 left-1/2 z-20 flex -translate-x-1/2 gap-2.5",children:m.carouselSlides.map((a,r)=>(0,t.jsx)("button",{onClick:()=>f(r),"aria-label":`Go to photo ${r+1}`,"aria-current":r===e,className:`relative h-2.5 rounded-full transition-all before:absolute before:-inset-x-1 before:-inset-y-[17px] before:content-[''] ${r===e?"w-6 bg-white":"w-2.5 bg-white/50 hover:bg-white/80"}`},a.src))})]})}e.s(["HeroSection",()=>h],99834)},39907,e=>{"use strict";var t=e.i(43476),a=e.i(22016),r=e.i(19455),n=e.i(20565);function i({type:e,label:i,priceCad:s,className:l}){let o=(0,n.usePostHog)();return(0,t.jsx)(r.Button,{asChild:!0,className:l,children:(0,t.jsx)(a.default,{href:`/booking?type=${e}`,onClick:()=>o?.capture("ride_book_click",{ride:e,price_cad:s}),children:i})})}e.s(["BookButton",()=>i])},97847,e=>{"use strict";var t=e.i(43476),a=e.i(75254);let r=(0,a.default)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),n=(0,a.default)("CloudSun",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]]),i=(0,a.default)("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]),s=(0,a.default)("Satellite",[["path",{d:"M13 7 9 3 5 7l4 4",key:"vyckw6"}],["path",{d:"m17 11 4 4-4 4-4-4",key:"rchckc"}],["path",{d:"m8 12 4 4 6-6-4-4Z",key:"1sshf7"}],["path",{d:"m16 8 3-3",key:"x428zp"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}]]);var l=e.i(57688),o=e.i(15288),d=e.i(19455),c=e.i(71645);function u(){let[e,a]=(0,c.useState)("");return(0,c.useEffect)(()=>{let e=()=>a(Date.now()),t=setTimeout(e,0),r=setInterval(e,6e4);return()=>{clearTimeout(t),clearInterval(r)}},[]),(0,t.jsx)("section",{id:"weather",className:"py-24 px-6 bg-background",children:(0,t.jsxs)("div",{className:"container mx-auto max-w-6xl",children:[(0,t.jsxs)("div",{className:"text-center mb-16",children:[(0,t.jsx)("p",{className:"text-sm font-medium uppercase tracking-[0.3em] text-primary mb-4",children:"Flight Conditions"}),(0,t.jsx)("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:"Current Weather"})]}),(0,t.jsxs)("div",{className:"grid md:grid-cols-3 gap-6 mb-12",children:[(0,t.jsxs)(o.Card,{children:[(0,t.jsxs)(o.CardHeader,{children:[(0,t.jsxs)(o.CardTitle,{className:"flex items-center gap-2",children:[(0,t.jsx)(n,{className:"h-5 w-5 text-primary"}),"Mt Swansea Station"]}),(0,t.jsx)(o.CardDescription,{children:"Real-time weather data from 1128"})]}),(0,t.jsx)(o.CardContent,{className:"p-0 h-40 bg-white overflow-hidden relative",children:(0,t.jsx)("div",{className:"absolute top-0 left-0 w-[580px] h-[250px] origin-top-left transform scale-[0.55] sm:scale-[0.65] md:scale-[0.5] lg:scale-[0.6] xl:scale-[0.7]",children:(0,t.jsx)("iframe",{src:"https://widget.holfuy.com/?station=1128&su=km/h&t=C&lang=en&mode=detailed",className:"w-full h-full border-0",title:"Mt Swansea Weather",scrolling:"no"})})}),(0,t.jsx)(o.CardFooter,{children:(0,t.jsx)(d.Button,{variant:"outline",className:"w-full",asChild:!0,children:(0,t.jsxs)("a",{href:"https://holfuy.com/en/weather/1128",target:"_blank",rel:"noopener noreferrer",children:["View Station Data ",(0,t.jsx)(r,{className:"ml-2 h-4 w-4"})]})})})]}),(0,t.jsxs)(o.Card,{children:[(0,t.jsxs)(o.CardHeader,{children:[(0,t.jsxs)(o.CardTitle,{className:"flex items-center gap-2",children:[(0,t.jsx)(i,{className:"h-5 w-5 text-primary"}),"Airport Webcam"]}),(0,t.jsx)(o.CardDescription,{children:"Nav Canada Airport View (South)"})]}),(0,t.jsxs)(o.CardContent,{className:"p-0 h-48 bg-black overflow-hidden relative group",children:[(0,t.jsx)(l.default,{src:`https://www.metcam.navcanada.ca/dawc_images/wxcam/CAA8/CAA8_S-full-e.jpeg${e?`?t=${e}`:""}`,alt:"Invermere Airport South View",fill:!0,unoptimized:!0,sizes:"(min-width: 768px) 33vw, 100vw",className:"object-cover transition-transform duration-700 group-hover:scale-105"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/10 group-hover:bg-transparent transition-colors"})]}),(0,t.jsx)(o.CardFooter,{children:(0,t.jsx)(d.Button,{variant:"outline",className:"w-full",asChild:!0,children:(0,t.jsxs)("a",{href:"https://www.metcam.navcanada.ca/hb/player.jsp?id=83&lang=e",target:"_blank",rel:"noopener noreferrer",children:["View Full Player ",(0,t.jsx)(r,{className:"ml-2 h-4 w-4"})]})})})]}),(0,t.jsxs)(o.Card,{children:[(0,t.jsxs)(o.CardHeader,{children:[(0,t.jsxs)(o.CardTitle,{className:"flex items-center gap-2",children:[(0,t.jsx)(s,{className:"h-5 w-5 text-primary"}),"Satellite Imagery"]}),(0,t.jsx)(o.CardDescription,{children:"NOAA GOES-West (Pacific NW)"})]}),(0,t.jsxs)(o.CardContent,{className:"p-0 h-40 bg-black overflow-hidden relative group",children:[(0,t.jsx)(l.default,{src:`https://cdn.star.nesdis.noaa.gov/GOES18/ABI/SECTOR/pnw/GEOCOLOR/latest.jpg${e?`?t=${e}`:""}`,alt:"Satellite View",fill:!0,unoptimized:!0,sizes:"(min-width: 768px) 33vw, 100vw",className:"object-cover transition-transform duration-700 group-hover:scale-105"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/10 group-hover:bg-transparent transition-colors"})]}),(0,t.jsx)(o.CardFooter,{children:(0,t.jsx)(d.Button,{variant:"outline",className:"w-full",asChild:!0,children:(0,t.jsxs)("a",{href:"https://www.star.nesdis.noaa.gov/GOES/sector.php?sat=G18§or=pnw",target:"_blank",rel:"noopener noreferrer",children:["View Satellite ",(0,t.jsx)(r,{className:"ml-2 h-4 w-4"})]})})})]})]})]})})}e.s(["WeatherSection",()=>u],97847)}]);
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.