skyflytravel.hu/out/_next/static/chunks/6c195d6a2e079108.js

1 line
18 KiB
JavaScript

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,l(e));else t.set(r,l(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809)._(e.r(98183)),l=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(a.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${i}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return v},NormalizeError:function(){return x},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return y},WEB_VITALS:function(){return a},execOnce:function(){return l},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return N}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>i.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,y=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class x extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function N(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(18967),o=e.r(52817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809),l=e.r(43476),i=a._(e.r(71645)),s=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(91949),m=e.r(73668),h=e.r(9396);function y(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}function g(t){var r;let n,o,a,[s,g]=(0,i.useOptimistic)(p.IDLE_LINK_STATUS),b=(0,i.useRef)(null),{href:v,as:j,children:N,prefetch:w=null,passHref:P,replace:_,shallow:O,scroll:C,onClick:E,onMouseEnter:R,onTouchStart:k,legacyBehavior:S=!1,onNavigate:T,ref:A,unstable_dynamicOnHover:M,...$}=t;n=N,S&&("string"==typeof n||"number"==typeof n)&&(n=(0,l.jsx)("a",{children:n}));let L=i.default.useContext(u.AppRouterContext),I=!1!==w,U=!1!==w?null===(r=w)||"auto"===r?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:z,as:D}=i.default.useMemo(()=>{let e=y(v);return{href:e,as:j?y(j):e}},[v,j]);if(S){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let F=S?o&&"object"==typeof o&&o.ref:A,B=i.default.useCallback(e=>(null!==L&&(b.current=(0,p.mountLinkInstance)(e,z,L,U,I,g)),()=>{b.current&&((0,p.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,p.unmountPrefetchableInstance)(e)}),[I,z,L,U,g]),K={ref:(0,c.useMergedRef)(B,F),onClick(t){S||"function"!=typeof E||E(t),S&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!L||t.defaultPrevented||function(t,r,n,o,a,l,s){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);i.default.startTransition(()=>{d(n||r,a?"replace":"push",l??!0,o.current)})}}(t,z,D,b,_,C,T)},onMouseEnter(e){S||"function"!=typeof R||R(e),S&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),L&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){S||"function"!=typeof k||k(e),S&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),L&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(D)?K.href=D:S&&!P&&("a"!==o.type||"href"in o.props)||(K.href=(0,f.addBasePath)(D)),a=S?i.default.cloneElement(o,K):(0,l.jsx)("a",{...$,...K,children:n}),(0,l.jsx)(x.Provider,{value:s,children:a})}e.r(84508);let x=(0,i.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},67881,71689,e=>{"use strict";let t,r,n,o,a;var l=e.i(43476),i=e.i(71645);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var u=Symbol.for("react.lazy"),c=i[" use ".trim().toString()];function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===u&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var f=((a=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(d(r)&&"function"==typeof c&&(r=c(r._payload)),i.isValidElement(r)){var o;let e,a,l=(o=r,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{let t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(u.ref=t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():s(e[t],null)}}}}(t,l):l),i.cloneElement(r,u)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName="Slot.SlotClone",t=a,(r=i.forwardRef((e,r)=>{let{children:n,...o}=e;d(n)&&"function"==typeof c&&(n=c(n._payload));let a=i.Children.toArray(n),s=a.find(m);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...o,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,l.jsx)(t,{...o,ref:r,children:n})})).displayName="Slot.Slot",r),p=Symbol("radix.slottable");function m(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}var h=e.i(7670);let y=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,g=h.clsx;var x=e.i(47163);let b=(n="inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",o={variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",pill:"bg-primary text-primary-foreground shadow-lg hover:shadow-xl hover:-translate-y-0.5 transition-all duration-300 rounded-full"},size:{default:"h-11 px-8 py-2",sm:"h-9 rounded-full px-6 text-xs",lg:"h-12 rounded-full px-10 text-base",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}},e=>{var t;if((null==o?void 0:o.variants)==null)return g(n,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:r,defaultVariants:a}=o,l=Object.keys(r).map(t=>{let n=null==e?void 0:e[t],o=null==a?void 0:a[t];if(null===n)return null;let l=y(n)||y(o);return r[t][l]}),i=e&&Object.entries(e).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return g(n,l,null==o||null==(t=o.compoundVariants)?void 0:t.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...i}[t]):({...a,...i})[t]===r})?[...e,r,n]:e},[]),null==e?void 0:e.class,null==e?void 0:e.className)}),v=i.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,...o},a)=>(0,l.jsx)(n?f:"button",{className:(0,x.cn)(b({variant:t,size:r,className:e})),ref:a,...o}));v.displayName="Button",e.s(["Button",()=>v],67881);let j=(0,e.i(75254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>j],71689)},95010,e=>{"use strict";var t=e.i(43476),r=e.i(46932),n=e.i(47163);e.s(["default",0,({className:e,children:o})=>(0,t.jsx)(r.motion.main,{className:(0,n.cn)(e),initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.7,ease:[.16,1,.3,1]},children:o})])},70065,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(47163);let o=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,className:(0,n.cn)("rounded-3xl border bg-card text-card-foreground shadow-sm",e),...r}));o.displayName="Card",r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",e),...r})).displayName="CardHeader",r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("h3",{ref:o,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",e),...r})).displayName="CardTitle",r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("p",{ref:o,className:(0,n.cn)("text-sm text-muted-foreground",e),...r})).displayName="CardDescription",r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,className:(0,n.cn)("p-6 pt-0",e),...r})).displayName="CardContent",r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("div",{ref:o,className:(0,n.cn)("flex items-center p-6 pt-0",e),...r})).displayName="CardFooter",e.s(["Card",()=>o])},52571,e=>{"use strict";let t=(0,e.i(75254).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["Info",()=>t],52571)},22604,e=>{"use strict";var t=e.i(43476),r=e.i(63780),n=e.i(76841),o=e.i(95010),a=e.i(70065),l=e.i(71689),i=e.i(52571),s=e.i(22016),u=e.i(50661);function c(){let{t:e}=(0,u.useLanguage)();return(0,t.jsxs)(o.default,{className:"relative min-h-screen bg-slate-50",children:[(0,t.jsx)(r.default,{darkMode:!0}),(0,t.jsxs)("div",{className:"fixed inset-0 pointer-events-none -z-10 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute top-1/4 -right-20 w-96 h-96 bg-primary/5 rounded-full blur-3xl opacity-30 animate-blob"}),(0,t.jsx)("div",{className:"absolute top-1/2 -left-20 w-80 h-80 bg-secondary/5 rounded-full blur-3xl opacity-30 animate-blob animation-delay-2000"})]}),(0,t.jsxs)("section",{className:"relative pt-40 pb-32 overflow-hidden bg-[#D9A321]",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-diagonal opacity-100 -z-10",style:{background:"linear-gradient(135deg, #D9A321 0%, #1A1A1A 100%)"}}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-[100px] bg-slate-50 transform -skew-y-3 origin-bottom-left -z-10"}),(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[(0,t.jsxs)(s.default,{href:"/",className:"inline-flex items-center text-white/70 hover:text-white mb-10 transition-colors group",children:[(0,t.jsx)("div",{className:"bg-white/10 p-2 rounded-full mr-3 group-hover:bg-white/20 transition-colors",children:(0,t.jsx)(l.ArrowLeft,{className:"w-4 h-4"})}),(0,t.jsx)("span",{className:"text-xs font-bold tracking-[0.2em] uppercase",children:e.conditionsPage.back})]}),(0,t.jsx)("div",{className:"space-y-4",children:(0,t.jsxs)("h1",{className:"text-5xl md:text-8xl font-black text-white tracking-tighter leading-none uppercase",children:[e.conditionsPage.title," ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-slate-900 italic",children:e.conditionsPage.titleAccent})]})})]})]}),(0,t.jsx)("section",{className:"py-24",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto px-6",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 gap-12",children:e.conditionsPage.sections.map((e,r)=>(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4 mb-8",children:[(0,t.jsx)("div",{className:"bg-primary/10 p-2.5 rounded-xl",children:(0,t.jsx)(i.Info,{className:"w-5 h-5 text-primary"})}),(0,t.jsx)("h2",{className:"text-2xl md:text-3xl font-black text-slate-900 uppercase tracking-tight",children:e.title})]}),(0,t.jsx)(a.Card,{className:"p-8 md:p-12 rounded-[2.5rem] border-none shadow-xl bg-white space-y-6",children:e.content.map((e,r)=>(0,t.jsx)("p",{className:"text-slate-600 leading-relaxed font-medium text-lg",children:e},r))})]},r))}),(0,t.jsxs)("div",{className:"mt-24 bg-slate-900 rounded-[3rem] p-12 text-center text-white relative overflow-hidden shadow-2xl",children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 w-64 h-64 bg-primary/10 rounded-full blur-3xl -mr-32 -mt-32"}),(0,t.jsx)("p",{className:"relative z-10 text-xl font-bold uppercase tracking-widest text-primary mb-4",children:"SkyFly Travel"}),(0,t.jsx)("h2",{className:"relative z-10 text-3xl md:text-4xl font-black uppercase tracking-tighter mb-8",children:e.nav.contact}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-wrap justify-center gap-8",children:[(0,t.jsx)("a",{href:`tel:${e.common.phone.replace(/\s/g,"")}`,className:"font-bold text-lg hover:text-primary transition-colors",children:e.common.phone}),(0,t.jsx)("a",{href:`mailto:${e.common.email}`,className:"font-bold text-lg hover:text-primary transition-colors",children:e.common.email})]})]})]})}),(0,t.jsx)(n.default,{})]})}e.s(["default",()=>c])}]);