var app=function(){"use strict";function t(){}function e(t){return t()}function i(){return Object.create(null)}function s(t){t.forEach(e)}function o(t){return"function"==typeof t}function n(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function a(t,e){t.appendChild(e)}function r(t,e,i){t.insertBefore(e,i||null)}function l(t){t.parentNode.removeChild(t)}function c(t,e){for(let i=0;it.removeEventListener(e,i,s)}function f(t,e,i){null==i?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function d(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}let h;function k(t){h=t}function y(){if(!h)throw new Error("Function called outside component initialization");return h}function w(){const t=y();return(e,i)=>{const s=t.$$.callbacks[e];if(s){const o=function(t,e){const i=document.createEvent("CustomEvent");return i.initCustomEvent(t,!1,!1,e),i}(e,i);s.slice().forEach(e=>{e.call(t,o)})}}}const S=[],v=[],b=[],C=[],H=Promise.resolve();let W=!1;function $(t){b.push(t)}let A=!1;const B=new Set;function G(){if(!A){A=!0;do{for(let t=0;t{R.delete(t),s&&(i&&t.d(1),s())}),t.o(e)}}function x(t){t&&t.c()}function M(t,i,n){const{fragment:a,on_mount:r,on_destroy:l,after_update:c}=t.$$;a&&a.m(i,n),$(()=>{const i=r.map(e).filter(o);l?l.push(...i):s(i),t.$$.on_mount=[]}),c.forEach($)}function D(t,e){const i=t.$$;null!==i.fragment&&(s(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function J(t,e){-1===t.$$.dirty[0]&&(S.push(t),W||(W=!0,H.then(G)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const o=s.length?s[0]:i;return m.ctx&&r(m.ctx[t],m.ctx[t]=o)&&(!m.skip_bound&&m.bound[t]&&m.bound[t](o),f&&J(e,t)),i}):[],m.update(),f=!0,s(m.before_update),m.fragment=!!a&&a(m.ctx),o.target){if(o.hydrate){const t=function(t){return Array.from(t.childNodes)}(o.target);m.fragment&&m.fragment.l(t),t.forEach(l)}else m.fragment&&m.fragment.c();o.intro&&T(e.$$.fragment),M(e,o.target,o.anchor),G()}k(g)}class I{$destroy(){D(this,1),this.$destroy=t}$on(t,e){const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{const t=i.indexOf(e);-1!==t&&i.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function F(e){let i;return{c(){i=u("div"),f(i,"class","map-container svelte-m4givg")},m(t,s){r(t,i,s),e[2](i)},p:t,i:t,o:t,d(t){t&&l(i),e[2](null)}}}function N(t,e,i){let s,o,{campings:n=[]}=e;const a=w();var r;return r=async()=>{o=new google.maps.Map(s,{center:{lat:64.963051,lng:-19.020835},zoom:7,disableDefaultUI:!0}),o.addListener("bounds_changed",()=>a("bounds_changed",o.getBounds()));const t=await async function(){const t=await fetch("./camping.png").then(t=>t.blob());return await new Promise(e=>{const i=new FileReader;i.onload=()=>e(i.result),i.readAsDataURL(t)})}(),e=new google.maps.MarkerImage(t,new google.maps.Size(37.5,30.75),null,null,new google.maps.Size(37.5,30.75));for(const t of n)new google.maps.Marker({position:t.location,map:o,icon:e}).addListener("click",()=>a("camping_click",t))},y().$$.on_mount.push(r),t.$$set=t=>{"campings"in t&&i(1,n=t.campings)},[s,n,function(t){v[t?"unshift":"push"](()=>{s=t,i(0,s)})}]}class P extends I{constructor(t){super(),Q(this,t,N,F,n,{campings:1})}}function U(t,e,i){const s=t.slice();return s[4]=e[i],s}function Z(t){let e,i,s,o,n,c,h,k,y,w,S,v=t[4].name+"",b=t[4].address+"",C=t[4].city+"";function H(...e){return t[2](t[4],...e)}return{c(){e=u("div"),i=u("h3"),s=g(v),o=p(),n=u("div"),c=g(b),h=g(", "),k=g(C),y=p(),f(i,"class","svelte-8n7xbw"),f(e,"class","camping-list-item svelte-8n7xbw")},m(t,l){r(t,e,l),a(e,i),a(i,s),a(e,o),a(e,n),a(n,c),a(n,h),a(n,k),a(e,y),w||(S=m(e,"click",H),w=!0)},p(e,i){t=e,1&i&&v!==(v=t[4].name+"")&&d(s,v),1&i&&b!==(b=t[4].address+"")&&d(c,b),1&i&&C!==(C=t[4].city+"")&&d(k,C)},d(t){t&&l(e),w=!1,S()}}}function z(e){let i,s,o,n,g=e[0],m=[];for(let t=0;t{"campings"in t&&i(0,n=t.campings)},[n,o,t=>o(t)]}class L extends I{constructor(t){super(),Q(this,t,K,z,n,{campings:0})}}const V={Toilets:"/icons/icons_toilet.png","Hot water":"/icons/icons_hot-water.png","Cold water":"/icons/icons_cold-water.png",Waste:"/icons/icons_waste.png",Restaurant:"/icons/icons_restaurant.png",Gasoline:"/icons/icons_gasoline.png","Cooking facilities":"/icons/icons_cooking-facilities.png",Electricity:"/icons/icons_electricity.png","Washing machine":"/icons/icons_washing-machine.png","Coffee shop":"/icons/icons_coffee-shop.png","BBQ facilities":"/icons/icons_bbq-facilities.png",Alcohol:"/icons/icons_alcohol.png",Wifi:"/icons/icons_wifi.png",Supermarket:"/icons/icons_supermarket.png",Shower:"/icons/icons_shower.png","Swimming pool":"/icons/icons_swimming-pool.png","Hot tubs":"/icons/icons_hot-tubs.png","Indoor pool":"/icons/icons_indoor-pool.png",Information:"/icons/icons_information.png",Hospital:"/icons/icons_hospital.png",Dryer:"/icons/icons_dryer.png"},X=[{name:"Patreksfjörður",guidance:"https://goo.gl/maps/mspwttM2ZyBXCWx29",url:"https://utilegukortid.is/camping-sites/patreksfjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Restaurant","Gasoline","Cooking facilities","Electricity","Washing machine","BBQ facilities","Alcohol","Wifi"],address:"Aðalstræti 107",city:"450 Patreksfjörður",tel:"4561515",openings:"1st of June – 30th of September",location:{lat:65.59163389999999,lng:-23.9744547}},{name:"Bolungarvík",guidance:"https://goo.gl/maps/qkicXaphDwCTRnPeA",url:"https://utilegukortid.is/camping-sites/bolungarvik/?lang=en",services:["Toilets","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Indoor pool","Information","Hospital","Gasoline","Cooking facilities","Dryer","Electricity","Washing machine","Coffee shop","BBQ facilities","Alcohol"],address:"Bolungarvík, by the swimming pool",city:"415 Bolungarvík",tel:"4567381",openings:"1st of June – 30th September",location:{lat:66.1517719,lng:-23.261709}},{name:"Varmaland",guidance:"https://goo.gl/maps/unTkY97GABAE1SPf7",url:"https://utilegukortid.is/camping-sites/varmaland/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Wifi","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Indoor pool","Information","Hospital","Gasoline","Cooking facilities","Dryer","Electricity","Washing machine","Coffee shop","BBQ facilities","Alcohol"],address:"Varmaland",city:"311 Borgarnes",tel:"7751012",openings:"1st of June – 31st of August.",location:{lat:64.69091999999999,lng:-21.592699}},{name:"Traðir, á Eyrunum",guidance:"https://goo.gl/maps/UpomHjgttfmcB9tg8",url:"https://utilegukortid.is/camping-sites/tradir-a-eyrunum/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Restaurant","Electricity","Coffee shop"],address:"Traðir, Snæfellsnesvegur",city:"356 Snæfellsbær",tel:"4315353",openings:"1st of Apríl – 30th of October",location:{lat:64.804452,lng:-23.0012952}},{name:"Þórisstaðir",guidance:"https://goo.gl/maps/Z1MnHFZmncFxZS1GA",url:"https://utilegukortid.is/camping-sites/thorisstadir/?lang=en",services:["Toilets","Cold water","Waste","Supermarket","Restaurant","Swimming pool","Indoor pool","Information","Hospital","Gasoline","Electricity","Coffee shop","BBQ facilities","Alcohol"],address:"Þórisstöðum",city:"301 Akranes",tel:"8436713 / 8456333",openings:"1st of April – 31st of August",location:{lat:64.4351303,lng:-21.5657931}},{name:"Tungudalur",guidance:"https://goo.gl/maps/hH3gz4K3tbFZZobh7",url:"https://utilegukortid.is/camping-sites/tungudalur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Restaurant","Shower","Hospital","Dryer","Electricity","Washing machine","Coffee shop","BBQ facilities","Alcohol"],address:"Tungudalur",city:"400 Ísafirði",tel:"8648592",openings:"15th of May -15th of September",location:{lat:66.0563889,lng:-23.2463888}},{name:"Grettislaug á Reykhólum",guidance:"https://goo.gl/maps/uWX2SZ2NeRtUBYjy6",url:"https://utilegukortid.is/camping-sites/grettislaug-a-reykholum/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Hospital","Gasoline","Electricity","Washing machine","Coffee shop","Alcohol"],address:"Grettislaug á Reykhólum",city:"380 Reykhólahreppur",tel:"4303200",openings:"1st of May – 30th of September",location:{lat:65.44619879999999,lng:-22.2019492}},{name:"Flókalundur",guidance:"https://goo.gl/maps/17E9AjKtQuMTh5CD8",url:"https://utilegukortid.is/camping-sites/flokalundur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Gasoline","Electricity","Coffee shop","Alcohol"],address:"Vatnsfjörður",city:"451 Patreksfjörður",tel:"4562011",openings:"1st of June –10th of September",location:{lat:65.5781942,lng:-23.1331145}},{name:"Drangsnes",guidance:"https://goo.gl/maps/GnrYZN8e1ktzdtqx5",url:"https://utilegukortid.is/camping-sites/drangsnes/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Dryer","Electricity","Washing machine"],address:"Drangsnes",city:"520 Drangsnes",tel:"844 8701",openings:"1st of May – 30th of September",location:{lat:65.693657,lng:-21.457979}},{name:"Þórshöfn",guidance:"https://goo.gl/maps/f7J4XFmB41DMWWk98",url:"https://utilegukortid.is/camping-sites/thorshofn/?lang=en",services:["Toilets","Cold water","Waste","Supermarket","Restaurant","Shower","Hot tubs","Indoor pool","Hospital","Gasoline","Dryer","Electricity","Washing machine","Coffee shop","Alcohol"],address:"við Miðholt",city:"680 Þórshöfn",tel:"4681220",openings:"1st of June – 31st of August",location:{lat:66.2012629,lng:-15.3330059}},{name:"Skagaströnd",guidance:"https://goo.gl/maps/f7Njv6E21gE7Xkbg6",url:"https://utilegukortid.is/camping-sites/skagastrond/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Gasoline","Cooking facilities","Dryer","Electricity","Washing machine","Coffee shop","Alcohol"],address:"Hólabraut 35",city:"545 Skagaströnd",tel:"7760040",openings:"1. júní – 10. september",location:{lat:65.8252804,lng:-20.2938448}},{name:"Siglufjörður",guidance:"https://goo.gl/maps/pAJsrdnu59o58P7t8",url:"https://utilegukortid.is/camping-sites/siglufjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Hot tubs","Indoor pool","Hospital","Gasoline","Dryer","Electricity","Washing machine","Coffee shop","Alcohol"],address:"Gránugötu 24",city:"580 Siglufjörður",tel:"6635560",openings:"15th of May – 15th of October",location:{lat:66.1511755,lng:-18.9112652}},{name:"Sauðárkrókur",guidance:"https://goo.gl/maps/ngJo29SWbehZuNBo7",url:"https://utilegukortid.is/camping-sites/saudarkrokur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Hot tubs","Indoor pool","Information","Gasoline","Dryer","Electricity","Washing machine","Coffee shop","Alcohol"],address:"Sauðárkrókur",city:"550 Sauðárkróki",tel:"8993231",openings:"15th of May – 15th of September",location:{lat:65.7409444,lng:-19.6404746}},{name:"Raufarhöfn",guidance:"https://goo.gl/maps/UmWFtuuiXJquZrvA9",url:"https://utilegukortid.is/camping-sites/raufarhofn/?lang=en",services:["Toilets","Cold water","Supermarket","Restaurant","Shower","Hot tubs","Indoor pool","Hospital","Gasoline","Dryer","Electricity","Washing machine","Coffee shop","BBQ facilities","Alcohol"],address:"við Skólabraut",city:"675 Raufarhöfn",tel:"4651144",openings:"1st of June – 15th of September",location:{lat:66.4473244,lng:-15.9445341}},{name:"Ólafsfjörður",guidance:"https://goo.gl/maps/DvfKvJDWVBcFcUdU8",url:"https://utilegukortid.is/camping-sites/olafsfjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hospital","Dryer","Electricity","Washing machine","Coffee shop"],address:"Ólafsvegi 4",city:"625 Ólafsfirði",tel:"6635560",openings:"15th of May–15th of October",location:{lat:66.0714713,lng:-18.6536983}},{name:"Lónsá",guidance:"https://goo.gl/maps/RWvgy7roQd8rJwsp8",url:"https://utilegukortid.is/camping-sites/lonsa/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Gasoline","Electricity"],address:"Lónsá",city:"601 Akureyri",tel:"4625037 / 6917227",openings:"1st of June – 15th of September",location:{lat:65.70121379999999,lng:-18.1541885}},{name:"Kópasker",guidance:"https://goo.gl/maps/XUhzwcJHGCz44jNp6",url:"https://utilegukortid.is/camping-sites/kopasker/?lang=en",services:["Toilets","Cold water","Supermarket","Shower","Hospital","Gasoline","Electricity","BBQ facilities"],address:"Austurtröð 4",city:"670 Kópasker",tel:"8459376",openings:"15th of May – 15th of September",location:{lat:66.3022946,lng:-16.4475814}},{name:"Hvammstangi",guidance:"https://goo.gl/maps/AVs5tWdgjPabQkHr9",url:"https://utilegukortid.is/camping-sites/hvammstangi/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Wifi","Supermarket","Restaurant","Swimming pool","Information","Hospital","Gasoline","Electricity","Coffee shop","BBQ facilities"],address:"Kirkjuhvammur",city:"530 Hvammstangi",tel:"6153779 / 8990008",openings:"15th of May–15th of October",location:{lat:65.40229699999999,lng:-20.9294996}},{name:"Heiðarbær",guidance:"https://goo.gl/maps/VovJhfFXeTkQA9Qe7",url:"https://utilegukortid.is/camping-sites/heidarbaer/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hospital","Gasoline","Cooking facilities","Dryer","Electricity","Washing machine","Coffee shop","BBQ facilities","Alcohol"],address:"Heiðarbær Reykjahverfi",city:"641 Húsavík",tel:"4643903 / 8640118",openings:"1st of June – 10th of September",location:{lat:65.889087,lng:-17.3195043}},{name:"Möðrudalur – Fjalladýrð",guidance:"https://goo.gl/maps/8j6tWeQuQVGhoRr3A",url:"https://utilegukortid.is/camping-sites/modrudalur-fjalladyrd/?lang=en",services:["Toilets","Cold water","Waste","Supermarket","Restaurant","Shower","Gasoline","Cooking facilities","Electricity","Washing machine","Coffee shop","BBQ facilities","Alcohol"],address:"Möðrudalur",city:"601 Mývatn",tel:"8940758",openings:"20th of May – 10th of September",location:{lat:65.3727569,lng:-15.87527}},{name:"Dalvík",guidance:"https://goo.gl/maps/A6N1K32by4emRR6UA",url:"https://utilegukortid.is/camping-sites/dalvik/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Information","Hospital","Gasoline","Cooking facilities","Dryer","Electricity","Washing machine","Coffee shop"],address:"Svarfaðarbraut",city:"620 Dalvík",tel:"6254775",openings:"1st of June – 15th of September",location:{lat:65.9694676,lng:-18.5351479}},{name:"Stöðvarfjörður",guidance:"https://goo.gl/maps/kipMtGuuGHroExkP8",url:"https://utilegukortid.is/camping-sites/stodvarfjordur/?lang=en",services:["Toilets","Cold water","Waste","Supermarket","Restaurant","Swimming pool","Hot tubs","Information","Hospital","Gasoline","Electricity","Coffee shop","BBQ facilities","Alcohol"],address:"Fjarðarbraut",city:"755 Stöðvarfirði",tel:"7760023",openings:"1st of June – 1st of September",location:{lat:64.83510199999999,lng:-13.879772}},{name:"Seyðisfjörður",guidance:"https://goo.gl/maps/txvSch57PQjpg6b76",url:"https://utilegukortid.is/camping-sites/seydisfjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Indoor pool","Hospital","Gasoline","Dryer","Electricity","Washing machine","Coffee shop","BBQ facilities","Alcohol"],address:"Ránargata 1",city:"710 Seyðisfjörður",tel:"4721521",openings:"1st of May – 30th of September",location:{lat:65.2606172,lng:-14.010548}},{name:"Reyðarfjörður",guidance:"https://goo.gl/maps/pFGjKh3pAk8BmZPi8",url:"https://utilegukortid.is/camping-sites/reydarfjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Hospital","Gasoline","Dryer","Electricity","Washing machine","Coffee shop","Alcohol"],address:"Stekkjagrund 2",city:"730 Reyðarfirði",tel:"776 0063",openings:"1st of June – 1st of September",location:{lat:65.0355229,lng:-14.2324806}},{name:"Norðfjörður",guidance:"https://goo.gl/maps/SbXbSK68uSzQmHA58",url:"https://utilegukortid.is/camping-sites/nordfjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Information","Hospital","Gasoline","Electricity","Coffee shop","Alcohol"],address:"Víðimýri",city:"740 Neskaupstað",tel:"776 0061",openings:"1st of June – 1st of September",location:{lat:65.1497815,lng:-13.6796394}},{name:"Fáskrúðsfjörður",guidance:"https://goo.gl/maps/eFR9Sdu58zC6DEHH9",url:"https://utilegukortid.is/camping-sites/faskrudsfjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Hot tubs","Indoor pool","Hospital","Gasoline","Electricity","Coffee shop","Alcohol"],address:"Óseyri",city:"750 Fáskrúðsfirði",tel:"776 0062",openings:"1st of June – 1st of September",location:{lat:64.9362846,lng:-14.0367917}},{name:"Eskifjörður",guidance:"https://goo.gl/maps/vuNcLi5GBzD62U2y6",url:"https://utilegukortid.is/camping-sites/eskifjordur/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Information","Hospital","Gasoline","Electricity","Coffee shop","Alcohol"],address:"Strandgata",city:"735 Eskifjörður",tel:"776 0127",openings:"1st of June – 1st of September",location:{lat:65.07191759999999,lng:-14.0160059}},{name:"Þorlákshöfn",guidance:"https://goo.gl/maps/kfy9uRudDkPBSoDE8",url:"https://utilegukortid.is/camping-sites/thorlakshofn/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Swimming pool","Hospital","Gasoline","Electricity","Coffee shop","BBQ facilities","Alcohol"],address:"Hafnarberg 41 (við Íþróttamiðstöðina)",city:"815 Þorlákshöfn",tel:"480 3890 / 857 1788",openings:"between 15. maí–15. september",location:{lat:63.85239559999999,lng:-21.3822418}},{name:"Stokkseyri",guidance:"https://goo.gl/maps/SBbQb2UShGP3zmYSA",url:"https://utilegukortid.is/camping-sites/stokkseyri/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Shower","Swimming pool","Electricity","Washing machine","BBQ facilities"],address:"Sólvellir",city:"825 Stokkseyri",tel:"896 2144",openings:"1st of June –1st of October",location:{lat:63.83540579999999,lng:-21.0578191}},{name:"Skjól",guidance:"https://goo.gl/maps/7D6pEYRdyBbYM6JH7",url:"https://utilegukortid.is/camping-sites/skjol/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Wifi","Restaurant","Shower","Hot tubs","Indoor pool","Information","Hospital","Gasoline","Electricity","Coffee shop","BBQ facilities","Alcohol"],address:"Kjóastaðir",city:"801 Geysir",tel:"8994541",openings:"1st June -15th of September",location:{lat:64.3109504,lng:-20.2308743}},{name:"Sandgerði",guidance:"https://goo.gl/maps/AN4jfZ8mz6xCzK9r7",url:"https://utilegukortid.is/camping-sites/sandgerdi/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Supermarket","Restaurant","Shower","Swimming pool","Hot tubs","Gasoline","Dryer","Electricity","Washing machine","Coffee shop","Alcohol"],address:"Byggðavegi",city:"245 Sandgerði",tel:"8548424",openings:"4th of May –30th of September",location:{lat:64.03869279999999,lng:-22.6947411}},{name:"Langbrók",guidance:"https://goo.gl/maps/fra32Buw8fowcWy97",url:"https://utilegukortid.is/camping-sites/langbrok/?lang=en",services:["Toilets","Hot water","Cold water","Waste","Wifi","Supermarket","Restaurant","Shower","Swimming pool","Hospital","Gasoline","Electricity","Coffee shop","BBQ facilities","Alcohol"],address:"Fljótshlíð",city:"861 Hvolsvöllur",tel:"8634662",openings:"1st of May–1st October",location:{lat:63.7242023,lng:-20.0117684}},{name:"Kleifarmörk",guidance:"https://goo.gl/maps/Nod7GypryQTAurRU6",url:"https://utilegukortid.is/camping-sites/kleifarmork/?lang=en",services:["Toilets","Cold water","Waste","Swimming pool","Supermarket","Restaurant","Gasoline","Coffee shop"],address:"Kleifar-Mörk",city:"880 Kirkjubæjarklaustur",tel:"4874675 / 8617546 / 8637546",openings:"1st of June – 31st of August",location:{lat:63.8010833,lng:-18.0572174}},{name:"Hella Gaddstaðaflatir",guidance:"https://goo.gl/maps/mYUCW7GtpG5qqZkUA",url:"https://utilegukortid.is/camping-sites/hella-gaddstadaflatir/?lang=en",services:["Waste","Wifi","Supermarket","Toilets","Hot water","Cold water","Gasoline","Hospital","Cooking facilities","Electricity","BBQ facilities"],address:"Gaddstaðaflatir",city:"850 Hella",tel:"7760030",openings:"1st of June – 15th of September",location:{lat:63.8306772,lng:-20.3986253}},{name:"Grindavík",guidance:"https://goo.gl/maps/A2apfFurTZCJXFG78",url:"https://utilegukortid.is/camping-sites/grindavik/?lang=en",services:["Waste","Wifi","Washing machine","Swimming pool","Supermarket","Toilets","Restaurant","Shower","Hot water","Cold water","Gasoline","Cooking facilities","Dryer","Electricity","BBQ facilities"],address:"Austurvegur 26",city:"240 Grindavík",tel:"8309090",openings:"1st of May – 30th of September",location:{lat:63.84376599999999,lng:-22.4270223}},{name:"Álfaskeið",guidance:"https://goo.gl/maps/ji757Nx5r5afBbZLA",url:"https://utilegukortid.is/camping-sites/alfaskeid/?lang=en",services:["Toilets","Waste","Supermarket","Hospital","Cold water","BBQ facilities"],address:"Syðra Langholti",city:"845 Flúðum",tel:"7721299",openings:"1st of June – 1st of September",location:{lat:64.0775656,lng:-20.4378532}},{name:"Grundarfjörður",guidance:"https://goo.gl/maps/PUynBiQSWMn6dtJg7",url:"https://utilegukortid.is/camping-sites/grundarfjordur/?lang=en",services:["Waste","Swimming pool","Toilets","Hot water","Cold water","Electricity"],address:"Borgarbraut 19",city:"350 Grundarfjörður",tel:"8317242",openings:"1st of June – 15th of September",location:{lat:64.9215959,lng:-23.2585514}}];function O(t,e,i){const s=t.slice();return s[3]=e[i],s}function q(t){let e,i,s,o,n,h,k,y,w,S,v,b,C,H,W,$,A,B,G,E,R,j,T,_,x,M,D,J,Q,I,F,N,P,U,Z,z,K,L,V,X,q,tt,et,it=t[0].name+"",st=t[0].address+"",ot=t[0].city+"",nt=t[0].tel+"",at=t[0].openings+"",rt=t[0].services,lt=[];for(let e=0;e{"camping"in t&&i(0,s=t.camping)},[s,function(){o("close")}]}class it extends I{constructor(t){super(),Q(this,t,et,tt,n,{camping:0})}}function st(e){let i,s;return i=new P({props:{campings:e[3]}}),i.$on("bounds_changed",e[4]),i.$on("camping_click",e[5]),{c(){x(i.$$.fragment)},m(t,e){M(i,t,e),s=!0},p:t,i(t){s||(T(i.$$.fragment,t),s=!0)},o(t){_(i.$$.fragment,t),s=!1},d(t){D(i,t)}}}function ot(t){let e,i,o,n,c,g,m,d,h=t[0]&&st(t);return c=new L({props:{campings:t[2]}}),c.$on("camping_click",t[5]),m=new it({props:{camping:t[1]}}),m.$on("close",t[5]),{c(){e=u("script"),o=p(),h&&h.c(),n=p(),x(c.$$.fragment),g=p(),x(m.$$.fragment),e.async=!0,e.defer=!0,e.src!==(i="https://maps.googleapis.com/maps/api/js?key=AIzaSyAU2J0AAL2yVNPPv5Ue9tZnaFDetowwrNc&callback=initMap")&&f(e,"src","https://maps.googleapis.com/maps/api/js?key=AIzaSyAU2J0AAL2yVNPPv5Ue9tZnaFDetowwrNc&callback=initMap"),f(e,"type","text/javascript")},m(t,i){a(document.head,e),r(t,o,i),h&&h.m(t,i),r(t,n,i),M(c,t,i),r(t,g,i),M(m,t,i),d=!0},p(t,[e]){t[0]?h?(h.p(t,e),1&e&&T(h,1)):(h=st(t),h.c(),T(h,1),h.m(n.parentNode,n)):h&&(j={r:0,c:[],p:j},_(h,1,1,()=>{h=null}),j.r||s(j.c),j=j.p);const i={};4&e&&(i.campings=t[2]),c.$set(i);const o={};2&e&&(o.camping=t[1]),m.$set(o)},i(t){d||(T(h),T(c.$$.fragment,t),T(m.$$.fragment,t),d=!0)},o(t){_(h),_(c.$$.fragment,t),_(m.$$.fragment,t),d=!1},d(t){l(e),t&&l(o),h&&h.d(t),t&&l(n),D(c,t),t&&l(g),D(m,t)}}}function nt(t,e,i){let{isGoogleMapReady:s}=e;const o=X.sort((t,e)=>t.name>e.name?1:-1);let n,a,r;return t.$$set=t=>{"isGoogleMapReady"in t&&i(0,s=t.isGoogleMapReady)},t.$$.update=()=>{64&t.$$.dirty&&i(2,r=n?o.filter(t=>n.contains(t.location)):o)},[s,a,r,o,function(t){i(6,n=t.detail)},function(t){i(1,a=t?t.detail:null)}]}const at=new class extends I{constructor(t){super(),Q(this,t,nt,ot,n,{isGoogleMapReady:0})}}({target:document.body,props:{ready:!1}});return window.initMap=function(){at.$set({isGoogleMapReady:!0})},at}(); //# sourceMappingURL=bundle.js.map