1<!DOCTYPE html> 2<html lang="en"> 3 4<head> 5 6 7
7<script src="//nexus.ensighten.com/heineken/old_mout_cider_-_prod/Bootstrap.js"></script>
7 8 9 <meta charset="utf-8" /> 10 <meta name="description" content=""> 11 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 12 13 14 <!-- Google Tag Manager --> 15
15<script>
vendor: 374 bytes, line 15
15(function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', '
15GTM-KZKNLT3
vendor: 3 bytes, line 15
15');
15</script>
15 16 <!-- End Google Tag Manager --> 17 18 <title>Our Ciders - Old Mout Cider</title> 19
19<script rel="preload" data-ot-ignore src="/build/runtime.bundle.js?v=HUBMfEDonEKgWcqFS1lybdSI0or_psDCGQ_ysp_hH5s"></script>
19 20
20<script rel="preload" data-ot-ignore src="/build/vendors.bundle.js?v=hkT0Zogv1Wws5QvJAwnmCPVHJKWnGr-bkY-EYIW-W4c"></script>
20 21
21<script rel="preload" data-ot-ignore src="/build/main.bundle.js?v=ZRym6LROjTcG2t7AmzFtOBgZLlDLq8GX04mO3zhtAAI"></script>
21 22 23 <link rel="stylesheet" href="/assets/lib/icofont/icofont.min.css" /> 24 <link rel="stylesheet" href="/build/default.css" /> 25 <link rel="stylesheet" href="/build/main.css" /> 26 <link rel="stylesheet" href="/custom.css" /> 27 28 <link rel="icon" type="image/png" href="//images.ctfassets.net/s4pc2r8wjhz8/4gkc7m6F6DZhwmQJDRNY4M/4c7d67ada814d00f052916019ee16b18/oldmoutfavicon.ico" /> 29 30</head> 31 32<body style=""> 33 <!-- Google Tag Manager (noscript) -->
vendor: 91 bytes, lines 33-35
33 34 <noscript> 35 <iframe src="https://www.googletagmanager.com/ns.html?id=
35GTM-KZKNLT3
vendor: 123 bytes, lines 35-38
35" height="0" width="0" 36 style="display:none;visibility:hidden"></iframe> 37 </noscript> 38
38<!-- End Google Tag Manager (noscript) --> 39 40 41<nav data-id="navigation" class="navigation navigation--center"><ul class="navigation__left"><li class="navigation__item "><a href="/" class="navigation__link"><span>Home</span></a></li><li class="navigation__item navigation__item--active"><a href="/our-ciders" class="navigation__link"><span>Our Ciders</span></a></li></ul> 42 <div class="logo"><a href="/"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/3R1bqZxXToWU0NCn0shyG7/126b80b806fd06fa620ff80389703d45/kiwi.svg?w=1920" /> 43 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/3R1bqZxXToWU0NCn0shyG7/126b80b806fd06fa620ff80389703d45/kiwi.svg?w=1024" /> 44 <img src="//images.ctfassets.net/s4pc2r8wjhz8/3R1bqZxXToWU0NCn0shyG7/126b80b806fd06fa620ff80389703d45/kiwi.svg?w=480" alt="kiwi" loading="lazy" /></picture></a></div> 45 <ul class="navigation__right"><li class="navigation__item "><a href="/our-history" class="navigation__link"><span>Our History</span></a></li><li class="navigation__item "><a href="/your-location" class="navigation__link"><span>Country Selector</span></a></li></ul><div class="language-switcher"><button class="language-switcher__button" type="button" data-id="dropdown" data-dropdown-target="language-switcher">EN</button> 46 <ul class="language-switcher__dropdown" data-dropdown-id="language-switcher"><li class="language-switcher__option language-switcher__option--en language-switcher__option--current"><a href="/our-ciders?lang=en"><img width="32" height="32" src="/assets/icons/flag-en.svg" alt="en" />EN</a></li><li class="language-switcher__option language-switcher__option--ro "><a href="/our-ciders?lang=ro"><img width="32" height="32" src="/assets/icons/flag-ro.svg" alt="ro" />RO</a></li></ul></div></nav><nav data-id="navigation-mobile" class="navigation__mobile navigation--center"><div class="logo"><a href="/"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/3R1bqZxXToWU0NCn0shyG7/126b80b806fd06fa620ff80389703d45/kiwi.svg?w=1920" /> 47 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/3R1bqZxXToWU0NCn0shyG7/126b80b806fd06fa620ff80389703d45/kiwi.svg?w=1024" /> 48 <img src="//images.ctfassets.net/s4pc2r8wjhz8/3R1bqZxXToWU0NCn0shyG7/126b80b806fd06fa620ff80389703d45/kiwi.svg?w=480" alt="kiwi" loading="lazy" /></picture></a></div> 49 <div class="navigation__mobile__list"><ul><li class="navigation__item "><a href="/" class="navigation__link"><span>Home</span></a></li><li class="navigation__item navigation__item--active"><a href="/our-ciders" class="navigation__link"><span>Our Ciders</span></a></li><li class="navigation__item "><a href="/our-history" class="navigation__link"><span>Our History</span></a></li><li class="navigation__item "><a href="/your-location" class="navigation__link"><span>Country Selector</span></a></li></ul></div> 50 <div class="navigation__mobile__actions"><span data-id="navigation-toggle" class="icon"></span></div></nav><div class="push"></div> 51 52<main role="main"><div class="page" style="background-image: url('//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg');"> 53 <section data-id="2fAWsd2gyzKBItQOmdGDwS" class="section section--content"><div class="content-item content-item--imageright theme--tertiary "><div class="content-item__content-wrapper"><div class="content-item__image-wrapper"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/12Rpxoob6Qo7uU4LuYBCgZ/b7a5c2aa052f02354c2139c3a66ed8e5/omc_bottles_three_on_a_row_v3.jpg?w=1920" /> 54 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/12Rpxoob6Qo7uU4LuYBCgZ/b7a5c2aa052f02354c2139c3a66ed8e5/omc_bottles_three_on_a_row_v3.jpg?w=1024" /> 55 <img class="content-item__image" src="//images.ctfassets.net/s4pc2r8wjhz8/12Rpxoob6Qo7uU4LuYBCgZ/b7a5c2aa052f02354c2139c3a66ed8e5/omc_bottles_three_on_a_row_v3.jpg?w=480" alt="" loading="lazy" /></picture></div><div class="content-item__body"><h3 class="title title--tertiary content-item__title">We're passionate about making fruit more useful.</h3><div class="content-item__html"><p>Apples are great. Actually theyâre pretty amazing come to think of it. Throw into the mix some exotic and unusual fruit blends, and well; youâve suddenly got yourself some choice cider. We love nothing more than trying new cider and fruit combinations that take the best from nature and weâve got three adventurous flavours for you to experience. Explore our range to find out what makes our ciders taste so good.</p> 56</div><div class="content-item__actions"><ul></ul></div></div></div></div></section><section data-id="1rOEhBvb39UoLotP3fOfX0" class="section section--content"><div class="content-item content-item--imageleft theme--tertiary "><div class="content-item__background-wrapper"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=1920" /> 57 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=1024" /> 58 <img class="content-item__background" src="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=480" alt="" loading="lazy" /></picture></div><div class="content-item__content-wrapper"><div class="content-item__image-wrapper"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/2IPAghLVBK9r7WyuAnQFTe/966df6f9da605ac47e30a8ae9a2ebc1a/Old_Mout_Cider_-_Kiwi___Lime_transperant.png?w=1920" /> 59 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/2IPAghLVBK9r7WyuAnQFTe/966df6f9da605ac47e30a8ae9a2ebc1a/Old_Mout_Cider_-_Kiwi___Lime_transperant.png?w=1024" /> 60 <img class="content-item__image" src="//images.ctfassets.net/s4pc2r8wjhz8/2IPAghLVBK9r7WyuAnQFTe/966df6f9da605ac47e30a8ae9a2ebc1a/Old_Mout_Cider_-_Kiwi___Lime_transperant.png?w=480" alt="" loading="lazy" /></picture></div><div class="content-item__body"><h3 class="title title--tertiary content-item__title">KIWI & LIME - What do you expect?</h3><div class="content-item__html"><p>Old Mout Classic Apple comes from our original recipe; a light, clear cider with a crisp finish, to be enjoyed when you get a hankering for a taste of the good stuff. 4,5% ABV.</p> 61<p><strong>Looks</strong> clear and light with just a touch of blush from pressing on its skins</p> 62<p><strong>Smells</strong> Apple blossoms and springtime</p> 63<p><strong>Tastes</strong> Refreshing kiwi fruit character cut with tangy lime.</p> 64</div><div class="content-item__actions"><ul></ul></div></div></div></div></section><section data-id="cDsfU70lg31FwqjDpmZXK" class="section section--content"><div class="content-item content-item--imageright theme--tertiary "><div class="content-item__background-wrapper"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=1920" /> 65 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=1024" /> 66 <img class="content-item__background" src="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=480" alt="" loading="lazy" /></picture></div><div class="content-item__content-wrapper"><div class="content-item__image-wrapper"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/OCo4UQTzcOE2LtbvKtiO8/1e58f2f5e62f2ccf3acb4e14d4e83bdc/Old_Mout_Cider_-_PAssionfruit___Apple_transperant.png?w=1920" /> 67 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/OCo4UQTzcOE2LtbvKtiO8/1e58f2f5e62f2ccf3acb4e14d4e83bdc/Old_Mout_Cider_-_PAssionfruit___Apple_transperant.png?w=1024" /> 68 <img class="content-item__image" src="//images.ctfassets.net/s4pc2r8wjhz8/OCo4UQTzcOE2LtbvKtiO8/1e58f2f5e62f2ccf3acb4e14d4e83bdc/Old_Mout_Cider_-_PAssionfruit___Apple_transperant.png?w=480" alt="" loading="lazy" /></picture></div><div class="content-item__body"><h3 class="title title--tertiary content-item__title">PASSIONFRUIT &
68 APPLE - You old romantic</h3><div class="content-item__html"><p>The meeting of luscious passionfruit and crisp apples, blended to remind you of balmy, far-flung places. 4,5% ABV.</p> 69<p><strong>Looks</strong> Pale gold with a soft summer hue.</p> 70<p><strong>Smells</strong> Tropical aroma of passionfruit.</p> 71<p><strong>Tastes</strong> The rich sweet tropical taste balanced by crisp apple.</p> 72</div><div class="content-item__actions"><ul></ul></div></div></div></div></section><section data-id="3Jhoy4LOI2ODnLJ1Ju3Eg5" class="section section--content"><div class="content-item content-item--imageleft theme--tertiary "><div class="content-item__background-wrapper"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=1920" /> 73 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=1024" /> 74 <img class="content-item__background" src="//images.ctfassets.net/s4pc2r8wjhz8/oDAb3k9XkueSwKPSZosGd/de189bc76feed07875a835d0612e5f0b/Old_Mout_Ciders_Creme_background1408x576px.jpg?w=480" alt="" loading="lazy" /></picture></div><div class="content-item__content-wrapper"><div class="content-item__image-wrapper"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/63hPatL2LWOucgihyLWCEM/6ce68daaa2acaaf826ade8682d24d184/Old_Mout_Cider_-_Summer_berries_transperant.png?w=1920" /> 75 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/63hPatL2LWOucgihyLWCEM/6ce68daaa2acaaf826ade8682d24d184/Old_Mout_Cider_-_Summer_berries_transperant.png?w=1024" /> 76 <img class="content-item__image" src="//images.ctfassets.net/s4pc2r8wjhz8/63hPatL2LWOucgihyLWCEM/6ce68daaa2acaaf826ade8682d24d184/Old_Mout_Cider_-_Summer_berries_transperant.png?w=480" alt="" loading="lazy" /></picture></div><div class="content-item__body"><h3 class="title title--tertiary content-item__title">SUMMER BERRIES - A fruity little number?</h3><div class="content-item__html"><p>This tasty tipple occurred when our crisp apples met their match with a bunch of ripe summer berries. 4,5% ABV.</p> 77<p><strong>Looks</strong> Translucent sunset red.Smells Summery burst of fruits of the forest.</p> 78<p><strong>Tastes</strong> A special blend of strawberry and raspberry with notes of blueberry.</p> 79<p><strong>Finished</strong> off with a refreshing burst of juicy apple.</p> 80</div><div class="content-item__actions"><ul></ul></div></div></div></div></section></div></main><footer class="footer footer--Full"><div class="footer__container"><div class="footer__section"><div class="footer__logo-wrapper"><a class="footer__logo__link" href="/"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/2WGT9gSXQoIjiWfTXrLv3U/b31ec195d596cda2d471bcbec4d546db/omc_seal_pms_pronounced_on_black_bg.png?w=1920" /> 81 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/2WGT9gSXQoIjiWfTXrLv3U/b31ec195d596cda2d471bcbec4d546db/omc_seal_pms_pronounced_on_black_bg.png?w=1024" /> 82 <img class="footer__logo" src="//images.ctfassets.net/s4pc2r8wjhz8/2WGT9gSXQoIjiWfTXrLv3U/b31ec195d596cda2d471bcbec4d546db/omc_seal_pms_pronounced_on_black_bg.png?w=480" alt="" loading="lazy" /></picture></a></div><div class="footer__social"><div class="footer__social__item"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/2STYfxM8AWb2qS2vD7tvbg/bc39683ed2603c8a6f2887df07bb947d/social-icons_facebook_white.svg?w=1920" /> 83 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/2STYfxM8AWb2qS2vD7tvbg/bc39683ed2603c8a6f2887df07bb947d/social-icons_facebook_white.svg?w=1024" /> 84 <img src="//images.ctfassets.net/s4pc2r8wjhz8/2STYfxM8AWb2qS2vD7tvbg/bc39683ed2603c8a6f2887df07bb947d/social-icons_facebook_white.svg?w=480" alt="" loading="lazy" /></picture> 85 <a href="https://www.facebook.com/oldmoutcider/" class="navigation__link " target="_blank"><span>Facebook</span></a></div><div class="footer__social__item"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/azzjtUYCld0MuPhUuuL8m/1ee02e7e8f7fd2479b646d3b946a6760/social-icons_instagram_white.svg?w=1920" /> 86 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/azzjtUYCld0MuPhUuuL8m/1ee02e7e8f7fd2479b646d3b946a6760/social-icons_instagram_white.svg?w=1024" /> 87 <img src="//images.ctfassets.net/s4pc2r8wjhz8/azzjtUYCld0MuPhUuuL8m/1ee02e7e8f7fd2479b646d3b946a6760/social-icons_instagram_white.svg?w=480" alt="" loading="lazy" /></picture> 88 <a href="https://www.instagram.com/oldmoutcider/" class="navigation__link " target="_blank"><span>Instagram</span></a></div><div class="footer__social__item"><picture><source media="(min-width: 1024px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/5X9cb7xezvXNmxt0km8wVH/0743e7bcdc67ce6ea562935e92b2ae46/social-icons_youtube_white.svg?w=1920" /> 89 <source media="(min-width: 480px)" srcset="//images.ctfassets.net/s4pc2r8wjhz8/5X9cb7xezvXNmxt0km8wVH/0743e7bcdc67ce6ea562935e92b2ae46/social-icons_youtube_white.svg?w=1024" /> 90 <img src="//images.ctfassets.net/s4pc2r8wjhz8/5X9cb7xezvXNmxt0km8wVH/0743e7bcdc67ce6ea562935e92b2ae46/social-icons_youtube_white.svg?w=480" alt="" loading="lazy" /></picture> 91 <a href="https://www.youtube.com/user/OldMoutCider" class="navigation__link " target="_blank"><span>Youtube</span></a></div></div></div> 92 93 <div class="footer__section footer__section--menu"><ul class="footer__menu"><li class="footer__menu__item"><a href="/terms-and-conditions" class="navigation__link"><span>Terms & Conditions</span></a></li><li class="footer__menu__item"><a href="/privacy-and-cookie-statement" class="navigation__link"><span>Privacy & Cookie Statement</span></a></li><li class="footer__menu__item"><a href="/nutritional-values" class="navigation__link"><span>Nutritional values</span></a></li></ul></div></div></footer><div class="modal" data-id="modal-raas" aria-hidden="true"><div class="modal__outer" tabindex="-1" data-modal-close><div class="modal__inner" role="dialog" aria-modal="true" aria-labelledby="modal-raas-title"><header class="modal__header"><h2 id="modal-raas-title" class="title title--secondary modal__title">
93Buy here</h2> 94 <h3 class="title title--tertiary modal__sub-title">Available at the following supermarkets:</h3> 95 <span class="icon icofont-close-line" data-modal-close></span></header> 96 97 <div class="modal__content" data-modal-content></div></div></div></div> 98
99<script> 100 101 let timeout = null; 102 103 function triggerValidation() { 104 clearTimeout(timeout); 105 106 timeout = setTimeout(() => { 107 validateAddress(); 108 }, 1000); 109 } 110 111 function validateAddress() { 112 let postcode = document.getElementById('contact-zipcode').value; 113 let houseNumber = document.getElementById('contact-housenumber').value; 114 let street = document.getElementById('contact-street'); 115 let city = document.getElementById('contact-city'); 116 117 if ((/^\d{4}\s?[A-Za-z]{2}$/.test(postcode)) 118 && (/^\d+$/.test(houseNumber))) { 119 120 emptyAddress(); 121 fetch(`api/address/${postcode}/${houseNumber}`, { 122 method: 'GET' 123 }) 124 .then(response => response.json()) 125 .then(data => { 126 if (data !== null) { 127 street.value = data.streetName ?? ""; 128 city.value = data.city ?? ""; 129 } 130 }) 131 } else if ((postcode === '' || postcode === null) 132 || (houseNumber === '' || houseNumber === null)) { 133 street.placeholder = 'Straat'; 134 city.placeholder = 'Woonplaats'; 135 } else { 136 emptyAddress(); 137 } 138 } 139 140 function emptyAddress() { 141 let street = document.getElementById('contact-street'); 142 let city = document.getElementById('contact-city'); 143 144 street.value = ''; 145 street.placeholder = ''; 146 city.value = ''; 147 city.placeholder = ''; 148 } 149</script>
149 150
151<script type="text/javascript"> 152 function checkFiles(files, elementName) { 153 const MAX_FILES = 3; 154 const MAX_TOTAL_SIZE_MB = 10 * 1024 * 1024; // 10 MB in bytes 155 const list = new DataTransfer(); 156 let totalSize = 0; 157 const submitBtn = document.getElementById('input__sendButton'); 158 const sizeErrorText = 'Er is een maximum van 10mb toegestaan. Verwijder bestanden om te voldoen aan de uploadeisen.'; 159 const fileAmountErrorText = 'Er is een maximum van 3 bestanden toegestaan. De eerste 3 bestanden zijn geselecteerd mits deze voldoen aan de eisen van de bestandsgrootte.'; 160 const fileSizeExceededText = 'De bestanden zijn geselecteerd maar niet allemaal toegevoegd omdat het totale bestandsgrootte limiet van 10mb is overschreden.'; 161 let hasSizeError = false; 162 let hasFileAmountError = false; 163 let hasFileSizeExceeded = false; 164 165 // Handle file selection based on file amount and size limits 166 for (let i = 0; i < files.length; i++) { 167 const file = files[i]; 168 if (list.items.length < MAX_FILES && (totalSize + file.size) <= MAX_TOTAL_SIZE_MB) { 169 list.items.add(file); 170 totalSize += file.size; 171 } else if ((totalSize + file.size) > MAX_TOTAL_SIZE_MB) { 172 hasFileSizeExceeded = true; 173 } 174 } 175 176 // Check if the final total size still exceeds the limit 177 if (totalSize > MAX_TOTAL_SIZE_MB) { 178 hasSizeError = true; 179 submitBtn.disabled = true; 180 } else { 181 submitBtn.disabled = false; 182 } 183 184 // Update the file input with the selected files 185 document.getElementById(elementName).files = list.files; 186 187 // Error message handling 188 const errorMessageElement = document.getElementById('files-error'); 189 if (hasSizeError && hasFileAmountError) { 190 errorMessageElement.innerHTML = fileAmountErrorText; 191 console.error('Both file amount and file size exceed the allowed limits.'); 192 } else if (hasSizeError) { 193 errorMessageElement.innerHTML = sizeErrorText; 194 console.error('Total file size exceeds the allowed 10MB limit.'); 195 } else if (hasFileAmountError) { 196 errorMessageElement.innerHTML = fileAmountErrorText; 197 console.error('File amount exceeds the allowed limit of 3.'); 198 } else if (hasFileSizeExceeded) { 199 errorMessageElement.innerHTML = fileSizeExceededText; 200 console.warn('Some files were skipped because they would exceed the 10MB limit.'); 201 } else { 202 errorMessageElement.innerHTML = ''; 203 console.log('Files are within the allowed limits.'); 204 } 205 206 // File preview handling 207 const preview = document.getElementById('filename-preview'); 208 preview.innerHTML = ''; 209 for (let i = 0; i < list.files.length; i++) { 210 const file = list.files[i]; 211 const reader = new FileReader(); 212 reader.onload = function (e) { 213 const img = document.createElement('img'); 214 img.classList.add('filename-preview__image'); 215 img.src = e.target.result; 216 preview.appendChild(img); 217 } 218 reader.readAsDataURL(file); 219 } 220 } 221</script>
221 222 223 224 225</body> 226 227</html>
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.