{"version":3,"file":"ButtonOverwrite.DnIQwtyl.mjs","names":["path","__legacyOverrideHOC_DataObserverContext"],"sources":["https:/framerusercontent.com/modules/1DZPS7YLpNks5IqSOBJD/tRoTGaNHYMVOA6QCL1CB/ButtonOverwrite.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";export function buttonName(){const[label,setLabel]=useState();const path=window.location.pathname;console.log(path);useEffect(()=>{const path=window.location.pathname;const cleanedPath=path.replace(\"/events/\",\"\");if(cleanedPath.includes(\"scc\")){setLabel(\"Bestil Pris\");}else{setLabel(\"Tilmelding\");}},[]);return{text:label};}export function buttonClickOverride(){return{onClick:async event=>{const buttonText=event.target.textContent// Get the button text as knapNavn\n;try{// Send button click data to the backend API\nconst response=await fetch(\"https://api.aggersvold-concours.com/api/button-clicks\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({knapNavn:buttonText}),credentials:\"include\"});const data=await response.json();console.log(\"Button click tracked:\",data);}catch(error){console.error(\"Failed to track button click:\",error);}}};}// Function to handle adding products to the cart\n// This is your existing handleAddToCart function\nexport function nomarlEventPathOverride(){return{onClick:async()=>{try{// Fetch the event ID from the backend\nconst response=await fetch(\"https://api.aggersvold-concours.com/api/normal-event\");const data=await response.json();if(!data.eventId){alert(\"Ingen kommende normale events fundet\");return;}const eventId=data.eventId// The event ID returned from your backend\n;// Log the retrieved event ID for debugging\nconsole.log(\"Retrieved event ID:\",eventId);// Remove existing modal if it exists\nconst existingModal=document.getElementById(\"termsModal\");if(existingModal){existingModal.remove();}// Create modal for accepting terms and selecting quantity\nconst modal=document.createElement(\"div\");modal.id=\"termsModal\";modal.style.position=\"fixed\";modal.style.top=\"0\";modal.style.left=\"0\";modal.style.width=\"100vw\";modal.style.height=\"100vh\";modal.style.backgroundColor=\"rgba(0, 0, 0, 0.7)\";modal.style.display=\"flex\";modal.style.justifyContent=\"center\";modal.style.alignItems=\"center\";modal.style.zIndex=\"1000\";const modalContent=document.createElement(\"div\");modalContent.style.backgroundColor=\"#ffffff\";modalContent.style.padding=\"30px\";modalContent.style.borderRadius=\"10px\";modalContent.style.boxShadow=\"0 4px 10px rgba(0, 0, 0, 0.1)\";modalContent.style.maxWidth=\"500px\";modalContent.style.width=\"80%\";modalContent.innerHTML=`\n                    <h2 style=\"font-size: 24px; font-weight: bold; text-align: center; color: #333;\">Accepter vilk\\xe5r og betingelser</h2>\n                    <p style=\"font-size: 16px; color: #555; text-align: center;\">For at forts\\xe6tte, skal du acceptere vores <a href=\"https://aggersvolc-concours.com/terms\" target=\"_blank\" style=\"color: #007bff;\">vilk\\xe5r og betingelser</a>.</p>\n                    \n                    <label style=\"font-size: 16px; color: #555; display: block; margin: 20px 0;\">\n                        <input type=\"checkbox\" id=\"termsCheckbox\" style=\"margin-right: 10px;\">\n                        Jeg accepterer <a href=\"https://aggersvold-concours.com/terms\" target=\"_blank\" style=\"color: #007bff;\">vilk\\xe5rene og betingelserne</a>\n                    </label>\n\n                    <label style=\"font-size: 16px; color: #555; display: block; margin-bottom: 20px;\">\n                        Antal billetter: \n                        <input type=\"number\" id=\"ticketQuantity\" min=\"1\" value=\"1\" style=\"width: 60px; margin-left: 10px; text-align: center; padding: 5px;\">\n                    </label>\n\n                    <div style=\"text-align: center;\">\n                        <button id=\"proceedButton\" disabled style=\"padding: 10px 20px; background-color: #007bff; color: white; border: none; border-radius: 5px; font-size: 16px; cursor: not-allowed;\">Tilf\\xf8j til kurv</button>\n                        <button id=\"cancelButton\" style=\"padding: 10px 20px; background-color: #f1f1f1; color: #333; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; cursor: pointer; margin-left: 10px;\">Annuller</button>\n                    </div>\n                `;modal.appendChild(modalContent);document.body.appendChild(modal);const checkbox=document.getElementById(\"termsCheckbox\");const proceedButton=document.getElementById(\"proceedButton\");const cancelButton=document.getElementById(\"cancelButton\");const ticketQuantity=document.getElementById(\"ticketQuantity\");// Enable button when terms are accepted\ncheckbox.addEventListener(\"change\",()=>{proceedButton.disabled=!checkbox.checked;proceedButton.style.cursor=checkbox.checked?\"pointer\":\"not-allowed\";});// Cancel and remove modal\ncancelButton.addEventListener(\"click\",()=>{modal.remove();});// Add ticket to cart when confirmed (directly inside this function)\nproceedButton.addEventListener(\"click\",()=>{const quantity=parseInt(ticketQuantity.value,10);if(quantity<1){alert(\"V\\xe6lg mindst \\xe9n billet.\");return;}// Retrieve current cart from localStorage\nlet cart=JSON.parse(localStorage.getItem(\"cart\"))||{};// Create the product key (using eventId to uniquely identify the product)\nconst productKey=`event_${eventId}_billet`;// Update quantity if product already exists in the cart, else add it\nif(cart[productKey]){cart[productKey]+=quantity;}else{cart[productKey]=quantity;}// Save updated cart to localStorage\nlocalStorage.setItem(\"cart\",JSON.stringify(cart));console.log(localStorage.getItem(\"cart\"))// For debugging purposes\n;// Alert user with the updated cart quantity\nalert(`Billetten er tilf\\xf8jet til kurven! (${quantity} stk.)`);modal.remove()// Close modal\n;});}catch(error){console.error(\"Fejl ved behandling af knapklik:\",error);}}};}export function vipEventPathOverride(){return{onClick:async()=>{try{// Fetch the event ID from the backend (use the correct API path for VIP event)\nconst response=await fetch(\"https://api.aggersvold-concours.com/api/vip-event\");const data=await response.json();if(!data.eventId){alert(\"Ingen kommende VIP-events fundet\");return;}const eventId=data.eventId// The event ID returned from your backend\n;console.log(\"Retrieved VIP event ID:\",eventId)// Log the event ID for debugging\n;// Remove existing modal if it exists\nconst existingModal=document.getElementById(\"termsModal\");if(existingModal){existingModal.remove();}// Create modal for accepting terms and selecting quantity\nconst modal=document.createElement(\"div\");modal.id=\"termsModal\";modal.style.position=\"fixed\";modal.style.top=\"0\";modal.style.left=\"0\";modal.style.width=\"100vw\";modal.style.height=\"100vh\";modal.style.backgroundColor=\"rgba(0, 0, 0, 0.7)\";modal.style.display=\"flex\";modal.style.justifyContent=\"center\";modal.style.alignItems=\"center\";modal.style.zIndex=\"1000\";const modalContent=document.createElement(\"div\");modalContent.style.backgroundColor=\"#ffffff\";modalContent.style.padding=\"30px\";modalContent.style.borderRadius=\"10px\";modalContent.style.boxShadow=\"0 4px 10px rgba(0, 0, 0, 0.1)\";modalContent.style.maxWidth=\"500px\";modalContent.style.width=\"80%\";modalContent.innerHTML=`\n          <h2 style=\"font-size: 24px; font-weight: bold; text-align: center; color: #333;\">Accepter vilk\\xe5r og betingelser</h2>\n          <p style=\"font-size: 16px; color: #555; text-align: center;\">For at forts\\xe6tte, skal du acceptere vores <a href=\"https://jumpy-basis-120505.framer.app/terms\" target=\"_blank\" style=\"color: #007bff;\">vilk\\xe5r og betingelser</a>.</p>\n          \n          <label style=\"font-size: 16px; color: #555; display: block; margin: 20px 0;\">\n            <input type=\"checkbox\" id=\"termsCheckbox\" style=\"margin-right: 10px;\">\n            Jeg accepterer <a href=\"https://jumpy-basis-120505.framer.app/terms\" target=\"_blank\" style=\"color: #007bff;\">vilk\\xe5rene og betingelserne</a>\n          </label>\n\n          <label style=\"font-size: 16px; color: #555; display: block; margin-bottom: 20px;\">\n            Antal billetter: \n            <input type=\"number\" id=\"ticketQuantity\" min=\"1\" value=\"1\" style=\"width: 60px; margin-left: 10px; text-align: center; padding: 5px;\">\n          </label>\n\n          <div style=\"text-align: center;\">\n            <button id=\"proceedButton\" disabled style=\"padding: 10px 20px; background-color: #007bff; color: white; border: none; border-radius: 5px; font-size: 16px; cursor: not-allowed;\">Tilf\\xf8j til kurv</button>\n            <button id=\"cancelButton\" style=\"padding: 10px 20px; background-color: #f1f1f1; color: #333; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; cursor: pointer; margin-left: 10px;\">Annuller</button>\n          </div>\n        `;modal.appendChild(modalContent);document.body.appendChild(modal);const checkbox=document.getElementById(\"termsCheckbox\");const proceedButton=document.getElementById(\"proceedButton\");const cancelButton=document.getElementById(\"cancelButton\");const ticketQuantity=document.getElementById(\"ticketQuantity\");// Enable button when terms are accepted\ncheckbox.addEventListener(\"change\",()=>{proceedButton.disabled=!checkbox.checked;proceedButton.style.cursor=checkbox.checked?\"pointer\":\"not-allowed\";});// Cancel and remove modal\ncancelButton.addEventListener(\"click\",()=>{modal.remove();});// Add ticket to cart when confirmed (directly inside this function)\nproceedButton.addEventListener(\"click\",()=>{const quantity=parseInt(ticketQuantity.value,10);if(quantity<1){alert(\"V\\xe6lg mindst \\xe9n billet.\");return;}// Retrieve current cart from localStorage\nlet cart=JSON.parse(localStorage.getItem(\"cart\"))||{};// Create the product key (using eventId to uniquely identify the product)\nconst productKey=`event_${eventId}_billet`;// Update quantity if product already exists in the cart, else add it\nif(cart[productKey]){cart[productKey]+=quantity;}else{cart[productKey]=quantity;}// Save updated cart to localStorage\nlocalStorage.setItem(\"cart\",JSON.stringify(cart));console.log(localStorage.getItem(\"cart\"))// For debugging purposes\n;// Alert user with the updated cart quantity\nalert(`Billetten er tilf\\xf8jet til kurven! (${quantity} stk.)`);modal.remove()// Close modal\n;});}catch(error){console.error(\"Fejl ved behandling af knapklik:\",error);}}};}export function lotteryEventPathOverride(){return{onClick:async()=>{try{// Remove any existing modal\nconst existingModal=document.getElementById(\"lotteryTermsModal\");if(existingModal)existingModal.remove();// Fetch active lotteries\nconst res=await fetch(\"https://api.aggersvold-concours.com/api/active-lotteries\");const lotteries=await res.json();if(!Array.isArray(lotteries)||lotteries.length===0){alert(\"Ingen aktive lodtr\\xe6kninger fundet.\");return;}// Create modal\nconst modal=document.createElement(\"div\");modal.id=\"lotteryTermsModal\";modal.style.position=\"fixed\";modal.style.top=\"0\";modal.style.left=\"0\";modal.style.width=\"100vw\";modal.style.height=\"100vh\";modal.style.backgroundColor=\"rgba(0, 0, 0, 0.7)\";modal.style.display=\"flex\";modal.style.justifyContent=\"center\";modal.style.alignItems=\"center\";modal.style.zIndex=\"1000\";const content=document.createElement(\"div\");content.style.backgroundColor=\"#fff\";content.style.padding=\"30px\";content.style.borderRadius=\"10px\";content.style.maxWidth=\"500px\";content.style.width=\"80%\";content.innerHTML=`\n                    <h2 style=\"text-align: center;\">V\\xe6lg lodtr\\xe6kning</h2>\n                    \n                    <label style=\"display:block;margin:10px 0;\">\n                        V\\xe6lg bil:\n                        <select id=\"lotterySelect\" style=\"width:100%;padding:8px;margin-top:5px;\">\n                            ${lotteries.map(lottery=>`<option value=\"${lottery.id}\">${lottery.titel}</option>`).join(\"\")}\n                        </select>\n                    </label>\n\n                    <label style=\"display:block;margin:10px 0;\">\n                        Antal billetter:\n                        <input id=\"lotteryQuantity\" type=\"number\" min=\"1\" max=\"10\" value=\"1\" style=\"margin-left:10px;width:60px;\" />\n                    </label>\n\n                    <label style=\"display:block;margin:10px 0;\">\n                        <input type=\"checkbox\" id=\"lotteryCheckbox\" style=\"margin-right:10px;\" />\n                        Jeg accepterer <a href=\"https://jumpy-basis-120505.framer.app/terms\" target=\"_blank\">vilk\\xe5r og betingelser</a>\n                    </label>\n\n                    <div style=\"text-align:center;margin-top:20px;\">\n                        <button id=\"lotteryConfirm\" disabled style=\"padding:10px 20px;background:#007bff;color:white;border:none;border-radius:5px;cursor:not-allowed;\">Forts\\xe6t</button>\n                        <button id=\"lotteryCancel\" style=\"padding:10px 20px;margin-left:10px;\">Annuller</button>\n                    </div>\n                `;modal.appendChild(content);document.body.appendChild(modal);// Interactivity\nconst checkbox=document.getElementById(\"lotteryCheckbox\");const confirm=document.getElementById(\"lotteryConfirm\");const cancel=document.getElementById(\"lotteryCancel\");const quantityInput=document.getElementById(\"lotteryQuantity\");const lotterySelect=document.getElementById(\"lotterySelect\");checkbox.addEventListener(\"change\",()=>{confirm.disabled=!checkbox.checked;confirm.style.cursor=checkbox.checked?\"pointer\":\"not-allowed\";});cancel.addEventListener(\"click\",()=>modal.remove());confirm.addEventListener(\"click\",async()=>{const lotteryId=lotterySelect.value;const quantity=Math.max(1,Math.min(10,parseInt(quantityInput.value||\"1\",10)));let cart=JSON.parse(localStorage.getItem(\"cart\")||\"{}\");const productKey=`lottery_event_billet_${lotteryId}`;if(cart[productKey]){cart[productKey]+=quantity;}else{cart[productKey]=quantity;}localStorage.setItem(\"cart\",JSON.stringify(cart));alert(`Tilf\\xf8jede ${quantity} billet(ter) til kurven for lodtr\\xe6kning.`);modal.remove();});}catch(err){console.error(\"Fejl i lotteryEventPathOverride:\",err);}}};}export function contactFormOverride(){return{onClick:()=>{try{const existingModal=document.getElementById(\"contactFormModal\");if(existingModal)existingModal.remove();const modal=document.createElement(\"div\");modal.id=\"contactFormModal\";modal.style.position=\"fixed\";modal.style.top=\"0\";modal.style.left=\"0\";modal.style.width=\"100vw\";modal.style.height=\"100vh\";modal.style.backgroundColor=\"rgba(0, 0, 0, 0.6)\";modal.style.display=\"flex\";modal.style.justifyContent=\"center\";modal.style.alignItems=\"center\";modal.style.zIndex=\"1000\";modal.style.padding=\"20px\";const content=document.createElement(\"div\");content.style.backgroundColor=\"#fff\";content.style.padding=\"20px\";content.style.borderRadius=\"10px\";content.style.maxWidth=\"500px\";content.style.width=\"100%\";content.style.boxShadow=\"0 4px 10px rgba(0,0,0,0.15)\";content.style.boxSizing=\"border-box\";content.innerHTML=`\n                    <h2 style=\"text-align: center; font-size: 22px;\">Kontaktformular</h2>\n                    <form id=\"contactForm\">\n                        <label style=\"display:block; margin:10px 0 5px;\">Navn</label>\n                        <input type=\"text\" name=\"name\" required style=\"width:100%; padding:8px; margin-bottom:10px; border:1px solid #ccc; border-radius:5px;\" />\n\n                        <label style=\"display:block; margin:10px 0 5px;\">Email</label>\n                        <input type=\"email\" name=\"email\" required style=\"width:100%; padding:8px; margin-bottom:10px; border:1px solid #ccc; border-radius:5px;\" />\n\n                        <label style=\"display:block; margin:10px 0 5px;\">Telefonnummer</label>\n                        <input type=\"tel\" name=\"phone\" required style=\"width:100%; padding:8px; margin-bottom:10px; border:1px solid #ccc; border-radius:5px;\" />\n\n                        <label style=\"display:block; margin:10px 0 5px;\">Beskrivelse</label>\n                        <textarea name=\"description\" rows=\"4\" required style=\"width:100%; padding:8px; border:1px solid #ccc; border-radius:5px;\"></textarea>\n\n                        <div style=\"text-align:center; margin-top:20px;\">\n                            <button type=\"submit\" style=\"padding:10px 20px; background:#007bff; color:white; border:none; border-radius:5px; font-size:16px; cursor:pointer;\">Send</button>\n                            <button type=\"button\" id=\"cancelContactForm\" style=\"padding:10px 20px; margin-left:10px; background:#f1f1f1; border:1px solid #ccc; border-radius:5px; cursor:pointer;\">Annuller</button>\n                        </div>\n                    </form>\n                `;modal.appendChild(content);document.body.appendChild(modal);const cancelBtn=document.getElementById(\"cancelContactForm\");if(cancelBtn){cancelBtn.addEventListener(\"click\",()=>{modal.remove();});}const form=document.getElementById(\"contactForm\");form.addEventListener(\"submit\",async e=>{e.preventDefault();const formData=new FormData(form);const data={name:formData.get(\"name\"),email:formData.get(\"email\"),phone:formData.get(\"phone\"),description:formData.get(\"description\")};console.log(\"Form submitted:\",data);// Send data to your API\ntry{const response=await fetch(\"https://api.aggersvold-concours.com/api/request-price\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(data)});if(!response.ok){throw new Error(\"Failed to send request\");}alert(\"Din besked er sendt! Tak for din henvendelse.\");modal.remove();}catch(err){console.error(\"Error sending request:\",err);alert(\"Der opstod en fejl, pr\\xf8v venligst igen.\");}});}catch(err){console.error(\"Fejl i contactFormOverride:\",err);}}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withbuttonName(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...buttonName(props)});};}withbuttonName.displayName=\"buttonName\";export function withbuttonClickOverride(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...buttonClickOverride(props)});};}withbuttonClickOverride.displayName=\"buttonClickOverride\";export function withnomarlEventPathOverride(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...nomarlEventPathOverride(props)});};}withnomarlEventPathOverride.displayName=\"nomarlEventPathOverride\";export function withvipEventPathOverride(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...vipEventPathOverride(props)});};}withvipEventPathOverride.displayName=\"vipEventPathOverride\";export function withlotteryEventPathOverride(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...lotteryEventPathOverride(props)});};}withlotteryEventPathOverride.displayName=\"lotteryEventPathOverride\";export function withcontactFormOverride(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...contactFormOverride(props)});};}withcontactFormOverride.displayName=\"contactFormOverride\";\nexport const __FramerMetadata__ = {\"exports\":{\"vipEventPathOverride\":{\"type\":\"override\",\"name\":\"vipEventPathOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withbuttonClickOverride\":{\"type\":\"reactHoc\",\"name\":\"withbuttonClickOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonClickOverride\":{\"type\":\"override\",\"name\":\"buttonClickOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withnomarlEventPathOverride\":{\"type\":\"reactHoc\",\"name\":\"withnomarlEventPathOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withvipEventPathOverride\":{\"type\":\"reactHoc\",\"name\":\"withvipEventPathOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withlotteryEventPathOverride\":{\"type\":\"reactHoc\",\"name\":\"withlotteryEventPathOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"lotteryEventPathOverride\":{\"type\":\"override\",\"name\":\"lotteryEventPathOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonName\":{\"type\":\"override\",\"name\":\"buttonName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"contactFormOverride\":{\"type\":\"override\",\"name\":\"contactFormOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withbuttonName\":{\"type\":\"reactHoc\",\"name\":\"withbuttonName\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"nomarlEventPathOverride\":{\"type\":\"override\",\"name\":\"nomarlEventPathOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withcontactFormOverride\":{\"type\":\"reactHoc\",\"name\":\"withcontactFormOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ButtonOverwrite.map"],"mappings":"ySAAiF,SAAgB,GAAY,CAAC,GAAK,CAAC,EAAM,EAAS,CAAC,GAAU,CAAO,EAAK,EAAO,SAAS,SAAwN,MAA/M,SAAQ,IAAI,EAAK,CAAC,EAAU,IAAI,CAAC,IAAMA,EAAK,EAAO,SAAS,SAAe,EAAY,EAAK,QAAQ,WAAW,GAAG,CAAC,AAAG,EAAY,SAAS,MAAM,CAAE,EAAS,cAAc,CAAO,EAAS,aAAa,AAAG,EAAC,CAAE,EAAC,CAAO,CAAC,KAAK,CAAM,CAAE,UAAgB,GAAqB,CAAC,MAAM,CAAC,QAAQ,MAAM,GAAO,CAAC,IAAM,EAAW,EAAM,OAAO,YACtf,GAAG,CACJ,IAAM,EAAS,KAAM,OAAM,wDAAwD,CAAC,OAAO,OAAO,QAAQ,CAAC,eAAe,kBAAmB,EAAC,KAAK,KAAK,UAAU,CAAC,SAAS,CAAW,EAAC,CAAC,YAAY,SAAU,EAAC,CAAO,EAAK,KAAM,GAAS,MAAM,CAAC,QAAQ,IAAI,wBAAwB,EAAK,AAAE,OAAM,EAAM,CAAC,QAAQ,MAAM,gCAAgC,EAAM,AAAE,CAAC,CAAC,CAAE,CAEpW,SAAgB,GAAyB,CAAC,MAAM,CAAC,QAAQ,SAAS,CAAC,GAAG,CACtE,IAAM,EAAS,KAAM,OAAM,uDAAuD,CAAO,EAAK,KAAM,GAAS,MAAM,CAAC,IAAI,EAAK,QAAQ,CAAC,MAAM,uCAAuC,CAAC,MAAQ,KAAM,EAAQ,EAAK,QAE/M,QAAQ,IAAI,sB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