1"use strict";(self.webpackChunkAsuntomessut=self.webpackChunkAsuntomessut||[]).push([[1629],{42918:function(e,t,a){var l=a(24994),n=a(6305);t.A=void 0;var m=n(a(96540)),s=(0,l(a(21816)).default)(m.createElement("path",{d:"M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z"}),"ArrowForwardIos");t.A=s},33507:function(e,t,a){a.r(t);var l=a(96540),n=a(29780),m=a(71532),s=a(30978),r=(a(49269),a(21389)),c=a(52306),i=a(962),u=a(12917),o=a(15636),d=a(13222),f=a(42918),x=a(56272);t.default=e=>{let t=e.data;const a=n.A(["expo"],t),A=n.A(["slug"],a),h=n.A(["title"],a),g=n.A(["subtitle"],a),p=n.A(["mainImage","gatsbyImageData"],a),E=(n.A(["video","file","url"],a),n.A(["videoPosterImage","file","url"],a),n.A(["richText"],a)),w=n.A(["contentTextShort"],a),b=n.A(["subpages"],a),k=n.A(["hideSubpages"],a),v=(n.A(["premises"],a),n.A(["articles"],a),n.A(["liftContent"],a)),N=n.A(["mainImage","file","url"],a);let I=n.A(["status"],a);const y=n.A(["node_locale"],a);I=I?I[0]:null;const L=b?b.filter(e=>!0===e.showInQuickLinks):null,C=b?b.filter(e=>!1===e.showInQuickLinks||null===e.showInQuickLinks||!0===e.hideSubpage):null,S=e=>e.links.length?l.createElement("nav",{className:"max-w-5xl mx-auto flex justify-center relative mt-[-2rem]"},l.createElement("ul",{className:"list-none m-0 bg-blue px-5 w-11/12 md:w-auto md:px-10 py-5 flex flex-col md:flex-row md:flex-wrap md:items-center md:justify-center relative gap-x-5 gap-y-2 shadow-md"},L.map(e=>l.createElement("li",{className:"font-sans-medium mb-0"},"kohteet-2022"===e.slug?l.createElement(m.Link,{to:(0,c.A)(y,"/"+A+"/kohteet"),className:"text-text hover:!underline hover:!text-text flex underline-offset-2 items-center"},l.createElement("span",{"aria-hidden":"true",className:"mr-2"},l.createElement(f.A,{className:"!fill-black/30 block !w-3 !h-3"})),e.title):l.createElement(m.Link,{to:(0,c.A)(y,"/"+A+"/"+e.slug),className:"text-text hover:!underline hover:!text-text flex underline-offset-2 items-center"},l.createElement("span",{"aria-hidden":"true",className:"mr-2"},l.createElement(f.A,{className:"!fill-black/30 block !w-3 !h-3"})),e.title))))):null;return l.createElement(x.A,{language:y},l.createElement(i.A,{seoTitle:h,seoDesc:w,url:"undefined"!=typeof window?window.location.href:"",image:N}),l.createElement("section",{className:"max-w-6xl m-auto mt-10 mb-20"},l.createElement("header",{className:"text-center relative"},l.createElement("h1",{className:"mt-5"},h),l.createElement("p",{className:"font-bold mt-0.5"},g)),l.createElement("div",{className:"relative h-0 pb-[70%] md:pb-[50%]"},l.createElement(s.G,{className:"w-full h-full !absolute top-0 left-0",image:p,alt:""})),!k&&L&&l.createElement(S,{links:L}),l.createElement("div",{className:"max-w-3xl m-auto mt-12 px-5"},E&&l.createElement(r.A,{richText:E})),!k&&C&&l.createElement("div",{className:"max-w-6xl mx-auto mt-10 md:mt-20 px-5"},l.createElement(d.A,null,C.map(e=>{const t=n.A(["gatsbyImageData"],e.mainImage);if(!e.hideSubpage)return l.createElement(o.A,{key:e.slug,title:e.title,image:t||p,url:A+"/"+e.slug+"/",language:y})})))),v&&l.createElement("div",{className:"mt-12 mb-20"},l.createElement(u.A,{pageContent:a})))}}}]); 2//# sourceMappingURL=component---src-templates-expo-index-jsx-1ffe98cff15ac765af61.js.map
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.