udflugter med religiøst tema i alle de mest populære byer i Frankrig
const e=document.createDocumentFragment(),t=4;for(let t=0;t<4;t++){const t=document.createElement("div");t.className="tsi-mobile-loading-skelly",e.appendChild(t)}a.appendChild(e)}function E(){if(!a)return;const e=undefined;a.querySelectorAll(".tsi-mobile-loading-skelly").forEach((e=>{e.remove()}))}const y=e=>{const t=undefined,n=undefined;return{allNodes:e.querySelectorAll(`.section-card-${o}`),currentVisibleNodes:e.querySelectorAll(".tsi-zection-zone-visible")}},b=()=>{if(!a)return;const{allNodes:e,currentVisibleNodes:t}=y(a);if(t.length>0){const i=Array.from(e).indexOf(t[0]);if(i<=0)return;const o=Array.from(e).slice(Math.max(i-n,0),i);t.forEach((e=>e.classList.remove("tsi-zection-zone-visible"))),o.forEach((e=>e.classList.add("tsi-zection-zone-visible"))),z(e,o)}},w=(e,t)=>{e.forEach((e=>{const n=e.firstElementChild;if(n){if(t)return n.classList.remove("tsi-zection-zone-loading-more"),void 0;n.classList.add("tsi-zection-zone-loading-more")}}))},A=async()=>{if(!a)return;const{allNodes:t,currentVisibleNodes:r}=y(a);if(r.length>0){const e=Array.from(t).indexOf(r[r.length-1]);if(e
e.classList.remove("tsi-zection-zone-visible"))),i.forEach((e=>e.classList.add("tsi-zection-zone-visible"))),z(t,i),void 0}}if("false"===i)return;const s=e;try{m?g():w(r,!1),p();const e=await fetch(decodeURIComponent(s));if(!e.ok)throw new Error("Network response was not ok");const t=await e.text(),n=undefined;a.querySelectorAll(".tsi-zection-zone-visible").forEach((e=>{e.classList.remove("tsi-zection-zone-visible")}));const i=document.createElement("div");i.innerHTML=t;const d=i.querySelectorAll(`#zone-zection-root-${o} > div`);d.forEach((e=>{e.classList.add("tsi-zection-zone-visible"),a.appendChild(e)})),m?E():w(r,!0),z(a.querySelectorAll(`.section-card-${o}`),d),u&&h.disconnect(),u?.parentNode?.removeChild(u),i.querySelectorAll("script").forEach((e=>{if(e.id){const t=document.getElementById(e.id);if(t){t.remove();const n=document.createElement("script");n.textContent=e.textContent,n.id=e.id,document.getElementById(`zone-zection-root-${o}`)?.appendChild(n)}}})),window.removeEventListener("resize",I)}catch(e){console.error("Fetch error:",e),L(),window.addEventListener("resize",I),x(),m?E():w(r,!0)}};function L(){d&&!d.dataset.listenerAdded&&(d.addEventListener("click",A),d.dataset.listenerAdded="true"),c&&!c.dataset.listenerAdded&&(c.addEventListener("click",b),c.dataset.listenerAdded="true")}function p(){d&&d.dataset.listenerAdded&&(d.removeEventListener("click",A),delete d.dataset.listenerAdded),c&&c.dataset.listenerAdded&&(c.removeEventListener("click",b),delete c.dataset.listenerAdded)}function x(){if(u){const e="true"===u.getAttribute("data-observing");m&&!e?(h.observe(u),u.setAttribute("data-observing","true")):!m&&e&&(h.disconnect(),u.removeAttribute("data-observing"))}}function I(){m=window.matchMedia("(max-width: 960px)").matches,x()}L(),x(),window.addEventListener("resize",I)})("/zone/section?dID=ckpmqq4fcfh960b05p8rhpwc6&first=true&hgID=cl94g3u2zw9c00anve3twbp4s&locale=da&marketplace=gte-travelmarketplaces-com&mu=%2Fda%2Ffrankrig%2Fbedste-ture-og-billetter%2Freligiose-ture&pt=Tours&route=%2FgteTourSearch&sc=%7B%22sectionWhere%22%3A%7B%22pageType%22%3A%22Tours%22%2C%22pageVariation%22%3A%22InCityWithTypeAndTag%22%2C%22destinationCountryCodes_contains_some%22%3A%5B%22FR%22%5D%2C%22subType%22%3A%7B%22tagId%22%3A58%7D%7D%2C%22where%22%3A%7B%22domain_in%22%3A%5B%22Tours%22%5D%2C%22sectionId%22%3A21%7D%2C%22itemsPerPage%22%3A24%7D&urlFront=https%3A%2F%2Fguidetoeurope.com&after=cl94fu4tocb2g0bl8pm2rtand&hasNextPage=false§ionId=21-Tours&itemsPerPage=24");